aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/nvidia-kernel/README2
-rw-r--r--system/nvidia-kernel/nvidia-kernel.SlackBuild9
-rw-r--r--system/nvidia-kernel/nvidia-kernel.info10
3 files changed, 12 insertions, 9 deletions
diff --git a/system/nvidia-kernel/README b/system/nvidia-kernel/README
index f6af142abce41..efb27956c4317 100644
--- a/system/nvidia-kernel/README
+++ b/system/nvidia-kernel/README
@@ -3,7 +3,7 @@ You also need the nvidia-driver package from SlackBuilds.org.
To build the package for a kernel different from the running one,
start the script setting the KERNEL variable as in
- KERNEL=3.2.34 ./nvidia-kernel.SlackBuild
+ KERNEL=3.18.19 ./nvidia-kernel.SlackBuild
A default config file is placed at /usr/share/X11/xorg.conf.d/10-nvidia.conf
to make sure that X loads the nvidia module. If you need to make changes,
diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild
index f35e1c9827ac5..d969c54498742 100644
--- a/system/nvidia-kernel/nvidia-kernel.SlackBuild
+++ b/system/nvidia-kernel/nvidia-kernel.SlackBuild
@@ -25,10 +25,10 @@
# Thanks to Robby Workman for suggestions to improve this script.
-# see changelog.txt
+# see nvidia-driver/changelog.txt
PRGNAM=nvidia-kernel
-VERSION=${VERSION:-346.59}
+VERSION=${VERSION:-352.30}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -92,7 +92,10 @@ install -m 0664 kernel/uvm/nvidia-uvm.ko $PKG/lib/modules/$KERNEL/kernel/drivers
# this file if you have an equivilent entry in /etc/X11/xorg.d
mkdir -p $PKG/usr/share/X11/xorg.conf.d/
-cat $CWD/10-nvidia.conf > $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf
+cat $TMP/$SRCNAM/nvidia-drm-outputclass.conf $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf
+# OutputClass not available until xorg > 1.16 so fix this up a bit
+sed -i "s|OutputClass|Device|" $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf
+sed -i "s|Match|# Match|" $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf
mkdir -p $PKG/usr/doc/$PRGNAM-$PKGVER
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$PKGVER/$PRGNAM.SlackBuild
diff --git a/system/nvidia-kernel/nvidia-kernel.info b/system/nvidia-kernel/nvidia-kernel.info
index 4539adeb5dc80..29a88bb057874 100644
--- a/system/nvidia-kernel/nvidia-kernel.info
+++ b/system/nvidia-kernel/nvidia-kernel.info
@@ -1,10 +1,10 @@
PRGNAM="nvidia-kernel"
-VERSION="346.59"
+VERSION="352.30"
HOMEPAGE="http://www.nvidia.com"
-DOWNLOAD="ftp://download.nvidia.com/XFree86/Linux-x86/346.59/NVIDIA-Linux-x86-346.59.run"
-MD5SUM="565800c3d9bf347eb35a393f48a6b7f3"
-DOWNLOAD_x86_64="ftp://download.nvidia.com/XFree86/Linux-x86_64/346.59/NVIDIA-Linux-x86_64-346.59.run"
-MD5SUM_x86_64="48af6c1e518bbfa204849003a1a44bc5"
+DOWNLOAD="ftp://download.nvidia.com/XFree86/Linux-x86/352.30/NVIDIA-Linux-x86-352.30.run"
+MD5SUM="7e59d84eafe2482b2f02df692b9168d5"
+DOWNLOAD_x86_64="ftp://download.nvidia.com/XFree86/Linux-x86_64/352.30/NVIDIA-Linux-x86_64-352.30.run"
+MD5SUM_x86_64="c0575f929dd3b7735d586c1d862b0380"
REQUIRES=""
MAINTAINER="Edward W. Koenig"
EMAIL="kingbeowulf@gmail.com"