http://listengnome.free.fr/ Thanks
Created attachment 98510 [details] ebuild
Created attachment 98513 [details, diff] Patch for check.py
Created attachment 98514 [details, diff] Patch for Makefile
I created an 'work-around' ebuild. It's my first own ebuild, based on version 0.4.3. Please review it!
dev-python/elementtree should be added to rdepend or you'd get an error like this onip @ Hal9000 ~ $ listen Traceback (most recent call last): File "/usr/lib/listen/listen.py", line 209, in ? ListenApp() File "/usr/lib/listen/listen.py", line 136, in __init__ from widget.listen import Listen File "/usr/lib/listen/widget/listen.py", line 35, in ? from widget.player_ui import PlayerUI File "/usr/lib/listen/widget/player_ui.py", line 32, in ? from widget.dynamic_playlist import DynamicPlaylist File "/usr/lib/listen/widget/dynamic_playlist.py", line 29, in ? from lastfm import lastfm_info File "/usr/lib/listen/lastfm.py", line 23, in ? from elementtree.ElementTree import fromstring as XMLFromString ImportError: No module named elementtree.ElementTree
Created attachment 98610 [details] updated ebuild ebuild with elementtree added
Another patch is needed (but I don't know hot to do it). As reported by syntaxerrormmm ( http://forums.gentoo.org/viewtopic-p-3618462.html#3618462 ) listen.py script isn't correct and needs this to start sed -i 's/LD_LIBRARY_PATH=\([\/a-z-]*\) \([\/a-z]*\)/LD_LIBRARY_PATH="\1 \2"/' /usr/bin/listen Thanks
(In reply to comment #7) > Another patch is needed (but I don't know hot to do it). Well, it can be done in pkg_install with: sed -i 's/LD_LIBRARY_PATH=\([\/a-z-]*\) \([\/a-z]*\)/LD_LIBRARY_PATH="\1 \2"/' ${D}/usr/bin/listen But I will check first if the script file is static or dinamically generated by the ebuild :)
Created attachment 98752 [details, diff] Makefile1.patch Substitute this Makefile patch with the other one previously posted. This will fix also the launching script issue. HTH, please feedback.
Hi to all! I enounter this error: [..] Checking for DBUS: found Checking for PyGSt >= 0.10: found Checking for python-libgpod: Traceback (most recent call last): File "./check.py", line 100, in ? import gpod File "/usr/lib/python2.4/site-packages/dbus/__init__.py", line 1, in ? from _dbus import * File "/usr/lib/python2.4/site-packages/gpod.py", line 46, in ? sw_get_playlists = _gpod.sw_get_playlists AttributeError: 'module' object has no attribute 'sw_get_track' make: *** [check] Error 1 !!! ERROR: media-sound/listen-0.5 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile listen-0.5.ebuild, line 82: Called die Thanks for all
i changed a few lines in the ebuild and i'm testing it. nice job with the patchs :)
Created attachment 99471 [details] listen ebuild with optional libsexy support I've added support for sexy-python, via a USE flag. Ebuilds can be found in bugzilla or in sunrise overlay. I found those to work correctly
now in cvs enjoy :) so it need test. i have problems with musicbrainz. you need to unmask some package and it doenst works to well.