[Slackbuilds-users] nvidia-{driver, kernel} [was: Updates - 20120801.1]

King Beowulf kingbeowulf at gmail.com
Fri Aug 3 08:00:56 UTC 2012

On 08/02/2012 09:28 PM, Robby Workman wrote:
> On Thu, 02 Aug 2012 21:03:11 -0700
> King Beowulf <kingbeowulf at gmail.com> wrote:
>> I submitted updated nvidia-driver and nvidia-kernel for Nvidia-302.17
>> (which I ma running now on Slackware64-13.37 multilib) on
>> 16-JULY-2012. They don't appear in pending and the recent update
>> notifications.  Is there a problem or just busy?
> Yes.  :)  My fault - I've had a mail in my head for a few days now,
> but I've not gotten around to running it through my fingers.
>  From memory (I'm not looking at the scripts right now), you copy
> libvdpau into the 32bit package but not the 64bit package.  If you
> do it in one, you should almost surely do it in the other, but
> more importantly, why do you do that at all?  libvdpau is available
> as a standalone package - if it's needed, then it needs to be listed
> as a requirement.  All that said, if I'm misunderstanding something,
> then a cluebat is welcome :-)
> -RW
Nah, just pop me upside the noggin. Not so much a goof as a stupid idea.

1. nvidia-driver README does list libvdpau as "reguired".
2. I also maintain the libvdpau.slackbuild
3. Copying in for 32bit libvdpau only happens with COMPAT32=yes since I 
haven't updated libvdpau for multilib compatibility.  So, typically the 
clueless user (e.g. me) running Slackware64 multilib will compile 
everything as is but then only have a 64bit libvdpau. etc, etc. That 
said, the value-added is not there for, say, WINE or BOINC.  It was a 
dumb idea.  For Slackware-14, I'll be dropping this multilib nonsense 
anyway asi ts easier just to partition off a space for a full 32bit 
Slackware install.
4. patch to nvidia-driver attached.

Thanks for the cluebat!


-------------- next part --------------
--- nvidia-driver.SlackBuild.old	2012-07-15 21:41:10.437000399 -0700
+++ nvidia-driver.SlackBuild	2012-08-03 00:38:40.975000121 -0700
@@ -36,7 +36,7 @@
 # 1.6	27-AUG-2011	version bump, minor edits
 # 1.7	21-OCT-2011	version bump
 # 1.8   24-MAR-2012	version bump, fix to nvidia-switch thanks to Phill W.
-# 1.9   15-JUL-2012	version bmp, updates, nvidia-switch for install/uninstall only
+# 1.9   02-AUG-2012	version bmp, fixes, updates, nvidia-switch for install/uninstall only
@@ -108,7 +108,6 @@
 install -m 755 libOpenCL.so.1.0.0 $PKG/usr/lib$LIBDIRSUFFIX/
 install -m 444 libXvMCNVIDIA.a $PKG/usr/lib$LIBDIRSUFFIX/
 install -m 755 libXvMCNVIDIA.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
-install -m 755 libvdpau_nvidia.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/vdpau/
 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/
@@ -131,9 +130,6 @@
   install -m 755 32/libGL.so.$VERSION $PKG/usr/lib/
   install -m 755 32/libGL.la $PKG/usr/lib/
   install -m 755 32/libnvidia-glcore.so.$VERSION $PKG/usr/lib/
-  install -m 755 32/libvdpau_nvidia.so.$VERSION $PKG/usr/lib/vdpau/
-  install -m 755 32/libvdpau.so.$VERSION $PKG/usr/lib/vdpau/
-  install -m 755 32/libvdpau_trace.so.$VERSION $PKG/usr/lib/vdpau/
   install -m 755 32/libcuda.so.$VERSION $PKG/usr/lib/
   install -m 755 32/tls/libnvidia-tls.so.$VERSION $PKG/usr/lib/tls/
   install -m 755 32/libOpenCL.so.1.0.0 $PKG/usr/lib/
@@ -156,11 +152,6 @@
   ln -sf tls/libnvidia-tls.so.$VERSION libnvidia-tls.so.$VERSION
 cd -
-cd $PKG/usr/lib$LIBDIRSUFFIX/vdpau
-  ln -sf libvdpau_nvidia.so.$VERSION libvdpau_nvidia.so
-  ln -sf libvdpau_nvidia.so.$VERSION libvdpau_nvidia.so.1
-cd -
 cd $PKG/usr/lib$LIBDIRSUFFIX/xorg/modules
   ln -sf libnvidia-wfb.so.$VERSION libnvidia-wfb.so
 cd -

More information about the SlackBuilds-users mailing list