--- nvidia-graphics-drivers-180-185.18.36.orig/mail +++ nvidia-graphics-drivers-180-185.18.36/mail @@ -0,0 +1,33 @@ +#!/bin/sh + +PATH=/sbin:$PATH + +printf "uname -r:\n" >&3 +echo `uname -a` >&3 +printf "\n\n/proc/version:\n" >&3 +cat /proc/version >&3 +printf "\n\n" >&3 + +if [ -e /proc/driver/nvidia/version ]; then + printf "/proc/driver/nvidia/version:\n" >&3 + cat /proc/driver/nvidia/version + printf "\n\n" >&3 +fi + +if (lspci --version) > /dev/null 2>&1; then + LC_ALL=C lspci | grep 'VGA compatible controller:' >&3 + LC_ALL=C lspci -n | grep 'Class 0300:' >&3 + printf "\n" >&3 +fi + +#if [ -e /etc/X11/XF86Config-4 ]; then +# cat /etc/X11/XF86Config-4 >&3 +# printf "\n" >&3 +#fi + +#if [ -e /var/log/XFree86.0.log ]; then +# cat /var/log/XFree86.0.log >&3 +# printf "\n" >&3 +#fi + +#ls -d -l /var/log/XFree86.*.log >&3 2> /dev/null --- nvidia-graphics-drivers-180-185.18.36.orig/Makefile +++ nvidia-graphics-drivers-180-185.18.36/Makefile @@ -0,0 +1,33 @@ +#!/usr/bin/make -f +# Makefile for building prebuilt nvidia kernel modules + + +KVERS = $(KERNELVERSION) +KSRC = $(CURDIR) +include $(M)/debian/conf.mk + + + +all: + + + touch $(M)/$(dirname)/gcc-check + touch $(M)/$(dirname)/cc-sanity-check + + ## Main Make ## + IGNORE_CC_MISMATCH=1 CC="$(CC)" $(MAKE) -C $(M)/$(dirname) -f Makefile SYSSRC=$(KSRC) $(KPKG_EXTRAV_ARG) KBUILD_PARAMS=$(KBUILD_PARAMS) module; + + touch build-stamp + +modules_install: $(M)/$(dirname)/nvidia.ko + + + + +clean: + $(MAKE) clean SYSSRC=$(KSRC) -C $(M)/$(dirname) -f Makefile $(KPKG_EXTRAV_ARG) + + rm -f $(M)/$(dirname)/Makefile || true; + -rm $(M)/$(dirname)/gcc-check + -rm $(M)/$(dirname)/cc-sanity-check + --- nvidia-graphics-drivers-180-185.18.36.orig/script +++ nvidia-graphics-drivers-180-185.18.36/script @@ -0,0 +1,33 @@ +#!/bin/sh + +PATH=/sbin:$PATH + +printf "uname -r:\n" >&3 +echo `uname -a` >&3 +printf "\n\n/proc/version:\n" >&3 +cat /proc/version >&3 +printf "\n\n" >&3 + +if [ -e /proc/driver/nvidia/version ]; then + printf "/proc/driver/nvidia/version:\n" >&3 + cat /proc/driver/nvidia/version + printf "\n\n" >&3 +fi + +if (lspci --version) > /dev/null 2>&1; then + LC_ALL=C lspci | grep 'VGA compatible controller:' >&3 + LC_ALL=C lspci -n | grep 'Class 0300:' >&3 + printf "\n" >&3 +fi + +#if [ -e /etc/X11/XF86Config-4 ]; then +# cat /etc/X11/XF86Config-4 >&3 +# printf "\n" >&3 +#fi + +#if [ -e /var/log/XFree86.0.log ]; then +# cat /var/log/XFree86.0.log >&3 +# printf "\n" >&3 +#fi + +#ls -d -l /var/log/XFree86.*.log >&3 2> /dev/null --- nvidia-graphics-drivers-180-185.18.36.orig/debian.binary/control.template +++ nvidia-graphics-drivers-180-185.18.36/debian.binary/control.template @@ -6,7 +6,7 @@ Standards-Version: 3.6.0 Package: nvidia-kernel-#KVERS# -Architecture: i386 amd64 +Architecture: i386 amd64 lpia Provides: nvidia-kernel-#VERSION# Depends: nvidia-kernel-common (>= 20051028+1-0.1) Recommends: linux-image-#KVERS# --- nvidia-graphics-drivers-180-185.18.36.orig/debian.binary/patches/fall_back_on_mtrr_if_no_pat.patch +++ nvidia-graphics-drivers-180-185.18.36/debian.binary/patches/fall_back_on_mtrr_if_no_pat.patch @@ -0,0 +1,22 @@ +diff -ru nv/nv.c nv.4796515/nv.c +--- nv/nv.c 2009-09-23 08:26:44.000000000 -0700 ++++ nv.4796515/nv.c 2009-10-07 08:34:18.359240138 -0700 +@@ -940,9 +940,15 @@ + if (!test_bit(X86_FEATURE_PAT, + (volatile unsigned long *)&boot_cpu_data.x86_capability)) + { +- nv_printf(NV_DBG_ERRORS, +- "NVRM: CPU does not support the PAT, falling back to MTRRs.\n"); +- return NV_PAT_MODE_DISABLED; ++ if ((boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) || ++ (boot_cpu_data.cpuid_level < 1) || ++ ((cpuid_edx(1) & (1 << 16)) == 0) || ++ (boot_cpu_data.x86 != 6) || (boot_cpu_data.x86_model >= 15)) ++ { ++ nv_printf(NV_DBG_ERRORS, ++ "NVRM: CPU does not support the PAT, falling back to MTRRs.\n"); ++ return NV_PAT_MODE_DISABLED; ++ } + } + + NV_READ_PAT_ENTRIES(pat1, pat2); --- nvidia-graphics-drivers-180-185.18.36.orig/debian.binary/patches/rt_preempt_31.patch +++ nvidia-graphics-drivers-180-185.18.36/debian.binary/patches/rt_preempt_31.patch @@ -0,0 +1,12 @@ +diff -urN NVIDIA-Linux-x86-185.18.36-pkg1/usr/src/nv/nv-linux.h NVIDIA-Linux-x86-185.18.36-pkg1.new/usr/src/nv/nv-linux.h +--- nvidia-185.18.36/nv-linux.h 2009-08-15 10:58:45.000000000 +1000 ++++ nvidia-185.18.36.new/nv-linux.h 2009-09-26 21:43:35.000000000 +1000 +@@ -721,7 +721,7 @@ + #define nv_up(lock) up(&lock) + + #if defined(CONFIG_PREEMPT_RT) +-#define NV_INIT_MUTEX(mutex) init_MUTEX(mutex) ++#define NV_INIT_MUTEX(mutex) semaphore_init(mutex) + #else + #if !defined(__SEMAPHORE_INITIALIZER) && defined(__COMPAT_SEMAPHORE_INITIALIZER) + #define __SEMAPHORE_INITIALIZER __COMPAT_SEMAPHORE_INITIALIZER --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-185-kernel-source.dirs +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-185-kernel-source.dirs @@ -0,0 +1 @@ +usr/src --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185-dev.dirs +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185-dev.dirs @@ -0,0 +1,4 @@ +usr/include/GL +usr/include/cuda +usr/include/vdpau +usr/lib/nvidia --- nvidia-graphics-drivers-180-185.18.36.orig/debian/upstream_info +++ nvidia-graphics-drivers-180-185.18.36/debian/upstream_info @@ -0,0 +1,69 @@ +eval `dpkg-architecture` + +#BASE_VERSION=1.0 +RELEASE=185.18.36 +NEXTVER=185.18.37 + +if [ "$DEB_BUILD_ARCH" = "amd64" ] ; then + BASE_URL=ftp://download.nvidia.com/XFree86/Linux-x86_64/${RELEASE} + DIRNAME=NVIDIA-Linux-x86_64-${RELEASE}-pkg2 + # change this on next version release + FILENAME=$DIRNAME.run +elif [ "$DEB_BUILD_ARCH" = "lpia" ] || [ "$DEB_BUILD_ARCH" = "i386" ] ; then + BASE_URL=ftp://download.nvidia.com/XFree86/Linux-x86/${RELEASE} + DIRNAME=NVIDIA-Linux-x86-${RELEASE}-pkg1 + FILENAME="$DIRNAME.run" +else + echo "huh? dont know about a version of this driver for your architecture." + exit 1 +fi +FILENAME_X86=NVIDIA-Linux-x86-${RELEASE}-pkg1.run +FILENAME_X86_64=NVIDIA-Linux-x86_64-${RELEASE}-pkg2.run +DIRNAME_X86=NVIDIA-Linux-x86-${RELEASE}-pkg1 +DIRNAME_X86_64=NVIDIA-Linux-x86_64-${RELEASE}-pkg2 + +VERSION=${RELEASE} +UPSTREAMVERSION=${RELEASE} +URL=${BASE_URL}/${FILENAME} + +case "$1" in + BASE_VERSION) + echo "${BASE_VERSION}" + ;; + RELEASE) + echo "$RELEASE" + ;; + VERSION) + echo "$VERSION" + ;; + NEXTVER) + echo "$NEXTVER" + ;; + URL) + echo "$URL" + ;; + FILENAME) + echo "$FILENAME" + ;; + FILENAME_X86_64) + echo "$FILENAME_X86_64" + ;; + FILENAME_X86) + echo "$FILENAME_X86" + ;; + DIRNAME_X86_64) + echo "$DIRNAME_X86_64" + ;; + DIRNAME_X86) + echo "$DIRNAME_X86" + ;; + DIRNAME) + echo "$DIRNAME" + ;; + UPSTREAMVERSION) + echo "$UPSTREAMVERSION" + ;; + +esac + +exit 0 --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-settings.dirs +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-settings.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/doc/nvidia-settings --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-185-kernel-source.README.Debian +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-185-kernel-source.README.Debian @@ -0,0 +1,171 @@ +nvidia-graphics-drivers for Debian +---------------------------------- + + +INTRODUCTION: +----------------------------------------------------------------------- + +Welcome to Debian NVIDIA packages. This document contains notes on the +kernel module interface for the NVIDIA driver offering. + + +KERNEL MODULE INSTRUCTIONS: +----------------------------------------------------------------------- + +There are TWO ways to build the nvidia-kernel package. Which one depends on +your situation with your kernel. + + METHOD #1: You are running a Debian suppiled kernel or built a + linux-headers package along with your own self-built kernel. + + METHOD #2: You are running your own self-built kernel built from kernel + source. + +*** An additional method is to use module-assistant +(e.g. module-assistant auto-install nvidia) +For more information on module-assistant, see it's man page and package +documentation, + +Which method you choose really depends on what kernel headers you wish to +use, those from a kernel-headers package or those from kernel +source (from which you built your own kernel). + +As mentioned above, if you are running a Debian supplied kernel you will +probably want to choose METHOD #1. If you compile your own kernels, METHOD #2. + + + +PRELIMINARY: +- Decide where you want to build your module. By default it +will build under /usr/src like other kernel modules but you may choose +to build it under your home directory as some people prefer and writing to +/usr violates the FHS. + + +SUPPORT FOR 2.6 KERNELS: +------------------------ +As of 1.0.5336-1, NVIDIA includes support for a 2.6 kernel. No extra steps are +required. + + +HOTPLUG SUPPORT: +------------------------ +As of version 1.0.5336-8 there is hotplug/udev module loading support provided. + + +METHOD #1 Using a linux-headers or kernel-headers package +*********************************************************************** + +As root (or using fakeroot) +1. cd /usr/src + tar xjvf nvidia-kernel.tar.bz2 -C + (It will install in /modules) + - or - + tar xjvf nvidia-kernel.tar.bz2 (if building in /usr/src) + + The standard build location is /usr/src + +2. Find out your kernel version: + + uname -r For example: 2.6.14-2-k7 + +3. Download and install package: linux-headers-2.6.14-2-k7 + It will install in /usr/src/ + Note that packages prior to 2.6.12 used the kernel- prefix rather than + linux- + + Make sure your kernel image and headers have matching release numbers to + avoid possible problems in packages built from different sources. + +4. Set some environment variables (if bash is your shell): + + export KSRC=/usr/src/linux-headers-2.6.14-2-k7 + export KVERS=2.6.14-2-k7 + +5. Then build nvidia-kernel package: + + cd /modules/nvidia-kernel + debian/rules binary_modules + +(You can also combine step 4 and 5 into one line: +KSRC=/usr/src/linux-headers-2.6.14-k7 KVERS=2.6.14-4-k7 debian/rules binary_modules) + +6. Install nvidia-kernel-common on the machine where the module will be +deployed: + + If not installed already + apt-get install nvidia-kernel-common + +7. Install the nvidia-kernel package: + + dpkg -i ../nvidia-kernel-2.6.14-2-k7_185.18.31-1+_.Custom_i386.deb + ( or similar filename ) + +Now see GENERAL NOTES below method #2 + +METHOD #2: Using your own kernel source headers +*********************************************************************** + +To build the nvidia-kernel deb you need to first make sure you have +kernel-package installed, then do the following: + +As root +1. cd /usr/src + tar xjvf nvidia-kernel.tar.bz2 -C + (It will install in /modules) + - or - + tar xjvf nvidia-kernel.tar.bz2 (if building in /usr/src) + +2. If you are NOT using the default modules location /usr/src/modules + then you must set an environment variable that points to your modules + location. + + export MODULE_LOC=/modules + + This is needed by make-kpkg which is used later. If + is /usr/src there is no need to set this. + +3. Build the modules under MODULE_LOC i.e. /modules + + cd linux (or your kernel source directory) + make-kpkg modules_image + +4. Install nvidia-kernel-common on the machine where the module will be +installed: + + apt-get install nvidia-kernel-common + +5. Install the nvidia-kernel package: + + cd (e.g. /usr/src) + dpkg -i nvidia-kernel-KVER*.deb + +Notes for method #2: + +- It is advised not to clean the kernel source tree between +"make-kpkg kernel_image" and "make-kpkg modules_image". + +- The Riva framebuffer is known to conflict with the nvidia X driver. If you +are using X it would be wise not to compile it in. The vesa framebuffer is +known to work in some cases, and not in others. (people have recently been +having problems with the vesa driver as well) + +GENERAL NOTES: + +Also you must add any users who wish to use OpenGL applications to the group +video. You can do this with: + + adduser username video + +Also note for AGP issues and further information please see the NVIDIA +README file (README.gz) in the nvidia-glx package + +An old nvidia.o might be already loaded (run 'lsmod' to check) so +do 'rmmod nvidia.o' to remove the module from memory. + + +For any news on this package check http://people.debian.org/~rdonald and +http://bugs.debian.org/nvidia-kernel-source + + + -- Randall Donald , Fri, 30 Apr 2004 19:02:04 -0700 --- nvidia-graphics-drivers-180-185.18.36.orig/debian/compat +++ nvidia-graphics-drivers-180-185.18.36/debian/compat @@ -0,0 +1 @@ +4 --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185.docs.in +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185.docs.in @@ -0,0 +1,2 @@ +#DIRNAME#/usr/share/doc/NVIDIA_Changelog +#DIRNAME#/usr/share/doc/README.txt --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-185-kernel-source.docs +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-185-kernel-source.docs @@ -0,0 +1,2 @@ +NVIDIA-Linux-x86-185.18.31-pkg0/usr/share/doc/NVIDIA_Changelog +NVIDIA-Linux-x86-185.18.31-pkg0/usr/share/doc/README.txt --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185.shlibs +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185.shlibs @@ -0,0 +1,4 @@ +libGL 1 libgl1-mesa | libgl1 +libGLcore 1 libgl1-mesa | libgl1 +libXvMCNVIDIA_dynamic 1 nvidia-glx +libnvidia-tls 1 nvidia-glx --- nvidia-graphics-drivers-180-185.18.36.orig/debian/dkms.conf +++ nvidia-graphics-drivers-180-185.18.36/debian/dkms.conf @@ -0,0 +1,9 @@ +PACKAGE_NAME="nvidia" +PACKAGE_VERSION="185.18.31" +CLEAN="make clean" +BUILT_MODULE_NAME[0]="nvidia" +MAKE[0]="make module KERNDIR=/lib/modules/$kernelver IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=$kernel_source_dir" +DEST_MODULE_LOCATION[0]="/kernel/drivers/video/nvidia" +AUTOINSTALL="yes" +#PATCH[0]="drm_agp_memory-2.6.31.patch" +#PATCH_MATCH[0]="^2.6.31" --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185.override.in +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185.override.in @@ -0,0 +1,13 @@ +nvidia-glx: library-not-linked-against-libc ./usr/lib/libGL.so.#VERSION# + +nvidia-glx: shared-lib-without-dependency-information ./usr/lib/libGLcore.so.#VERSION# + +nvidia-glx: library-not-linked-against-libc ./usr/lib/xorg/modules/extensions/libglx.so.#VERSION# + +nvidia-glx: shlib-with-non-pic-code usr/lib/libGL.so.#VERSION# +nvidia-glx: shlib-with-non-pic-code usr/lib/libGLcore.so.#VERSION# +nvidia-glx: shlib-with-non-pic-code usr/lib/xorg/modules/extensions/libglx.so.#VERSION# +nvidia-glx: shlib-with-non-pic-code usr/lib/libXvMCNVIDIA.so.#VERSION# + +nvidia-glx: non-dev-pkg-with-shlib-symlink usr/lib/libGL.so.#VERSION# usr/lib/libGL.so +nvidia-glx: non-dev-pkg-with-shlib-symlink usr/lib/xorg/modules/extensions/libglx.so.#VERSION# usr/lib/xorg/modules/extensions/libglx.so --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185.links +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185.links @@ -0,0 +1,10 @@ +usr/lib/libGL.so.185.18.31 usr/lib/libGL.so.1 +usr/lib/libGLcore.so.185.18.31 usr/lib/libGLcore.so.1 +usr/lib/libnvidia-cfg.so.185.18.31 usr/lib/libnvidia-cfg.so.1 +usr/lib/libnvidia-tls.so.185.18.31 usr/lib/libnvidia-tls.so.1 +usr/lib/xorg/modules/extensions/libglx.so.185.18.31 usr/lib/xorg/modules/extensions/libglx.so +usr/lib/libXvMCNVIDIA.so.185.18.31 usr/lib/libXvMCNVIDIA.so +usr/lib/libXvMCNVIDIA.so.185.18.31 usr/lib/libXvMCNVIDIA.so.1 +usr/lib/libXvMCNVIDIA.so.185.18.31 usr/lib/libXvMCNVIDIA_dynamic.so.1 +usr/lib/libcuda.so.185.18.31 usr/lib/libcuda.so +usr/lib/libcuda.so.185.18.31 usr/lib/libcuda.so.1 --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185-dev.postrm +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185-dev.postrm @@ -0,0 +1,69 @@ +#! /bin/sh +# postrm script for nvidia-glx-185 +# +# see: dh_installdeb(1) + +set -e + +PKGVER=`dpkg-query -W -f='${Version}' nvidia-glx-185-dev | awk -F "-" '{print $1}'` +PKGVER=${PKGVER#*:} + +case "$1" in + remove|purge) + if [ "$(dpkg-divert --list /usr/lib/nvidia/libGL.so.xlibmesa | awk '{ print $7 }')" = "nvidia-glx-185" ]; then + dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null + fi + if [ "$(dpkg-divert --list /usr/lib/nvidia/libGL.a.xlibmesa | awk '{ print $7 }')" = "nvidia-glx-185" ]; then + dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null + fi + if [ "$(dpkg-divert --list /usr/lib/libGL.so | awk '{ print $7 }')" = "nvidia-glx-185-dev" ]; then + dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null + fi + if [ "$(dpkg-divert --list /usr/lib/libGL.a | awk '{ print $7 }')" = "nvidia-glx-185-dev" ]; then + dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null + fi + +# dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null +# dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null +# rm /usr/lib/libGL.so || true +# /etc/init.d/nvidia-glx-185 start || true +# ln -s /usr/lib/nvidia/libGL.so.1.2.xlibmesa /usr/lib/libGL.so + + +# dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null + +# dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/share/nvidia-glx-185/diversions/gl.h /usr/include/GL/gl.h > /dev/null +# dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/share/nvidia-glx-185/diversions/glx.h /usr/include/GL/glx.h > /dev/null +# dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/share/nvidia-glx-185/diversions/glxtokens.h /usr/include/GL/glxtokens.h > /dev/null + +# dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/share/nvidia-glx-185/diversions/gl.h /usr/include/GL/gl.h > /dev/null +# dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/share/nvidia-glx-185/diversions/glx.h /usr/include/GL/glx.h > /dev/null +# dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/share/nvidia-glx-185/diversions/glxtokens.h /usr/include/GL/glxtokens.h > /dev/null + # If this package created a symlink to /usr/lib/libGL.so.$PKGVER then remove it + # otherwise leave things as they are + if [ -L /usr/lib/libGL.so ] && ls -l /usr/lib/libGL.so | grep /usr/lib/libGL.so.$PKGVER >/dev/null; then + rm /usr/lib/libGL.so || true + fi + + if [ -d /usr/lib/nvidia/ ]; then + rmdir --ignore-fail-on-non-empty /usr/lib/nvidia || true; + + fi + + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185-dev.postinst +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185-dev.postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + + +case "$1" in + configure) + ;; +esac + +#DEBHELPER# --- nvidia-graphics-drivers-180-185.18.36.orig/debian/copyright.in +++ nvidia-graphics-drivers-180-185.18.36/debian/copyright.in @@ -0,0 +1,191 @@ +This package was debianized by Randall Donald on +Mon, 31 Mar 2003 23:40:05 -0800. + +It was downloaded from +#URL# + +Upstream Author: NVIDIA + + +Copyright: + +First a note from the README file + +Q: Why does NVIDIA not provide rpms anymore? + +A: Not every Linux distribution uses rpm, and NVIDIA wanted a single + solution that would work across all Linux distributions. As indicated + in the NVIDIA Software License, Linux distributions are welcome to + repackage and redistribute the NVIDIA Linux driver in whatever package + format they wish. + +Furthermore, an email from NVIDIA: + +Greetings, Randall! Comments below: + +On 30 Jul 2003, Randall Donald wrote: + +> To whom it may concern, +> +> My name is Randall Donald and I am the maintainer for the Debian +> downloader packages nvidia-glx-src and nvidia-kernel-src. +> As stated in your license and the README file +> ( "As indicated in the NVIDIA Software License, Linux distributions +> are welcome to repackage and redistribute the NVIDIA Linux driver in +> whatever package format they wish." ) +> I wish to include packages containing the Linux driver files in the Debian archive. +> I'd like to know if it is legally permitted to distribute binary kernel modules +> compiled from the NVIDIA kernel module source and Debian kernel headers. + +This is fine; thanks for asking. + +> I am also wondering if the "No Separation of Components" clause +> ( No Separation of Components. The SOFTWARE is licensed as a +> single product. Its component parts may not be separated for use +> on more than one computer, nor otherwise used separately from the +> other parts.) applies to splitting the glx driver and kernel module source into +> multiple binary packages. + +This is also fine. I believe this section of the license was +intended to prevent users from doing things like using our Windows +control panel with a competitor's display driver (that's not actually +possible, but you get the idea...). In the case of separating the +driver into a glx package and a kernel package (like we used to +do ourselves), this is simply a packaging issue; of course users +will use the packages together when they install. + +Please feel free to redistribute the NVIDIA graphics driver. + +Thank you for doing this for the NVIDIA+Debian community! + +- Andy + + + +The NVIDIA Software Licence is as follows. + +From http://www.nvidia.com/view.asp?IO=nv_swlicense and extracted from the +installer: + + + License For Customer Use of NVIDIA Software + + +IMPORTANT NOTICE -- READ CAREFULLY: This License For Customer Use of +NVIDIA Software ("LICENSE") is the agreement which governs use of +the software of NVIDIA Corporation and its subsidiaries ("NVIDIA") +downloadable herefrom, including computer software and associated +printed materials ("SOFTWARE"). By downloading, installing, copying, +or otherwise using the SOFTWARE, you agree to be bound by the terms +of this LICENSE. If you do not agree to the terms of this LICENSE, +do not download the SOFTWARE. + +RECITALS + +Use of NVIDIA's products requires three elements: the SOFTWARE, the +hardware on a graphics controller board, and a personal computer. The +SOFTWARE is protected by copyright laws and international copyright +treaties, as well as other intellectual property laws and treaties. +The SOFTWARE is not sold, and instead is only licensed for use, +strictly in accordance with this document. The hardware is protected +by various patents, and is sold, but this agreement does not cover +that sale, since it may not necessarily be sold as a package with +the SOFTWARE. This agreement sets forth the terms and conditions +of the SOFTWARE LICENSE only. + +1. DEFINITIONS + +1.1 Customer. Customer means the entity or individual that +downloads the SOFTWARE. + +2. GRANT OF LICENSE + +2.1 Rights and Limitations of Grant. NVIDIA hereby grants Customer +the following non-exclusive, non-transferable right to use the +SOFTWARE, with the following limitations: + +2.1.1 Rights. Customer may install and use one copy of the SOFTWARE +on a single computer, and except for making one back-up copy of +the Software, may not otherwise copy the SOFTWARE. This LICENSE +of SOFTWARE may not be shared or used concurrently on different +computers. + +2.1.2 Linux Exception. Notwithstanding the foregoing terms of +Section 2.1.1, SOFTWARE designed exclusively for use on the Linux +operating system may be copied and redistributed, provided that +the binary files thereof are not modified in any way (except for +unzipping of compressed files). + +2.1.3 Limitations. + +No Reverse Engineering. Customer may not reverse engineer, +decompile, or disassemble the SOFTWARE, nor attempt in any other +manner to obtain the source code. + +No Separation of Components. The SOFTWARE is licensed as a +single product. Its component parts may not be separated for use +on more than one computer, nor otherwise used separately from the +other parts. + +No Rental. Customer may not rent or lease the SOFTWARE to someone +else. + +3. TERMINATION + +This LICENSE will automatically terminate if Customer fails to +comply with any of the terms and conditions hereof. In such event, +Customer must destroy all copies of the SOFTWARE and all of its +component parts. + +4. COPYRIGHT + +All title and copyrights in and to the SOFTWARE (including but +not limited to all images, photographs, animations, video, audio, +music, text, and other information incorporated into the SOFTWARE), +the accompanying printed materials, and any copies of the SOFTWARE, +are owned by NVIDIA, or its suppliers. The SOFTWARE is protected +by copyright laws and international treaty provisions. Accordingly, +Customer is required to treat the SOFTWARE like any other copyrighted +material, except as otherwise allowed pursuant to this LICENSE +and that it may make one copy of the SOFTWARE solely for backup or +archive purposes. + +5. APPLICABLE LAW + +This agreement shall be deemed to have been made in, and shall be +construed pursuant to, the laws of the State of California. + +6. DISCLAIMER OF WARRANTIES AND LIMITATION ON LIABILITY + +6.1 No Warranties. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE +LAW, THE SOFTWARE IS PROVIDED "AS IS" AND NVIDIA AND ITS SUPPLIERS +DISCLAIM ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT +NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE. + +6.2 No Liability for Consequential Damages. TO THE MAXIMUM +EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL NVIDIA OR +ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR +CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, +DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS +OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT +OF THE USE OF OR INABILITY TO USE THE SOFTWARE, EVEN IF NVIDIA HAS +BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. MISCELLANEOUS + +The United Nations Convention on Contracts for the International +Sale of Goods is specifically disclaimed. If any provision of this +LICENSE is inconsistent with, or cannot be fully enforced under, +the law, such provision will be construed as limited to the extent +necessary to be consistent with and fully enforceable under the law. +This agreement is the final, complete and exclusive agreement between +the parties relating to the subject matter hereof, and supersedes +all prior or contemporaneous understandings and agreements relating +to such subject matter, whether oral or written. Customer agrees +that it will not ship, transfer or export the SOFTWARE into any +country, or use the SOFTWARE in any manner, prohibited by the +United States Bureau of Export Administration or any export laws, +restrictions or regulations. This LICENSE may only be modified in +writing signed by an authorized officer of NVIDIA. + --- nvidia-graphics-drivers-180-185.18.36.orig/debian/copyright +++ nvidia-graphics-drivers-180-185.18.36/debian/copyright @@ -0,0 +1,191 @@ +This package was debianized by Randall Donald on +Mon, 31 Mar 2003 23:40:05 -0800. + +It was downloaded from +ftp://download.nvidia.com/XFree86/Linux-x86/185.18.31/NVIDIA-Linux-x86-185.18.31-pkg0.run + +Upstream Author: NVIDIA + + +Copyright: + +First a note from the README file + +Q: Why does NVIDIA not provide rpms anymore? + +A: Not every Linux distribution uses rpm, and NVIDIA wanted a single + solution that would work across all Linux distributions. As indicated + in the NVIDIA Software License, Linux distributions are welcome to + repackage and redistribute the NVIDIA Linux driver in whatever package + format they wish. + +Furthermore, an email from NVIDIA: + +Greetings, Randall! Comments below: + +On 30 Jul 2003, Randall Donald wrote: + +> To whom it may concern, +> +> My name is Randall Donald and I am the maintainer for the Debian +> downloader packages nvidia-glx-src and nvidia-kernel-src. +> As stated in your license and the README file +> ( "As indicated in the NVIDIA Software License, Linux distributions +> are welcome to repackage and redistribute the NVIDIA Linux driver in +> whatever package format they wish." ) +> I wish to include packages containing the Linux driver files in the Debian archive. +> I'd like to know if it is legally permitted to distribute binary kernel modules +> compiled from the NVIDIA kernel module source and Debian kernel headers. + +This is fine; thanks for asking. + +> I am also wondering if the "No Separation of Components" clause +> ( No Separation of Components. The SOFTWARE is licensed as a +> single product. Its component parts may not be separated for use +> on more than one computer, nor otherwise used separately from the +> other parts.) applies to splitting the glx driver and kernel module source into +> multiple binary packages. + +This is also fine. I believe this section of the license was +intended to prevent users from doing things like using our Windows +control panel with a competitor's display driver (that's not actually +possible, but you get the idea...). In the case of separating the +driver into a glx package and a kernel package (like we used to +do ourselves), this is simply a packaging issue; of course users +will use the packages together when they install. + +Please feel free to redistribute the NVIDIA graphics driver. + +Thank you for doing this for the NVIDIA+Debian community! + +- Andy + + + +The NVIDIA Software Licence is as follows. + +From http://www.nvidia.com/view.asp?IO=nv_swlicense and extracted from the +installer: + + + License For Customer Use of NVIDIA Software + + +IMPORTANT NOTICE -- READ CAREFULLY: This License For Customer Use of +NVIDIA Software ("LICENSE") is the agreement which governs use of +the software of NVIDIA Corporation and its subsidiaries ("NVIDIA") +downloadable herefrom, including computer software and associated +printed materials ("SOFTWARE"). By downloading, installing, copying, +or otherwise using the SOFTWARE, you agree to be bound by the terms +of this LICENSE. If you do not agree to the terms of this LICENSE, +do not download the SOFTWARE. + +RECITALS + +Use of NVIDIA's products requires three elements: the SOFTWARE, the +hardware on a graphics controller board, and a personal computer. The +SOFTWARE is protected by copyright laws and international copyright +treaties, as well as other intellectual property laws and treaties. +The SOFTWARE is not sold, and instead is only licensed for use, +strictly in accordance with this document. The hardware is protected +by various patents, and is sold, but this agreement does not cover +that sale, since it may not necessarily be sold as a package with +the SOFTWARE. This agreement sets forth the terms and conditions +of the SOFTWARE LICENSE only. + +1. DEFINITIONS + +1.1 Customer. Customer means the entity or individual that +downloads the SOFTWARE. + +2. GRANT OF LICENSE + +2.1 Rights and Limitations of Grant. NVIDIA hereby grants Customer +the following non-exclusive, non-transferable right to use the +SOFTWARE, with the following limitations: + +2.1.1 Rights. Customer may install and use one copy of the SOFTWARE +on a single computer, and except for making one back-up copy of +the Software, may not otherwise copy the SOFTWARE. This LICENSE +of SOFTWARE may not be shared or used concurrently on different +computers. + +2.1.2 Linux Exception. Notwithstanding the foregoing terms of +Section 2.1.1, SOFTWARE designed exclusively for use on the Linux +operating system may be copied and redistributed, provided that +the binary files thereof are not modified in any way (except for +unzipping of compressed files). + +2.1.3 Limitations. + +No Reverse Engineering. Customer may not reverse engineer, +decompile, or disassemble the SOFTWARE, nor attempt in any other +manner to obtain the source code. + +No Separation of Components. The SOFTWARE is licensed as a +single product. Its component parts may not be separated for use +on more than one computer, nor otherwise used separately from the +other parts. + +No Rental. Customer may not rent or lease the SOFTWARE to someone +else. + +3. TERMINATION + +This LICENSE will automatically terminate if Customer fails to +comply with any of the terms and conditions hereof. In such event, +Customer must destroy all copies of the SOFTWARE and all of its +component parts. + +4. COPYRIGHT + +All title and copyrights in and to the SOFTWARE (including but +not limited to all images, photographs, animations, video, audio, +music, text, and other information incorporated into the SOFTWARE), +the accompanying printed materials, and any copies of the SOFTWARE, +are owned by NVIDIA, or its suppliers. The SOFTWARE is protected +by copyright laws and international treaty provisions. Accordingly, +Customer is required to treat the SOFTWARE like any other copyrighted +material, except as otherwise allowed pursuant to this LICENSE +and that it may make one copy of the SOFTWARE solely for backup or +archive purposes. + +5. APPLICABLE LAW + +This agreement shall be deemed to have been made in, and shall be +construed pursuant to, the laws of the State of California. + +6. DISCLAIMER OF WARRANTIES AND LIMITATION ON LIABILITY + +6.1 No Warranties. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE +LAW, THE SOFTWARE IS PROVIDED "AS IS" AND NVIDIA AND ITS SUPPLIERS +DISCLAIM ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT +NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE. + +6.2 No Liability for Consequential Damages. TO THE MAXIMUM +EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL NVIDIA OR +ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR +CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, +DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS +OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT +OF THE USE OF OR INABILITY TO USE THE SOFTWARE, EVEN IF NVIDIA HAS +BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. MISCELLANEOUS + +The United Nations Convention on Contracts for the International +Sale of Goods is specifically disclaimed. If any provision of this +LICENSE is inconsistent with, or cannot be fully enforced under, +the law, such provision will be construed as limited to the extent +necessary to be consistent with and fully enforceable under the law. +This agreement is the final, complete and exclusive agreement between +the parties relating to the subject matter hereof, and supersedes +all prior or contemporaneous understandings and agreements relating +to such subject matter, whether oral or written. Customer agrees +that it will not ship, transfer or export the SOFTWARE into any +country, or use the SOFTWARE in any manner, prohibited by the +United States Bureau of Export Administration or any export laws, +restrictions or regulations. This LICENSE may only be modified in +writing signed by an authorized officer of NVIDIA. + --- nvidia-graphics-drivers-180-185.18.36.orig/debian/control +++ nvidia-graphics-drivers-180-185.18.36/debian/control @@ -0,0 +1,208 @@ +Source: nvidia-graphics-drivers-180 +Section: restricted/misc +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Debian NVIDIA Maintainers +Uploaders: Randall Donald +XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-nvidia/packages/nvidia-graphics-drivers +XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers +Build-Depends: debhelper (>> 4.0.0), sed (>> 3.0), libxext6, bzip2, xserver-xorg-dev (>= 2:1.4), execstack +Standards-Version: 3.8.0 + +Package: nvidia-glx-185 +Architecture: i386 amd64 lpia +Depends: nvidia-185-kernel-source (>= 185.18.31), nvidia-185-libvdpau (>= 185.18.31), x11-common (>= 1:7.0.0), ${shlibs:Depends} +Recommends: nvidia-settings +Conflicts: nvidia-glx-src, nvidia-glx, xorg-driver-fglrx, nvidia-glx-180 (<< 185.18.32) +Provides: ${xviddriver:Provides}, nvidia-glx, nvidia-glx-180 +Replaces: nvidia-glx-src, nvidia-glx, nvidia-glx-new, nvidia-glx-legacy, + nvidia-glx-envy, nvidia-glx-new-envy, nvidia-glx-legacy-envy, + nvidia-glx-180 (<< 185.18.32), nvidia-glx-177, nvidia-glx-173, nvidia-glx-96, + nvidia-glx-71, nvidia-glx-185 +Description: NVIDIA binary Xorg driver + These binary drivers provide optimized hardware + acceleration of OpenGL applications via a direct-rendering X Server. + AGP, PCIe, SLI, TV-out and flat panel displays are also supported. + . + Please see the nvidia-185-kernel-source package for building the kernel module + required by this package. This will provide nvidia-kernel- + . + The following GPUs are supported: + GeForce 6800 Ultra, GeForce 6800, GeForce 6800 LE, GeForce + 6800 XE, GeForce 6800 XT, GeForce 6800 GT, GeForce 6800 GT, + GeForce 6800 GS, GeForce 6800 XT, GeForce 7800 GTX, GeForce + 7800 GTX, GeForce 7800 GT, GeForce 7800 GS, GeForce 7800 SLI + , GeForce Go 7800, GeForce Go 7800 GTX, GeForce 6800 GS, GeF + orce 6800, GeForce 6800 LE, GeForce 6800 XT, GeForce Go 6800 + , GeForce Go 6800 Ultra, GeForce 6800, GeForce 6600 GT, GeFo + rce 6600, GeForce 6200, GeForce 6600 LE, GeForce 7800 GS, Ge + Force 6800 GS, GeForce 6800 Ultra, GeForce 6600 GT, GeForce + 6600, GeForce 6600 LE, GeForce 6600 VE, GeForce Go 6600, GeF + orce 6610 XL, GeForce Go 6600 TE/6200 TE, GeForce 6700 XL, G + eForce Go 6600, GeForce Go 6600 GT, GeForce 6200, GeForce 65 + 00, GeForce 6200 TurboCache(TM), GeForce 6200SE TurboCache(T + M), GeForce 6200 LE, GeForce Go 6200, GeForce Go 6400, GeFor + ce Go 6200, GeForce Go 6400, GeForce 6250, GeForce 7100 GS, + GeForce 8800 GTX, GeForce 8800 GTS, GeForce 8800 Ultra, Tesl + a C870, GeForce 7350 LE, GeForce 7300 LE, GeForce 7300 SE/72 + 00 GS, GeForce Go 7200, GeForce Go 7300, GeForce Go 7400, Ge + Force 7500 LE, GeForce 7300 GS, GeForce 6800, GeForce 6800 L + E, GeForce 6800 GT, GeForce 6800 XT, GeForce 6200, GeForce 6 + 200 A-LE, GeForce 6150, GeForce 6150 LE, GeForce 6100, GeFor + ce Go 6150, GeForce Go 6100, GeForce 7900 GTX, GeForce 7900 + GT/GTO, GeForce 7900 GS, GeForce 7950 GX2, GeForce 7950 GX2, + GeForce 7950 GT, GeForce Go 7950 GTX, GeForce Go 7900 GS, G + eForce Go 7900 GTX, GeForce 7600 GT, GeForce 7600 GS, GeForc + e 7900 GS, GeForce 7950 GT, GeForce 7650 GS, GeForce 7600 GT + , GeForce 7600 GS, GeForce 7300 GT, GeForce 7600 LE, GeForce + 7300 GT, GeForce Go 7600, GeForce Go 7600 GT, GeForce 6150S + E nForce 430, GeForce 6100 nForce 405, GeForce 6100 nForce 4 + 00, GeForce 6100 nForce 420, GeForce 8600 GTS, GeForce 8600 + GT, GeForce 8600 GT, GeForce 8400 GS, GeForce 9500M GS, GeFo + rce 8600M GT, GeForce 8700M GT, GeForce 8400 SE, GeForce 850 + 0 GT, GeForce 8400 GS, GeForce 8300 GS, GeForce 8400 GS, GeF + orce 8600M GS, GeForce 8400M GT, GeForce 8400M GS, GeForce 8 + 400M G, GeForce 9400 GT, GeForce 7150M / nForce 630M, GeForc + e 7000M / nForce 610M, GeForce 7050 PV / NVIDIA nForce 630a, + GeForce 7050 PV / NVIDIA nForce 630a, GeForce 7025 / NVIDIA + nForce 630a, GeForce GTX 280, GeForce GTX 260, GeForce 8800 + GTS 512, GeForce 8800 GT, GeForce 9800 GX2, GeForce 8800 GS + , GeForce 8800M GTS, GeForce 8800M GTX, GeForce 8800 GS, GeF + orce 9600 GSO, GeForce 8800 GT, GeForce 9800 GTX, GeForce 96 + 00 GT, GeForce 9600 GS, GeForce 9800M GTS, GeForce 9800M GTS + , GeForce 9600M GT, GeForce 9600M GS, GeForce 9500M G, GeFor + ce 9300 GS, GeForce 8400 GS, GeForce 9300M GS, GeForce 7150 + / NVIDIA nForce 630i, GeForce 7100 / NVIDIA nForce 630i, GeF + orce 7050 / NVIDIA nForce 610i, GeForce 8300, GeForce 8200, + nForce 730a, GeForce 8200, GeForce 8100 / nForce 720a, Quadr + o FX 4000, Quadro FX 4500, Quadro FX Go1400, Quadro FX 3450/ + 4000 SDI, Quadro FX 1400, Quadro FX 4400/Quadro FX 3400, Qua + dro NVS 440, Quadro FX 540M, Quadro FX 550, Quadro FX 540, Q + uadro NVS 285, Quadro FX 5600, Quadro FX 4600, Quadro NVS 11 + 0M, Quadro NVS 110M, Quadro NVS 120M, Quadro FX 350M, Quadro + FX 350, Quadro NVS 210S / NVIDIA GeForce 6150LE, Quadro FX + 2500M, Quadro FX 1500M, Quadro FX 5500, Quadro FX 3500, Quad + ro FX 1500, Quadro FX 4500 X2, Quadro FX 560, Quadro FX 370, + Quadro NVS 320M, Quadro FX 570M, Quadro FX 1600M, Quadro FX + 570, Quadro FX 1700, Quadro NVS 140M, Quadro NVS 130M, Quad + ro NVS 135M, Quadro FX 360M, Quadro NVS 290, Quadro FX 3700, + Quadro FX 3600M + . + See /usr/share/doc/nvidia-glx/README.txt.gz for a complete list + of supported GPUs and PCIIDs + . + +Package: nvidia-glx-185-dev +Architecture: i386 amd64 lpia +Depends: nvidia-glx-185 (>= 185.18.31) +Provides: libgl-dev, libgl1-mesa-dev, mesa-common-dev, nvidia-glx-dev, nvidia-glx-180-dev +Conflicts: nvidia-glx-185 (>= 185.18.32), libgl-dev, libgl1-mesa-dev, nvidia-glx-180-dev (<< 185.18.32), + mesa-common-dev, nvidia-glx-dev, nvidia-glx-dev-new, nvidia-glx-dev-legacy +Replaces: libgl-dev, libgl1-mesa-dev, mesa-common-dev, nvidia-glx-dev-new, + nvidia-glx-dev, nvidia-glx-dev-legacy, nvidia-glx-lrm-dev, nvidia-glx-180-dev (<< 185.18.32), + nvidia-glx-177-dev, nvidia-glx-173-dev, nvidia-glx-96-dev, nvidia-glx-71-dev, + nvidia-glx-dev-new-envy, nvidia-glx-dev-envy, nvidia-glx-dev-legacy-envy, + nvidia-glx-185-dev +Description: NVIDIA binary Xorg driver development files + This package contains the NVIDIA binary Xorg driver + development files. + . + For more information on this source package visit NVIDIA's homepage + at http://www.nvidia.com/ . + +Package: nvidia-185-kernel-source +Architecture: i386 amd64 lpia +Depends: make, sed (>> 3.0), dkms, linux-libc-dev, libc6-dev, linux-headers-generic | linux-headers, + patch +Recommends: nvidia-glx-185 (>= 185.18.31) +Provides: nvidia-kernel-source, nvidia-180-kernel-source +Conflicts: nvidia-kernel-src, nvidia-kernel-source, nvidia-180-kernel-source (<< 185.18.32) +Replaces: nvidia-kernel-src, nvidia-185-kernel-source, nvidia-180-kernel-source (<< 185.18.32), + nvidia-177-kernel-source, nvidia-173-kernel-source, nvidia-96-kernel-source, + nvidia-71-kernel-source, nvidia-kernel-source, nvidia-new-kernel-source, + nvidia-legacy-kernel-source, nvidia-kernel-source-envy, + nvidia-new-kernel-source-envy, nvidia-legacy-kernel-source-envy +Description: NVIDIA binary kernel module source + This package builds the NVIDIA Xorg binary kernel module + needed by nvidia-glx. The drivers provide optimized hardware acceleration + of OpenGL applications via a direct-rendering X Server AGP, + PCIe, SLI, TV-out, and flat panel displays are also supported. + . + PLEASE read /usr/share/doc/nvidia-kernel-source/README.Debian for building + information. + . + +Package: nvidia-185-modaliases +Architecture: i386 amd64 lpia +Provides: nvidia-180-modaliases +Conflicts: nvidia-180-modaliases (<< 185.18.32) +Replaces: nvidia-180-modaliases (<< 185.18.32) +Description: Modaliases for the NVIDIA binary X.Org driver + The modaliases provide a list of pci id's which makes it possible to + detect the model of a graphic card. + +Package: nvidia-185-libvdpau +Architecture: i386 amd64 lpia +Provides: nvidia-180-libvdpau +Conflicts: nvidia-180-libvdpau (<< 185.18.32) +Replaces: nvidia-glx-177, nvidia-glx-180 (<= 180.22), nvidia-180-libvdpau (<< 185.18.32) +Description: Video Decode and Presentation API for Unix + This library provides NVIDIA's implementation of the Video Decode + and presentation API. It provides acceleration for NVIDIA 7 and later + series cards for h264 video. + +Package: nvidia-185-libvdpau-dev +Architecture: i386 amd64 lpia +Depends: nvidia-185-libvdpau (>= 185.18.31) +Provides: nvidia-180-libvdpau-dev +Conflicts: nvidia-180-libvdpau-dev (<< 185.18.32) +Replaces: nvidia-glx-180-dev (<= 180.22), nvidia-180-libvdpau-dev (<< 185.18.32) +Description: Video Decode and Presentation API for Unix development files + This library provides NVIDIA's implementation of the Video Decode + and presentation API. It provides acceleration for NVIDIA 7 and later + series cards for h264 video. + . + This provides the necessary headers for applications to enable VDPAU + support. + +Package: nvidia-glx-180 +Architecture: i386 amd64 lpia +Depends: nvidia-glx-185 +Description: Transitional package for nvidia-glx-185 + This is a transitional package for nvidia-glx-180, and can be safely removed + after the installation is complete. + +Package: nvidia-glx-180-dev +Architecture: i386 amd64 lpia +Depends: nvidia-glx-185-dev +Description: Transitional package for nvidia-glx-185-dev + This is a transitional package for nvidia-glx-185-dev, and can be safely removed + after the installation is complete. + +Package: nvidia-180-kernel-source +Architecture: i386 amd64 lpia +Depends: nvidia-185-kernel-source +Description: Transitional package for nvidia-glx-185-kernel-source + This is a transitional package for nvidia-glx-185-kernel-source, and can be + safely removed after the installation is complete. + +Package: nvidia-180-modaliases +Architecture: i386 amd64 lpia +Depends: nvidia-185-modaliases +Description: Transitional package for nvidia-185-modaliases + This is a transitional package for nvidia-185-modaliases, and can be safely removed + after the installation is complete. + +Package: nvidia-180-libvdpau +Architecture: i386 amd64 lpia +Depends: nvidia-185-libvdpau +Description: Transitional package for nvidia-185-libvdpau + This is a transitional package for nvidia-185-libvdpau, and can be safely removed + after the installation is complete. + +Package: nvidia-180-libvdpau-dev +Architecture: i386 amd64 lpia +Depends: nvidia-185-libvdpau +Description: Transitional package for nvidia-185-libvdpau-dev + This is a transitional package for nvidia-185-libvdpau-dev, and can be safely removed + after the installation is complete. --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185-dev.preinst +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185-dev.preinst @@ -0,0 +1,92 @@ +#! /bin/sh +# preinst script for nvidia-glx-185-dev +# +# see: dh_installdeb(1) + +set -e + +PKGVER=`dpkg-query -W -f='${Version}' nvidia-glx-185-dev | awk -F "-" '{print $1}'` +PKGVER=${PKGVER#*:} + +case "$1" in + install|upgrade) + # diversion transition + if [ -d /usr/share/nvidia-glx/diversions/ ] ; then + rm -f /usr/lib/libGL.so + rm -f /usr/lib/libGL.a + dpkg-divert --remove --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/libGL.so /usr/lib/libGL.so > /dev/null + dpkg-divert --remove --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/libGL.a /usr/lib/libGL.a > /dev/null + + rmdir /usr/share/nvidia-glx/diversions/ || true + rmdir /usr/share/nvidia-glx || true + fi + + if [ ! -d /usr/lib/nvidia ]; then + mkdir -p /usr/lib/nvidia || true + fi + +# to remove old old old gl header diversions + + + if [ -e /usr/share/nvidia-glx/diversions/gl.h ]; then + if [ -e /usr/include/GL/gl.h ]; then + rm -f /usr/include/GL/gl.h /usr/include/GL/glx.h /usr/include/GL/glxtokens.h + fi + dpkg-divert --remove --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/gl.h /usr/include/GL/gl.h > /dev/null + dpkg-divert --remove --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glx.h /usr/include/GL/glx.h > /dev/null + dpkg-divert --remove --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glxext.h /usr/include/GL/glxext.h > /dev/null + fi + + # make sure these diversions don't exist anymore + if dpkg-divert --list /usr/lib/libGL.so | grep 'nvidia-glx-185-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null + fi + if dpkg-divert --list /usr/lib/libGL.a | grep 'nvidia-glx-185-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null + fi + if dpkg-divert --list /usr/X11R6/lib/libGL.so | grep 'nvidia-glx-185-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/X11R6/lib/nvidia/libGL.so.xlibmesa /usr/X11R6/lib/libGL.so > /dev/null + fi + if dpkg-divert --list /usr/X11R6/lib/libGL.so | grep 'nvidia-glx-185-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/X11R6/lib/nvidia/libGL.a.xlibmesa /usr/X11R6/lib/libGL.a > /dev/null + fi + + # If a symlink already exists then do not create a new one + # otherwise create a symlink to /usr/lib/libGL.so.$PKGVER + if [ ! -e /usr/lib/libGL.so ] && [ ! -L /usr/lib/libGL.so ]; then + ln -s /usr/lib/libGL.so.$PKGVER /usr/lib/libGL.so || true + fi + #dpkg-divert --add --rename --package nvidia-glx-185-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-185-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null +# rm /usr/lib/libGL.so || true + +# ln -s /usr/lib/libGL.so.185.18.31 /usr/lib/libGL.so || true + + +# dpkg-divert --add --rename --package nvidia-glx-185-dev --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null + +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/gl.h /usr/include/GL/gl.h > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glx.h /usr/include/GL/glx.h > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glxtokens.h /usr/include/GL/glxtokens.h > /dev/null + +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/gl.h /usr/include/GL/gl.h > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glx.h /usr/include/GL/glx.h > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glxtokens.h /usr/include/GL/glxtokens.h > /dev/null + + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185.links.in +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185.links.in @@ -0,0 +1,10 @@ +usr/lib/libGL.so.#VERSION# usr/lib/libGL.so.1 +usr/lib/libGLcore.so.#VERSION# usr/lib/libGLcore.so.1 +usr/lib/libnvidia-cfg.so.#VERSION# usr/lib/libnvidia-cfg.so.1 +usr/lib/libnvidia-tls.so.#VERSION# usr/lib/libnvidia-tls.so.1 +usr/lib/xorg/modules/extensions/libglx.so.#VERSION# usr/lib/xorg/modules/extensions/libglx.so +usr/lib/libXvMCNVIDIA.so.#VERSION# usr/lib/libXvMCNVIDIA.so +usr/lib/libXvMCNVIDIA.so.#VERSION# usr/lib/libXvMCNVIDIA.so.1 +usr/lib/libXvMCNVIDIA.so.#VERSION# usr/lib/libXvMCNVIDIA_dynamic.so.1 +usr/lib/libcuda.so.#VERSION# usr/lib/libcuda.so +usr/lib/libcuda.so.#VERSION# usr/lib/libcuda.so.1 --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185.NEWS +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185.NEWS @@ -0,0 +1,27 @@ +nvidia-graphics-drivers (1.0.8174-1) unstable; urgency=low + + * LEGACY GPUs: If you have a TNT, TNT2, Vanta, GeForce 256, GeForce DDR, + Quadro, GeForce2 Pro, GeForce2 GTS, GeForce2 Ultra, GeForce2 Ti, Quadro2 Pro, + DO NOT INSTALL THIS RELEASE!!! They are no longer supported. + + -- Randall Donald Sat, 10 Dec 2005 00:01:32 -0800 + +nvidia-graphics-drivers (1.0.7667-2) unstable; urgency=low + + * LEGACY GPUs: If you have a TNT, TNT2, Vanta, GeForce 256, GeForce DDR, + Quadro, GeForce2 Pro, GeForce2 GTS, GeForce2 Ultra, GeForce2 Ti, Quadro2 Pro, + DO NOT INSTALL THIS RELEASE!!! Use the nvidia-glx-legacy, + nvidia-glx-legacy-dev, nvidia-kernel-source-legacy packages instead. + + -- Randall Donald Wed, 13 Jun 2005 00:01:32 -0700 + +nvidia-graphics-drivers (1.0.7664-1) experimental; urgency=low + + * LEGACY GPUs: If you have a TNT, TNT2, Vanta, GeForce 256, GeForce DDR, + Quadro, GeForce2 Pro, GeForce2 GTS, GeForce2 Ultra, GeForce2 Ti, Quadro2 Pro, + DO NOT INSTALL THIS RELEASE!!! NVIDIA will be supporting these cards in a + special legacy driver (as yet unreleased and not included in this package). + So if you have the one of the above listed GPUs, + remain with the 1.0.7174-3 release. + + -- Randall Donald Tue, 21 Jun 2005 00:01:32 -0700 --- nvidia-graphics-drivers-180-185.18.36.orig/debian/control.in +++ nvidia-graphics-drivers-180-185.18.36/debian/control.in @@ -0,0 +1,198 @@ +Source: nvidia-graphics-drivers-180 +Section: restricted/misc +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Debian NVIDIA Maintainers +Uploaders: Randall Donald +XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-nvidia/packages/nvidia-graphics-drivers +XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers +Build-Depends: debhelper (>> 4.0.0), sed (>> 3.0), libxext6, bzip2, xserver-xorg-dev (>= 2:1.4), execstack +Standards-Version: 3.8.0 + +Package: nvidia-glx-185 +Architecture: i386 amd64 lpia +Depends: nvidia-185-kernel-source (>= #VERSION#), nvidia-185-libvdpau (>= #VERSION#), x11-common (>= 1:7.0.0), ${shlibs:Depends} +Recommends: nvidia-settings +Conflicts: nvidia-glx, xorg-driver-fglrx +Provides: ${xviddriver:Provides}, nvidia-glx +Replaces: nvidia-glx-180, nvidia-glx-177, nvidia-glx-173, nvidia-glx-96, nvidia-glx-71 +Description: NVIDIA binary Xorg driver + These binary drivers provide optimized hardware + acceleration of OpenGL applications via a direct-rendering X Server. + AGP, PCIe, SLI, TV-out and flat panel displays are also supported. + . + Please see the nvidia-185-kernel-source package for building the kernel module + required by this package. This will provide nvidia-kernel- + . + The following GPUs are supported: + GeForce 6800 Ultra, GeForce 6800, GeForce 6800 LE, GeForce + 6800 XE, GeForce 6800 XT, GeForce 6800 GT, GeForce 6800 GT, + GeForce 6800 GS, GeForce 6800 XT, GeForce 7800 GTX, GeForce + 7800 GTX, GeForce 7800 GT, GeForce 7800 GS, GeForce 7800 SLI + , GeForce Go 7800, GeForce Go 7800 GTX, GeForce 6800 GS, GeF + orce 6800, GeForce 6800 LE, GeForce 6800 XT, GeForce Go 6800 + , GeForce Go 6800 Ultra, GeForce 6800, GeForce 6600 GT, GeFo + rce 6600, GeForce 6200, GeForce 6600 LE, GeForce 7800 GS, Ge + Force 6800 GS, GeForce 6800 Ultra, GeForce 6600 GT, GeForce + 6600, GeForce 6600 LE, GeForce 6600 VE, GeForce Go 6600, GeF + orce 6610 XL, GeForce Go 6600 TE/6200 TE, GeForce 6700 XL, G + eForce Go 6600, GeForce Go 6600 GT, GeForce 6200, GeForce 65 + 00, GeForce 6200 TurboCache(TM), GeForce 6200SE TurboCache(T + M), GeForce 6200 LE, GeForce Go 6200, GeForce Go 6400, GeFor + ce Go 6200, GeForce Go 6400, GeForce 6250, GeForce 7100 GS, + GeForce 8800 GTX, GeForce 8800 GTS, GeForce 8800 Ultra, Tesl + a C870, GeForce 7350 LE, GeForce 7300 LE, GeForce 7300 SE/72 + 00 GS, GeForce Go 7200, GeForce Go 7300, GeForce Go 7400, Ge + Force 7500 LE, GeForce 7300 GS, GeForce 6800, GeForce 6800 L + E, GeForce 6800 GT, GeForce 6800 XT, GeForce 6200, GeForce 6 + 200 A-LE, GeForce 6150, GeForce 6150 LE, GeForce 6100, GeFor + ce Go 6150, GeForce Go 6100, GeForce 7900 GTX, GeForce 7900 + GT/GTO, GeForce 7900 GS, GeForce 7950 GX2, GeForce 7950 GX2, + GeForce 7950 GT, GeForce Go 7950 GTX, GeForce Go 7900 GS, G + eForce Go 7900 GTX, GeForce 7600 GT, GeForce 7600 GS, GeForc + e 7900 GS, GeForce 7950 GT, GeForce 7650 GS, GeForce 7600 GT + , GeForce 7600 GS, GeForce 7300 GT, GeForce 7600 LE, GeForce + 7300 GT, GeForce Go 7600, GeForce Go 7600 GT, GeForce 6150S + E nForce 430, GeForce 6100 nForce 405, GeForce 6100 nForce 4 + 00, GeForce 6100 nForce 420, GeForce 8600 GTS, GeForce 8600 + GT, GeForce 8600 GT, GeForce 8400 GS, GeForce 9500M GS, GeFo + rce 8600M GT, GeForce 8700M GT, GeForce 8400 SE, GeForce 850 + 0 GT, GeForce 8400 GS, GeForce 8300 GS, GeForce 8400 GS, GeF + orce 8600M GS, GeForce 8400M GT, GeForce 8400M GS, GeForce 8 + 400M G, GeForce 9400 GT, GeForce 7150M / nForce 630M, GeForc + e 7000M / nForce 610M, GeForce 7050 PV / NVIDIA nForce 630a, + GeForce 7050 PV / NVIDIA nForce 630a, GeForce 7025 / NVIDIA + nForce 630a, GeForce GTX 280, GeForce GTX 260, GeForce 8800 + GTS 512, GeForce 8800 GT, GeForce 9800 GX2, GeForce 8800 GS + , GeForce 8800M GTS, GeForce 8800M GTX, GeForce 8800 GS, GeF + orce 9600 GSO, GeForce 8800 GT, GeForce 9800 GTX, GeForce 96 + 00 GT, GeForce 9600 GS, GeForce 9800M GTS, GeForce 9800M GTS + , GeForce 9600M GT, GeForce 9600M GS, GeForce 9500M G, GeFor + ce 9300 GS, GeForce 8400 GS, GeForce 9300M GS, GeForce 7150 + / NVIDIA nForce 630i, GeForce 7100 / NVIDIA nForce 630i, GeF + orce 7050 / NVIDIA nForce 610i, GeForce 8300, GeForce 8200, + nForce 730a, GeForce 8200, GeForce 8100 / nForce 720a, Quadr + o FX 4000, Quadro FX 4500, Quadro FX Go1400, Quadro FX 3450/ + 4000 SDI, Quadro FX 1400, Quadro FX 4400/Quadro FX 3400, Qua + dro NVS 440, Quadro FX 540M, Quadro FX 550, Quadro FX 540, Q + uadro NVS 285, Quadro FX 5600, Quadro FX 4600, Quadro NVS 11 + 0M, Quadro NVS 110M, Quadro NVS 120M, Quadro FX 350M, Quadro + FX 350, Quadro NVS 210S / NVIDIA GeForce 6150LE, Quadro FX + 2500M, Quadro FX 1500M, Quadro FX 5500, Quadro FX 3500, Quad + ro FX 1500, Quadro FX 4500 X2, Quadro FX 560, Quadro FX 370, + Quadro NVS 320M, Quadro FX 570M, Quadro FX 1600M, Quadro FX + 570, Quadro FX 1700, Quadro NVS 140M, Quadro NVS 130M, Quad + ro NVS 135M, Quadro FX 360M, Quadro NVS 290, Quadro FX 3700, + Quadro FX 3600M + . + See /usr/share/doc/nvidia-glx/README.txt.gz for a complete list + of supported GPUs and PCIIDs + . + +Package: nvidia-glx-185-dev +Architecture: i386 amd64 lpia +Depends: nvidia-glx-185 (>= #VERSION#) +Provides: libgl-dev, libgl1-mesa-dev, mesa-common-dev, nvidia-glx-dev +Conflicts: libgl-dev, libgl1-mesa-dev,mesa-common-dev, nvidia-glx-dev +Replaces: libgl-dev, libgl1-mesa-dev, mesa-common-dev, + nvidia-glx-180-dev, nvidia-glx-177-dev, nvidia-glx-173-dev, nvidia-glx-96-dev, + nvidia-glx-71-dev, +Description: NVIDIA binary Xorg driver development files + This package contains the NVIDIA binary Xorg driver + development files. + . + For more information on this source package visit NVIDIA's homepage + at http://www.nvidia.com/ . + +Package: nvidia-185-kernel-source +Architecture: i386 amd64 lpia +Depends: make, sed (>> 3.0), dkms, linux-libc-dev, libc6-dev, linux-headers-generic | linux-headers, + patch +Recommends: nvidia-glx-185 (>= #VERSION#) +Provides: nvidia-kernel-source +Conflicts: nvidia-kernel-source +Replaces: nvidia-kernel-src, nvidia-185-kernel-source, nvidia-180-kernel-source, + nvidia-177-kernel-source, nvidia-173-kernel-source, nvidia-96-kernel-source, + nvidia-71-kernel-source, nvidia-kernel-source +Description: NVIDIA binary kernel module source + This package builds the NVIDIA Xorg binary kernel module + needed by nvidia-glx. The drivers provide optimized hardware acceleration + of OpenGL applications via a direct-rendering X Server AGP, + PCIe, SLI, TV-out, and flat panel displays are also supported. + . + PLEASE read /usr/share/doc/nvidia-kernel-source/README.Debian for building + information. + . + +Package: nvidia-185-modaliases +Section: admin +Architecture: i386 amd64 lpia +Provides: nvidia-185-modaliases +Description: Modaliases for the NVIDIA binary X.Org driver + The modaliases provide a list of pci id's which makes it possible to + detect the model of a graphic card. + +Package: nvidia-185-libvdpau +Architecture: i386 amd64 lpia +Provides: nvidia-libvdpau +Replaces: nvidia-glx-177, nvidia-glx-180 (<= 180.22), nvidia-180-libvdpau +Description: Video Decode and Presentation API for Unix + This library provides NVIDIA's implementation of the Video Decode + and presentation API. It provides acceleration for NVIDIA 7 and later + series cards for h264 video. + +Package: nvidia-185-libvdpau-dev +Architecture: i386 amd64 lpia +Depends: nvidia-185-libvdpau (>= #VERSION#) +Provides: nvidia-libvdpau-dev +Replaces: nvidia-glx-180-dev (<= 180.22), nvidia-180-libvdpau-dev +Description: Video Decode and Presentation API for Unix development files + This library provides NVIDIA's implementation of the Video Decode + and presentation API. It provides acceleration for NVIDIA 7 and later + series cards for h264 video. + . + This provides the necessary headers for applications to enable VDPAU + support. + +Package: nvidia-glx-180 +Architecture: i386 amd64 lpia +Depends: nvidia-glx-185 +Description: Transitional package for nvidia-glx-185 + This is a transitional package for nvidia-glx-180, and can be safely removed + after the installation is complete. + +Package: nvidia-glx-180-dev +Architecture: i386 amd64 lpia +Depends: nvidia-glx-185-dev +Description: Transitional package for nvidia-glx-185-dev + This is a transitional package for nvidia-glx-185-dev, and can be safely removed + after the installation is complete. + +Package: nvidia-180-kernel-source +Architecture: i386 amd64 lpia +Depends: nvidia-185-kernel-source +Description: Transitional package for nvidia-glx-185-kernel-source + This is a transitional package for nvidia-glx-185-kernel-source, and can be + safely removed after the installation is complete. + +Package: nvidia-180-modaliases +Section: admin +Architecture: i386 amd64 lpia +Depends: nvidia-185-modaliases +Description: Transitional package for nvidia-185-modaliases + This is a transitional package for nvidia-185-modaliases, and can be safely removed + after the installation is complete. + +Package: nvidia-180-libvdpau +Architecture: i386 amd64 lpia +Depends: nvidia-185-libvdpau +Description: Transitional package for nvidia-185-libvdpau + This is a transitional package for nvidia-185-libvdpau, and can be safely removed + after the installation is complete. + +Package: nvidia-180-libvdpau-dev +Architecture: i386 amd64 lpia +Depends: nvidia-185-libvdpau +Description: Transitional package for nvidia-185-libvdpau-dev + This is a transitional package for nvidia-185-libvdpau-dev, and can be safely removed + after the installation is complete. --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185.postrm +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185.postrm @@ -0,0 +1,77 @@ +#! /bin/sh +# postrm script for nvidia-glx-185 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + remove|purge) + if [ "$(dpkg-divert --list /usr/lib/libGL.so.1 | awk '{ print $7 }')" = "nvidia-glx-185" ]; then + dpkg-divert --remove --rename --package nvidia-glx-185 --divert /usr/lib/nvidia/libGL.so.1.xlibmesa /usr/lib/libGL.so.1 > /dev/null + dpkg-divert --remove --rename --package nvidia-glx-185 --divert /usr/lib/nvidia/libGL.so.1.2.xlibmesa /usr/lib/libGL.so.1.2 > /dev/null + fi + if [ "$(dpkg-divert --list /usr/lib/xorg/modules/extensions/libGLcore.so | awk '{ print $7 }')" = "nvidia-glx-185" ]; then + dpkg-divert --remove --rename --package nvidia-glx-185 --divert /usr/lib/nvidia/libGLcore.so.xlibmesa /usr/lib/xorg/modules/extensions/libGLcore.so > /dev/null + fi + if [ "$(dpkg-divert --list /usr/lib/xorg/modules/extensions/libglx.so | awk '{ print $7 }')" = "nvidia-glx-185" ]; then + dpkg-divert --remove --rename --package nvidia-glx-185 --divert /usr/lib/nvidia/libglx.so.xserver-xorg-core /usr/lib/xorg/modules/extensions/libglx.so > /dev/null + fi + + if [ "$(dpkg-divert --list /usr/lib32/libGL.so | awk '{ print $7 }')" = "nvidia-glx-185" ]; then + rm -f /usr/lib32/libGL.so > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-185 --divert /usr/lib32/nvidia/libGL.so.xlibmesa /usr/lib32/libGL.so > /dev/null + fi + + if [ "$(dpkg-divert --list /usr/lib32/libGL.so.1 | awk '{ print $7 }')" = "nvidia-glx-185" ]; then + rm -f /usr/lib32/libGL.so.1 > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-185 --divert /usr/lib32/nvidia/libGL.so.1.xlibmesa /usr/lib32/libGL.so.1 > /dev/null + fi + if [ "$(dpkg-divert --list /usr/lib32/libGL.so.1.2 | awk '{ print $7 }')" = "nvidia-glx-185" ]; then + rm -f /usr/lib32/libGL.so.1.2 > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-185 --divert /usr/lib32/nvidia/libGL.so.1.2.xlibmesa /usr/lib32/libGL.so.1.2 > /dev/null + fi + + rm -f /usr/lib/xorg/modules/extensions/libglx.so.185.18.31 2> /dev/null || true + if [ -d /usr/lib/nvidia ]; then + rmdir --ignore-fail-on-non-empty /usr/lib/nvidia/ > /dev/null || true; + fi + if [ -d /usr/lib32/nvidia ]; then + rmdir --ignore-fail-on-non-empty /usr/lib32/nvidia > /dev/null || true; + fi + ldconfig + + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + +esac + + +#rm -f /usr/lib/xorg/modules/extensions/libglx.so.185.18.31 2> /dev/null || true + + + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185.dirs +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185.dirs @@ -0,0 +1,13 @@ +usr/bin +usr/lib +usr/share/applications +usr/share/man/man1 +usr/share/lintian/overrides +usr/share/pixmaps +usr/lib/xorg/modules/drivers +usr/lib/xorg/modules/extensions +usr/lib/tls +usr/lib32/tls +usr/lib/nvidia +usr/lib32/nvidia +usr/share/bug/nvidia-glx-177 --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185.preinst +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185.preinst @@ -0,0 +1,207 @@ +#! /bin/sh +# preinst script for nvidia-glx-185 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# For details see /usr/share/doc/packaging-manual/ + +if [ `dpkg --print-architecture` = "amd64" ]; then + HAS_LIB32="yes" +fi + +case "$1" in + install|upgrade) + + # clean up from old diversions + if [ -d /usr/share/nvidia-glx/diversions ]; then + rm -f /usr/lib/libGL.so.1 + rm -f /usr/lib/libGL.so.1.2 + + dpkg-divert --remove --rename --package nvidia-glx --divert /usr/share/nvidia-glx/diversions/libGL.so.1 /usr/lib/libGL.so.1 > /dev/null + dpkg-divert --remove --rename --package nvidia-glx --divert /usr/share/nvidia-glx/diversions/libGL.so.1.2 /usr/lib/libGL.so.1.2 > /dev/null + + rm -f /usr/lib/xorg/modules/extensions/libGLcore.a + rm -f /usr/lib/xorg/modules/extensions/libglx.a + dpkg-divert --remove --rename --package nvidia-glx --divert /usr/share/nvidia-glx/diversions/libGLcore.a /usr/lib/xorg/modules/extensions/libGLcore.a > /dev/null + dpkg-divert --remove --rename --package nvidia-glx --divert /usr/share/nvidia-glx/diversions/libglx.a /usr/lib/xorg/modules/extensions/libglx.a > /dev/null + + rmdir /usr/share/nvidia-glx/diversions || true; + rmdir /usr/share/nvidia-glx || true; + fi + + if [ -d /usr/share/nvidia-glx/diversions-X11R6 ]; then + + rm -f /usr/X11R6/lib/libGL.so.1 + rm -f /usr/X11R6/lib/libGL.so.1.2 + + dpkg-divert --remove --rename --package nvidia-glx --divert /usr/share/nvidia-glx/diversions-X11R6/libGL.so.1 /usr/X11R6/lib/libGL.so.1 > /dev/null + dpkg-divert --remove --rename --package nvidia-glx --divert /usr/share/nvidia-glx/diversions-X11R6/libGL.so.1.2 /usr/X11R6/lib/libGL.so.1.2 > /dev/null + + rmdir /usr/share/nvidia-glx/diversions-X11R6 || true; + rmdir /usr/share/nvidia-glx || true; + fi + # remove X11R6 diversions + + if dpkg-divert --list /usr/X11R6/lib/libGL.so.1 | grep 'nvidia-glx' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx --divert /usr/X11R6/lib/nvidia/libGL.so.1.xlibmesa /usr/X11R6/lib/libGL.so.1 > /dev/null + fi + + if dpkg-divert --list /usr/X11R6/lib/libGL.so.1.2 | grep 'nvidia-glx' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx --divert /usr/X11R6/lib/nvidia/libGL.so.1.2.xlibmesa /usr/X11R6/lib/libGL.so.1.2 > /dev/null + fi + if dpkg-divert --list /usr/X11R6/lib/modules/extensions/libGLcore.a | grep 'nvidia-glx' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx --divert /usr/X11R6/lib/nvidia/libGLcore.a.xlibmesa /usr/X11R6/lib/modules/extensions/libGLcore.a > /dev/null + fi + if dpkg-divert --list /usr/X11R6/lib/modules/extensions/libglx.a | grep 'nvidia-glx' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx --divert /usr/X11R6/lib/nvidia/libglx.a.xlibmesa /usr/X11R6/lib/modules/extensions/libglx.a > /dev/null + fi + if dpkg-divert --list /usr/X11R6/lib/modules/extensions/libglx.so | grep 'nvidia-glx' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx --divert /usr/X11R6/lib/nvidia/libglx.so.xlibmesa /usr/X11R6/lib/modules/extensions/libglx.so > /dev/null + fi + + # make sure these diversions don't exist anymore + if dpkg-divert --list /usr/lib/libGL.so | grep 'nvidia-glx-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-dev-envy --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null || true + fi + if dpkg-divert --list /usr/lib/libGL.so | grep 'nvidia-glx-177-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-177-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null || true + fi + if dpkg-divert --list /usr/lib/libGL.so | grep 'nvidia-glx-new-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-new-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-new-dev-envy --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null || true + fi + if dpkg-divert --list /usr/lib/libGL.a | grep 'nvidia-glx-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-dev --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-dev-envy --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null || true + fi + if dpkg-divert --list /usr/lib/libGL.a | grep 'nvidia-glx-new-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-new-dev --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-new-dev-envy --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null || true + fi + if dpkg-divert --list /usr/X11R6/lib/libGL.so | grep 'nvidia-glx-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-dev --divert /usr/X11R6/lib/nvidia/libGL.so.xlibmesa /usr/X11R6/lib/libGL.so > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-dev-envy --divert /usr/X11R6/lib/nvidia/libGL.so.xlibmesa /usr/X11R6/lib/libGL.so > /dev/null || true + fi + if dpkg-divert --list /usr/X11R6/lib/libGL.so | grep 'nvidia-glx-new-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-new-dev --divert /usr/X11R6/lib/nvidia/libGL.so.xlibmesa /usr/X11R6/lib/libGL.so > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-new-dev-envy --divert /usr/X11R6/lib/nvidia/libGL.so.xlibmesa /usr/X11R6/lib/libGL.so > /dev/null || true + fi + if dpkg-divert --list /usr/X11R6/lib/libGL.so | grep 'nvidia-glx-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-dev --divert /usr/X11R6/lib/nvidia/libGL.a.xlibmesa /usr/X11R6/lib/libGL.a > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-dev-envy --divert /usr/X11R6/lib/nvidia/libGL.a.xlibmesa /usr/X11R6/lib/libGL.a > /dev/null || true + fi + if dpkg-divert --list /usr/X11R6/lib/libGL.so | grep 'nvidia-glx-new-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-new-dev --divert /usr/X11R6/lib/nvidia/libGL.a.xlibmesa /usr/X11R6/lib/libGL.a > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-new-dev-envy --divert /usr/X11R6/lib/nvidia/libGL.a.xlibmesa /usr/X11R6/lib/libGL.a > /dev/null || true + fi + + + # Make sure that the new diversions are not there: + # NOTE: if a new driver is added it will have to be added here + set -a "nvidia-glx" "nvidia-glx-new" "nvidia-glx-legacy" "nvidia-glx-envy"\ + "nvidia-glx-new-envy" "nvidia-glx-legacy-envy" "nvidia-glx-180" \ + "nvidia-glx-177" "nvidia-glx-173" "nvidia-glx-96" "nvidia-glx-71" "nvidia-glx-185" + + while [ $# -ge 1 ]; do + glxname=$1 + glxdevname="$glxname-dev" + + if [ -n "$HAS_LIB32" ]; then + #Remove diversions of /usr/lib32/libGL.so -- only for the new name schemes (nvidia-glx-VER) + if dpkg-divert --list $glxname | grep "/usr/lib32/libGL.so " > /dev/null ; then + rm -f /usr/lib32/libGL.so > /dev/null || true + dpkg-divert --remove --rename --package $glxname --divert /usr/lib32/nvidia/libGL.so.xlibmesa /usr/lib32/libGL.so > /dev/null || true + fi + + #Remove diversion of /usr/lib32/libGL.so.1 + if dpkg-divert --list $glxname | grep /usr/lib32/libGL.so.1 > /dev/null ; then + rm -f /usr/lib32/libGL.so.1 > /dev/null || true + dpkg-divert --remove --rename --package $glxname --divert /usr/lib32/nvidia/libGL.so.1.xlibmesa /usr/lib32/libGL.so.1 > /dev/null || true + fi + + #Remove diversion of /usr/lib32/libGL.so.1.2 + if dpkg-divert --list $glxname | grep /usr/lib32/libGL.so.1.2 > /dev/null ; then + rm -f /usr/lib32/libGL.so.1.2 > /dev/null || true + dpkg-divert --remove --rename --package $glxname --divert /usr/lib32/nvidia/libGL.so.1.2.xlibmesa /usr/lib32/libGL.so.1.2 > /dev/null || true + fi + + fi + + + #Remove diversion of /usr/lib/xorg/modules/extensions/libGLcore.so + if dpkg-divert --list $glxname | grep /usr/lib/xorg/modules/extensions/libGLcore.so > /dev/null ; then + dpkg-divert --remove --rename --package $glxname --divert /usr/lib/nvidia/libGLcore.so.xlibmesa /usr/lib/xorg/modules/extensions/libGLcore.so > /dev/null || true + fi + + #Remove diversion of /usr/lib/xorg/modules/extensions/libglx.so + if dpkg-divert --list $glxname | grep /usr/lib/xorg/modules/extensions/libglx.so > /dev/null ; then + rm -f /usr/lib/xorg/modules/extensions/libglx.so > /dev/null || true + dpkg-divert --remove --rename --package $glxname --divert /usr/lib/nvidia/libglx.so.xserver-xorg-core /usr/lib/xorg/modules/extensions/libglx.so > /dev/null || true + fi + + #Remove diversion of /usr/lib/libGL.so.1 + if dpkg-divert --list $glxname | grep "/usr/lib/libGL.so.1 " > /dev/null ; then + rm -f /usr/lib/libGL.so.1 > /dev/null || true + dpkg-divert --remove --rename --package $glxname --divert /usr/lib/nvidia/libGL.so.1.xlibmesa /usr/lib/libGL.so.1 > /dev/null || true + fi + + #Remove diversion of /usr/lib/libGL.so.1.2 + if dpkg-divert --list $glxname | grep /usr/lib/libGL.so.1.2 > /dev/null ; then + rm -f /usr/lib/libGL.so.1.2 > /dev/null || true + dpkg-divert --remove --rename --package $glxname --divert /usr/lib/nvidia/libGL.so.1.2.xlibmesa /usr/lib/libGL.so.1.2 > /dev/null || true + fi + + + shift + done #End loop + + + if ! [ -d /usr/lib/nvidia ]; then + mkdir -p /usr/lib/nvidia + fi + + # make new diversions + dpkg-divert --add --rename --package nvidia-glx-185 --divert /usr/lib/nvidia/libGL.so.1.xlibmesa /usr/lib/libGL.so.1 > /dev/null + + dpkg-divert --add --rename --package nvidia-glx-185 --divert /usr/lib/nvidia/libGL.so.1.2.xlibmesa /usr/lib/libGL.so.1.2 > /dev/null + dpkg-divert --add --rename --package nvidia-glx-185 --divert /usr/lib/nvidia/libglx.so.xserver-xorg-core /usr/lib/xorg/modules/extensions/libglx.so > /dev/null + + if [ -n "$HAS_LIB32" ]; then + if ! [ -d /usr/lib32/nvidia ]; then + mkdir -p /usr/lib32/nvidia + fi + dpkg-divert --add --rename --package nvidia-glx-185 --divert /usr/lib32/nvidia/libGL.so.xlibmesa /usr/lib32/libGL.so > /dev/null + dpkg-divert --add --rename --package nvidia-glx-185 --divert /usr/lib32/nvidia/libGL.so.1.xlibmesa /usr/lib32/libGL.so.1 > /dev/null + dpkg-divert --add --rename --package nvidia-glx-185 --divert /usr/lib32/nvidia/libGL.so.1.2.xlibmesa /usr/lib32/libGL.so.1.2 > /dev/null + fi + + dpkg-divert --add --rename --package nvidia-glx-185 --divert /usr/lib/nvidia/libGLcore.so.xlibmesa /usr/lib/xorg/modules/extensions/libGLcore.so > /dev/null + + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-185-kernel-source.README.Debian.in +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-185-kernel-source.README.Debian.in @@ -0,0 +1,171 @@ +nvidia-graphics-drivers for Debian +---------------------------------- + + +INTRODUCTION: +----------------------------------------------------------------------- + +Welcome to Debian NVIDIA packages. This document contains notes on the +kernel module interface for the NVIDIA driver offering. + + +KERNEL MODULE INSTRUCTIONS: +----------------------------------------------------------------------- + +There are TWO ways to build the nvidia-kernel package. Which one depends on +your situation with your kernel. + + METHOD #1: You are running a Debian suppiled kernel or built a + linux-headers package along with your own self-built kernel. + + METHOD #2: You are running your own self-built kernel built from kernel + source. + +*** An additional method is to use module-assistant +(e.g. module-assistant auto-install nvidia) +For more information on module-assistant, see it's man page and package +documentation, + +Which method you choose really depends on what kernel headers you wish to +use, those from a kernel-headers package or those from kernel +source (from which you built your own kernel). + +As mentioned above, if you are running a Debian supplied kernel you will +probably want to choose METHOD #1. If you compile your own kernels, METHOD #2. + + + +PRELIMINARY: +- Decide where you want to build your module. By default it +will build under /usr/src like other kernel modules but you may choose +to build it under your home directory as some people prefer and writing to +/usr violates the FHS. + + +SUPPORT FOR 2.6 KERNELS: +------------------------ +As of 1.0.5336-1, NVIDIA includes support for a 2.6 kernel. No extra steps are +required. + + +HOTPLUG SUPPORT: +------------------------ +As of version 1.0.5336-8 there is hotplug/udev module loading support provided. + + +METHOD #1 Using a linux-headers or kernel-headers package +*********************************************************************** + +As root (or using fakeroot) +1. cd /usr/src + tar xjvf nvidia-kernel.tar.bz2 -C + (It will install in /modules) + - or - + tar xjvf nvidia-kernel.tar.bz2 (if building in /usr/src) + + The standard build location is /usr/src + +2. Find out your kernel version: + + uname -r For example: 2.6.14-2-k7 + +3. Download and install package: linux-headers-2.6.14-2-k7 + It will install in /usr/src/ + Note that packages prior to 2.6.12 used the kernel- prefix rather than + linux- + + Make sure your kernel image and headers have matching release numbers to + avoid possible problems in packages built from different sources. + +4. Set some environment variables (if bash is your shell): + + export KSRC=/usr/src/linux-headers-2.6.14-2-k7 + export KVERS=2.6.14-2-k7 + +5. Then build nvidia-kernel package: + + cd /modules/nvidia-kernel + debian/rules binary_modules + +(You can also combine step 4 and 5 into one line: +KSRC=/usr/src/linux-headers-2.6.14-k7 KVERS=2.6.14-4-k7 debian/rules binary_modules) + +6. Install nvidia-kernel-common on the machine where the module will be +deployed: + + If not installed already + apt-get install nvidia-kernel-common + +7. Install the nvidia-kernel package: + + dpkg -i ../nvidia-kernel-2.6.14-2-k7_#VERSION#-1+_.Custom_i386.deb + ( or similar filename ) + +Now see GENERAL NOTES below method #2 + +METHOD #2: Using your own kernel source headers +*********************************************************************** + +To build the nvidia-kernel deb you need to first make sure you have +kernel-package installed, then do the following: + +As root +1. cd /usr/src + tar xjvf nvidia-kernel.tar.bz2 -C + (It will install in /modules) + - or - + tar xjvf nvidia-kernel.tar.bz2 (if building in /usr/src) + +2. If you are NOT using the default modules location /usr/src/modules + then you must set an environment variable that points to your modules + location. + + export MODULE_LOC=/modules + + This is needed by make-kpkg which is used later. If + is /usr/src there is no need to set this. + +3. Build the modules under MODULE_LOC i.e. /modules + + cd linux (or your kernel source directory) + make-kpkg modules_image + +4. Install nvidia-kernel-common on the machine where the module will be +installed: + + apt-get install nvidia-kernel-common + +5. Install the nvidia-kernel package: + + cd (e.g. /usr/src) + dpkg -i nvidia-kernel-KVER*.deb + +Notes for method #2: + +- It is advised not to clean the kernel source tree between +"make-kpkg kernel_image" and "make-kpkg modules_image". + +- The Riva framebuffer is known to conflict with the nvidia X driver. If you +are using X it would be wise not to compile it in. The vesa framebuffer is +known to work in some cases, and not in others. (people have recently been +having problems with the vesa driver as well) + +GENERAL NOTES: + +Also you must add any users who wish to use OpenGL applications to the group +video. You can do this with: + + adduser username video + +Also note for AGP issues and further information please see the NVIDIA +README file (README.gz) in the nvidia-glx package + +An old nvidia.o might be already loaded (run 'lsmod' to check) so +do 'rmmod nvidia.o' to remove the module from memory. + + +For any news on this package check http://people.debian.org/~rdonald and +http://bugs.debian.org/nvidia-kernel-source + + + -- Randall Donald , Fri, 30 Apr 2004 19:02:04 -0700 --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185.postrm.in +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185.postrm.in @@ -0,0 +1,77 @@ +#! /bin/sh +# postrm script for nvidia-glx-185 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + remove|purge) + if [ "$(dpkg-divert --list /usr/lib/libGL.so.1 | awk '{ print $7 }')" = "nvidia-glx-185" ]; then + dpkg-divert --remove --rename --package nvidia-glx-185 --divert /usr/lib/nvidia/libGL.so.1.xlibmesa /usr/lib/libGL.so.1 > /dev/null + dpkg-divert --remove --rename --package nvidia-glx-185 --divert /usr/lib/nvidia/libGL.so.1.2.xlibmesa /usr/lib/libGL.so.1.2 > /dev/null + fi + if [ "$(dpkg-divert --list /usr/lib/xorg/modules/extensions/libGLcore.so | awk '{ print $7 }')" = "nvidia-glx-185" ]; then + dpkg-divert --remove --rename --package nvidia-glx-185 --divert /usr/lib/nvidia/libGLcore.so.xlibmesa /usr/lib/xorg/modules/extensions/libGLcore.so > /dev/null + fi + if [ "$(dpkg-divert --list /usr/lib/xorg/modules/extensions/libglx.so | awk '{ print $7 }')" = "nvidia-glx-185" ]; then + dpkg-divert --remove --rename --package nvidia-glx-185 --divert /usr/lib/nvidia/libglx.so.xserver-xorg-core /usr/lib/xorg/modules/extensions/libglx.so > /dev/null + fi + + if [ "$(dpkg-divert --list /usr/lib32/libGL.so | awk '{ print $7 }')" = "nvidia-glx-185" ]; then + rm -f /usr/lib32/libGL.so > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-185 --divert /usr/lib32/nvidia/libGL.so.xlibmesa /usr/lib32/libGL.so > /dev/null + fi + + if [ "$(dpkg-divert --list /usr/lib32/libGL.so.1 | awk '{ print $7 }')" = "nvidia-glx-185" ]; then + rm -f /usr/lib32/libGL.so.1 > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-185 --divert /usr/lib32/nvidia/libGL.so.1.xlibmesa /usr/lib32/libGL.so.1 > /dev/null + fi + if [ "$(dpkg-divert --list /usr/lib32/libGL.so.1.2 | awk '{ print $7 }')" = "nvidia-glx-185" ]; then + rm -f /usr/lib32/libGL.so.1.2 > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-185 --divert /usr/lib32/nvidia/libGL.so.1.2.xlibmesa /usr/lib32/libGL.so.1.2 > /dev/null + fi + + rm -f /usr/lib/xorg/modules/extensions/libglx.so.#VERSION# 2> /dev/null || true + if [ -d /usr/lib/nvidia ]; then + rmdir --ignore-fail-on-non-empty /usr/lib/nvidia/ > /dev/null || true; + fi + if [ -d /usr/lib32/nvidia ]; then + rmdir --ignore-fail-on-non-empty /usr/lib32/nvidia > /dev/null || true; + fi + ldconfig + + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + +esac + + +#rm -f /usr/lib/xorg/modules/extensions/libglx.so.#VERSION# 2> /dev/null || true + + + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185.README.Debian +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185.README.Debian @@ -0,0 +1,75 @@ +nvidia-graphics-drivers for Ubuntu +---------------------------------- + + +INTRODUCTION: +----------------------------------------------------------------------- + +Welcome to the Ubuntu NVIDIA packages. This document has notes on the +X Server and GL libraries of the NVIDIA driver offering. + + +A Note about Thread Local Storage (TLS): +---------------------------------------- +Under 2.6.x kernels a new TLS method is used and different libraries are +required. NVIDIA provides these libraries and at boot time (via +/etc/init.d/nvidia-glx) a test is performed on your system to see if +your require these extra libraries. Having the TLS libraries installed +(in /usr/lib/tls and libglx.so) running under a 2.4.x kernel will cause +problems when running GL applications. Likewise, not having these libraries +installed under 2.6.x might prevent X from starting at all. + +Simple Explanation: +To switch back and forth between the two systems simply run: + + /etc/init.d/nvidia-glx start + + This is run automatically at boot time. + +To force a certain setting (e.g. you may have a 2.4 kernel patched for +NPTL) place USE_TLS=1 in /etc/defaults/nvidia-glx for using the nvidia tls +libraries. USE_TLS=0 for not using tls libraries. This isn't normally +necessary for most users. + + +What Happens: +Symlinks are created in /usr/lib/tls from libraries installed in +/usr/lib/nvidia. + + +For any news on this package check http://people.debian.org/~rdonald and +http://bugs.debian.org/nvidia-glx + + +NOTES ABOUT GLX DRIVER AND OPENGL: +----------------------------------------------------------------------- + +Using the nvidia X driver requires some user modification. + + First, modify your /etc/X11/xorg.conf + + Minimum requirements: + In Section "Device" + Change Driver "nv" to Driver "nvidia" + + See /usr/share/doc/nvidia-glx/README.gz and + /usr/share/doc/nvidia-glx/examples/XF86Config.sample.gz + for descriptions of all supported options. + Appendix F: CONFIGURING AGP is an important section. + + +Note about OpenGL headers: The header files are not installed to +/usr/include/GL but to /usr/share/doc/nvidia-glx-dev/include/GL. +This allows use of and not overwriting of the +preinstalled headers (e.g. xlibmesa-dev). If you wish to use the NVIDIA +supplied headers (e.g. you require NVIDIA GL extensions) you must copy them to +/usr/include/GL yourself or include /usr/share/doc/nvidia-glx-dev/include in +your includes path when compiling. + + +Also note all users using GLX must be in group video. (i.e. adduser +video) + + + + -- Randall Donald , Mon, 31 Mar 2003 23:40:05 -0800 --- nvidia-graphics-drivers-180-185.18.36.orig/debian/changelog +++ nvidia-graphics-drivers-180-185.18.36/debian/changelog @@ -0,0 +1,632 @@ +nvidia-graphics-drivers-180 (185.18.36-0ubuntu8) karmic; urgency=low + + * debian/control, debian/control.in: + - Add dependency on patch to nvidia-$VER-kernel-source (LP: #453961). + + -- Alberto Milone Mon, 19 Oct 2009 10:49:30 +0200 + +nvidia-graphics-drivers-180 (185.18.36-0ubuntu7) karmic; urgency=low + + * debian.binary/patches, dkms.conf.in: + - fall_back_on_mtrr_if_no_pat.patch: Fall back on MTRRs if the + CPU doesn't support the PAT (LP: #391461). + + -- Alberto Milone Wed, 14 Oct 2009 14:30:13 +0200 + +nvidia-graphics-drivers-180 (185.18.36-0ubuntu6) karmic; urgency=low + + * debian/nvidia-185-kernel-source.postinst: + - There were bugs of undefined variables in the smart buildd detection + scripts. These should be upstream DKMS anyway, so reference them + from there (LP: #450493) + + -- Mario Limonciello Tue, 13 Oct 2009 22:24:00 -0500 + +nvidia-graphics-drivers-180 (185.18.36-0ubuntu5) karmic; urgency=low + + * debian/upstream_info: + - Treat lpia as i386 so as to fix FTBFS. + * debian/nvidia-185-kernel-source.postinst: + - Re-use the smart buildd detection system that we already use in the + bcmwl-kernel-source package so as to allow pre-compiled modules when + the nvidia driver is included in a customised image. The old behaviour + is preserved in any other case. + * debian/control, debian/control.in, debian.binary/control.template: + - Set arch to lpia for every package. + + -- Alberto Milone Mon, 12 Oct 2009 12:51:29 +0200 + +nvidia-graphics-drivers-180 (185.18.36-0ubuntu4) karmic; urgency=low + + [ Alberto Milone ] + * debian/control, debian/control.in: + - Change the section of the -modaliases package to "admin" as the package + is not "restricted" (LP: #429153). + - Add the lpia architecture to the -185 packages. + + [ Kees Cook ] + * debian/control.in: + - Add build dependency on execstack. + * debian/rules: + - Drop executable stack markings from precompiled binaries (LP: #409456). + + -- Alberto Milone Thu, 08 Oct 2009 16:42:13 +0200 + +nvidia-graphics-drivers-180 (185.18.36-0ubuntu3) karmic; urgency=low + + * Re-introduce a patch to allow the NVIDIA drivers to build against the RT + kernel (LP: #413296 + + -- Luke Yelavich Sat, 26 Sep 2009 22:10:10 +1000 + +nvidia-graphics-drivers-180 (185.18.36-0ubuntu2) karmic; urgency=low + + * debian/control.in: + - Attempt to clean up the provides/conflicts/replaces to only have + currently valid package names (for Karmic) to avoid confusion. + - For the transitional packages, don't conflict, so that they should + be installable. (LP: #418681) + + -- Mario Limonciello Fri, 28 Aug 2009 01:11:58 -0500 + +nvidia-graphics-drivers-180 (185.18.36-0ubuntu1) karmic; urgency=low + + * New upstream release (LP: #408561) + - Fixed a bug that caused kernel panics when starting X on some mobile GPUs + - Fixed an interaction problem between VDPAU and PowerMizer when using + VDPAU solely as a display mechanism, and not to decode video streams. The + GPU performance level should now be raised, if required, in this scenario. + - Fixed VDPAU to avoid "display preemption" in some cases where a + VdpOutputSurface is deleted while it is still active (either queued or + visible) in a VdpPresentationQueue. In particular, this can occur in + MPlayer when using the "-fs" option, and could completely prevent VDPAU + from operating successfully, depending on the exact timing conditions. + * debian/nvidia-glx-185.preinst: + - Update to print-architecture rather than print-installation-architecture + + -- Mario Limonciello Sun, 23 Aug 2009 11:38:08 -0500 + +nvidia-graphics-drivers-180 (185.18.31-0ubuntu1) karmic; urgency=low + + * Rename package as -185 and make -180 a transitional package. + * Drop drm_agp_memory-2.6.31.patch as the module builds with 2.6.31 + kernels now. + * New upstream release: + -Fixed a crash on certain mobile GPUs. + -Added code to forcibly terminate long-running CUDA kernels when Ctrl-C + is pressed. + -Fixed a bug that could cause occasional memory corruption problems or + segmentation faults when running OpenGL applications on Quadro GPUs. + -Fixed a deadlock in the OpenGL library that could be triggered in certain + rare circumstances on Quadro GPUs. + -Fixed an interaction problem between PowerMizer and CUDA applications + that caused the performance level to be reduced while the CUDA kernel is + running. + -Made CUDA compute-exclusive mode persistent across GPU resets. + -Fixed the order of outputs in the GPUScaling nvidia-settings property. + -Fixed a bug that caused graphics corruption in some OpenGL applications + when the Unified Back Buffer is enabled the application window is moved. + -Fixed a bug that caused glXGetVideoSyncSGI, glXWaitVideoSyncSGI, and + glXGetRefreshRateSGI to operate on the wrong screen when there are + multiple X screens. + -Fixed a bug that causes corruption or GPU errors when an application + paints a redirected window whose background is set to ParentRelative on + X.Org servers older than 1.5. This was typically triggered by running + Kopete while using Compiz or Beryl. + -Fixed a bug in VDPAU that could cause visible corruption when decoding + H.264 clips with alternating frame/field coded reference pictures, and a + video surface is concurrently removed from the DPB, and re-used as the + decode target, in a single decode operation. This affected all GPUs + supported by VDPAU. + -Fixed a bug in VDPAU that could cause visible corruption near the bottom + edge of the picture when decoding VC-1 advanced profile clips whose + heights are not exact multiples of 16 pixels, on G98 and MCP7x (IGP) GPUs. + -Enhanced VDPAU to better handle corrupt/invalid H.264 bitstreams on G84, + G86, G92, G94, G96, or GT200 GPUs. This should prevent most cases of + "display preemption" that are caused by bitstream errors. + -Fixed an X server crash when using the VDPAU overlay-based presentation + queue and VT-switching away from the X server. + -Enhanced VDPAU's detection of the GPU's video decode capabilities. + -Fixed a bug in VDPAU that could cause ghosting/flashing issues when + decoding H.264 clips, in certain full DPB scenarios, on G98 and MCP7x. + -Fixed VDPAU to detect an attempt to destroy the VdpDevice object when + other device-owned objects still exist. VDPAU now triggers + "display preemption", and returns an error, when this occurs. + -Enhanced VDPAU's error handling and resource management in presentation + queue creation and operation. This change correctly propagates all errors + back to the client application, and avoids some resource leaks. + + -- Alberto Milone Fri, 07 Aug 2009 15:45:14 +0200 + +nvidia-graphics-drivers-180 (185.18.14-0ubuntu3) karmic; urgency=low + + * nvidia-rt-compat.patch: Dropped, the driver builds fine against the + 2.6.29.5 realtime kernel without it. + + -- Luke Yelavich Tue, 07 Jul 2009 19:20:57 +1000 + +nvidia-graphics-drivers-180 (185.18.14-0ubuntu2) karmic; urgency=low + + * Add in drm_agp_memory-2.6.31.patch to enable 2.6.31 support + until NVIDIA has it in their next driver release. (LP: #394262) + - Thanks everyone in that bug for finding and testing this patch. + - Note: this patch appears to be a bit of a hack (removing i2c support) + so take it with a grain of salt if there are still problems. + + -- Mario Limonciello Thu, 02 Jul 2009 12:30:34 -0500 + +nvidia-graphics-drivers-180 (185.18.14-0ubuntu1) karmic; urgency=low + + * New upstream release (LP: #376067): + - Fixed a Xinerama drawable resource management problem that can + cause GLXBadDrawable errors in certain cases, such as when Wine + applications are run. + (LP: #344721) + - Fixed XineramaQueryScreens to return 0 screens instead of 1 + screen with the geometry of screen 0 when XineramaIsActive + returns false. This conforms to the Xinerama manual page and + fixes an interaction problem with Compiz when there is more + than one X screen. + - Moved kernel module loading earlier in the X driver's + initialization, to facilitate more graceful fallbacks if the + kernel module cannot be loaded. Removed the LoadKernelModule X + configuration option. + - Added support for new horizontal interlaced and checkerboard + passive stereo modes. + - Fixed an OpenGL driver crash while running Bibble 5. + - Fixed a DisplayPort interaction problem with power management + suspend/resume events. + - Fixed occasional X driver memory management performance + problems when a composite manager is running. + (LP: 294925) + - Fixed a bug with VT-switching or mode-switching while using + Compiz; the bug could lead to a corrupted desktop (e.g., a + white screen) or in the worst case an X server crash. + - Fixed a bug that could cause GPU errors in some cases while + driving Quadro SDI products. + - Fixed a several second hang when VT-switching while OpenGL + stereo applications were running on pre-G80 Quadro GPUs. + - Added support for multiple swap group members on G80 and later + Quadro GPUs. + - Fixed the behavior of the NV_CTRL_FRAMELOCK_SYNC_DELAY + NV-CONTROL attribute on Quadro G-Sync II. + - Fixed a problem with Quadro SDI where transitioning from + "clone mode" to "OpenGL mode" would fail. + - Fixed VDPAU to eliminate some cases of corruption when decoding + H.264 video containing field-coded reference frames on G84, G86, + G92, G94, G96, or GT200 GPUs. Such streams are commonly found in + DVB broadcasts. + - Slightly improved the performance of the VDPAU noise reduction + algorithm. + - Enhanced VDPAU to validate whether overlay usage is supported by + the current hardware configuration, and to automatically fall + back to the blit-based presentation queue if required. + - Fixed error checking in VdpVideoMixerRender, to reject calls + that specify more layers than the VdpMixer was created with. + - Modified VDPAU's VDPAU_DEBUG code to emit a complete backtrace + on all platforms, not just on 32-bit Linux. + - Improved interaction between VDPAU and PowerMizer; appropriate + performance levels should now be chosen for video playback of all + standard resolutions on all supported GPUs. + - Fixed a bug in VDPAU that sometimes caused "display preemption" + when the VdpDecoderCreate function failed. + - Fixed a potential segfault in the VDPAU trace library, triggered + by a multi-threaded application creating a new VdpDevice in one + thread, at the same time that another thread detected "display + preemption". + - Improved compatibility with recent Linux kernels. + - OpenOffice and Skype no longer have flickering buttons on mouseover + when compiz is enabled. (LP: #286932) + - smplayer and VirtualBox no longer display video corruption with + composite (LP: #364764) + + -- Bryce Harrington Fri, 26 Jun 2009 22:35:09 -0700 + +nvidia-graphics-drivers-180 (180.53-0ubuntu1) jaunty-proposed; urgency=low + + * New upstream release (LP: #364965) + - Added support for the following GPUs: + o GeForce 9600 GSO 512 + o GeForce 9400 GT + o GeForce GTS 250 + o GeForce GT 130 + o GeForce GT 140 + - Updated nvidia-bug-report.sh to compress its log file; running + `nvidia-bug-report.sh` now produces "nvidia-bug-report.log.gz". + - Addressed a problem that could lead to intermittent hangs and system + crashes on some GeForce 9 and later GPUs. + - Fixed an X server crash when viewing the website www.tim.it. + - Fixed a DisplayPort interaction problem with power management + suspend/resume events. + - Fixed rendering corruption in the OpenGL 16-bit RGB Workstation + Overlay. + - Fixed a recent VDPAU regression that caused aborted playback and hangs + when decoding some H.264 clips on G84, G86, G92, G94, G96, and GT200 GPUs. + - Fixed an interaction problem that could corrupt the EDID of the Fujitsu + Technology Solutions Celsius H270 notebook's internal flatpanel. + - Fixed occasional X driver memory management performance problems when a + composite manager is running. + - Fixed a bug that could interfere with the detection of display devices + attached to secondary GPUs when first starting X after cold boots. + - Fixed a problem that could result in temporary stalls when moving OpenGL + application windows on GeForce 8 and later GPUs. + - Fixed a bug that prevented VGA fonts from being saved/restored correctly + on GeForce 8 and later GPUs. + - Improved compatibility with recent Linux kernels. + - Reduced CPU usage of nvidia-smi utility for reporting Quadro Plex information. + - Fixed compatibility problem with LandMark GeoProbe. + - Fixed stability problems with some GeForce 6200/7200/7300 GPUs on + multi-core/SMP systems (LP: #353502). + + -- Alberto Milone Fri, 24 Apr 2009 14:17:09 +0200 + +nvidia-graphics-drivers-180 (180.44-0ubuntu1) jaunty; urgency=low + + * New upstream release (LP: #348852). + - Added support for the following GPUs: + o Quadro FX 3800 + o Quadro FX 1800 + o Quadro FX 580 + o Quadro FX 380 + o Quadro NVS 295 + o GeForce GT 120 + o GeForce G100 + - Fixed a problem that could cause Xid errors and display corruption + in certain cases when OpenGL is used to render to redirected windows, + for example when Java2D is used with the -Dsun.java2d.opengl=true option. + - Updated glGetStringi(GL_EXTENSIONS, i) to no longer return NULL in + OpenGL 3.0 preview contexts. + - Fixed OpenGL crashes while running KDE4's Plasma. + - Fixed OpenGL crashes when using a large number of texture objects. + - Fixed the timestamp reporting in the GL_NV_present_video extension + on SDI II with Quadro FX 4800 and 5800. + - Improved power management support on some systems, such as + Hewlett-Packard xw4600 workstations. + - Fixed a problem that caused the screen to flicker momentarily when + OpenGL applications exit unexpectedly on GeForce 6 and 7 series GPUs. + - Fixed an X server crash when an X client attempts to draw trapezoids + and RenderAccel is disabled. + - Improved recovery from certain types of errors. + - Fixed a bug that caused Autodesk Maya to freeze when overlays are + enabled. + - Fixed an interaction problem between OpenGL and memory tracking + libraries such as MicroQuill SmartHeap. + - Added support for RG renderbuffers in OpenGL 3.0. + - Added support for OpenGL 3.0 floating-point depth buffers. + - Fixed a problem that caused Valgrind to crash when tracing a program + that uses OpenGL. + - Updated VDPAU to support VC-1/WMV acceleration on all GPUs supported + by VDPAU; see the README for details. + - Fixed VDPAU corruption on some H.264 clips. + - Updated VDPAU documentation in the README and in vdpau.h, in + particular regarding how to use the deinterlacing algorithms in the + VdpVideoMixer object. Explicitly documented "half rate" deinterlacing, + which should allow the advanced algorithms to run on more low-end + systems. + - Implemented a "skip chroma deinterlace" option in VDPAU, which should + allow the advanced deinterlacing algorithms to run on more low-end + systems. See vdpau.h. + - Fixed VDPAU VC-1 decoding on 64-bit platforms. + - Updated the VDPAU wrapper library to print dlerror() messages when + driver loading problems occur. + - Improved VDPAU's handling of some corrupt H.264 streams, and some + corrupt/invalid MPEG streams on some GPUs. + - Fixed VDPAU to correctly handle WMV "range reduction" on some GPUs. + A minor backwards-compatible API change was made for this; see + vdpau.h's documentation for structure field VdpPictureInfoVC1.rangered. + - Fixed a problem that caused surfaces to be marked as visible too early + when the blit presentation queue is in use. + - Fixed VDPAU to prevent some cases of "display preemption" in the face + of missing H.264 reference frames on some GPUs. + - Fixed corruption decoding H.264 clips with pictures where + pic_order_cnt_type implies log2_max_pic_order_cnt_lsb_minus4 is not + used, on G84, G86, G92, G94, G96, GT200 GPUs. + - Update vdpau.h to document exact requirements for VdpDecoderRender + bitstream data content. + - Fix VDPAU error handling in some unusual low memory situations. + - Fix hang in VDPAU in some cases of output mode timing changes. + * debian/nvidia-glx-$VER-preinst: + - Look for diversions in a more accurate way with grep. + * debian/nvidia-glx-$VER-dev.preinst.in: + - Make sure that diversions on /usr/lib/libGL.so are only removed + and not added (LP: #335621). + * debian/nvidia-glx-$VER-dev.links.in: + - Do not create a symlink to /usr/lib/libGL.so.#VERSION# in + /usr/lib/libGL.so + * debian/nvidia-glx-$VER.postrm.in, debian/nvidia-glx-$VER-dev.postrm.in: + - pass --ignore-fail-on-non-empty to rmdir + * debian/nvidia-glx-$VER-dev.preinst.in: + - If /usr/lib/libGL.so is a symlink and already exists then do not + create a new one, otherwise create a symlink to /usr/lib/libGL.so.$PKGVER + + -- Alberto Milone Tue, 31 Mar 2009 09:23:32 +0200 + +nvidia-graphics-drivers-180 (180.37-0ubuntu2) jaunty; urgency=low + + * Make nvidia-180-libvdpau-dev Architecture: i386 amd64 rather than all. + Although it's technically architecture-independent, it's tiny (so + archive space waste is minimal) and it's only installable on those two + architectures. + * Add a binary-indep target (empty), per policy. + + -- Colin Watson Fri, 20 Mar 2009 16:34:59 +0000 + +nvidia-graphics-drivers-180 (180.37-0ubuntu1) jaunty; urgency=low + + * New upstream release (LP: #335879). + - Fixed a problem that caused signals to be blocked in some applications. + - Fixed a problem that could cause Xid errors and display corruption in + certain cases when OpenGL is used to render to redirected windows, for + example when Java2D is used with the -Dsun.java2d.opengl=true option. + - glGetStringi(GL_EXTENSIONS, i) no longer returns NULL in OpenGL 3.0 + preview contexts. + - Fixed a problem that caused the screen to flicker momentarily when + OpenGL applications exit unexpectedly on GeForce 6 and 7 series GPUs. + - Fixed an X server crash when an X client attempts to draw trapezoids + and RenderAccel is disabled. + - Improved recovery from certain types of errors. + - VDPAU updates: + o Fixed corruption on some H.264 clips. + o Update documentation. + o Fixed VC-1 decoding on 64-bit platforms. + o Improved handling of invalid H.264 streams. + o Fixed a problem that caused surfaces to be marked as visible too + early when the blit presentation queue is in use. + * nvidia-glx-VER.preinst: + - Remove diversion on /usr/lib32/libGL.so.1.2 to + /usr/lib32/nvidia/libGL.so.1.2.xlibmesa instead of + /usr/lib32/nvidia/libGL.so.1.2.xserver-xorg-core (LP: #333550). + * debian.binary/patches/nvidia-rt-compat.patch: + - Restore compatibility with -rt kernels. Thanks to Alessio Igor Bogani + for the patch. + * debian/dkms.conf.in: + - Make sure that the patch for -rt kernels is applied only to 2.6.28.x + kernels. + + -- Alberto Milone Fri, 13 Mar 2009 09:27:20 +0100 + +nvidia-graphics-drivers-180 (180.35-0ubuntu1) jaunty; urgency=low + + * New upstream release (LP: #334205). + * Added support for the following GPUs: + o GeForce GT 120 + o GeForce G100 + o Quadro FX 3700M + * Fixed a bug that caused Maya to freeze when overlays are enabled. + * Fixed an interaction problem with some applications that use memory tracking + libraries. + * Added support for RG renderbuffers in OpenGL 3.0. + * Added support for OpenGL 3.0 floating-point depth buffers. + * Fixed a problem that caused Valgrind to crash when tracing a program that + uses OpenGL. + * VDPAU updates: + o VDPAU now supports VC-1/WMV acceleration on all GPUs supported by VDPAU; + see the README for details. + o Expand the documentation of VDPAU's VdpVideoMixer, in particular regarding + how to use the deinterlacing algorithms. Explicitly document "half rate" + deinterlacing, which should allow the advanced algorithms to run on more + low-end systems. See vdpau.h. + o Implement a "skip chroma deinterlace" option in VDPAU, which should allow + the advanced deinterlacing algorithms to run on more low-end systems. See + vdpau.h. + o Enhance VDPAU to correctly handle some forms of corrupt/invalid MPEG + streams on some GPUs. + o Fix VDPAU to prevent some cases of "display preemption" in the face of + missing H.264 reference frames on some GPUs. + o Fix VDPAU to correctly handle VC-1 skipped pictures with missing start + codes on some GPUs. + o Fix VDPAU to correctly handle WMV "range reduction" on some GPUs. A minor + backwards-compatible API change was made for this; see vdpau.h's + documentation for structure field VdpPictureInfoVC1.rangered. + o Fix VDPAU wrapper library to print dlerror() messages when problems occur, + which will simplify debugging of driver loading issues. + + + -- Alberto Milone (tseliot) Wed, 25 Feb 2009 11:49:59 +0100 + +nvidia-graphics-drivers-180 (180.29-0ubuntu2) jaunty; urgency=low + + * debian/control.in: + - Revert change adding dependency to nvidia-glx-180 on nvidia-180-libvdpau. + This would cause any package that built against nvidia-180-libvpdau to + depend and build depend on nvidia-glx-180. + - Add replaces to nvidia-glx-177 instead. + + -- Mario Limonciello Wed, 11 Feb 2009 11:53:50 -0600 + +nvidia-graphics-drivers-180 (180.29-0ubuntu1) jaunty; urgency=low + + * New upstream release (LP: #327690). + * Fixed a problem in VDPAU that prevented the overlay-based presentation + queue from being used on displays connected by component video. + * Fixed various problems in VDPAU that caused visual corruption when + decoding certain MPEG-2 video streams. + * Fixed a crash in VDPAU caused by certain invalid MPEG-2 streams, in + 64-bit drivers for some GPUs. + * Fixed an X driver performance problem on integrated GPUs. + * Fixed a stability problem with OpenGL applications using FSAA. + * Fixed an initialization problem that caused some AGP GPUs to be used + in PCI compatibility mode. + * Fixed a bug that could result in stability problems after changing + clock settings via the Coolbits interface. + * debian/control.in: add dependency on nvidia-glx-180 to nvidia-180-libvdpau + since nvidia-180-libvdpau can't be installed if other nvidia-glx-* packages + contain vdpau (LP: #326720). + + -- Alberto Milone (tseliot) Wed, 11 Feb 2009 11:29:09 +0100 + +nvidia-graphics-drivers-180 (180.27-0ubuntu1) jaunty; urgency=low + + * New upstream release. Supports the new X.org ABI (LP: #308410, #322416) + * Added support for the following GPUs: + o GeForce GTX 295 + o GeForce GTX 285 + o GeForce 9300 GE + o Quadro NVS 420 + * Fixed a bug that caused VDPAU to display a green screen when using the + overlay-based presentation queue with interlaced modes. + * Fixed a bug that prevented VDPAU from working correctly after X server + restarts on some GPUs. + * Improved VDPAU's handling of mode switches; eliminated a crash in its + mode switch recovery code and a hang in the blit-based presentation queue. + * Fixed a bug that caused VDPAU to crash when using DisplayPort devices. + * Fixed a potential hang in VDPAU when using the blit-based presentation + queue on systems with multiple GPUs not in SLI mode. + * Implemented missing error checking of layer data in VDPAU's VdpVideoMixerRender + function. + * Improved VDPAU's handling of setups with multiple GPUs, if a subset of the + GPUs cannot be supported due to resource limitations. + * Improved GPU video memory management coordination between the NVIDIA X driver + and VDPAU. + * Fix potential hang in VDPAU when the overlay is already in use. + * Improved workstation OpenGL performance. + * Fixed an X driver acceleration bug that resulted in Xid errors on GeForce 6 and + 7 series GPUs. + * Updated the X driver to consider GPUs it does not recognize supported, allowing + it to drive some GPUs it previously ignored. + * Added the ability to run distribution provided pre- and post- installation hooks + to 'nvidia-installer'; please see the 'nvidia-installer' manual page for details. + * Updated the X driver's metamode parser to allow mode names with periods (i.e. '.'s). + * Fixed a problem with hotkey switching on some recent mobile GPUs. + * worked around a power management regression in and improved compatibility with + recent Linux 2.6 kernels. + * Added support for OpenGL 3.0 for GeForce 8 series and newer GPUs. + * debian/nvidia-glx-180.preinst: + - Correct typo in the removal of diversions of /usr/lib/xorg/modules/extensions/libglx.so + * debian/nvidia-glx-180.postrm.in + - Do not remove libGL.so (LP: #309116) + * debian/nvidia-glx-180-dev.preinst.in: + - Add diversion on /usr/lib/libGL.so since (the postrm tries to remove it already) + * debian/scriptremove.sh: + - Remove from source. + + -- Alberto Milone (tseliot) Thu, 29 Jan 2009 12:36:09 +0100 + +nvidia-graphics-drivers-180 (180.22-0ubuntu2) jaunty; urgency=low + + * debian/control.in: + - Replaces for both the VDPAU binary packages over the old + NV packaging. (LP: #315632) + + -- Mario Limonciello Fri, 09 Jan 2009 17:24:15 -0600 + +nvidia-graphics-drivers-180 (180.22-0ubuntu1) jaunty; urgency=low + + * New upstream version. First "stable" driver in 180 series. (LP: #315169) + * Added support for the following GPUs: + o Quadro FX 2700M + o GeForce 9400M G + o GeForce 9400M + o GeForce 9800 GT + o GeForce 8200M G + o GeForce Go 7700 + o GeForce 9800M GTX + o GeForce 9800M GT + o GeForce 9800M GS + o GeForce 9500 GT + o GeForce 9700M GT + o GeForce 9650M GT + o GeForce 9500 GT + * Added initial support for PureVideo-like features via the new VDPAU API (see the vdpau.h header file installed with the driver). + * Added support for CUDA 2.1. + * Added preliminary support for OpenGL 3.0. + * Added new OpenGL workstation performance optimizations. + * Enabled the glyph cache by default and extended its support to all supported GPUs. + * Disabled shared memory X pixmaps by default; see the "AllowSHMPixmaps" option. + * Improved X pixmap placement on GeForce 8 series and later GPUs. + * Improved stability on some GeForce 8 series and newer GPUs. + * Fixed a regression that could result in window decoration corruption when running Compiz using Geforce 6 and 7 series GPUs. (LP: #306605) + * Fixed an nvidia-settings crash when xorg.conf contains Device and Screen sections but no ServerLayout section. + * Fixed a problem parsing the monitor sync range X config file options. + * Fixed a problem with the SDI sync skew controls in nvidia-settings. + * Fixed a problem that caused some SDI applications to hang or crash. + * Added support for SDI full-range color. (LP: #218736) + * Improved compatibility with recent Linux kernels. + * debian/rules: + - Create patches directory in case it wasn't present in orig.tar.gz + + -- Mario Limonciello Thu, 08 Jan 2009 14:26:09 -0600 + +nvidia-graphics-drivers-180 (180.18-0ubuntu2) jaunty; urgency=low + + * debian/control: + - Add versioned dependency for libvdpau. + + -- Mario Limonciello Wed, 07 Jan 2009 18:59:22 -0600 + +nvidia-graphics-drivers-180 (180.18-0ubuntu1) jaunty; urgency=low + + [ Thomas Cheutz ] + * Add driver 180.18 (LP: #307791) + * Fixed an X server hang rendering very large fonts. + * Added a check to nvidia-installer to not consider Compiz's libglx.so + a conflicting X extension library. + * VDPAU updates: + o Relaxed restrictions on the number of H.264 references frames. + o Fixed corruption problems in some video bitstreams. + o Fixed a problem that prevented the presentation queue from working in some + multi-display or multi-screen configurations when using overlay based presentation. + + [ Alexey Borzenkov ] + * Fix false positive when generating modaliases + + [ Mario Limonciello ] + * debian/control: + - Introduce nvidia-180-libvdpau and nvidia-180-libvdpau-dev packages so that + applications will be able to build depend and depend on libvdpau without needing + to depend on nvidia driver itself. + * debian/rules: + - Install VDPAU headers and libraries into appropriate packages. + - Don't run debhelper commands with -s as arch independent packages are ignored. + + -- Mario Limonciello Wed, 07 Jan 2009 12:58:13 -0600 + +nvidia-graphics-drivers-180 (180.11-0ubuntu1) jaunty; urgency=low + + * Add driver 180.11: + * Added support for the following new GPUs: + o GeForce 9400M + * Fixed font corruption on GeForce 6 and 7 series GPUs when the GlyphCache setting + is enabled. + * Fixed a memory leak problem when the GlyphCache setting is enabled. + * Added support for GVO full-range color. + * Fixed a problem parsing the monitor sync range X config file options. + * Improved VDPAU error detection and reporting. + * Improved VDPAU support for some video bitstreams. + + -- Alberto Milone (tseliot) Wed, 03 Dec 2008 11:07:30 +0100 + +nvidia-graphics-drivers-180 (180.08-0ubuntu1) jaunty; urgency=low + + * Add driver 180.08 (LP: #297543): + * Added support for the following new GPUs: + o Quadro NVS 450 + o Quadro FX 370 LP + o Quadro FX 5800 + o Quadro FX 4800 + o Quadro FX 470 + o Quadro CX + * Added preliminary support for OpenGL 3.0. + * Improved VDPAU error recovery on some GPUs. + * Added support for CUDA 2.1. + * Added initial support for PureVideo-like features on Linux via the new VDPAU API + (see the vdpau.h header file installed with the driver). + * Added new workstation performance optimizations. + * Enabled the X Render "GlyphCache" by default. + * Disabled shared memory X pixmaps by default; see the “AllowSHMPixmaps" option. + * Fixed a regression that could result in window decoration corruption when running + Compiz using Geforce 6 and 7 series GPUs. + * Improved X pixmap placement on GeForce 8 series and later GPUs. + * Improved compatibility with recent Linux kernels. + * Improved stability on some GeForce 8 series and newer GPUs. + * Add diversions on /usr/lib/libGL.so.1, /usr/lib/libGL.so.1.2, + /usr/lib/xorg/modules/extensions/libglx.so without checking their existence in + Ubuntu 32 bit too (LP: #287470) + * Remove quotation marks from the SOURCES varialble in + nvidia-VER-kernel-source.postinst + * Switch to DKMS patching system (in debian/rules) so as to have different + patches for different kernel versions + + -- Alberto Milone (tseliot) Sun, 30 Nov 2008 16:34:22 +0100 + + --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185.examples +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185.examples @@ -0,0 +1,2 @@ +NVIDIA-Linux-x86-185.18.31-pkg0/usr/share/doc/XF86Config.sample + --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-185-kernel-source.NEWS +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-185-kernel-source.NEWS @@ -0,0 +1,44 @@ +nvidia-graphics-drivers (1.0.8174-1) unstable; urgency=low + + * LEGACY GPUs: If you have a TNT, TNT2, Vanta, GeForce 256, GeForce DDR, + Quadro, GeForce2 Pro, GeForce2 GTS, GeForce2 Ultra, GeForce2 Ti, Quadro2 + Pro, DO NOT INSTALL THIS RELEASE!!! They are no longer supported. + + -- Randall Donald Sat, 10 Dec 2005 00:01:32 -0800 + +nvidia-graphics-drivers (1.0.7667-2) unstable; urgency=low + + * LEGACY GPUs: If you have a TNT, TNT2, Vanta, GeForce 256, GeForce DDR, + Quadro, GeForce2 Pro, GeForce2 GTS, GeForce2 Ultra, GeForce2 Ti, Quadro2 + Pro, DO NOT INSTALL THIS RELEASE!!! Use the nvidia-glx-legacy, + nvidia-glx-legacy-dev, nvidia-kernel-source-legacy packages instead. + + -- Randall Donald Wed, 13 Jun 2005 00:01:32 -0700 + +nvidia-graphics-drivers (1.0.7664-1) experimental; urgency=low + + * LEGACY GPUs: If you have a TNT, TNT2, Vanta, GeForce 256, GeForce DDR, + Quadro, GeForce2 Pro, GeForce2 GTS, GeForce2 Ultra, GeForce2 Ti, Quadro2 Pro, + DO NOT INSTALL THIS RELEASE!!! NVIDIA will be supporting these cards in a + special legacy driver (as yet unreleased and not included in this package). + So if you have the one of the above listed GPUs, + remain with the 1.0.7174-3 release. + + -- Randall Donald Tue, 21 Jun 2005 00:01:32 -0700 + +nvidia-graphics-drivers (1.0.5336-1) unstable; urgency=low + + With this upstream release, no more patching for 2.6.0 kernels + is neccessary. + + -- Randall Donald Tue, 27 Jan 2004 00:01:32 -0800 + +nvidia-graphics-drivers (1.0.5328-1) unstable; urgency=low + + This release now applies the minion.de patch automatically at build time + on nvidia-kernel-source. It should work for both 2.4 and 2.6 kernels. It + also provides a fix for some newer Via chips where an oops would occur + upon X startup. To bypass this patching set the DO_NOT_PATCH_NV environment + variable. + + -- Randall Donald Mon, 22 Dec 2003 01:21:58 -0800 --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185.override +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185.override @@ -0,0 +1,13 @@ +nvidia-glx: library-not-linked-against-libc ./usr/lib/libGL.so.185.18.31 + +nvidia-glx: shared-lib-without-dependency-information ./usr/lib/libGLcore.so.185.18.31 + +nvidia-glx: library-not-linked-against-libc ./usr/lib/xorg/modules/extensions/libglx.so.185.18.31 + +nvidia-glx: shlib-with-non-pic-code usr/lib/libGL.so.185.18.31 +nvidia-glx: shlib-with-non-pic-code usr/lib/libGLcore.so.185.18.31 +nvidia-glx: shlib-with-non-pic-code usr/lib/xorg/modules/extensions/libglx.so.185.18.31 +nvidia-glx: shlib-with-non-pic-code usr/lib/libXvMCNVIDIA.so.185.18.31 + +nvidia-glx: non-dev-pkg-with-shlib-symlink usr/lib/libGL.so.185.18.31 usr/lib/libGL.so +nvidia-glx: non-dev-pkg-with-shlib-symlink usr/lib/xorg/modules/extensions/libglx.so.185.18.31 usr/lib/xorg/modules/extensions/libglx.so --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-185-kernel-source.postinst +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-185-kernel-source.postinst @@ -0,0 +1,41 @@ +#!/bin/sh +# Copyright (C) 2007-2008 Mario Limonciello +set -e + +NAME=nvidia +PACKAGE_NAME=$NAME-185-kernel-source +CVERSION=`dpkg-query -W -f='${Version}' $PACKAGE_NAME | awk -F "-" '{print $1}' | cut -d\: -f2` + +ARCH=`dpkg --print-architecture` +case $ARCH in + amd64) + ARCH="x86_64" + ;; + lpia) + ARCH="i686" + ;; + i386) + ARCH="i686" + ;; + *) + echo "WARNING: unsupported arch: $ARCH" + ARCH="$ARCH" + ;; +esac + +case "$1" in + configure) + /usr/lib/dkms/common.postinst $NAME $CVERSION /usr/share/$PACKAGE_NAME $ARCH $2 + exit $? + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185-dev.links +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185-dev.links @@ -0,0 +1 @@ +usr/share/nvidia/include /usr/share/doc/nvidia-glx-185-dev/include --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185.examples.in +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185.examples.in @@ -0,0 +1,2 @@ +#DIRNAME#/usr/share/doc/XF86Config.sample + --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185.docs +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185.docs @@ -0,0 +1,2 @@ +NVIDIA-Linux-x86-185.18.31-pkg0/usr/share/doc/NVIDIA_Changelog +NVIDIA-Linux-x86-185.18.31-pkg0/usr/share/doc/README.txt --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia_supported +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia_supported @@ -0,0 +1,81 @@ +#!/bin/sh + +set -e + +# This is a nasty kluge, but it seems to work. Better check the output when +# upgrading to a new release of the nvidia driver, though. + +# Whenever a PCI ID is supported by both nvidia and nvidia_legacy, it is only +# listed for nvidia, as long as nvidia_legacy is *after* nvidia in the +# parameter list. + +[ -n "$1" ] || { + echo "USAGE: $0 path/to/nv/nv-kernel.o nvidia \\" >&2 + echo " path/to/nv-legacy/nv-kernel.o nvidia_legacy [...]" >&2 + exit 1 +} + +echo "# Listing generated by nvidia_supported. Do not edit manually." + +device_ids() { + local filename="$1" + + local list_prev="$(mktemp)" + local list_cur="$(mktemp)" + + # Find the symbols of the .rodata section... + objdump --section=.rodata --syms "$filename" | + sed -nr '/SYMBOL TABLE/,/^$/ { + s/^([0-9a-f]+)\s+l\s+O\s+\S+\s+([0-9a-f]+)\s+\S+.*/\1 \2/p + }' | + while read start length; do + objdump --section=.rodata --full-contents \ + --start-address="0x$start" \ + --stop-address="$((0x$start+0x$length))" "$filename" | + sed -nr 's/^ [0-9a-f]+ ([0-9a-f]{2})([0-9a-f]{2})0000.*/\2\1/p' | + sort | uniq | grep -vx "0000" >"$list_cur" + + # The consistent thing between different releases has been that there are + # two subsequent symbols with the same PCI ID list near the beginning. Find + # them. + if [ -s "$list_prev" -a -s "$list_cur" ] && + cmp -s "$list_prev" "$list_cur"; then + cat "$list_cur" + break + fi + + cp "$list_cur" "$list_prev" + done + + rm -f "$list_prev" "$list_cur" +} + +seen_ids=' ' + +while [ -n "$1" ]; do + filename="$1"; shift + modname="$1"; shift + pkgname="$1"; shift + + orig_ids="$(device_ids "$filename")" + if [ -z "$orig_ids" ]; then + echo "WARNING: No IDs were found from $filename" >&2 + fi + + for id in $orig_ids; do + case "$seen_ids" in + *" $id "*) + # Already seen the ID. + ;; + *) + # Not seen it yet. + seen_ids="${seen_ids}${id} " + + printf "alias pci:v%08Xd%08Xsv*sd*bc03sc*i* %s %s\n" \ + 0x10de "0x$id" "$modname" "$pkgname" + ;; + esac + done +done | sort + +# vim:set et sw=2 sts=2: --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-settings.substvars +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-settings.substvars @@ -0,0 +1 @@ +shlibs:Depends=libatk1.0-0 (>= 1.6.0), libc6 (>= 2.3.2.ds1-4), libglib2.0-0 (>= 2.4.1), libgtk2.0-0 (>= 2.4.3), libpango1.0-0 (>= 1.4.0), libx11-6 | xlibs (>> 4.1.0), libxext6 | xlibs (>> 4.1.0) --- nvidia-graphics-drivers-180-185.18.36.orig/debian/dkms.conf.in +++ nvidia-graphics-drivers-180-185.18.36/debian/dkms.conf.in @@ -0,0 +1,13 @@ +PACKAGE_NAME="nvidia" +PACKAGE_VERSION="#VERSION#" +CLEAN="make clean" +BUILT_MODULE_NAME[0]="nvidia" +MAKE[0]="make module KERNDIR=/lib/modules/$kernelver IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=$kernel_source_dir" +DEST_MODULE_LOCATION[0]="/kernel/drivers/video/nvidia" +AUTOINSTALL="yes" +#PATCH[0]="drm_agp_memory-2.6.31.patch" +#PATCH_MATCH[0]="^2.6.31" +PATCH[0]="rt_preempt_31.patch" +PATCH_MATCH[0]="2.6.31" +PATCH[1]="fall_back_on_mtrr_if_no_pat.patch" +PATCH_MATCH[1]="2.6.31" --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185-dev.preinst.in +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185-dev.preinst.in @@ -0,0 +1,92 @@ +#! /bin/sh +# preinst script for nvidia-glx-185-dev +# +# see: dh_installdeb(1) + +set -e + +PKGVER=`dpkg-query -W -f='${Version}' nvidia-glx-185-dev | awk -F "-" '{print $1}'` +PKGVER=${PKGVER#*:} + +case "$1" in + install|upgrade) + # diversion transition + if [ -d /usr/share/nvidia-glx/diversions/ ] ; then + rm -f /usr/lib/libGL.so + rm -f /usr/lib/libGL.a + dpkg-divert --remove --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/libGL.so /usr/lib/libGL.so > /dev/null + dpkg-divert --remove --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/libGL.a /usr/lib/libGL.a > /dev/null + + rmdir /usr/share/nvidia-glx/diversions/ || true + rmdir /usr/share/nvidia-glx || true + fi + + if [ ! -d /usr/lib/nvidia ]; then + mkdir -p /usr/lib/nvidia || true + fi + +# to remove old old old gl header diversions + + + if [ -e /usr/share/nvidia-glx/diversions/gl.h ]; then + if [ -e /usr/include/GL/gl.h ]; then + rm -f /usr/include/GL/gl.h /usr/include/GL/glx.h /usr/include/GL/glxtokens.h + fi + dpkg-divert --remove --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/gl.h /usr/include/GL/gl.h > /dev/null + dpkg-divert --remove --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glx.h /usr/include/GL/glx.h > /dev/null + dpkg-divert --remove --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glxext.h /usr/include/GL/glxext.h > /dev/null + fi + + # make sure these diversions don't exist anymore + if dpkg-divert --list /usr/lib/libGL.so | grep 'nvidia-glx-185-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null + fi + if dpkg-divert --list /usr/lib/libGL.a | grep 'nvidia-glx-185-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null + fi + if dpkg-divert --list /usr/X11R6/lib/libGL.so | grep 'nvidia-glx-185-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/X11R6/lib/nvidia/libGL.so.xlibmesa /usr/X11R6/lib/libGL.so > /dev/null + fi + if dpkg-divert --list /usr/X11R6/lib/libGL.so | grep 'nvidia-glx-185-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-185-dev --divert /usr/X11R6/lib/nvidia/libGL.a.xlibmesa /usr/X11R6/lib/libGL.a > /dev/null + fi + + # If a symlink already exists then do not create a new one + # otherwise create a symlink to /usr/lib/libGL.so.$PKGVER + if [ ! -e /usr/lib/libGL.so ] && [ ! -L /usr/lib/libGL.so ]; then + ln -s /usr/lib/libGL.so.$PKGVER /usr/lib/libGL.so || true + fi + #dpkg-divert --add --rename --package nvidia-glx-185-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-185-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null +# rm /usr/lib/libGL.so || true + +# ln -s /usr/lib/libGL.so.#VERSION# /usr/lib/libGL.so || true + + +# dpkg-divert --add --rename --package nvidia-glx-185-dev --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null + +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/gl.h /usr/include/GL/gl.h > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glx.h /usr/include/GL/glx.h > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glxtokens.h /usr/include/GL/glxtokens.h > /dev/null + +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/gl.h /usr/include/GL/gl.h > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glx.h /usr/include/GL/glx.h > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glxtokens.h /usr/include/GL/glxtokens.h > /dev/null + + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- nvidia-graphics-drivers-180-185.18.36.orig/debian/rules +++ nvidia-graphics-drivers-180-185.18.36/debian/rules @@ -0,0 +1,460 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# dpkg-buildpackage passes options that are incompatible +# with the kernel build. +unexport CFLAGS +unexport LDFLAGS + +SHELL := sh -e + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +SERVERMINVERS = $(shell cat /usr/share/xserver-xorg/serverminver 2>/dev/null) +VIDEOABI = $(shell cat /usr/share/xserver-xorg/videoabiver 2>/dev/null) +INPUTABI = $(shell cat /usr/share/xserver-xorg/inputabiver 2>/dev/null) +SERVER_DEPENDS = xserver-xorg-core (>= $(SERVERMINVERS)) +VIDDRIVER_PROVIDES = xserver-xorg-video-$(VIDEOABI) +ifeq ($(PACKAGE),) +PACKAGE=nvidia-glx-185 +endif + + +base_version:=$(shell sh debian/upstream_info BASE_VERSION) +release:=$(shell sh debian/upstream_info RELEASE) +version:=$(shell sh debian/upstream_info VERSION) +nextver:=$(shell sh debian/upstream_info NEXTVER) +upstreamversion:=$(shell sh debian/upstream_info UPSTREAMVERSION) +url:=$(shell sh debian/upstream_info URL) +dirname:=$(shell sh debian/upstream_info DIRNAME) +filename:=$(shell sh debian/upstream_info FILENAME) +filename_x86:=$(shell sh debian/upstream_info FILENAME_X86) +filename_x86_64:=$(shell sh debian/upstream_info FILENAME_X86_64) +dirname_x86:=$(shell sh debian/upstream_info DIRNAME_X86) +dirname_x86_64:=$(shell sh debian/upstream_info DIRNAME_X86_64) + +AUTOGEN=debian/nvidia-185-kernel-source.README.Debian debian/control \ +debian/copyright debian/nvidia-glx-185.links debian/nvidia-glx-185-dev.links \ +debian/nvidia-glx-185.override \ +debian/nvidia-glx-185.docs debian/nvidia-glx-185.examples \ +debian/nvidia-glx-185.postrm debian/nvidia-glx-185-dev.preinst \ +debian/nvidia-185-kernel-source.docs debian/dkms.conf + +#debian/nvidia-glx-185-ia32.override debian/nvidia-glx-185-ia32.links \ + +CFLAGS = -Wall -g + +pkgver:=$(shell dpkg-parsechangelog | grep ^Version | awk '{print $$2}') + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +version-change: version-clean $(AUTOGEN) clean + +configure: configure-stamp + +.PHONY: configure-stamp +configure-stamp: version-clean $(AUTOGEN) + dh_testdir + chmod +x ${filename_x86} + chmod +x ${filename_x86_64} + # extract both so we can fetch the kernel object code for both arches + ./${filename_x86} --extract-only + ./${filename_x86_64} --extract-only + #if test -d $(CURDIR)/patches; \ + if test -d $(CURDIR)/debian.binary/patches; \ + then \ + cp -R $(CURDIR)/debian.binary/patches $(dirname)/usr/src/nv/ \ +# pwd; \ +# ls -al; \ +# cd $(dirname)/usr/src/nv; \ +# #for i in $(CURDIR)/patches/*; \ +# for i in $(CURDIR)/debian.binary/patches/*; \ +# do \ +# if [ -f $$i ]; then \ +# echo $$i; patch -p3 <$$i; \ +# fi; \ +# done; \ + fi + cp $(dirname)/usr/src/nv/nv.c $(dirname)/usr/src/nv/nv1.c + cp $(dirname)/usr/src/nv/nv-linux.h $(dirname)/usr/src/nv/nv-linux1.h + sed 's/CONFIG_XEN/CONFIG_ALB/g' $(dirname)/usr/src/nv/nv1.c > $(dirname)/usr/src/nv/nv.c + sed 's/CONFIG_XEN/CONFIG_ALB/g' $(dirname)/usr/src/nv/nv-linux1.h > $(dirname)/usr/src/nv/nv-linux.h + rm $(dirname)/usr/src/nv/nv1.c + rm $(dirname)/usr/src/nv/nv-linux1.h + sed 's/^nvidia-graphics-drivers-185/nvidia-kernel-185/g' debian/changelog > debian.binary/changelog + + + touch configure-stamp + +.PHONY: build +build: configure-stamp build-stamp + +.PHONY: build-stamp +build-stamp: + touch build-stamp + +.PHONY: build-kernel +build-kernel: + +.PHONY: serverabi +serverabi: +ifeq ($(SERVERMINVERS),) + @echo error: xserver-xorg-dev needs to be installed + @exit 1 +else + echo "xserver:Depends=$(SERVER_DEPENDS)" >> debian/$(PACKAGE).substvars + echo "xviddriver:Provides=$(VIDDRIVER_PROVIDES)" >> debian/$(PACKAGE).substvars + echo "xinpdriver:Provides=$(INPDRIVER_PROVIDES)" >> debian/$(PACKAGE).substvars +endif + +.PHONY: build-kernel-stamp +build-kernel-stamp: + dh_testroot + dh_testdir + + + # build kernel module source tarball + mkdir -p $(CURDIR)/debian/temp/modules/nvidia-kernel/debian/ + mkdir -p $(CURDIR)/debian/temp/modules/nvidia-kernel/nv + cp -a $(CURDIR)/debian.binary/* $(CURDIR)/debian/temp/modules/nvidia-kernel/debian + + for f in `ls $(CURDIR)/debian.binary` ; do \ + if [ -f $$f ]; then \ + perl -p \ + -e 's{#BASE_VERSION#}{$(base_version)}g;' \ + -e 's{#RELEASE#}{$(release)}g;' \ + -e 's{#VERSION#}{$(version)}g;' \ + -e 's{#UPSTREAMVERSION#}{$(upstreamversion)}g;' \ + -e 's{#URL#}{$(url)}g' \ + < $(CURDIR)/debian.binary/$$f > $(CURDIR)/debian/temp/modules/nvidia-kernel/debian/$$f ; \ + chmod 0644 $(CURDIR)/debian/temp/modules/nvidia-kernel/debian/$$f ; \ + fi; \ + done + mkdir -p $(CURDIR)/debian/temp/modules/nvidia-kernel/debian/patches + chmod 775 $(CURDIR)/debian/temp/modules/nvidia-kernel/debian/patches + cp -R $(CURDIR)/$(dirname)/usr/src/nv $(CURDIR)/debian/temp/modules/nvidia-kernel/ +#not yet cp $(CURDIR)/Makefile $(CURDIR)/debian/temp/modules/nvidia-kernel/ || true + #cp $(CURDIR)/$(dirname_x86_64)/usr/src/nv/nv-kernel.o $(CURDIR)/debian/temp/modules/nvidia-kernel/nv/nv-kernel.o.x86_64 || true + cp $(CURDIR)/debian/temp/modules/nvidia-kernel/nv/Makefile.kbuild $(CURDIR)/debian/temp/modules/nvidia-kernel/nv/Makefile + chmod 755 $(CURDIR)/debian/temp/modules/nvidia-kernel/debian/rules + chown -R root:src $(CURDIR)/debian/temp/modules + + #tar -jcvf $(CURDIR)/nvidia-kernel.tar.bz2 -C $(CURDIR)/debian/temp modules + + + #rm -rf debian/temp + touch build-kernel-stamp + +.PHONY: clean +clean: + dh_testdir + dh_testroot + rm -f build-stamp build-kernel-stamp configure-stamp + dh_clean + + rm -fr $(dirname_x86) $(dirname_x86_64) + + + +.PHONY: install +install: build-stamp build-kernel-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + #install -m 644 $(CURDIR)/nvidia-kernel.tar.bz2 $(CURDIR)/debian/nvidia-185-kernel-source/usr/src + mkdir -p $(CURDIR)/debian/nvidia-185-kernel-source/usr/src/nvidia-$(version) + cp -a $(CURDIR)/debian/temp/modules/nvidia-kernel/nv/* \ + $(CURDIR)/debian/nvidia-185-kernel-source/usr/src/nvidia-$(version)/ + + install -m 644 $(CURDIR)/debian/dkms.conf $(CURDIR)/debian/nvidia-185-kernel-source/usr/src/nvidia-$(version) + rm -rf debian/temp + + + install -m 0644 $(dirname)/usr/X11R6/lib/modules/drivers/nvidia_drv.so \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib/xorg/modules/drivers + + + + install $(dirname)/usr/X11R6/lib/libXvMCNVIDIA.a $(CURDIR)/debian/nvidia-glx-185-dev/usr/lib/libXvMCNVIDIA.a; + install $(dirname)/usr/X11R6/lib/libXvMCNVIDIA.so.${version} $(CURDIR)/debian/nvidia-glx-185/usr/lib/libXvMCNVIDIA.so.${version}; + + + + + install -m 0644 $(dirname)/usr/include/GL/gl.h \ + $(CURDIR)/debian/nvidia-glx-185-dev/usr/include/GL + install -m 0644 $(dirname)/usr/include/GL/glext.h \ + $(CURDIR)/debian/nvidia-glx-185-dev/usr/include/GL + + #CUDA + install -m 0644 $(dirname)/usr/include/cuda/cuda.h \ + $(CURDIR)/debian/nvidia-glx-185-dev/usr/include/cuda + install -m 0644 $(dirname)/usr/include/cuda/cudaGL.h \ + $(CURDIR)/debian/nvidia-glx-185-dev/usr/include/cuda + + install -m 0644 $(dirname)/usr/include/GL/glx.h \ + $(CURDIR)/debian/nvidia-glx-185-dev/usr/include/GL + install -m 0644 $(dirname)/usr/include/GL/glxext.h \ + $(CURDIR)/debian/nvidia-glx-185-dev/usr/include/GL + + #VDPAU + mkdir -p $(CURDIR)/debian/nvidia-185-libvdpau-dev/usr/include/vdpau + install -m 0644 $(dirname)/usr/include/vdpau/vdpau.h \ + $(CURDIR)/debian/nvidia-185-libvdpau-dev/usr/include/vdpau + install -m 0644 $(dirname)/usr/include/vdpau/vdpau_x11.h \ + $(CURDIR)/debian/nvidia-185-libvdpau-dev/usr/include/vdpau + + + install -m 0644 $(dirname)/usr/lib/libGL.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib + install -m 0644 $(dirname)/usr/lib/libGLcore.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib + + #CUDA 32bit libs and links + install -m 0644 $(dirname)/usr/lib/libcuda.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib + ln -s libcuda.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib/libcuda.so; \ + ln -s libcuda.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib/libcuda.so.1; \ + + #VDPAU 32bit libs and links + mkdir -p $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib + install -m 0644 $(dirname)/usr/lib/libvdpau.so.${version} \ + $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib + ln -s libvdpau.so.${version} \ + $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib/libvdpau.so.1; \ + ln -s libvdpau.so.1 \ + $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib/libvdpau.so; \ + + install -m 0644 $(dirname)/usr/lib/libvdpau_trace.so.${version} \ + $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib + ln -s libvdpau_trace.so.${version} \ + $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib/libvdpau_trace.so; \ + + install -m 0644 $(dirname)/usr/lib/libvdpau_nvidia.so.${version} \ + $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib + ln -s libvdpau_nvidia.so.${version} \ + $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib/libvdpau_nvidia.so; \ + + + + + sed "s/__GENERATED_BY__/Ubuntu nvidia-graphics-drivers-185/" $(dirname)/usr/lib/libGL.la | sed "s/__LIBGL_PATH__/\/usr\/lib/" > $(CURDIR)/debian/nvidia-glx-185-dev/usr/lib/libGL.la + # install -m 0644 $(dirname)/usr/lib/libGL.la $(CURDIR)/debian/nvidia-glx-185/usr/lib/libGL.la + + # TLS for 32bit + install $(dirname)/usr/lib/libnvidia-tls.so.${version} $(CURDIR)/debian/nvidia-glx-185/usr/lib/ + install $(dirname)/usr/lib/tls/libnvidia-tls.so.${version} $(CURDIR)/debian/nvidia-glx-185/usr/lib/tls/ + install $(dirname)/usr/bin/tls_test $(CURDIR)/debian/nvidia-glx-185/usr/lib/nvidia + install $(dirname)/usr/bin/tls_test_dso.so $(CURDIR)/debian/nvidia-glx-185/usr/lib/nvidia + + #sed "s/__GENERATED_BY__/Debian nvidia-graphics-drivers/" $(dirname)/usr/lib/tls/libGL.la | sed "s/__LIBGL_PATH__/\/usr\/lib\/tls/" > $(CURDIR)/debian/nvidia-glx-185-dev/usr/lib/nvidia/libGL.la + # install -m 0644 $(dirname)/usr/lib/tls/libGL.la $(CURDIR)/debian/nvidia-glx-185/usr/lib/nvidia/libGL.la + + install -m 0644 $(dirname)/usr/lib/libnvidia-cfg.so.${version} $(CURDIR)/debian/nvidia-glx-185/usr/lib/nvidia/ + + + install $(dirname)/usr/X11R6/lib/modules/extensions/libglx.so.${version} $(CURDIR)/debian/nvidia-glx-185/usr/lib/xorg/modules/extensions/ +# install $(dirname)/usr/X11R6/lib/modules/libnvidia-wfb.so.${version} $(CURDIR)/debian/nvidia-glx-185/usr/lib/xorg/modules/ + + install -d $(CURDIR)/debian/nvidia-glx-185/usr/share/lintian/overrides + install -m 0644 debian/nvidia-glx-185.override \ + $(CURDIR)/debian/nvidia-glx-185/usr/share/lintian/overrides/nvidia-glx-185 + + #the links for the 32bit compatibility libraries are set here + if [ "$(DEB_BUILD_ARCH)" = "amd64" ] ; then \ + install -d $(CURDIR)/debian/nvidia-glx-185/usr/lib32 \ + $(CURDIR)/debian/nvidia-glx-185-dev/usr/lib32; \ + install $(dirname)/usr/lib32/libGLcore.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib32 ; \ + ln -s libGLcore.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib32/libGLcore.so; \ + install $(dirname)/usr/lib32/libGL.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib32 ; \ + ln -s libGL.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib32/libGL.so; \ + ln -s libGL.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib32/libGL.so.1; \ + sed "s/__GENERATED_BY__/Ubuntu nvidia-graphics-drivers/;s/__LIBGL_PATH__/\/usr\/lib32/" $(dirname)/usr/lib32/libGL.la | \ + > $(CURDIR)/debian/nvidia-glx-185-dev/usr/lib32/libGL.la ; \ + #CUDA \ + if [ -e $(dirname)/usr/lib32/libcuda.so.${version} ]; then \ + install $(dirname)/usr/lib32/libcuda.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib32 ; \ + ln -s libcuda.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib32/libcuda.so; \ + ln -s libcuda.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib32/libcuda.so.1; \ + fi; \ + if [ -e $(dirname)/usr/lib32/libnvidia-cfg.so.${version} ]; then \ + install $(dirname)/usr/lib32/libnvidia-cfg.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib32 ; \ + ln -s libnvidia-cfg.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib32/libnvidia-cfg.so.1; \ + fi; \ + #VDPAU 32bit libs and links \ + if [ -e $(dirname)/usr/lib32/libvdpau.so.${version} ]; then \ + mkdir -p $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib32/; \ + install -m 0644 $(dirname)/usr/lib32/libvdpau.so.${version} \ + $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib32; \ + ln -s libvdpau.so.${version} \ + $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib32/libvdpau.so.1; \ + ln -s libvdpau.so.1 \ + $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib32/libvdpau.so; \ + fi; \ + if [ -e $(dirname)/usr/lib32/libvdpau_trace.so.${version} ]; then \ + mkdir -p $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib32/; \ + install -m 0644 $(dirname)/usr/lib32/libvdpau_trace.so.${version} \ + $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib32; \ + ln -s libvdpau_trace.so.${version} \ + $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib32/libvdpau_trace.so; \ + fi; \ + if [ -e $(dirname)/usr/lib32/libvdpau_nvidia.so.${version} ]; then \ + mkdir -p $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib32/; \ + install -m 0644 $(dirname)/usr/lib32/libvdpau_nvidia.so.${version} \ + $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib32; \ + ln -s libvdpau_nvidia.so.${version} \ + $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib32/libvdpau_nvidia.so; \ + fi; \ + #TLS \ + install $(dirname)/usr/lib32/libnvidia-tls.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib32 ; \ + install $(dirname)/usr/lib32/tls/libnvidia-tls.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib32/tls ; \ + ln -s libnvidia-tls.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib32/libnvidia-tls.so.1; \ + fi + + + install -m 755 $(dirname)/usr/bin/nvidia-bug-report.sh $(CURDIR)/debian/nvidia-glx-185/usr/bin/ + # use separate package + install -m 755 $(dirname)/usr/bin/nvidia-xconfig $(CURDIR)/debian/nvidia-glx-185/usr/bin/ + if [ -e $(dirname)/usr/share/man/man1/nvidia-xconfig.1.gz ]; then \ + install -m 755 $(dirname)/usr/bin/nvidia-xconfig \ + $(CURDIR)/debian/nvidia-glx-185/usr/bin/ ; \ + install -m 644 $(dirname)/usr/share/man/man1/nvidia-xconfig.1.gz \ + $(CURDIR)/debian/nvidia-glx-185/usr/share/man/man1/ ; \ + fi + # use separate source package instead + #install -m 755 $(dirname)/usr/bin/nvidia-settings $(CURDIR)/debian/nvidia-settings/usr/bin/ + #install -m 644 $(dirname)/usr/share/doc/nvidia-settings-user-guide.txt $(CURDIR)/debian/nvidia-settings/usr/share/doc/nvidia-settings + + mkdir -p $(CURDIR)/debian/nvidia-glx-185/usr/share/pixmaps/ + install $(dirname)/usr/share/pixmaps/nvidia-settings.png $(CURDIR)/debian/nvidia-glx-185/usr/share/pixmaps/ + + mkdir -p $(CURDIR)/debian/nvidia-185-modaliases/usr/share/jockey/modaliases/ + + $(SHELL) $(CURDIR)/debian/nvidia_supported \ + $(dirname)/usr/src/nv/nv-kernel.o nvidia nvidia-glx-185 \ + > $(CURDIR)/debian/nvidia-185-modaliases/usr/share/jockey/modaliases/nvidia-185 + + install $(CURDIR)/script $(CURDIR)/debian/nvidia-glx-185/usr/share/bug/nvidia-glx-185 + + for i in \ + $(CURDIR)/debian/nvidia-185-libvdpau/usr/lib/lib*.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib/lib*.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib/tls/lib*.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib/nvidia/lib*.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib/xorg/modules/extensions/lib*.so.${version} \ + $(CURDIR)/debian/nvidia-glx-185/usr/lib/xorg/modules/drivers/nvidia_drv.so \ + ; do execstack -q $$i; execstack -c $$i; done + + dh_install + + +# Must not depend on anything. This is to be called by +# binary-arch/binary-multi +# in another 'make' thread. +.PHONY: binary-common +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs -s + dh_installexamples +# dh_installmenu + dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime + dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link +# dh_strip + dh_compress -X.h -X README.Debian + dh_fixperms +# dh_perl +# dh_python + dh_makeshlibs + dh_installdeb + dh_shlibdeps -Xlib32 -Xtls -l$(CURDIR)/debian/nvidia-glx-185/usr/lib + dh_shlibdeps -Xlib32 -Xtls -l$(CURDIR)/debian/nvidia-185-libvdpau/usr/lib + # quickhack! remove me :-/ + # as you wish + #perl -pi.bak -e 's/,\s+nvidia-glx-185-ia32//;' $(CURDIR)/debian/nvidia-glx-185.substvars + #dh_gencontrol -s + + # Exclude packages we handle special + dh_gencontrol -Nnvidia-glx-185 -Nnvidia-glx-185-dev -Nnvidia-185-kernel-source + + # build with different version numbers + dh_gencontrol -v -pnvidia-glx-185 -- -v$(pkgver) -Vnvidia:Version=$(version) + dh_gencontrol -v -pnvidia-glx-185-dev -- -v$(pkgver) -Vnvidia:Version=$(version) + dh_gencontrol -v -pnvidia-185-kernel-source -- -v$(pkgver) -Vnvidia:Version=$(version) + + dh_md5sums + dh_builddeb + + +%: %.in debian/upstream_info + perl -p \ + -e 's{#BASE_VERSION#}{$(base_version)}g;' \ + -e 's{#RELEASE#}{$(release)}g;' \ + -e 's{#VERSION#}{$(version)}g;' \ + -e 's{#NEXTVER#}{$(nextver)}g;' \ + -e 's{#UPSTREAMVERSION#}{$(upstreamversion)}g;' \ + -e 's{#DIRNAME#}{$(dirname)}g;' \ + -e 's{#FILENAME#}{$(filename)}g;' \ + -e 's{#URL#}{$(url)}g' \ + < $< > $@ + + +# Build architecture dependant packages using the common target. +.PHONY: binary-arch +binary-arch: build-stamp build-kernel-stamp install serverabi + $(MAKE) -f debian/rules binary-common + +.PHONY: binary-indep +binary-indep: + +.PHONY: binary +binary: binary-arch binary-indep + +.PHONY: version-clean +version-clean: + rm -f ${AUTOGEN} || true + --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185-dev.links.in +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185-dev.links.in @@ -0,0 +1 @@ +usr/share/nvidia/include /usr/share/doc/nvidia-glx-185-dev/include --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185.postinst +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185.postinst @@ -0,0 +1,63 @@ +#!/bin/sh + +set -e + +#make sure wfb diversion is removed +#dpkg-divert --rename --remove --package nvidia-glx --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so >/dev/null || true +#dpkg-divert --rename --remove --package nvidia-glx-new --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so >/dev/null || true +#dpkg-divert --rename --remove --package nvidia-glx-new-envy --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so >/dev/null || true + + + #Make sure that the diversion of /usr/lib/xorg/modules/extensions/libwfb.so is removed + if dpkg-divert --list 'nvidia-glx' | grep /usr/lib/xorg/modules/libwfb.so > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so > /dev/null || true + fi + + if dpkg-divert --list 'nvidia-glx-new' | grep /usr/lib/xorg/modules/libwfb.so > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-new --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so > /dev/null || true + fi + + if dpkg-divert --list 'nvidia-glx-legacy' | grep /usr/lib/xorg/modules/libwfb.so > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-legacy --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so > /dev/null || true + fi + + if dpkg-divert --list 'nvidia-glx-envy' | grep /usr/lib/xorg/modules/libwfb.so > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-envy --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so > /dev/null || true + fi + + if dpkg-divert --list 'nvidia-glx-new-envy' | grep /usr/lib/xorg/modules/libwfb.so > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-new-envy --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so > /dev/null || true + fi + + if dpkg-divert --list 'nvidia-glx-legacy-envy' | grep /usr/lib/xorg/modules/libwfb.so > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-legacy-envy --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so > /dev/null || true + fi + + + # create new diversion directories + if [ ! -d /usr/lib/nvidia ]; then + mkdir -p /usr/lib/nvidia || true + fi + if [ -n "$HAS_LIB32" ] && [ ! -d /usr/lib32/nvidia ]; then + mkdir -p /usr/lib32/nvidia || true + fi + + #Make sure that no /etc/init.d/nvidia-glx-* exists + rm -f /etc/init.d/nvidia-glx-* | true + + +# dpkg-divert --add --rename --package nvidia-glx --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so > /dev/null + + +#if [ -n "" ] && [ ! -e /lib/linux-restricted-modules/.nvidia__installed ]; then +# mkdir -p /lib/linux-restricted-modules +# echo "# do not remove this file, it's needed by /sbin/lrm-video" \ +# > /lib/linux-restricted-modules/.nvidia__installed +#fi + + +#DEBHELPER# + + + +ldconfig --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-185-kernel-source.prerm +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-185-kernel-source.prerm @@ -0,0 +1,20 @@ +#!/bin/sh +# Copyright (C) 2002-2005 Flavio Stanchina +# Copyright (C) 2005-2006 Aric Cyr +# Copyright (C) 2007 Mario Limonciello +# Copyright (C) 2007 Alberto Milone + +#DEBHELPER# + +PKGVER=`dpkg-query -W -f='${Version}' nvidia-185-kernel-source | awk -F "-" '{print $1}'` +PKGVER=${PKGVER#*:} + +case "$1" in + remove|upgrade) + echo "Removing all DKMS Modules" + dkms remove -m nvidia -v $PKGVER --all > /dev/null + echo "Done." + ;; +esac + + --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-185-kernel-source.docs.in +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-185-kernel-source.docs.in @@ -0,0 +1,2 @@ +#DIRNAME#/usr/share/doc/NVIDIA_Changelog +#DIRNAME#/usr/share/doc/README.txt --- nvidia-graphics-drivers-180-185.18.36.orig/debian/nvidia-glx-185.prerm +++ nvidia-graphics-drivers-180-185.18.36/debian/nvidia-glx-185.prerm @@ -0,0 +1,47 @@ +#! /bin/sh +# prerm script for nvidia-drivers +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) +# install-info --quiet --remove /usr/info/nvidia-drivers.info.gz +# if [ -n "" ]; then +# rm -f /lib/linux-restricted-modules/.nvidia_new_installed +# rmdir /lib/linux-restricted-modules 2>/dev/null || true +# fi +# rm -f /usr/lib/libGL.so || true +# /etc/init.d/nvidia-glx-177 start || true + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + +