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

Bug 137468

Summary: x11-libs/gtk+-2.8.{17,18,19} use virtualx and depend on x11-base/xorg-server even when "test" not in FEATURES
Product: Gentoo Linux Reporter: Joe Wells <sllewbj>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal CC: thomas_scheffler
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joe Wells 2006-06-21 02:15:06 UTC
The ebuilds for x11-libs/gtk+-2.8.Y where Y is 17, 18, or 19 all use
"inherit virtualx".  Thus, whenever "X" is in USE, they depend on
x11-base/xorg-server.  However, they don't actually use the features
of virtualx unless "test" is in FEATURES.  Thus, they should not
depend on x11-base/xorg-server in this case.

I have a machine that does not run an X server but runs X clients that
use GTK+, and so portage is now trying to pull in xorg-server even
though it is not needed (it is not used for building or running the
GTK+ library).

Can you help?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-21 02:21:18 UTC
echo "x11-libs/gtk+ -X" >> /etc/portage/package.keywords. FEATURES don't turn use flags on/off, and we don't have per-package features yet.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-06-21 02:27:04 UTC
Meh... echo "x11-libs/gtk+ -X" >> /etc/portage/package.use (not package.keywords) will obviously work better, and I need coffee.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-24 01:40:05 UTC
*** Bug 148890 has been marked as a duplicate of this bug. ***