[Slackbuilds-users] [PATCH] nvidia-driver
King Beowulf
kingbeowulf at gmail.com
Wed Sep 26 00:49:19 UTC 2012
After pulling lastest working SBo git to set up for the newest nvidia
version update , I saw an email from Das...I still had a few typos and
broken symlinks. Fudge. Still learning git, so simply, attached is a
patch for nvidia-driver.Slackbuild.
-------------- next part --------------
commit a8ac307a1b1c55c944abc7d8f627bf25d65086d4
Author: kingbeowulf <kingbeowulf at gmail.com>
Date: Tue Sep 25 17:33:54 2012 -0700
fix symlinks (thanks to Das via email)
diff --git a/system/nvidia-driver/nvidia-driver.SlackBuild b/system/nvidia-driver/nvidia-driver.SlackBuild
index 7c372bf..dbb7121 100644
--- a/system/nvidia-driver/nvidia-driver.SlackBuild
+++ b/system/nvidia-driver/nvidia-driver.SlackBuild
@@ -39,11 +39,12 @@
# 1.9 02-AUG-2012 version bmp, fixes, updates, nvidia-switch for install/uninstall only
# 1.9a 21-AUG-2012 fix for libvdpau (per post on mail list) --rworkman
# 1.9b 10-SEP-2012 fix glx.h missing extension (per email, list and LQ)
+# 1.9c 25-SEP-2012 fix symlinks (thanks to Das via email)
PRGNAM=nvidia-driver
VERSION=302.17
MVERS=302
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -112,7 +113,7 @@ install -m 444 libXvMCNVIDIA.a $PKG/usr/lib$LIBDIRSUFFIX/
install -m 755 libXvMCNVIDIA.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
install -m 755 libcuda.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
install -m 755 libnvidia-glcore.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
-install -m 755 libnvidia-wfb.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/xorg/modules/
+install -m 755 libnvidia-wfb.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/xorg/modules/libnvidia-wfb.so.$VERSION-nvidia
install -m 755 libnvidia-cfg.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
install -m 755 libnvidia-ml.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
install -m 755 libnvcuvid.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
@@ -152,14 +153,10 @@ cd $PKG/usr/lib$LIBDIRSUFFIX
ln -sf libOpenCL.so.1.0 libOpenCL.so.1
ln -sf libOpenCL.so.1 libOpenCL.so
ln -sf libnvcuvid.so.$VERSION libnvcuvid.so.1
- ln -sf libnvcuvidv.so.$VERSION libnvcuvid.so
+ ln -sf libnvcuvid.so.$VERSION libnvcuvid.so
ln -sf tls/libnvidia-tls.so.$VERSION libnvidia-tls.so.$VERSION
cd -
-cd $PKG/usr/lib$LIBDIRSUFFIX/xorg/modules
- ln -sf libnvidia-wfb.so.$VERSION libnvidia-wfb.so
-cd -
-
# symlinks for optional 32-bit support
if [ "$ARCH" = "x86_64" -a "${COMPAT32}" = "yes" ]; then
cd $PKG/usr/lib
More information about the SlackBuilds-users
mailing list