Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363715 - x11-libs/gdk-pixbuf should pdepend on gnome-base/librsvg
Summary: x11-libs/gdk-pixbuf should pdepend on gnome-base/librsvg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-15 14:56 UTC by Cedric Sodhi
Modified: 2011-06-05 12:25 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 Cedric Sodhi 2011-04-15 14:56:12 UTC
librsvg is required to load SVGs into GTK pixbufs. I had one GTK application constantly crashing because it tried to load the icons but could not.

It should be a USE=svg flag on GTK+, if I'm not mistaken about the concepts.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-04-15 15:01:48 UTC
Doesn't it use cairo for that these days?
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-04-15 15:29:37 UTC
that would be doable for gdk-pixbuf I guess.
Comment 3 Cedric Sodhi 2011-04-15 15:33:29 UTC
(I don't know I'm basically a layman in these things)

At least the application that I use has complained

  "Couldn't recognize the image file format for file"

It has been written with glade, maybe that has something to do with it. You can look at the app yourself:

svn co https://xournal.svn.sourceforge.net/svnroot/xournal/trunk/xournalpp xournal
cd xournal
./configure
./make
./src/xournalpp
Comment 4 Cedric Sodhi 2011-04-15 15:34:04 UTC
(In reply to comment #2)
> that would be doable for gdk-pixbuf I guess.

Does librsvg perhaps depend on gtk-pixbuf?
Comment 5 Rafał Mużyło 2011-04-15 15:44:32 UTC
At most, librsvg could be a PDEPEND of gdk-pixbuf, depending on svg useflag.
Anything other won't work, due to circular deps.
Comment 6 Cedric Sodhi 2011-04-15 15:50:51 UTC
Shouldn't the gdk-pixbuf dependency be removed from librsvg and then gdk-pixbug made depend on librsvg as suggested above?
Comment 7 Rafał Mużyło 2011-04-15 16:33:05 UTC
(In reply to comment #6)
> Shouldn't the gdk-pixbuf dependency be removed from librsvg and then gdk-pixbug
> made depend on librsvg as suggested above?

That would make just about no sense, as the sources of svg loader for obvious reasons use gdk-pixbuf.
Comment 8 Pacho Ramos gentoo-dev 2011-06-05 12:25:51 UTC
+  05 Jun 2011; Pacho Ramos <pacho@gentoo.org> -gdk-pixbuf-2.22.0.ebuild,
+  gdk-pixbuf-2.22.1-r1.ebuild:
+  PDEPEND on gnome-base/librsvg as reported in bug #363715 by Cedric. Remove
+  old.
+