First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 148931
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: José Alberto Suárez López <bass@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Pacho Ramos <pacho@condmat1.ciencias.uniovi.es>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
listen-0.5.ebuild ebuild application/octet-stream Stephan Ritscher 2006-10-01 05:06 0000 2.75 KB Details
check.patch Patch for check.py patch Stephan Ritscher 2006-10-01 05:07 0000 704 bytes Details | Diff
Makefile.patch Patch for Makefile patch Stephan Ritscher 2006-10-01 05:07 0000 1.51 KB Details | Diff
listen-0.5.ebuild updated ebuild text/plain Andrea Pinazzi 2006-10-02 09:26 0000 2.79 KB Details
Makefile1.patch Makefile1.patch patch Emiliano Vavassori 2006-10-04 04:13 0000 1.54 KB Details | Diff
listen-0.5.ebuild listen ebuild with optional libsexy support text/plain Andrea Pinazzi 2006-10-12 13:55 0000 2.82 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 148931 depends on: Show dependency tree
Bug 148931 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-24 07:11 0000
http://listengnome.free.fr/

Thanks

------- Comment #1 From Stephan Ritscher 2006-10-01 05:06:29 0000 -------
Created an attachment (id=98510) [edit]
ebuild

------- Comment #2 From Stephan Ritscher 2006-10-01 05:07:00 0000 -------
Created an attachment (id=98513) [edit]
Patch for check.py

------- Comment #3 From Stephan Ritscher 2006-10-01 05:07:22 0000 -------
Created an attachment (id=98514) [edit]
Patch for Makefile

------- Comment #4 From Stephan Ritscher 2006-10-01 05:07:52 0000 -------
I created an 'work-around' ebuild. It's my first own ebuild, based on version
0.4.3. Please review it!

------- Comment #5 From Andrea Pinazzi 2006-10-02 09:24:39 0000 -------
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 From Andrea Pinazzi 2006-10-02 09:26:22 0000 -------
Created an attachment (id=98610) [edit]
updated ebuild

ebuild with elementtree added

------- Comment #7 From Andrea Pinazzi 2006-10-03 11:58:31 0000 -------
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 From Emiliano Vavassori 2006-10-03 13:54:50 0000 -------
(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 From Emiliano Vavassori 2006-10-04 04:13:06 0000 -------
Created an attachment (id=98752) [edit]
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 From Luca 2006-10-05 05:44:25 0000 -------
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 From José Alberto Suárez López 2006-10-12 13:17:34 0000 -------
i changed a few lines in the ebuild and i'm testing it.
nice job with the patchs :)

------- Comment #12 From Andrea Pinazzi 2006-10-12 13:55:47 0000 -------
Created an attachment (id=99471) [edit]
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 From José Alberto Suárez López 2006-10-12 15:16:20 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug