summaryrefslogtreecommitdiffstats
path: root/base/nvidia-utils
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-07-01 19:32:10 +0200
committertnut <tnut at nutyx dot com>2011-07-01 19:32:10 +0200
commita90260ceb209aa264ecea1b750250d0a95f55bed (patch)
tree45c03cab62dc4a99c0fda0567572ec5b7391e3a5 /base/nvidia-utils
parent44c6e98299f677d6007a456a4f1f696565d5e108 (diff)
downloadnutyx-pakxe-a90260ceb209aa264ecea1b750250d0a95f55bed.tar.gz
nutyx-pakxe-a90260ceb209aa264ecea1b750250d0a95f55bed.tar.bz2
nutyx-pakxe-a90260ceb209aa264ecea1b750250d0a95f55bed.tar.xz
nutyx-pakxe-a90260ceb209aa264ecea1b750250d0a95f55bed.zip
nvidia devient nvidia-utils sans le module
Diffstat (limited to 'base/nvidia-utils')
-rw-r--r--base/nvidia-utils/.footprint.i68637
-rw-r--r--base/nvidia-utils/.footprint.x86_6437
-rw-r--r--base/nvidia-utils/.md5sum.i6861
-rw-r--r--base/nvidia-utils/.md5sum.x86_641
-rwxr-xr-xbase/nvidia-utils/Pkgfile59
-rw-r--r--base/nvidia-utils/post-install2
-rw-r--r--base/nvidia-utils/pre-install3
7 files changed, 140 insertions, 0 deletions
diff --git a/base/nvidia-utils/.footprint.i686 b/base/nvidia-utils/.footprint.i686
new file mode 100644
index 000000000..147738262
--- /dev/null
+++ b/base/nvidia-utils/.footprint.i686
@@ -0,0 +1,37 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/X11/
+drwxr-xr-x root/root etc/X11/xorg.conf.d/
+-rw-r--r-- root/root etc/X11/xorg.conf.d/30-nvidia.conf
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/nvidia-settings
+-rwxr-xr-x root/root usr/bin/nvidia-xconfig
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/X11/
+drwxr-xr-x root/root usr/lib/X11/modules/
+drwxr-xr-x root/root usr/lib/X11/modules/drivers/
+-rwxr-xr-x root/root usr/lib/X11/modules/drivers/nvidia_drv.so
+drwxr-xr-x root/root usr/lib/X11/modules/extensions/
+lrwxrwxrwx root/root usr/lib/X11/modules/extensions/libglx.so -> libglx.so.275.09.07
+-rwxr-xr-x root/root usr/lib/X11/modules/extensions/libglx.so.275.09.07
+-rwxr-xr-x root/root usr/lib/X11/modules/libnvidia-wfb.so.275.09.07
+-rwxr-xr-x root/root usr/lib/libGL.so.275.09.07
+-rwxr-xr-x root/root usr/lib/libOpenCL.so.1.0.0
+-rw-r--r-- root/root usr/lib/libXvMCNVIDIA.a
+-rwxr-xr-x root/root usr/lib/libXvMCNVIDIA.so.275.09.07
+-rwxr-xr-x root/root usr/lib/libcuda.so.275.09.07
+-rwxr-xr-x root/root usr/lib/libnvidia-cfg.so.275.09.07
+-rwxr-xr-x root/root usr/lib/libnvidia-compiler.so.275.09.07
+-rwxr-xr-x root/root usr/lib/libnvidia-glcore.so.275.09.07
+-rwxr-xr-x root/root usr/lib/libnvidia-tls.so.275.09.07
+-rwxr-xr-x root/root usr/lib/libvdpau.so.275.09.07
+drwxr-xr-x root/root usr/lib/tls/
+-rwxr-xr-x root/root usr/lib/tls/libnvidia-tls.so.275.09.07
+drwxr-xr-x root/root usr/lib/vdpau/
+-rwxr-xr-x root/root usr/lib/vdpau/libvdpau_nvidia.so.275.09.07
+-rwxr-xr-x root/root usr/lib/vdpau/libvdpau_trace.so.275.09.07
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/nvidia-settings.1.gz
+-rw-r--r-- root/root usr/share/man/man1/nvidia-xconfig.1.gz
diff --git a/base/nvidia-utils/.footprint.x86_64 b/base/nvidia-utils/.footprint.x86_64
new file mode 100644
index 000000000..147738262
--- /dev/null
+++ b/base/nvidia-utils/.footprint.x86_64
@@ -0,0 +1,37 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/X11/
+drwxr-xr-x root/root etc/X11/xorg.conf.d/
+-rw-r--r-- root/root etc/X11/xorg.conf.d/30-nvidia.conf
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/nvidia-settings
+-rwxr-xr-x root/root usr/bin/nvidia-xconfig
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/X11/
+drwxr-xr-x root/root usr/lib/X11/modules/
+drwxr-xr-x root/root usr/lib/X11/modules/drivers/
+-rwxr-xr-x root/root usr/lib/X11/modules/drivers/nvidia_drv.so
+drwxr-xr-x root/root usr/lib/X11/modules/extensions/
+lrwxrwxrwx root/root usr/lib/X11/modules/extensions/libglx.so -> libglx.so.275.09.07
+-rwxr-xr-x root/root usr/lib/X11/modules/extensions/libglx.so.275.09.07
+-rwxr-xr-x root/root usr/lib/X11/modules/libnvidia-wfb.so.275.09.07
+-rwxr-xr-x root/root usr/lib/libGL.so.275.09.07
+-rwxr-xr-x root/root usr/lib/libOpenCL.so.1.0.0
+-rw-r--r-- root/root usr/lib/libXvMCNVIDIA.a
+-rwxr-xr-x root/root usr/lib/libXvMCNVIDIA.so.275.09.07
+-rwxr-xr-x root/root usr/lib/libcuda.so.275.09.07
+-rwxr-xr-x root/root usr/lib/libnvidia-cfg.so.275.09.07
+-rwxr-xr-x root/root usr/lib/libnvidia-compiler.so.275.09.07
+-rwxr-xr-x root/root usr/lib/libnvidia-glcore.so.275.09.07
+-rwxr-xr-x root/root usr/lib/libnvidia-tls.so.275.09.07
+-rwxr-xr-x root/root usr/lib/libvdpau.so.275.09.07
+drwxr-xr-x root/root usr/lib/tls/
+-rwxr-xr-x root/root usr/lib/tls/libnvidia-tls.so.275.09.07
+drwxr-xr-x root/root usr/lib/vdpau/
+-rwxr-xr-x root/root usr/lib/vdpau/libvdpau_nvidia.so.275.09.07
+-rwxr-xr-x root/root usr/lib/vdpau/libvdpau_trace.so.275.09.07
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/nvidia-settings.1.gz
+-rw-r--r-- root/root usr/share/man/man1/nvidia-xconfig.1.gz
diff --git a/base/nvidia-utils/.md5sum.i686 b/base/nvidia-utils/.md5sum.i686
new file mode 100644
index 000000000..5ab208687
--- /dev/null
+++ b/base/nvidia-utils/.md5sum.i686
@@ -0,0 +1 @@
+d779057af3a2f96a05ddda201606618b NVIDIA-Linux-x86-275.09.07.run
diff --git a/base/nvidia-utils/.md5sum.x86_64 b/base/nvidia-utils/.md5sum.x86_64
new file mode 100644
index 000000000..a4dc3c96b
--- /dev/null
+++ b/base/nvidia-utils/.md5sum.x86_64
@@ -0,0 +1 @@
+29f28cd59e2647cdb517eca2381d3dbd NVIDIA-Linux-x86_64-275.09.07.run
diff --git a/base/nvidia-utils/Pkgfile b/base/nvidia-utils/Pkgfile
new file mode 100755
index 000000000..d2ddd909d
--- /dev/null
+++ b/base/nvidia-utils/Pkgfile
@@ -0,0 +1,59 @@
+# Description: Pilotes pour les cartes graphiques NVIDIA
+# URL: http://www.nvidia.com/object/unix.html
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=nvidia-utils
+version=275.09.07
+release=2
+[ "`uname -m`" == "i686" ] && _ARCH=x86
+[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64
+source=(ftp://download.nvidia.com/XFree86/Linux-${_ARCH}/$version/NVIDIA-Linux-${_ARCH}-$version.run)
+
+build() {
+ sh NVIDIA-Linux-${_ARCH}-$version.run --extract-only
+ cd NVIDIA-Linux-${_ARCH}-$version
+
+ # librairies
+ install -d $PKG/usr/lib/{tls,vdpau}
+ for i in libGL.so.$version libOpenCL.so.1.0.0 libXvMCNVIDIA.so.$version \
+ libcuda.so.$version libnvidia-cfg.so.$version libnvidia-compiler.so.$version \
+ libnvidia-glcore.so.$version libnvidia-tls.so.$version libnvidia-tls.so.$version \
+ libvdpau.so.$version
+ do
+ install -m 0755 $i $PKG/usr/lib
+ done
+ for i in libvdpau_nvidia.so.$version libvdpau_trace.so.$version
+ do
+ install -m 0755 $i $PKG/usr/lib/vdpau
+ done
+ install -m 0755 tls/libnvidia-tls.so.$version $PKG/usr/lib/tls
+ install -m 0644 libXvMCNVIDIA.a $PKG/usr/lib
+
+ # install xconfig/settings programs and manpages
+ install -d $PKG/usr/{bin,share/man/man1}
+
+ # install xconfig/settings programs and manpages
+ install -m 0755 nvidia-{xconfig,settings} $PKG/usr/bin/
+ install -m 0644 nvidia-{xconfig,settings}.1.gz \
+ $PKG/usr/share/man/man1/
+
+ install -m 0755 nvidia-{xconfig,settings} $PKG/usr/bin/
+ install -m 0644 nvidia-{xconfig,settings}.1.gz \
+ $PKG/usr/share/man/man1/
+ # xorg driver/extensions
+ install -d $PKG/usr/lib/X11/modules/{drivers,extensions}
+ install -m 0755 nvidia_drv.so $PKG/usr/lib/X11/modules/drivers
+ install -m 0755 libglx.so.$version $PKG/usr/lib/X11/modules/extensions
+ ln -s libglx.so.$version $PKG/usr/lib/X11/modules/extensions/libglx.so
+ install -m 0755 libnvidia-wfb.so.$version $PKG/usr/lib/X11/modules
+
+ # xorg config
+ mkdir -p $PKG/etc/X11/xorg.conf.d
+cat > $PKG/etc/X11/xorg.conf.d/30-nvidia.conf << "EOF"
+Section "Device"
+ Identifier "NVIDIA"
+ Driver "nvidia"
+EndSection
+EOF
+}
diff --git a/base/nvidia-utils/post-install b/base/nvidia-utils/post-install
new file mode 100644
index 000000000..4772910f3
--- /dev/null
+++ b/base/nvidia-utils/post-install
@@ -0,0 +1,2 @@
+#!/bin/bash
+depmod
diff --git a/base/nvidia-utils/pre-install b/base/nvidia-utils/pre-install
new file mode 100644
index 000000000..a1ee5214f
--- /dev/null
+++ b/base/nvidia-utils/pre-install
@@ -0,0 +1,3 @@
+if ( pkginfo -i | grep libgl > /dev/null ) ; then
+ pkgrm libgl
+fi