From aad2b71c80938affca65fe4fc329936d2fc34e59 Mon Sep 17 00:00:00 2001 From: sibel Date: Fri, 12 Nov 2010 10:06:33 +0100 Subject: nvidia-256xx reintroduction du port --- acompiler/nvidia-256xx/.footprint | 44 +++++++++++++++++++++++++++++ acompiler/nvidia-256xx/.md5sum | 1 + acompiler/nvidia-256xx/Pkgfile | 59 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 104 insertions(+) create mode 100644 acompiler/nvidia-256xx/.footprint create mode 100644 acompiler/nvidia-256xx/.md5sum create mode 100644 acompiler/nvidia-256xx/Pkgfile (limited to 'acompiler') diff --git a/acompiler/nvidia-256xx/.footprint b/acompiler/nvidia-256xx/.footprint new file mode 100644 index 000000000..c849774e9 --- /dev/null +++ b/acompiler/nvidia-256xx/.footprint @@ -0,0 +1,44 @@ +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// +drwxr-xr-x root/root lib/modules//kernel/ +drwxr-xr-x root/root lib/modules//kernel/video/ +drwxr-xr-x root/root lib/modules//kernel/video/nvidia/ +-rw-r--r-- root/root lib/modules//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/cuda/ +-rw-r--r-- root/root usr/include/cuda/cuda.h +-rw-r--r-- root/root usr/include/cuda/cudaGL.h +-rw-r--r-- root/root usr/include/cuda/cudaVDPAU.h +drwxr-xr-x root/root usr/include/vdpau/ +-rw-r--r-- root/root usr/include/vdpau/vdpau.h +-rw-r--r-- root/root usr/include/vdpau/vdpau_x11.h +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/libGL.so.256.53 +-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.256.53 +-rwxr-xr-x root/root usr/lib/libcuda.so.256.53 +-rwxr-xr-x root/root usr/lib/libnvidia-cfg.so.256.53 +-rwxr-xr-x root/root usr/lib/libnvidia-compiler.so.256.53 +-rwxr-xr-x root/root usr/lib/libnvidia-glcore.so.256.53 +-rwxr-xr-x root/root usr/lib/libnvidia-tls.so.256.53 +-rwxr-xr-x root/root usr/lib/libvdpau.so.256.53 +drwxr-xr-x root/root usr/lib/tls/ +-rwxr-xr-x root/root usr/lib/tls/libnvidia-tls.so.256.53 +drwxr-xr-x root/root usr/lib/vdpau/ +-rwxr-xr-x root/root usr/lib/vdpau/libvdpau_nvidia.so.256.53 +-rwxr-xr-x root/root usr/lib/vdpau/libvdpau_trace.so.256.53 +drwxr-xr-x root/root usr/lib/xorg/ +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/libglx.so -> libglx.so.256.53 +-rwxr-xr-x root/root usr/lib/xorg/modules/extensions/libglx.so.256.53 +-rwxr-xr-x root/root usr/lib/xorg/modules/libnvidia-wfb.so.256.53 diff --git a/acompiler/nvidia-256xx/.md5sum b/acompiler/nvidia-256xx/.md5sum new file mode 100644 index 000000000..4f2e3226e --- /dev/null +++ b/acompiler/nvidia-256xx/.md5sum @@ -0,0 +1 @@ +21fe3fe0afed7818b7adf383477b2155 NVIDIA-Linux-x86-256.53.run diff --git a/acompiler/nvidia-256xx/Pkgfile b/acompiler/nvidia-256xx/Pkgfile new file mode 100644 index 000000000..850014fe6 --- /dev/null +++ b/acompiler/nvidia-256xx/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 +# Depends on: xorg-server + + +name=nvidia +version=256.53 +release=3 +[ "`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.run) + +build() { + sh NVIDIA-Linux-${_ARCH}-$version.run --extract-only + cd NVIDIA-Linux-${_ARCH}-$version + # includes for CUDA and VDPAU + install -d $PKG/usr/include/{cuda,vdpau} + install -m 0644 vdpau*.h $PKG/usr/include/vdpau + install -m 0644 cuda*.h $PKG/usr/include/cuda + + # 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 + # xorg driver/extensions + install -d $PKG/usr/lib/xorg/modules/{drivers,extensions} + install -m 0755 nvidia_drv.so $PKG/usr/lib/xorg/modules/drivers + install -m 0755 libglx.so.$version $PKG/usr/lib/xorg/modules/extensions + ln -s libglx.so.$version $PKG/usr/lib/xorg/modules/extensions/libglx.so + install -m 0755 libnvidia-wfb.so.$version $PKG/usr/lib/xorg/modules + # build the module + cd kernel + 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 +} -- cgit v1.2.3-70-g09d2 From 2d4b8d74562ae009be8b91c60e4f468e48ee4ac5 Mon Sep 17 00:00:00 2001 From: sibel Date: Fri, 12 Nov 2010 15:37:29 +0100 Subject: nvidia-256xx changement de nom du paquet --- acompiler/nvidia-256xx/Pkgfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'acompiler') diff --git a/acompiler/nvidia-256xx/Pkgfile b/acompiler/nvidia-256xx/Pkgfile index 850014fe6..361374c96 100644 --- a/acompiler/nvidia-256xx/Pkgfile +++ b/acompiler/nvidia-256xx/Pkgfile @@ -5,7 +5,7 @@ # Depends on: xorg-server -name=nvidia +name=nvidia-256xx version=256.53 release=3 [ "`uname -m`" == "i686" ] && _ARCH=x86 -- cgit v1.2.3-70-g09d2