Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257765 - media-video/nvidia-settings: Install samples
Summary: media-video/nvidia-settings: Install samples
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-05 10:32 UTC by Jan Seeger
Modified: 2012-02-17 17:39 UTC (History)
2 users (show)

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


Attachments
Patch for nvidia-setting-169.07. Should also work for newer versions (nvidia-settings-169.07.ebuild.patch,1.38 KB, patch)
2009-02-05 10:38 UTC, Jan Seeger
Details | Diff
nvidia-settings-180.22-r1.ebuild patch (nvidia-settings-180.22-r1.ebuild.patch,1.15 KB, patch)
2009-02-05 19:48 UTC, Jeroen Roovers (RETIRED)
Details | Diff
nvidia-settings-180.22-cflags.patch (nvidia-settings-180.22-cflags.patch,312 bytes, patch)
2009-02-05 20:00 UTC, Jeroen Roovers (RETIRED)
Details | Diff
Patch for current nvidia-settings version (nvidia-settings-260.19.36.patch,917 bytes, patch)
2011-04-13 23:22 UTC, Alexander Sulfrian
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Seeger 2009-02-05 10:32:51 UTC
In the nvidia-settings source, there are some sample programs that are very useful to automate activation of an external monitor. appended is a patch for the nvidia-settings ebuild to build the sample programs depending on the utils use flag. Some desccription for "utils" would be helpful, but I don't know how to go about that.

Reproducible: Always
Comment 1 Jan Seeger 2009-02-05 10:38:02 UTC
Created attachment 181017 [details, diff]
Patch for nvidia-setting-169.07. Should also work for newer versions
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-02-05 19:48:13 UTC
Created attachment 181080 [details, diff]
nvidia-settings-180.22-r1.ebuild patch

Changes wrt original ebuild:
* Put Makefile to better use (make clean && make works fine)
* tc-export CC (the ebuild _knows_ :)
* No need the specify CFLAGS awkwardly (the ebuild _knows_ :)
* Remove unnecessary einfo

Changes wrt previous patch $181017:
* IUSE=examples fits better IMO - nvidia-settings is the real util
* Put Makefile to better use (same as above)

Notes:
* I tried to fix make install but the current "manual" stuff in the ebuild is probably better for us - left that as it was. The Makefile has a ROOT variable we could use, but it assumes that is populated with usr/bin and alike so we should then also append -D to INSTALL_RULE, and make sure it doesn't STRIP the executable or compress the man page, and that still leaves other docs uninstalled.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-02-05 20:00:54 UTC
Created attachment 181081 [details, diff]
nvidia-settings-180.22-cflags.patch

Apply CFLAGS in src/XF86Config-parser/Makefile as well.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2010-08-30 22:39:58 UTC
This has been added to new ebuilds, only issue is they currently don't compile. When they do, it will be enabled.
Comment 5 Alexander Sulfrian 2011-04-13 23:22:50 UTC
Created attachment 269877 [details, diff]
Patch for current nvidia-settings version

Any progress here? Here is a patch for the current ebuild.
Comment 6 Christian Ruppert (idl0r) gentoo-dev 2012-02-17 17:39:45 UTC
I've just added the "examples" useflag to 295.20. Right now I don't think we'll build those examples. Those are more examples of how to use the API etc.
If you think it is *really* useful to build them please re-open this bug.