Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267231 - x11-misc/nitrogen requires gnome-base/librsvg
Summary: x11-misc/nitrogen requires gnome-base/librsvg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: David Shakaryan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-23 16:07 UTC by Nathan Zachary (RETIRED)
Modified: 2009-07-14 19:50 UTC (History)
2 users (show)

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


Attachments
Revised ebuild including RDEPEND of librsvg (nitrogen-1.4-r1.ebuild,1011 bytes, text/plain)
2009-07-14 16:46 UTC, Nathan Zachary (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Zachary (RETIRED) gentoo-dev 2009-04-23 16:07:41 UTC
After installing nitrogen (which didn't list librsvg as a dependency), attempting to start nitrogen results in the following:

$ nitrogen
terminate called after throwing an instance of 'Gdk::PixbufError'
Aborted

After installing gnome-base/librsvg, nitrogen starts correctly.  According to http://bugs.l3ib.org/index.php?do=details&task_id=9 there is no direct dependency on librsvg, but it may be missing from gtkmm.

Reproducible: Always

Steps to Reproduce:
1. Run emerge nitrogen
2. Try to start nitrogen from the terminal
3. Nitrogen terminates


Actual Results:  
Nitrogen fails with:

$ nitrogen
terminate called after throwing an instance of 'Gdk::PixbufError'
Aborted

Expected Results:  
Nitrogen should load up the wallpaper-changing GUI.

Running Openbox 3.4.7.2 on 2.6.29-gentoo-r1.

Not sure about the dependency on librsvg, but it does fix the problem.  Maybe it should be included in the dependencies for either nitrogen, or more appropriately, gtkmm?
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2009-04-28 11:06:23 UTC
Hey,

I had not much time to work with this bug but i believe its _not_ a nitrogen problem.
I noticed that some other apps has the same problem (like dev-util/nemiver).
So perhaps a general gtkmm problem or somewhere else in this area.
Comment 2 Nathan Zachary (RETIRED) gentoo-dev 2009-04-28 14:31:38 UTC
I agree.  After looking through more documentation about nitrogen, and on their user fora, it seems like the dependency on librsvg is more closely related to gtkmm.  Is there something I should do to reassign the bug to the appropriate person or team?

Comment 3 Christian Ruppert (idl0r) gentoo-dev 2009-04-28 16:55:33 UTC
(In reply to comment #2)
> I agree.  After looking through more documentation about nitrogen, and on their
> user fora, it seems like the dependency on librsvg is more closely related to
> gtkmm.  Is there something I should do to reassign the bug to the appropriate
> person or team?
> 

Just CCed gnome-mm.
They might know more about that issue.
Comment 4 Nathan Zachary (RETIRED) gentoo-dev 2009-07-14 16:46:10 UTC
Created attachment 197945 [details]
Revised ebuild including RDEPEND of librsvg

Though the Nitrogen team claims they don't have a direct dependency on librsvg, it would seem that it is not a problem with gtkmm, as the latter can deal with SVGs on its own:

http://bazaar.launchpad.net/~bastien-dallapiazza/ggoban/main/revision/6

Further, it seems that others are fixing the problem by adding librsvg as a dependency for Nitrogen:

http://www.archlinux.org/packages/extra/i686/nitrogen/

Whether or not this is a permanent solution, I believe it is in the best interest of the users to at least temporarily add librsvg as a dependency for Nitrogen.  Therefore, I have simply added it as a runtime dependency in the ebuild and attached it here.
Comment 5 David Shakaryan (RETIRED) gentoo-dev 2009-07-14 19:50:40 UTC
That workaround sounds good to me; just committed 1.4-r1.

Thank you very much, Nathan! :]