diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-08-24 21:02:18 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-08-24 21:02:18 +0200 |
commit | f9f055a8e56136bf894e10ecd72add1d879311af (patch) | |
tree | 414ec33c077bc469707e94219035289887c78608 /extra/nvidia | |
parent | bb2be371760b4170499394ef58be2ed24448a5e2 (diff) | |
download | nutyx-pakxe-f9f055a8e56136bf894e10ecd72add1d879311af.tar.gz nutyx-pakxe-f9f055a8e56136bf894e10ecd72add1d879311af.tar.bz2 nutyx-pakxe-f9f055a8e56136bf894e10ecd72add1d879311af.tar.xz nutyx-pakxe-f9f055a8e56136bf894e10ecd72add1d879311af.zip |
nvidia dans acompiler
Diffstat (limited to 'extra/nvidia')
-rw-r--r-- | extra/nvidia/.footprint | 43 | ||||
-rw-r--r-- | extra/nvidia/.md5sum | 1 | ||||
-rwxr-xr-x | extra/nvidia/Pkgfile | 57 | ||||
-rw-r--r-- | extra/nvidia/nvidia-makefile.patch | 39 | ||||
-rw-r--r-- | extra/nvidia/post-install | 2 | ||||
-rw-r--r-- | extra/nvidia/pre-install | 3 |
6 files changed, 0 insertions, 145 deletions
diff --git a/extra/nvidia/.footprint b/extra/nvidia/.footprint deleted file mode 100644 index 522c4b2b3..000000000 --- a/extra/nvidia/.footprint +++ /dev/null @@ -1,43 +0,0 @@ -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/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.44 --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.44 --rwxr-xr-x root/root usr/lib/libcuda.so.256.44 --rwxr-xr-x root/root usr/lib/libnvidia-cfg.so.256.44 --rwxr-xr-x root/root usr/lib/libnvidia-compiler.so.256.44 --rwxr-xr-x root/root usr/lib/libnvidia-glcore.so.256.44 --rwxr-xr-x root/root usr/lib/libnvidia-tls.so.256.44 --rwxr-xr-x root/root usr/lib/libvdpau.so.256.44 -drwxr-xr-x root/root usr/lib/tls/ --rwxr-xr-x root/root usr/lib/tls/libnvidia-tls.so.256.44 -drwxr-xr-x root/root usr/lib/vdpau/ --rwxr-xr-x root/root usr/lib/vdpau/libvdpau_nvidia.so.256.44 --rwxr-xr-x root/root usr/lib/vdpau/libvdpau_trace.so.256.44 -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/ --rwxr-xr-x root/root usr/lib/xorg/modules/extensions/libglx.so.256.44 --rwxr-xr-x root/root usr/lib/xorg/modules/libnvidia-wfb.so.256.44 diff --git a/extra/nvidia/.md5sum b/extra/nvidia/.md5sum deleted file mode 100644 index 90374b203..000000000 --- a/extra/nvidia/.md5sum +++ /dev/null @@ -1 +0,0 @@ -cb61b75a305e78291db313dae39c625b NVIDIA-Linux-x86-256.44.run diff --git a/extra/nvidia/Pkgfile b/extra/nvidia/Pkgfile deleted file mode 100755 index 983b09db0..000000000 --- a/extra/nvidia/Pkgfile +++ /dev/null @@ -1,57 +0,0 @@ -# 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.44 -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.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 - 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 -} diff --git a/extra/nvidia/nvidia-makefile.patch b/extra/nvidia/nvidia-makefile.patch deleted file mode 100644 index cb6c2bdd2..000000000 --- a/extra/nvidia/nvidia-makefile.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- Makefile.kbuild.orig 2008-07-18 03:42:51.000000000 +0200 -+++ Makefile.kbuild 2008-08-02 10:14:22.000000000 +0200 -@@ -239,10 +239,10 @@ - # - - suser-sanity-check: -- @if ! $(CONFTEST) suser_sanity_check; then exit 1; fi -+ #@if ! $(CONFTEST) suser_sanity_check; then exit 1; fi - - rmmod-sanity-check: -- @if ! $(CONFTEST) rmmod_sanity_check; then exit 1; fi -+ #@if ! $(CONFTEST) rmmod_sanity_check; then exit 1; fi - - cc-version-check: - @if ! $(CONFTEST) cc_version_check full_output; then exit 1; fi -@@ -284,9 +284,9 @@ - # - - module-install: suser-sanity-check module -- @mkdir -p $(MODULE_ROOT)/video; \ -- install -m 0664 -o root -g root $(MODULE_OBJECT) $(MODULE_ROOT)/video; \ -- PATH="$(PATH):/bin:/sbin" depmod -ae; -+ #@mkdir -p $(MODULE_ROOT)/video; \ -+ #install -m 0664 -o root -g root $(MODULE_OBJECT) $(MODULE_ROOT)/video; \ -+ #PATH="$(PATH):/bin:/sbin" depmod -ae; - - # - # This target builds, then installs, then creates device nodes and inserts -@@ -294,8 +294,8 @@ - # - - package-install: module-install rmmod-sanity-check -- PATH="$(PATH):/bin:/sbin" modprobe $(MODULE_NAME) && \ -- echo "$(MODULE_OBJECT) installed successfully."; -+ #PATH="$(PATH):/bin:/sbin" modprobe $(MODULE_NAME) && \ -+ #echo "$(MODULE_OBJECT) installed successfully."; - - # - # Build an object file suitable for further processing by the installer and diff --git a/extra/nvidia/post-install b/extra/nvidia/post-install deleted file mode 100644 index 4772910f3..000000000 --- a/extra/nvidia/post-install +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -depmod diff --git a/extra/nvidia/pre-install b/extra/nvidia/pre-install deleted file mode 100644 index a1ee5214f..000000000 --- a/extra/nvidia/pre-install +++ /dev/null @@ -1,3 +0,0 @@ -if ( pkginfo -i | grep libgl > /dev/null ) ; then - pkgrm libgl -fi |