summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/exaile/MESSAGE7
-rw-r--r--audio/exaile/Makefile16
-rw-r--r--audio/exaile/PLIST83
-rw-r--r--audio/exaile/distinfo12
-rw-r--r--audio/exaile/patches/patch-aa48
-rw-r--r--audio/exaile/patches/patch-ab23
6 files changed, 127 insertions, 62 deletions
diff --git a/audio/exaile/MESSAGE b/audio/exaile/MESSAGE
new file mode 100644
index 00000000000..c7b127c5322
--- /dev/null
+++ b/audio/exaile/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2007/09/03 10:21:07 drochner Exp $
+
+To view WWW track information, the "gtkmozembed" Python module is needed
+which is part of x11/py-gnome2-extras>=2.14.2nb3.
+
+===========================================================================
diff --git a/audio/exaile/Makefile b/audio/exaile/Makefile
index 7a4ad56027b..9ea70a3761b 100644
--- a/audio/exaile/Makefile
+++ b/audio/exaile/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2007/06/19 18:28:39 drochner Exp $
+# $NetBSD: Makefile,v 1.4 2007/09/03 10:21:08 drochner Exp $
#
-DISTNAME= exaile_0.2.9
-PKGNAME= exaile-0.2.9
-PKGREVISION= 1
+DISTNAME= exaile_0.2.10
+PKGNAME= exaile-0.2.10
CATEGORIES= audio
MASTER_SITES= http://www.exaile.org/files/
@@ -12,10 +11,17 @@ HOMEPAGE= http://www.exaile.org/
COMMENT= Music player
USE_PKGLOCALEDIR= yes
-USE_TOOLS+= pkg-config gmake
+USE_TOOLS+= pkg-config gmake intltool
USE_DIRS+= xdg-1.1
PYTHON_PATCH_SCRIPTS= exaile.py
+MAKE_ENV+= PYTHONBIN=${PYTHONBIN}
+
+EX= ${PREFIX}/bin/exaile
+post-install:
+ ${ECHO} "#!/bin/sh" > ${EX}
+ ${ECHO} exec "${PYTHONBIN} ${PREFIX}/share/exaile/exaile.py" >> ${EX}
+ chmod 755 ${EX}
.include "../../lang/python/application.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
diff --git a/audio/exaile/PLIST b/audio/exaile/PLIST
index ce1f13fe972..fc937653529 100644
--- a/audio/exaile/PLIST
+++ b/audio/exaile/PLIST
@@ -1,6 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2007/04/11 18:50:08 drochner Exp $
+@comment $NetBSD: PLIST,v 1.3 2007/09/03 10:21:08 drochner Exp $
bin/exaile
+lib/exaile/mmkeys.so
+man/man1/exaile.1
share/applications/exaile.desktop
+share/exaile/equalizer.ini
share/exaile/exaile.glade
share/exaile/exaile.py
share/exaile/images/artist.png
@@ -32,81 +35,99 @@ share/exaile/images/media-audiofile.png
share/exaile/images/nocover.png
share/exaile/images/playlist.png
share/exaile/images/splash.png
-share/exaile/images/star.svg
+share/exaile/images/star.png
share/exaile/images/track.png
share/exaile/images/trayicon.png
-share/exaile/mmkeys.so
+share/exaile/lib/__init__.py
+share/exaile/lib/__init__.pyc
+share/exaile/lib/wmainfo.py
+share/exaile/lib/wmainfo.pyc
share/exaile/plugins/__init__.py
-share/exaile/plugins/alarmclock.py
-share/exaile/plugins/console.py
-share/exaile/plugins/desktopcover.py
-share/exaile/plugins/exailenotify.py
-share/exaile/plugins/gossip_status.py
share/exaile/plugins/gui.py
-share/exaile/plugins/imstatus.py
-share/exaile/plugins/ipoddriver.py
share/exaile/plugins/manager.py
-share/exaile/plugins/massstoragedriver.py
-share/exaile/plugins/minimode.py
-share/exaile/plugins/notaskbarentry.py
share/exaile/plugins/plugins.glade
-share/exaile/plugins/resume.py
-share/exaile/plugins/serp.py
-share/exaile/plugins/sound-juicer.py
-share/exaile/plugins/streamripper.py
-share/exaile/po/ca.po
-share/exaile/po/de_DE.po
-share/exaile/po/en_GB.po
-share/exaile/po/es_ES.po
-share/exaile/po/pl.po
-share/exaile/po/pt_BR.po
-share/exaile/po/ru.po
-share/exaile/po/sv.po
-share/exaile/po/zh_CN.po
share/exaile/sql/changes0001.sql
+share/exaile/sql/changes0002.sql
share/exaile/sql/db.sql
share/exaile/xl/__init__.py
+share/exaile/xl/__init__.pyc
share/exaile/xl/audioscrobbler.py
+share/exaile/xl/audioscrobbler.pyc
share/exaile/xl/common.py
+share/exaile/xl/common.pyc
share/exaile/xl/config.py
+share/exaile/xl/config.pyc
share/exaile/xl/config_convert.py
+share/exaile/xl/config_convert.pyc
share/exaile/xl/covers.py
+share/exaile/xl/covers.pyc
share/exaile/xl/db.py
+share/exaile/xl/db.pyc
share/exaile/xl/dbusinterface.py
+share/exaile/xl/dbusinterface.pyc
+share/exaile/xl/equalizer.py
+share/exaile/xl/equalizer.pyc
share/exaile/xl/filtergui.py
+share/exaile/xl/filtergui.pyc
share/exaile/xl/media/__init__.py
+share/exaile/xl/media/__init__.pyc
share/exaile/xl/media/flac.py
-share/exaile/xl/media/m4a.py
+share/exaile/xl/media/flac.pyc
share/exaile/xl/media/mp3.py
+share/exaile/xl/media/mp3.pyc
+share/exaile/xl/media/mp4.py
+share/exaile/xl/media/mp4.pyc
share/exaile/xl/media/mpc.py
+share/exaile/xl/media/mpc.pyc
share/exaile/xl/media/ogg.py
+share/exaile/xl/media/ogg.pyc
share/exaile/xl/media/wav.py
+share/exaile/xl/media/wav.pyc
share/exaile/xl/media/wma.py
+share/exaile/xl/media/wma.pyc
+share/exaile/xl/mozembed.py
+share/exaile/xl/mozembed.pyc
share/exaile/xl/panels.py
+share/exaile/xl/panels.pyc
share/exaile/xl/player.py
+share/exaile/xl/player.pyc
share/exaile/xl/prefs.py
-share/exaile/xl/shoutcast.py
+share/exaile/xl/prefs.pyc
share/exaile/xl/track.py
+share/exaile/xl/track.pyc
share/exaile/xl/tracks.py
+share/exaile/xl/tracks.pyc
share/exaile/xl/trackslist.py
+share/exaile/xl/trackslist.pyc
share/exaile/xl/xlmisc.py
+share/exaile/xl/xlmisc.pyc
share/locale/ca/LC_MESSAGES/exaile.mo
-share/locale/de_DE/LC_MESSAGES/exaile.mo
+share/locale/cs/LC_MESSAGES/exaile.mo
+share/locale/de/LC_MESSAGES/exaile.mo
share/locale/en_GB/LC_MESSAGES/exaile.mo
+share/locale/es_AR/LC_MESSAGES/exaile.mo
share/locale/es_ES/LC_MESSAGES/exaile.mo
+share/locale/fr/LC_MESSAGES/exaile.mo
+share/locale/hu/LC_MESSAGES/exaile.mo
+share/locale/it_IT/LC_MESSAGES/exaile.mo
+share/locale/nn/LC_MESSAGES/exaile.mo
+share/locale/pa/LC_MESSAGES/exaile.mo
share/locale/pl/LC_MESSAGES/exaile.mo
share/locale/pt_BR/LC_MESSAGES/exaile.mo
-share/locale/ru/LC_MESSAGES/exaile.mo
+share/locale/ro/LC_MESSAGES/exaile.mo
share/locale/sv/LC_MESSAGES/exaile.mo
+share/locale/tr_TR/LC_MESSAGES/exaile.mo
share/locale/zh_CN/LC_MESSAGES/exaile.mo
+share/locale/zh_TW/LC_MESSAGES/exaile.mo
share/pixmaps/exaile.png
@comment in xdg-dirs: @dirrm share/pixmaps
@dirrm share/exaile/xl/media
@dirrm share/exaile/xl
@dirrm share/exaile/sql
-@dirrm share/exaile/po
@dirrm share/exaile/plugins
+@dirrm share/exaile/lib
@dirrm share/exaile/images/default_theme
@dirrm share/exaile/images
@dirrm share/exaile
@comment in xdg-dirs: @dirrm share/applications
+@dirrm lib/exaile
diff --git a/audio/exaile/distinfo b/audio/exaile/distinfo
index a704edb24a7..3ec291ed807 100644
--- a/audio/exaile/distinfo
+++ b/audio/exaile/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2007/06/19 18:28:39 drochner Exp $
+$NetBSD: distinfo,v 1.4 2007/09/03 10:21:08 drochner Exp $
-SHA1 (exaile_0.2.9.tar.gz) = 100e048b35b59f89c7874c60cb235df69005a8f4
-RMD160 (exaile_0.2.9.tar.gz) = 333362939e80f2feb5bd81d51e134cb4d29f74f2
-Size (exaile_0.2.9.tar.gz) = 421296 bytes
-SHA1 (patch-aa) = c9b35c1319d9d0bc230310d5fdd7afd695526b29
-SHA1 (patch-ab) = 59d1b5b8e9f2d8aaa8f80bae66d052c3bdc8819d
+SHA1 (exaile_0.2.10.tar.gz) = 201052c99762405fa99132f6ded308543fd1998b
+RMD160 (exaile_0.2.10.tar.gz) = 80a688361964659785932ff1de3be71c798f5082
+Size (exaile_0.2.10.tar.gz) = 516304 bytes
+SHA1 (patch-aa) = 3d2f35c5513e4424fa739352d938cb19e26a155b
+SHA1 (patch-ab) = 46d55fb1e5175aafc9d414bf17b045f1eaf3b3bb
diff --git a/audio/exaile/patches/patch-aa b/audio/exaile/patches/patch-aa
index c3113a22f65..d5652d6bfec 100644
--- a/audio/exaile/patches/patch-aa
+++ b/audio/exaile/patches/patch-aa
@@ -1,10 +1,42 @@
-$NetBSD: patch-aa,v 1.1.1.1 2007/01/10 10:48:21 drochner Exp $
+$NetBSD: patch-aa,v 1.2 2007/09/03 10:21:08 drochner Exp $
---- Makefile.orig 2007-01-08 13:18:58.000000000 +0100
+--- Makefile.orig 2007-06-21 05:17:04.000000000 +0200
+++ Makefile
-@@ -1,4 +1,4 @@
--PREFIX=/usr
-+#PREFIX=/usr
- CWD=`pwd`
- all: build
- @echo "Done"
+@@ -7,13 +7,13 @@ all: compile mmkeys.so translations
+ @echo "Type: 'make install' now"
+
+ compile:
+- python -m compileall xl lib
++ ${PYTHONBIN} -m compileall xl lib
+
+ mmkeys.so:
+ cd mmkeys && make mmkeys.so && cd .. && cp mmkeys/mmkeys.so .
+
+ translations:
+- python po/createpot.py compile
++ ${PYTHONBIN} po/createpot.py compile
+
+ make-install-dirs:
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
+@@ -31,10 +31,10 @@ make-install-dirs:
+ mkdir -p $(DESTDIR)$(PREFIX)/share/exaile/lib
+ mkdir -p $(DESTDIR)$(PREFIX)/share/exaile/sql
+ mkdir -p $(DESTDIR)$(PREFIX)/share/locale
+- mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
++ mkdir -p $(DESTDIR)$(PREFIX)/man/man1
+
+ install: make-install-dirs
+- install -m 644 exaile.1 $(DESTDIR)$(PREFIX)/share/man/man1
++ install -m 644 exaile.1 $(DESTDIR)$(PREFIX)/man/man1
+ install -m 644 exaile.py $(DESTDIR)$(PREFIX)/share/exaile
+ install -m 644 exaile.glade $(DESTDIR)$(PREFIX)/share/exaile
+ install -m 644 equalizer.ini $(DESTDIR)$(PREFIX)/share/exaile
+@@ -63,7 +63,7 @@ install: make-install-dirs
+ > exaile && \
+ chmod 755 exaile
+ for f in `find po -name exaile.mo` ; do \
+- install -D -m 644 $$f \
++ install -m 644 $$f \
+ `echo $$f | sed "s|po|$(DESTDIR)$(PREFIX)/share/locale|"` ; \
+ done
+
diff --git a/audio/exaile/patches/patch-ab b/audio/exaile/patches/patch-ab
index 564453a7238..4f1e5835b47 100644
--- a/audio/exaile/patches/patch-ab
+++ b/audio/exaile/patches/patch-ab
@@ -1,14 +1,13 @@
-$NetBSD: patch-ab,v 1.1 2007/06/19 18:28:39 drochner Exp $
+$NetBSD: patch-ab,v 1.2 2007/09/03 10:21:08 drochner Exp $
---- xl/covers.py.orig 2007-06-19 20:14:56.000000000 +0200
-+++ xl/covers.py
-@@ -42,7 +42,8 @@ KEY = "15VDQG80MCS2K1W2VRR2" # Adam Olse
- QUERY = "/onca/xml3?t=webservices-20&dev-t=%s&mode=music&type=lite&" % (KEY) + \
- "locale={locale}&page=1&f=xml&KeywordSearch="
- IMAGE_PATTERN = re.compile(
-- r"http://(images(?:-\w\w)?\.amazon\.com)(/images/.*?LZ+\.jpg)")
-+ r"<ImageUrlMedium>http://(\w+\.images-amazon\.com)"
-+ "(/images/.*?\.jpg)</ImageUrlMedium>", re.DOTALL)
+--- mmkeys/Makefile.orig 2007-07-18 22:46:30.000000000 +0200
++++ mmkeys/Makefile
+@@ -4,7 +4,7 @@ mmkeys.so: build
+ cp build/lib*/mmkeys.so .
+
+ build: mmkeyspy.c
+- ./setup.py build
++ ${PYTHONBIN} ./setup.py build
+
+ DEFS=`pkg-config --variable=defsdir pygtk-2.0`
- """
- Fetches album covers from Amazon.com