summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-10-12 15:12:59 +0000
committerJeroen Roovers <jer@gentoo.org>2013-10-12 15:12:59 +0000
commit0b9aa2313b5e6236634841d1f24ab5b4e157da05 (patch)
treeae0e0079553f336bc5355f59af6b999780250ac8 /eclass
parentRemove vulnerable versions, bug #478284. (diff)
downloadhistorical-0b9aa2313b5e6236634841d1f24ab5b4e157da05.tar.gz
historical-0b9aa2313b5e6236634841d1f24ab5b4e157da05.tar.bz2
historical-0b9aa2313b5e6236634841d1f24ab5b4e157da05.zip
Use readme.gentoo.eclass (bug #457594).
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/nvidia-driver.eclass22
2 files changed, 24 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index f758f31a4209..37f442a7b977 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1019 2013/10/12 11:08:12 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1020 2013/10/12 15:12:59 jer Exp $
+
+ 12 Oct 2013; Jeroen Roovers <jer@gentoo.org> nvidia-driver.eclass:
+ Use readme.gentoo.eclass (bug #457594).
12 Oct 2013; Michał Górny <mgorny@gentoo.org> python-any-r1.eclass:
Do not look up Python for binary package install.
diff --git a/eclass/nvidia-driver.eclass b/eclass/nvidia-driver.eclass
index 6d1d23c9a7f1..ec6d1c425ba7 100644
--- a/eclass/nvidia-driver.eclass
+++ b/eclass/nvidia-driver.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/nvidia-driver.eclass,v 1.22 2013/05/16 14:25:13 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/nvidia-driver.eclass,v 1.23 2013/10/12 15:12:59 jer Exp $
# @ECLASS: nvidia-driver.eclass
# @MAINTAINER:
@@ -12,10 +12,28 @@
# Provide useful messages for nvidia-drivers based on currently installed Nvidia
# card. It inherits versionator.
-inherit versionator
+inherit readme.gentoo versionator
DEPEND="sys-apps/pciutils"
+# Variables for readme.gentoo.eclass:
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="You must be in the video group to use the NVIDIA device
+For more info, read the docs at
+http://www.gentoo.org/doc/en/nvidia-guide.xml#doc_chap3_sect6
+
+This ebuild installs a kernel module and X driver. Both must
+match explicitly in their version. This means, if you restart
+X, you must modprobe -r nvidia before starting it back up
+
+To use the NVIDIA GLX, run \"eselect opengl set nvidia\"
+
+To use the NVIDIA CUDA/OpenCL, run \"eselect opencl set nvidia\"
+
+NVIDIA has requested that any bug reports submitted have the
+output of nvidia-bug-report.sh included.
+"
+
# the data below is derived from
# http://us.download.nvidia.com/XFree86/Linux-x86_64/319.12/README/supportedchips.html