[Lunar-commits] <moonbase-xorg> NVIDIA: Version bumped to 331.20
Stefan Wold
ratler at lunar-linux.org
Wed Dec 25 13:11:26 CET 2013
commit 7f92913c5ae351c6ad90289204068f77d2fb85d2
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sat, 07 Dec 2013 02:36:47 -0800
URL: https://github.com/lunar-linux/moonbase-xorg/commit/7f92913c5ae351c6ad90289204068f77d2fb85d2
NVIDIA: Version bumped to 331.20
---
driver/NVIDIA/BUILD | +3/-3
driver/NVIDIA/DETAILS | +6/-9
driver/NVIDIA/DETAILS.x86_64 | +6/-9
driver/NVIDIA/PRE_BUILD | +1/-4
driver/NVIDIA/PRE_BUILD.x86_64 | +0/-3
5 files changed, 16 insertions(+), 28 deletions(-)
--- a/driver/NVIDIA/BUILD
+++ b/driver/NVIDIA/BUILD
@@ -65,14 +65,14 @@ cd nvidia-xconfig-$VERSION &&
cd .. &&
# We make the kernel modules on our own
+KVER=$(cat /usr/src/linux/include/config/kernel.release)
cd kernel &&
-sedit "s@\$\(shell uname -r\)@`cat /usr/src/linux/include/config/kernel.release`@" Makefile.* makefile &&
-make module &&
+make module KERNEL_UNAME=$KVER &&
rm -f $SOURCE_DIRECTORY/{libGL.so,libGLcore.so.1,libnvidia-tls.so.1} &&
prepare_install &&
-make install &&
+make install KERNEL_UNAME=$KVER &&
cd .. &&
mkdir -p /etc/OpenCL/vendors &&
--- a/driver/NVIDIA/DETAILS
+++ b/driver/NVIDIA/DETAILS
@@ -1,10 +1,9 @@
MODULE=NVIDIA
- VERSION=319.49
+ VERSION=331.20
SOURCE=NVIDIA-Linux-x86-$VERSION.run
SOURCE2=nvidia-settings-$VERSION.tar.bz2
SOURCE3=nvidia-installer-$VERSION.tar.bz2
SOURCE4=nvidia-xconfig-$VERSION.tar.bz2
- SOURCE5=NVIDIA-319.49-Linux-3.11-fix.patch
SOURCE_DIRECTORY=$BUILD_DIRECTORY/NVIDIA-Linux-x86-$VERSION
SOURCE_URL[0]=ftp://download.nvidia.com/XFree86/Linux-x86/$VERSION
SOURCE_URL[1]=http://download.nvidia.com/XFree86/Linux-x86/$VERSION
@@ -28,16 +27,14 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/NVIDIA-Linux-x86-$VERSION
SOURCE2_URL[1]=http://cgit.freedesktop.org/~aplattner/nvidia-settings/snapshot
SOURCE3_URL[1]=http://cgit.freedesktop.org/~aplattner/nvidia-installer/snapshot
SOURCE4_URL[1]=http://cgit.freedesktop.org/~aplattner/nvidia-xconfig/snapshot
- SOURCE5_URL=$PATCH_URL
- SOURCE_VFY=sha1:f46d2f434c01a37ce516819f5c9265a801e9d159
- SOURCE2_VFY=sha1:c2c6e59cdf161d9d8d8946e10794af5a86e16f75
- SOURCE3_VFY=sha1:663ca06d4fdc052142428dfcc378b600a1f1f095
- SOURCE4_VFY=sha1:7e2cf697f0821a5bde1021b2141e2073159c9fd2
- SOURCE5_VFY=sha1:40d3e1da16b0671e9980fdd40f917876a425a3b0
+ SOURCE_VFY=sha1:81b29d4fefa1ebf82be4299db7733c1d7390a0b0
+ SOURCE2_VFY=sha1:a42cd2e821bce5061532d38d9f84a45d2986ba58
+ SOURCE3_VFY=sha1:ea75388dd5ad89f21fd5406d62ab01f6858c953c
+ SOURCE4_VFY=sha1:7c05da66de09f2fb2b22d5bd3d34aaf142e7023c
WEB_SITE=http://www.nvidia.com/
LICENSE="proprietary"
ENTERED=20030804
- UPDATED=20130925
+ UPDATED=20131207
SHORT="X11 NVIDIA binary driver for Geforce 6/7/8/9/GT2xx"
cat << EOF
--- a/driver/NVIDIA/DETAILS.x86_64
+++ b/driver/NVIDIA/DETAILS.x86_64
@@ -1,10 +1,9 @@
MODULE=NVIDIA
- VERSION=319.49
+ VERSION=331.20
SOURCE=NVIDIA-Linux-x86_64-$VERSION-no-compat32.run
SOURCE2=nvidia-settings-$VERSION.tar.bz2
SOURCE3=nvidia-installer-$VERSION.tar.bz2
SOURCE4=nvidia-xconfig-$VERSION.tar.bz2
- SOURCE5=NVIDIA-319.49-Linux-3.11-fix.patch
SOURCE_DIRECTORY=$BUILD_DIRECTORY/NVIDIA-Linux-x86_64-$VERSION-no-compat32
SOURCE_URL[0]=ftp://download.nvidia.com/XFree86/Linux-x86_64/$VERSION
SOURCE_URL[0]=http://download.nvidia.com/XFree86/Linux-x86_64/$VERSION
@@ -28,16 +27,14 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/NVIDIA-Linux-x86_64-$VERSION-no-compat32
SOURCE2_URL[1]=http://cgit.freedesktop.org/~aplattner/nvidia-settings/snapshot
SOURCE3_URL[1]=http://cgit.freedesktop.org/~aplattner/nvidia-installer/snapshot
SOURCE4_URL[1]=http://cgit.freedesktop.org/~aplattner/nvidia-xconfig/snapshot
- SOURCE5_URL=$PATCH_URL
- SOURCE_VFY=sha1:bdcaf39a8006ce2775648fbec17249e560790537
- SOURCE2_VFY=sha1:c2c6e59cdf161d9d8d8946e10794af5a86e16f75
- SOURCE3_VFY=sha1:663ca06d4fdc052142428dfcc378b600a1f1f095
- SOURCE4_VFY=sha1:7e2cf697f0821a5bde1021b2141e2073159c9fd2
- SOURCE5_VFY=sha1:40d3e1da16b0671e9980fdd40f917876a425a3b0
+ SOURCE_VFY=sha1:85d3183bfa3e2ac9cdd45ecbbd05befa312eba96
+ SOURCE2_VFY=sha1:a42cd2e821bce5061532d38d9f84a45d2986ba58
+ SOURCE3_VFY=sha1:ea75388dd5ad89f21fd5406d62ab01f6858c953c
+ SOURCE4_VFY=sha1:7c05da66de09f2fb2b22d5bd3d34aaf142e7023c
WEB_SITE=http://www.nvidia.com/
LICENSE="proprietary"
ENTERED=20030804
- UPDATED=20130925
+ UPDATED=20131207
SHORT="X11 NVIDIA binary driver for Geforce 6/7/8/9/GT2xx"
cat << EOF
--- a/driver/NVIDIA/PRE_BUILD
+++ b/driver/NVIDIA/PRE_BUILD
@@ -16,7 +16,4 @@
# xf86vmode.h has been removed in xf86vidmodeproto 2.3
sedit "s:#include <X11/extensions/xf86vmode.h>:#include <X11/extensions/xf86vmproto.h>:" \
- nvidia-settings-$VERSION/src/libXNVCtrlAttributes/NvCtrlAttributes{,VidMode,Glx}.c &&
-
- # Fix for kernel 3.11 changes
- patch_it $SOURCE5 1
+ nvidia-settings-$VERSION/src/libXNVCtrlAttributes/NvCtrlAttributes{,VidMode,Glx}.c
--- a/driver/NVIDIA/PRE_BUILD.x86_64
+++ b/driver/NVIDIA/PRE_BUILD.x86_64
@@ -18,9 +18,6 @@
sedit "s:#include <X11/extensions/xf86vmode.h>:#include <X11/extensions/xf86vmproto.h>:" \
nvidia-settings-$VERSION/src/libXNVCtrlAttributes/NvCtrlAttributes{,VidMode,Glx}.c &&
- # Fix for kernel 3.11 changes
- patch_it $SOURCE5 1 &&
-
# Don't compile 32-bits on pure 64-bit Lunar
sedit 's/COMPAT_32_SRC *= */\0#/' nvidia-installer-$VERSION/Makefile &&
sedit 's/-DNV_X86_64//' nvidia-installer-$VERSION/Makefile
More information about the Lunar-commits
mailing list