Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168273 - exaile-0.2.9_beta1.ebuild should add dependency for gnome-base/librsvg
Summary: exaile-0.2.9_beta1.ebuild should add dependency for gnome-base/librsvg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-24 22:41 UTC by Maarten Bressers (RETIRED)
Modified: 2007-02-24 23:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maarten Bressers (RETIRED) gentoo-dev 2007-02-24 22:41:32 UTC
Exaile 0.2.9_beta1 uses an SVG file to display their graphical ratings (/usr/share/exaile/images/star.svg). Without librsvg this file cannot be displayed (see traceback), with librsvg it can.

Reproducible: Always

Steps to Reproduce:
1. emerge Exaile 0.2.9_beta1  (my USE flags: "alsa cdaudio mad")
2. start Exaile
3. watch the traceback (see below)

Actual Results:  
$ exaile
Plugins 'Mini Mode' version '0.1' loaded successfully
Plugins 'Streamripper!' version '0.1' loaded successfully
Plugins 'Gossip Status' version '0.1' loaded successfully
Failed to load plugin
Traceback (most recent call last):
  File "/usr/share/exaile/plugins/manager.py", line 47, in load_plugins
    plugin = __import__(re.sub('\.pyc?$', '', file))
  File "/usr/share/exaile/plugins/exailenotify.py", line 17, in ?
    import gtk, pynotify, plugins, traceback, cgi, os
ImportError: No module named pynotify
Plugins 'Remove taskbar entry' version '0.1' loaded successfully
Plugins 'Serpentine Plugin' version '0.1' loaded successfully
Plugins 'Mass Storage Driver' version '0.1' loaded successfully
Plugins 'Python Console' version '0.1' loaded successfully
Plugins 'Gajim Status' version '0.1' loaded successfully
Plugins 'Desktop Cover' version '0.2' loaded successfully
Plugins 'Alarm Clock' version '0.1' loaded successfully
Plugins 'resume.py' version '0.1' loaded successfully
Plugins 'iPod Device Driver' version '0.2' loaded successfully
Created db for thread Thread-1
{'Thread-1': <pysqlite2.dbapi2.Connection object at 0xb784c548>}
mmkeys are NOT available
loading tracks...
Closed db for thread Thread-1
done loading tracks...
loading songs
Clearing tracks cache
Traceback (most recent call last):
  File "/usr/bin/exaile", line 800, in load_last_playlist
    self.new_page(_("Playlist"))
  File "/usr/share/exaile/xl/common.py", line 52, in wrapper
    return func(self,*__args,**__kw)
  File "/usr/bin/exaile", line 1514, in new_page
    self.tracks = trackslist.TracksListCtrl(self)
  File "/usr/share/exaile/xl/trackslist.py", line 103, in __init__
    self.create_rating_images()
  File "/usr/share/exaile/xl/trackslist.py", line 116, in create_rating_images
    svg_star = gtk.gdk.pixbuf_new_from_file_at_size("images/star.svg", star_size, star_size)
gobject.GError: Unrecognized image file format


Expected Results:  
$ exaile
Plugins 'Mini Mode' version '0.1' loaded successfully
Plugins 'Streamripper!' version '0.1' loaded successfully
Plugins 'Gossip Status' version '0.1' loaded successfully
Failed to load plugin
Traceback (most recent call last):
  File "/usr/share/exaile/plugins/manager.py", line 47, in load_plugins
    plugin = __import__(re.sub('\.pyc?$', '', file))
  File "/usr/share/exaile/plugins/exailenotify.py", line 17, in ?
    import gtk, pynotify, plugins, traceback, cgi, os
ImportError: No module named pynotify
Plugins 'Remove taskbar entry' version '0.1' loaded successfully
Plugins 'Serpentine Plugin' version '0.1' loaded successfully
Plugins 'Mass Storage Driver' version '0.1' loaded successfully
Plugins 'Python Console' version '0.1' loaded successfully
Plugins 'Gajim Status' version '0.1' loaded successfully
Plugins 'Desktop Cover' version '0.2' loaded successfully
Plugins 'Alarm Clock' version '0.1' loaded successfully
Plugins 'resume.py' version '0.1' loaded successfully
Plugins 'iPod Device Driver' version '0.2' loaded successfully
Created db for thread Thread-1
{'Thread-1': <pysqlite2.dbapi2.Connection object at 0xb6adf548>}
mmkeys are NOT available
loading tracks...
Closed db for thread Thread-1
done loading tracks...
loading songs
Clearing tracks cache
Importing /home/maarten/.exaile/saved/playlist0000.m3u
Last playlist loaded
Loading page 0


Include gnome-base/librsvg as a dependency. I checked it with gnome-base/librsvg-2.16.1, the latest stable version in Portage as of Feb 24, 2007 and this solves the problem.

Patch for exaile-0.2.9_beta1.ebuild:

--- exaile-0.2.9_beta1.ebuild   2007-02-24 23:27:11.000000000 +0100
+++ exaile-0.2.9_beta1.ebuild.new       2007-02-24 23:27:29.000000000 +0100
@@ -26,6 +26,7 @@
        >=media-libs/mutagen-1.6
        dev-python/elementtree
        dev-python/dbus-python
+       gnome-base/librsvg
        fam? ( app-admin/gamin )
        alsa? ( >=media-plugins/gst-plugins-alsa-0.10 )
        oss? ( >=media-plugins/gst-plugins-oss-0.10 )
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2007-02-24 22:48:31 UTC
Fixed, thanks for reporting.

[00:47] <+CIA-1> drac * gentoo-x86/media-sound/exaile/ (exaile-0.2.9_beta1.ebuild ChangeLog): 
[00:47] <+CIA-1> Add gnome-base/librsvg rdep for bug 168273. Thanks to Maarten Bressen.
[00:47] <+CIA-1> (Portage version: 2.1.2-r11)
Comment 2 Maarten Bressers (RETIRED) gentoo-dev 2007-02-24 23:01:13 UTC
You misspelled my name in the ChangeLog :(