summaryrefslogtreecommitdiffstats
path: root/acompiler
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-08-24 21:02:43 +0200
committertnut <thierryn1 at hispeed dot ch>2010-08-24 21:02:43 +0200
commitef77178faf510cbb0f3888b9e1d38d0ac69507b4 (patch)
treec0734c37ac8840b363f030775cc0b67c472ec367 /acompiler
parentf9f055a8e56136bf894e10ecd72add1d879311af (diff)
downloadnutyx-extra-ef77178faf510cbb0f3888b9e1d38d0ac69507b4.tar.gz
nutyx-extra-ef77178faf510cbb0f3888b9e1d38d0ac69507b4.tar.bz2
nutyx-extra-ef77178faf510cbb0f3888b9e1d38d0ac69507b4.tar.xz
nutyx-extra-ef77178faf510cbb0f3888b9e1d38d0ac69507b4.zip
nvidia-195xx dans acompiler
Diffstat (limited to 'acompiler')
-rw-r--r--acompiler/nvidia-195xx/.footprint46
-rw-r--r--acompiler/nvidia-195xx/.md5sum1
-rw-r--r--acompiler/nvidia-195xx/Pkgfile57
3 files changed, 104 insertions, 0 deletions
diff --git a/acompiler/nvidia-195xx/.footprint b/acompiler/nvidia-195xx/.footprint
new file mode 100644
index 000000000..82dfa86ef
--- /dev/null
+++ b/acompiler/nvidia-195xx/.footprint
@@ -0,0 +1,46 @@
+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 lib/
+drwxr-xr-x root/root lib/modules/
+drwxr-xr-x root/root lib/modules/<kernel-version>/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/video/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/video/nvidia/
+-rw-r--r-- root/root lib/modules/<kernel-version>/kernel/video/nvidia/nvidia.ko
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/nvidia/
+drwxr-xr-x root/root usr/include/nvidia/GL/
+-r--r--r-- root/root usr/include/nvidia/GL/gl.h
+-r--r--r-- root/root usr/include/nvidia/GL/glext.h
+-r--r--r-- root/root usr/include/nvidia/GL/glx.h
+-r--r--r-- root/root usr/include/nvidia/GL/glxext.h
+drwxr-xr-x root/root usr/lib/
+-rwxr-xr-x root/root usr/lib/libGL.la
+-rwxr-xr-x root/root usr/lib/libGL.so.195.36.24
+lrwxrwxrwx root/root usr/lib/libGLcore.so -> libGLcore.so.195.36.24
+-rwxr-xr-x root/root usr/lib/libGLcore.so.195.36.24
+-rwxr-xr-x root/root usr/lib/libOpenCL.so.1.0.0
+-rwxr-xr-x root/root usr/lib/libcuda.so.195.36.24
+-rwxr-xr-x root/root usr/lib/libnvidia-cfg.so.195.36.24
+-rwxr-xr-x root/root usr/lib/libnvidia-compiler.so.195.36.24
+-rwxr-xr-x root/root usr/lib/libnvidia-tls.so.195.36.24
+-rwxr-xr-x root/root usr/lib/libvdpau.so.195.36.24
+drwxr-xr-x root/root usr/lib/tls/
+-rwxr-xr-x root/root usr/lib/tls/libnvidia-tls.so.195.36.24
+drwxr-xr-x root/root usr/lib/vdpau/
+-rwxr-xr-x root/root usr/lib/vdpau/libvdpau_nvidia.so.195.36.24
+-rwxr-xr-x root/root usr/lib/vdpau/libvdpau_trace.so.195.36.24
+drwxr-xr-x root/root usr/lib/xorg/
+-r--r--r-- root/root usr/lib/xorg/libXvMCNVIDIA.a
+-rwxr-xr-x root/root usr/lib/xorg/libXvMCNVIDIA.so.195.36.24
+drwxr-xr-x root/root usr/lib/xorg/modules/
+drwxr-xr-x root/root usr/lib/xorg/modules/drivers/
+-rwxr-xr-x root/root usr/lib/xorg/modules/drivers/nvidia_drv.so
+drwxr-xr-x root/root usr/lib/xorg/modules/extensions/
+lrwxrwxrwx root/root usr/lib/xorg/modules/extensions/libGLcore.so -> /usr/lib/libGLcore.so
+lrwxrwxrwx root/root usr/lib/xorg/modules/extensions/libglx.so -> /usr/lib/xorg/modules/extensions/libglx.so.195.36.24
+-rwxr-xr-x root/root usr/lib/xorg/modules/extensions/libglx.so.195.36.24
+-rwxr-xr-x root/root usr/lib/xorg/modules/libnvidia-wfb.so.195.36.24
diff --git a/acompiler/nvidia-195xx/.md5sum b/acompiler/nvidia-195xx/.md5sum
new file mode 100644
index 000000000..4251e0dab
--- /dev/null
+++ b/acompiler/nvidia-195xx/.md5sum
@@ -0,0 +1 @@
+97d3e5f69707092aa643fb901bb94003 NVIDIA-Linux-x86-195.36.24-pkg0.run
diff --git a/acompiler/nvidia-195xx/Pkgfile b/acompiler/nvidia-195xx/Pkgfile
new file mode 100644
index 000000000..3ab2c3294
--- /dev/null
+++ b/acompiler/nvidia-195xx/Pkgfile
@@ -0,0 +1,57 @@
+# 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
+# Depends on: xorg-server
+
+name=nvidia-195xx
+version=195.36.24
+release=1
+[ "`uname -m`" == "i686" ] && _ARCH=x86
+[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64
+source=(http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/$version/NVIDIA-Linux-${_ARCH}-$version-pkg0.run)
+
+build() {
+ sh NVIDIA-Linux-${_ARCH}-$version-pkg0.run --extract-only
+ cd NVIDIA-Linux-${_ARCH}-$version-pkg0
+
+# patch -p0 -i $SRC/$name-makefile.patch usr/src/nv/Makefile.kbuild
+
+
+ mkdir -p $PKG/usr/lib \
+ $PKG/usr/lib/xorg/modules/drivers \
+ $PKG/usr/lib/xorg/modules/extensions
+
+ cp -a usr/X11R6/lib/* $PKG/usr/lib/xorg/
+ cp -a usr/lib/* $PKG/usr/lib/
+ sed -i -e 's|__LIBGL_PATH__|/usr/lib|' $PKG/usr/lib/libGL.la
+ ln -sf libGLcore.so.$version $PKG/usr/lib/libGLcore.so
+ ln -sf /usr/lib/libGLcore.so $PKG/usr/lib/xorg/modules/extensions/libGLcore.so
+ ln -sv /usr/lib/xorg/modules/extensions/libglx.so.$version \
+ $PKG//usr/lib/xorg/modules/extensions/libglx.so
+ # copy includes
+ mkdir -p $PKG/usr/include/nvidia
+ cp -r usr/include/GL $PKG/usr/include/nvidia/
+
+
+ # install xconfig/settings programs and manpages
+# install -m 0755 usr/bin/nvidia-{xconfig,settings} $PKG/usr/bin/
+# install -m 0644 usr/share/man/man1/nvidia-{xconfig,settings}.1.gz \
+# $PKG/usr/man/man1/
+
+ # build the module
+ cd usr/src/nv
+ ln -s Makefile{.kbuild,}
+ IGNORE_CC_MISMATCH=1 make module
+
+ # install it
+ install -m 0644 -D nvidia.ko \
+ $PKG/lib/modules/`uname -r`/kernel/video/nvidia/nvidia.ko
+ 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
+}