Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127290 - media-libs/gdk-pixbuf: splitting GnomeCanvasPixbuf to avoid dep on gnome-libs?
Summary: media-libs/gdk-pixbuf: splitting GnomeCanvasPixbuf to avoid dep on gnome-libs?
Status: RESOLVED DUPLICATE of bug 7693
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-23 04:35 UTC by Malte S. Stretz
Modified: 2006-03-23 13:21 UTC (History)
1 user (show)

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


Attachments
patch against gdk-pixbuf-0.22.0-r5.ebuild (gdk-pixbuf-0.22.0-r6.ebuild.patch,1.28 KB, patch)
2006-03-23 05:01 UTC, Malte S. Stretz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Malte S. Stretz 2006-03-23 04:35:30 UTC
Hi,

I've got a system running with -gnome which works fine.  But some package still pulled in gnome-libs-1.4.2 which I'd like to avoid.  I tracked it down to gtk-perl which already has a gnome USE flag but deps on gdk-pixbuf which has a hard dep on gnome-libs to successfully build the GnomeCanvasPixbuf.  But:  gtk-perl doesn't even support GnomeCanvasPixbuf, the code is commented out!

I'd like to get rid on that dep and had two ideas how this could be done:

1. Add the gnome USE flag to gdk-pixbuf and
a) depend on gnome-libs only if set and
b) make sure the lib isn't build if gnome-libs exists anyway (makes the ebuild predictable)
I'm not sure which apps might break because of this.

2. Never build GnomeCanvasPixbuf in gdk-pixbuf but add another ebuild, say gdk-pixbuf-gnomecanvas, then
a) Add the gnome USE flag to gdk-pixbuf which makes it depend on gdk-pixbuf-gnomecanvas
b) Add the gdk-pixbuf-gnomecanvas as an additonal dep to all ebuilds which depend on gdk-pixbuf with a "FIXME: check if needed" (except gtk-perl which doesn't need it)

Which one would be the preferred solution for this?  I'd go and create patches to do the necessary changes against all the ebuilds, but I don't want to waste my time if neither solution is wanted :)
Comment 1 Malte S. Stretz 2006-03-23 05:01:27 UTC
Created attachment 82933 [details, diff]
patch against gdk-pixbuf-0.22.0-r5.ebuild

Hmmm... doing it with a USE flag was acutally pretty trivial.  This patch against the current ebuild completely disables building of GnomeCanvasPixmap if the USE flag gnome isn't set.
Comment 2 foser (RETIRED) gentoo-dev 2006-03-23 12:29:54 UTC
But some apps expect the canvas there.. thats why this has always been a problem. This problem is as old as Methusalem.

*** This bug has been marked as a duplicate of 7693 ***
Comment 3 Malte S. Stretz 2006-03-23 13:21:29 UTC
Yeah, for some reason I did not see bug 7693 when I queried for existing ones.  But what about my second suggestion?  And what about the attachment 78038 [details, diff] which was requested by allanonjl?