Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137468 - x11-libs/gtk+-2.8.{17,18,19} use virtualx and depend on x11-base/xorg-server even when "test" not in FEATURES
Summary: x11-libs/gtk+-2.8.{17,18,19} use virtualx and depend on x11-base/xorg-server ...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 148890 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-21 02:15 UTC by Joe Wells
Modified: 2006-09-24 01:40 UTC (History)
1 user (show)

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 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. ***