Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 41170

Summary: media-libs/gdk-pixbuf depends on gnome-base/gnome-libs whereas it does not need to
Product: Gentoo Linux Reporter: Christian Seiler <chris_se>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 13484    
Bug Blocks:    
Attachments: The patch to the ebuild.

Description Christian Seiler 2004-02-10 14:46:42 UTC
While emerging the GIMP I noticed that portage wanted to emerge also the GNOME 1.4 libraries. I do not want these.

I then traced the dependency down to the package media-libs/gdk-pixbuf.

Reproducible: Always
Steps to Reproduce:
emerge -p gdk-pixbuf without having gnome-base/gnome-libs installed and with having the gnome USE flag unset.
Actual Results:  
gnome-libs is on the list of the packages that are to be emerged.

Expected Results:  
gnome-libs should not be on the list of the packages that are to be emerged.

I modified the ebuild so that the gnome-base/gnome-libs would only be a
dependency if the gnome USE flag was set. gdk-pixbuf emerged just fine and until
now I did not have any problems with the GIMP.

Here is the patch to the ebuild.

--- gdk-pixbuf-0.22.0.ebuild.old        2004-02-09 21:30:32.000000000 +0100
+++ gdk-pixbuf-0.22.0.ebuild    2004-02-09 21:30:32.000000000 +0100
@@ -4,7 +4,7 @@

 inherit virtualx libtool gnome.org

-IUSE="doc"
+IUSE="doc gnome"
 S=${WORKDIR}/${P}
 DESCRIPTION="GNOME Image Library"
 HOMEPAGE="http://www.gtk.org/"
@@ -13,7 +13,7 @@
 	media-libs/tiff
 	=x11-libs/gtk+-1.2*
 	>=media-libs/libpng-1.2.1
-	>=gnome-base/gnome-libs-1.4.1.2-r1"
+	gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 )"
 # We need gnome-libs here, else gnome support do not get compiled into
 # gdk-pixbuf (the GnomeCanvasPixbuf library )
Comment 1 Christian Seiler 2004-02-10 14:48:48 UTC
Created attachment 25362 [details, diff]
The patch to the ebuild.
Comment 2 foser (RETIRED) gentoo-dev 2004-02-10 15:12:38 UTC
search please 

and there's actually a comment there which explains the situation *sigh* (even in the diff)

*** This bug has been marked as a duplicate of 2272 ***