Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271824 - x11-drivers/nvidia-drivers need NOT USE=gtk
Summary: x11-drivers/nvidia-drivers need NOT USE=gtk
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Ricardo Mendoza (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-30 04:36 UTC by Kalin KOZHUHAROV
Modified: 2009-05-30 21:20 UTC (History)
3 users (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 Kalin KOZHUHAROV 2009-05-30 04:36:20 UTC
I was installing a new system from scratch and was trying to be selective about what I need. Hardware needed nvidia-drivers, and I had +gtk set. Then `emerge nvidia-drivers` tried to pull in 26 additional packages.

Since gtk just PDEPENDs on nvidia-settings, I'd suggest getting rid of it. Pretty much anybody who has tried to use nvidia hardware have heard of it and can emerge it separately. Let's keep the dependencies as minimum.

Reproducible: Always
Comment 1 Sebastian Luther (few) 2009-05-30 06:17:28 UTC
You set +gtk and wonder why it pulls in gtk packages? This would have happend on the next package with gtk dependency anyways. And if you don't want nvidia-settings, just disable the gtk useflag in package.use for nvidia-dirvers. Or do you want another name for the useflag to be more explicit about what it does?

(In reply to comment #0)
> Pretty much anybody who has tried to use nvidia hardware have heard of it and
> can emerge it separately. Let's keep the dependencies as minimum.

The dependencies are at a minimum. The useflags are there to give users the choice to choose between optional dependencies. If you want them enable the flag, if not then don't.

Comment 2 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2009-05-30 15:51:52 UTC
To be honest i liked the change of the gtk flag name for nvidia-settings, but it is up to maintainers
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2009-05-30 21:20:16 UTC
First there's a bug a few months ago to add this as a PDEPEND and now there's a bug to remove it. There's never going to be everyone happy 100% of the time. The GTK+ dependencies of nvidia-settings are literally the dependencies of GTK+ and an xorg-server (which is a requirement of nvidia-drivers). So the fact that it pulled in any additional dependencies is a bit misleading.

The addition of the gtk USE flag adds no dependencies if you're building your system with GTK+ in the first place. As such, this won't get pulled out of the package.