aboutsummaryrefslogtreecommitdiff
path: root/audio/sonata
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2007-09-17 08:41:21 +0000
committerNicola Vitale <nivit@FreeBSD.org>2007-09-17 08:41:21 +0000
commit0f979b56afef974eb91a2eddf346846242a78631 (patch)
treee59f49c587ce7f1f07efd4ef59fbd903a281dd4a /audio/sonata
parentce59a9918ece5c69cef70aa9715ee82467e9a8e9 (diff)
downloadports-0f979b56afef974eb91a2eddf346846242a78631.tar.gz
ports-0f979b56afef974eb91a2eddf346846242a78631.zip
Notes
Diffstat (limited to 'audio/sonata')
-rw-r--r--audio/sonata/Makefile2
-rw-r--r--audio/sonata/distinfo6
-rw-r--r--audio/sonata/files/patch-setup.py22
-rw-r--r--audio/sonata/pkg-plist5
4 files changed, 23 insertions, 12 deletions
diff --git a/audio/sonata/Makefile b/audio/sonata/Makefile
index e7450f46e8ab..9b38479f0f0b 100644
--- a/audio/sonata/Makefile
+++ b/audio/sonata/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= sonata
-PORTVERSION= 1.2.2
+PORTVERSION= 1.2.3
#PORTREVISION= 0
CATEGORIES= audio python
MASTER_SITES= ${MASTER_SITE_BERLIOS}
diff --git a/audio/sonata/distinfo b/audio/sonata/distinfo
index 021fcfc56336..1f83ace1eb9e 100644
--- a/audio/sonata/distinfo
+++ b/audio/sonata/distinfo
@@ -1,3 +1,3 @@
-MD5 (sonata-1.2.2.tar.gz) = d617b099d03202c09e687d58a3743569
-SHA256 (sonata-1.2.2.tar.gz) = 718b9781b5446dc34dec354366ab393070f33493dde00c2aa8d120f6fa075a0a
-SIZE (sonata-1.2.2.tar.gz) = 221230
+MD5 (sonata-1.2.3.tar.gz) = 6ade55b8e3aabf24975ec09db83bb21b
+SHA256 (sonata-1.2.3.tar.gz) = 16f8bfc9ca00f06da17723130835bd02df9bf22281dbe9766cc1b452b3c0b70c
+SIZE (sonata-1.2.3.tar.gz) = 296806
diff --git a/audio/sonata/files/patch-setup.py b/audio/sonata/files/patch-setup.py
index 03e4d332ccb3..dd91e5eaa6e1 100644
--- a/audio/sonata/files/patch-setup.py
+++ b/audio/sonata/files/patch-setup.py
@@ -1,11 +1,11 @@
---- setup.py Mon Jul 23 04:15:09 2007
-+++ setup.py.port Thu Aug 2 18:55:36 2007
-@@ -43,6 +43,21 @@
+--- setup.py 2007-08-24 06:35:16.000000000 +0200
++++ setup.py.port 2007-09-08 18:59:14.000000000 +0200
+@@ -43,6 +43,24 @@
print "generating", mofile
os.system("msgfmt %s -o %s" % (pofile, mofile))
-+port_data_files = [('share/applications', ['sonata.desktop']),
-+ ('share/pixmaps', ['pixmaps/sonata.png', 'pixmaps/sonata_large.png', 'pixmaps/sonatacd.png', 'pixmaps/sonatacd_large.png', 'pixmaps/sonata-artist.png', 'pixmaps/sonata-album.png', 'pixmaps/sonata-stock_volume-mute.png', 'pixmaps/sonata-stock_volume-min.png', 'pixmaps/sonata-stock_volume-med.png', 'pixmaps/sonata-stock_volume-max.png', 'pixmaps/sonata_pause.png', 'pixmaps/sonata_play.png', 'pixmaps/sonata_disconnect.png']),
++port_data_files = [ ('share/applications', ['sonata.desktop']),
++ ('share/pixmaps', ['pixmaps/sonata.png', 'pixmaps/sonata_large.png', 'pixmaps/sonatacd.png', 'pixmaps/sonatacd_large.png', 'pixmaps/sonata-artist.png', 'pixmaps/sonata-album.png', 'pixmaps/sonata-stock_volume-mute.png', 'pixmaps/sonata-stock_volume-min.png', 'pixmaps/sonata-stock_volume-med.png', 'pixmaps/sonata-stock_volume-max.png', 'pixmaps/sonata_pause.png', 'pixmaps/sonata_play.png', 'pixmaps/sonata_disconnect.png']),
+ ('share/locale/de/LC_MESSAGES', ['mo/de/sonata.mo']),
+ ('share/locale/pl/LC_MESSAGES', ['mo/pl/sonata.mo']),
+ ('share/locale/ru/LC_MESSAGES', ['mo/ru/sonata.mo']),
@@ -14,15 +14,18 @@
+ ('share/locale/sv/LC_MESSAGES', ['mo/sv/sonata.mo']),
+ ('share/locale/es/LC_MESSAGES', ['mo/es/sonata.mo']),
+ ('share/locale/fi/LC_MESSAGES', ['mo/fi/sonata.mo']),
++ ('share/locale/nl/LC_MESSAGES', ['mo/nl/sonata.mo']),
++ ('share/locale/it/LC_MESSAGES', ['mo/it/sonata.mo']),
++ ('share/locale/cz/LC_MESSAGES', ['mo/cz/sonata.mo']),
+ ('share/locale/uk/LC_MESSAGES', ['mo/uk/sonata.mo'])]
+
+if not os.getenv("NOPORTDOCS"):
+ port_data_files.append(('%%DOCSDIR%%', ['README']))
+
setup(name='Sonata',
- version='1.2.2',
+ version='1.2.3',
description='GTK+ client for the Music Player Daemon (MPD).',
-@@ -65,18 +80,7 @@
+@@ -65,21 +83,7 @@
extra_link_args=capture("pkg-config --libs gtk+-2.0 pygtk-2.0").split()
),],
scripts = ['sonata'],
@@ -37,8 +40,11 @@
- ('share/locale/sv/LC_MESSAGES', ['mo/sv/sonata.mo']),
- ('share/locale/es/LC_MESSAGES', ['mo/es/sonata.mo']),
- ('share/locale/fi/LC_MESSAGES', ['mo/fi/sonata.mo']),
+- ('share/locale/nl/LC_MESSAGES', ['mo/nl/sonata.mo']),
+- ('share/locale/it/LC_MESSAGES', ['mo/it/sonata.mo']),
+- ('share/locale/cz/LC_MESSAGES', ['mo/cz/sonata.mo']),
- ('share/locale/uk/LC_MESSAGES', ['mo/uk/sonata.mo'])],
-+ data_files = port_data_files,
++ data_files = port_data_files,
)
# Cleanup (remove /build, /mo, and *.pyc files:
diff --git a/audio/sonata/pkg-plist b/audio/sonata/pkg-plist
index e1fa26e2a572..e75ffb21b21d 100644
--- a/audio/sonata/pkg-plist
+++ b/audio/sonata/pkg-plist
@@ -12,10 +12,13 @@ bin/sonata
%%PYTHON_SITELIBDIR%%/sonata.pyo
share/applications/sonata.desktop
%%PORTDOCS%%%%DOCSDIR%%/README
+share/locale/cz/LC_MESSAGES/sonata.mo
share/locale/de/LC_MESSAGES/sonata.mo
share/locale/es/LC_MESSAGES/sonata.mo
share/locale/fi/LC_MESSAGES/sonata.mo
share/locale/fr/LC_MESSAGES/sonata.mo
+share/locale/it/LC_MESSAGES/sonata.mo
+share/locale/nl/LC_MESSAGES/sonata.mo
share/locale/pl/LC_MESSAGES/sonata.mo
share/locale/ru/LC_MESSAGES/sonata.mo
share/locale/sv/LC_MESSAGES/sonata.mo
@@ -35,4 +38,6 @@ share/pixmaps/sonata_play.png
share/pixmaps/sonatacd.png
share/pixmaps/sonatacd_large.png
@dirrmtry share/applications
+@dirrmtry share/locale/cz/LC_MESSAGES
+@dirrmtry share/locale/cz
%%PORTDOCS%%@dirrm %%DOCSDIR%%