Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148931 - media-sound/listen-0.5b1 has been released
Summary: media-sound/listen-0.5b1 has been released
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: José Alberto Suárez López (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-24 07:11 UTC by Pacho Ramos
Modified: 2006-10-12 15:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild (listen-0.5.ebuild,2.75 KB, application/octet-stream)
2006-10-01 05:06 UTC, Account removed
Details
Patch for check.py (check.patch,704 bytes, patch)
2006-10-01 05:07 UTC, Account removed
Details | Diff
Patch for Makefile (Makefile.patch,1.51 KB, patch)
2006-10-01 05:07 UTC, Account removed
Details | Diff
updated ebuild (listen-0.5.ebuild,2.79 KB, text/plain)
2006-10-02 09:26 UTC, onip
Details
Makefile1.patch (Makefile1.patch,1.54 KB, patch)
2006-10-04 04:13 UTC, Emiliano Vavassori
Details | Diff
listen ebuild with optional libsexy support (listen-0.5.ebuild,2.82 KB, text/plain)
2006-10-12 13:55 UTC, onip
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2006-09-24 07:11:12 UTC
http://listengnome.free.fr/

Thanks
Comment 1 Account removed 2006-10-01 05:06:29 UTC
Created attachment 98510 [details]
ebuild
Comment 2 Account removed 2006-10-01 05:07:00 UTC
Created attachment 98513 [details, diff]
Patch for check.py
Comment 3 Account removed 2006-10-01 05:07:22 UTC
Created attachment 98514 [details, diff]
Patch for Makefile
Comment 4 Account removed 2006-10-01 05:07:52 UTC
I created an 'work-around' ebuild. It's my first own ebuild, based on version 0.4.3. Please review it!
Comment 5 onip 2006-10-02 09:24:39 UTC
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
Comment 6 onip 2006-10-02 09:26:22 UTC
Created attachment 98610 [details]
updated ebuild

ebuild with elementtree added
Comment 7 onip 2006-10-03 11:58:31 UTC
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
Comment 8 Emiliano Vavassori 2006-10-03 13:54:50 UTC
(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 :)

Comment 9 Emiliano Vavassori 2006-10-04 04:13:06 UTC
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.
Comment 10 Luca 2006-10-05 05:44:25 UTC
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
Comment 11 José Alberto Suárez López (RETIRED) gentoo-dev 2006-10-12 13:17:34 UTC
i changed a few lines in the ebuild and i'm testing it.
nice job with the patchs :)
Comment 12 onip 2006-10-12 13:55:47 UTC
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
Comment 13 José Alberto Suárez López (RETIRED) gentoo-dev 2006-10-12 15:16:20 UTC
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.