Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413461 - x11-drivers/nvidia-drivers - optionally install without X11 dependencies for headless configurations
Summary: x11-drivers/nvidia-drivers - optionally install without X11 dependencies for ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-25 08:08 UTC by Amir Aupov
Modified: 2012-08-16 22:40 UTC (History)
4 users (show)

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


Attachments
ebuild with X use flag, dropped installation of nvidia-settings (nvidia-drivers-295.49.ebuild,18.26 KB, text/plain)
2012-05-21 14:48 UTC, Amir Aupov
Details
Diff between nvidia-drivers-295.49 and X-flag enabled ebuilds (patch,5.70 KB, patch)
2012-05-21 14:50 UTC, Amir Aupov
Details | Diff
x11-drivers/nvidia-drivers-295.53 with X flag, tools flag preserved (nvidia-drivers-295.53.ebuild,18.62 KB, text/plain)
2012-05-26 11:07 UTC, Amir Aupov
Details
version bump (nvidia-drivers-304.22.ebuild,18.82 KB, text/plain)
2012-07-16 07:07 UTC, Amir Aupov
Details
nvidia-drivers-304.22 with X use (nvidia-drivers-304.22.ebuild,18.82 KB, text/plain)
2012-07-16 07:08 UTC, Amir Aupov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amir Aupov 2012-04-25 08:08:18 UTC
I use Gentoo on my headless computing server where CUDA programs are running. Thus, I have no need in X server, just nvidia proprietary kernel module. 
But emerge'ing nvidia-drivers wants to install xorg-server and tens dependent packages, from which I want to get rid. 
So I suggest splitting X-related features to X use flag (which should be activated by default) and leaving only kernel module and crucial tools installed without this useflag.
I tried fixing ebuild at local overlay, but I got stuck with it.

Reproducible: Always



Expected Results:  
Installing X server related features depending on X use flag.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2012-04-30 19:51:30 UTC
You're more than welcome to implement it. There was another bug report for this same thing so maybe you can work with that guy.
Comment 2 Amir Aupov 2012-05-21 14:48:51 UTC
Created attachment 312527 [details]
ebuild with X use flag, dropped installation of nvidia-settings

Ebuild with X flag responsible for installation of Xorg libraries
nvidia-settings installation is completely dropped (no gtk or tools flags) in favor of media-video/nvidia-settings
Comment 3 Amir Aupov 2012-05-21 14:50:34 UTC
Created attachment 312529 [details, diff]
Diff between nvidia-drivers-295.49 and X-flag enabled ebuilds

Just to demonstrate differences
Comment 4 Amir Aupov 2012-05-21 14:55:18 UTC
Attached ebuild x11-drivers/nvidia-drivers-295.49, where nvidia-settings is completely dropped (no tools or gtk use flag), in favour of https://bugs.gentoo.org/show_bug.cgi?id=404335
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2012-05-21 21:51:48 UTC
Dropping nvidia-settings is a non-starter. Overall I'd prefer if people kept this in their own overlay since there's not going to be a way for me to test this and will result in yet another config that will need to be supported for 1 or 2 people.
Comment 6 Amir Aupov 2012-05-26 11:07:43 UTC
Created attachment 313107 [details]
x11-drivers/nvidia-drivers-295.53 with X flag, tools flag preserved
Comment 7 Amir Aupov 2012-07-16 07:07:16 UTC
Created attachment 318278 [details]
version bump
Comment 8 Amir Aupov 2012-07-16 07:08:20 UTC
Created attachment 318280 [details]
nvidia-drivers-304.22 with X use
Comment 9 Doug Goldstein (RETIRED) gentoo-dev 2012-07-22 22:31:03 UTC
This has been added in 304.22.
Comment 10 Doug Goldstein (RETIRED) gentoo-dev 2012-08-16 22:40:06 UTC
Fixed in 304.37.