--- nvidia-graphics-drivers-190-190.53.orig/debian/compat +++ nvidia-graphics-drivers-190-190.53/debian/compat @@ -0,0 +1 @@ +4 --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-190-kernel-source.docs +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-190-kernel-source.docs @@ -0,0 +1,2 @@ +NVIDIA-Linux-x86_64-190.53-pkg2/usr/share/doc/NVIDIA_Changelog +NVIDIA-Linux-x86_64-190.53-pkg2/usr/share/doc/README.txt --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-glx-190.examples +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.examples @@ -0,0 +1,2 @@ +NVIDIA-Linux-x86_64-190.53-pkg2/usr/share/doc/XF86Config.sample + --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-glx-190.README.Debian +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.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-190-190.53.orig/debian/nvidia-190-kernel-source.docs.in +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-190-kernel-source.docs.in @@ -0,0 +1,2 @@ +#DIRNAME#/usr/share/doc/NVIDIA_Changelog +#DIRNAME#/usr/share/doc/README.txt --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-190-kernel-source.dirs +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-190-kernel-source.dirs @@ -0,0 +1 @@ +usr/src --- nvidia-graphics-drivers-190-190.53.orig/debian/dkms.conf.in +++ nvidia-graphics-drivers-190-190.53/debian/dkms.conf.in @@ -0,0 +1,9 @@ +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" +PATCH[0]="nvidia-190.53-2.6.33.patch" +PATCH_MATCH[0]="^2.6.3[3]" +AUTOINSTALL="yes" --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-190-kernel-source.postinst +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-190-kernel-source.postinst @@ -0,0 +1,41 @@ +#!/bin/sh +# Copyright (C) 2007-2008 Mario Limonciello +set -e + +NAME=nvidia +PACKAGE_NAME=$NAME-190-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-190-190.53.orig/debian/nvidia-settings.substvars +++ nvidia-graphics-drivers-190-190.53/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-190-190.53.orig/debian/nvidia-190-kernel-source.postinst.in +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-190-kernel-source.postinst.in @@ -0,0 +1,41 @@ +#!/bin/sh +# Copyright (C) 2007-2008 Mario Limonciello +set -e + +NAME=nvidia +PACKAGE_NAME=$NAME-#MAJORVER#-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-190-190.53.orig/debian/copyright.in +++ nvidia-graphics-drivers-190-190.53/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-190-190.53.orig/debian/nvidia-190-kernel-source.prerm +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-190-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-190-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-190-190.53.orig/debian/nvidia-glx-190.postrm +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.postrm @@ -0,0 +1,73 @@ +#! /bin/sh +# postrm script for nvidia-glx-190 +# +# 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-190" ]; then + dpkg-divert --remove --rename --package nvidia-glx-190 --divert /usr/lib/nvidia/libGL.so.1.xlibmesa /usr/lib/libGL.so.1 > /dev/null + dpkg-divert --remove --rename --package nvidia-glx-190 --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-190" ]; then + dpkg-divert --remove --rename --package nvidia-glx-190 --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-190" ]; then + dpkg-divert --remove --rename --package nvidia-glx-190 --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-190" ]; then + rm -f /usr/lib32/libGL.so > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-190 --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-190" ]; then + rm -f /usr/lib32/libGL.so.1 > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-190 --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-190" ]; then + rm -f /usr/lib32/libGL.so.1.2 > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-190 --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.190.53 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 + + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-glx-190-dev.postrm.in +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190-dev.postrm.in @@ -0,0 +1,51 @@ +#! /bin/sh +# postrm script for nvidia-glx-#MAJORVER# +# +# see: dh_installdeb(1) + +set -e + +PKGVER=`dpkg-query -W -f='${Version}' nvidia-glx-#MAJORVER#-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-#MAJORVER#" ]; then + dpkg-divert --remove --rename --package nvidia-glx-#MAJORVER#-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-#MAJORVER#" ]; then + dpkg-divert --remove --rename --package nvidia-glx-#MAJORVER#-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-#MAJORVER#-dev" ]; then + dpkg-divert --remove --rename --package nvidia-glx-#MAJORVER#-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-#MAJORVER#-dev" ]; then + dpkg-divert --remove --rename --package nvidia-glx-#MAJORVER#-dev --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null + fi + + 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-190-190.53.orig/debian/changelog +++ nvidia-graphics-drivers-190-190.53/debian/changelog @@ -0,0 +1,661 @@ +nvidia-graphics-drivers-190 (190.53-0ubuntu1~karmic~nvidiavdpauppa14) karmic; urgency=low + + * Added libvdpau_nvidia.so.1 link. + * Fixed lib32 libvdpau_nvidia files not being installed. + * Added debian.binary/patches/nvidia-190.53-2.6.33.patch to dkms + in case user is building on 2.6.33 kernel. + -- Fixed patch to work in Ubuntu. + + -- Brandon Snider Sat, 13 Mar 2010 17:36:11 -0500 + +nvidia-graphics-drivers-190 (190.53-0ubuntu1~karmic~nvidiavdpauppa12) karmic; urgency=low + + * Dropped dependency on libvdpau. + * Added dependency to execstack, added execstack rules to debian/rules. + * Replaced nvidia-190-kernel-source.postinst.in script with more recent code. + + -- Brandon Snider Wed, 30 Dec 2009 14:27:01 -0500 + +nvidia-graphics-drivers-190 (190.53-0ubuntu1~karmic~nvidiavdpauppa7) karmic; urgency=low + + * Synced with Mario's PPA (removed libvdau packages). + + -- Brandon Snider Fri, 18 Dec 2009 20:07:29 -0500 + +nvidia-graphics-drivers-190 (190.42-0ubuntu1~karmic~nvidiavdpauppa4) karmic; urgency=low + + * Fixed dependencies. + + -- Brandon Snider Tue, 24 Nov 2009 19:00:26 -0500 + +nvidia-graphics-drivers-190 (190.42-0ubuntu1~karmic~nvidiavdpauppa3) karmic; urgency=low + + * Re-packaged using source for current nvidia-185 package as a base. + * Disabled all patches. + + -- Brandon Snider Mon, 02 Nov 2009 22:58:33 -0500 + +nvidia-graphics-drivers-190 (190.42-0ubuntu1~karmic~nvidiavdpauppa2) karmic; urgency=low + + * Packaging change: Disabled realtime kernel patch, as it was failing to apply. + * Nvidia changes: + * Fixed a bug in the nvidia-settings disclaimer window for the GPU + Clock Frequencies Coolbits page, such that the "Accept" button + is selectable when the desktop is so tall that the entire disclaimer + can be viewed without scrolling. + * Fixed a recent regression that caused the Xinerama option to not be + set properly in the X configuration file when saving and merging + from the nvidia-settings X Server Display Configuration page. + * Fixed a resource leak in VDPAU's blit-based presentation queue. + This bug limited the number of presentation queue objects that + could be created and destroyed in a single application instance, + and hence could limit the number of streams that could be displayed + and/or the number of iterations of "loop" playback. + * Fixed a power management regression that prevented some notebooks + and systems with integrated GeForce 8 and 9 series GPUs from suspending. + * Fixed a regression that caused TV-OUT controls to be unavailable on + some GeForce 6 and 7 series GPUs. + + -- Brandon Snider Thu, 22 Oct 2009 18:15:14 -0400 + +nvidia-graphics-drivers-190 (190.36-0ubuntu1~hardy~nvidiavdpauppa1) hardy; urgency=low + + * Added support for X.Org xserver 1.6.99.901 + (also known as 1.7 RC1) and 1.6.99.902 (1.7 RC2). + * Add a new OverscanCompensation NV-CONTROL attribute, + available on GeForce 8 and higher. This option specifies + the amount of overscan compensation to apply to the current mode. + It is measured in raster pixels, i.e. pixels as specified in + the current mode's backend timings. + * Updated nvidia-installer to detect newer Debian distributions + that use /usr/lib32 instead of /emul/ia32-linux as the 32-bit library path. + + -- Brandon Snider Thu, 08 Oct 2009 20:34:32 -0400 + +nvidia-graphics-drivers-190 (190.32-0ubuntu1~karmic~nvidiavdpauppa1) karmic; urgency=low + + * Added support for IgnoreEDIDChecksum X configuration option, which can be + used to force the X driver to accept the EDID of a display device even when + the checksum is invalid. Please see the README IgnoreEDIDChecksum + description for a caution and details of use. + * Added support for configuring the GPU's fan speed; see the "Coolbits" X + configuration option in the README. + * Fixed a bug in VDPAU that could cause visible corruption near the bottom + edge of the picture when decoding VC-1 simple/main profile clips whose + heights are not exact multiples of 16 pixels, on GPUs with VDPAU feature set A. + * On GPUs with VDPAU feature set C, VDPAU now supports decoding MPEG-4 + Part 2, DivX 4, and DivX 5 video. The VDPAU API has been enhanced to + expose this feature. + * On GPUs with VDPAU feature set C, VDPAU now supports a higher quality + video scaling algorithm. The VDPAU API has been enhanced to expose this feature. + + -- Brandon Snider Sat, 05 Sep 2009 15:09:00 -0400 + +nvidia-graphics-drivers-190 (190.18.03-0ubuntu1~hardy~ppa1) hardy; urgency=low + + * Added support for OpenGL 3.2 and GLSL 1.5 on some hardware. + + -- Brandon Snider Mon, 03 Aug 2009 21:28:03 -0400 + +nvidia-graphics-drivers-190 (190.18-0ubuntu1~ppa2) jaunty; urgency=low + + * Fixed an initialization problem on some mobile GPUs. + * Worked around X.Org X server Bugzilla bug #22804. This bug allows X clients + to send invalid XGetImage requests to the hardware, leading to screen + corruption or hangs. This was most commonly triggered by running JDownloader in KDE 4. + * Fixed a crash in nvidia-settings displaying GPU information when in Xinerama. + * Removed drm_agp_memory-2.6.31.patch for lack of compatible code in the + two referenced scripts. + + -- Brandon Snider Thu, 23 Jul 2009 13:05:54 -0400 + +nvidia-graphics-drivers-190 (190.16-0ubuntu1~karmic~ppa1) karmic; urgency=low + + * Added GLX protocol support (i.e., for GLX indirect rendering) for the + following OpenGL extensions: + o GL_ARB_draw_buffers + o GL_EXT_Cg_shader + o GL_EXT_gpu_program_parameters + o GL_NV_fragment_program + o GL_NV_gpu_program4 + o GL_NV_register_combiners + o GL_NV_vertex_program1_1 + o GL_NV_vertex_program2 + * Added unofficial GLX protocol support (i.e., for GLX indirect rendering) + for the following OpenGL extensions: + o GL_ARB_geometry_shader4 + o GL_ARB_shader_objects + o GL_ARB_texture_buffer_object + o GL_ARB_vertex_buffer_object + o GL_ARB_vertex_shader + o GL_EXT_bindable_uniform + o GL_EXT_compiled_vertex_array + o GL_EXT_geometry_shader4 + o GL_EXT_gpu_shader4 + o GL_EXT_texture_buffer_object + o GL_NV_geometry_program4 + o GL_NV_vertex_program + o GL_NV_parameter_buffer_object + o GL_NV_vertex_program4 + GLX protocol for GL_EXT_vertex_array was also updated to incorporate rendering + using GL_ARB_vertex_buffer_object. Use of these extensions with GLX indirect rendering + requires the AllowUnofficialGLXProtocol X configuration option and + the __GL_ALLOW_UNOFFICIAL_PROTOCOL environment variable. + * Fixed a bug that caused glXGetVideoSyncSGI, glXWaitVideoSyncSGI, and glXGetRefreshRateSGI + to operate on the wrong screen when there are multiple X screens. + * Fixed glXQueryVersion to report GLX version 1.4. NVIDIA's GLX version has been 1.4 for + several releases, and was already reported as 1.4 in the GLX client and GLX server version strings. + * Fixed a problem that caused window border corruption when the screen is rotated. + * 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. + * Added support for configuring the GPU PowerMizer Mode on GeForce 8 or later GPUs + with multiple performance levels via nvidia-settings and NV-CONTROL. + * 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. + * Add in drm_agp_memory-2.6.31.patch + + -- Brandon Snider Tue, 21 Jul 2009 21:11:48 -0400 + +nvidia-graphics-drivers-190 (190.09-0ubuntu1~ppa7) jaunty; urgency=low + + - Modified nvidia-rt-compat.patch to conform to changes in os-interface.c + + -- Brandon Snider Tue, 23 Jun 2009 21:53:31 -0400 + + +nvidia-graphics-drivers-185 (185.18.14-0ubuntu1~ppa1) jaunty; urgency=low + + * Fixed a Xinerama drawable resource management problem that can cause + GLXBadDrawable errors in certain cases, such as when Wine applications are run. + * 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. + * 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. + + + -- Brandon Snider Thu, 28 May 2009 21:46:49 -0400 + +nvidia-graphics-drivers-185 (185.18.04-0ubuntu1~ppa2) jaunty; urgency=low + + - Worked around a bug in a RedHat patch applied to the X server + in RHEL 5 that caused screen resolution changes to corrupt the screen. + - Fixed occasional X driver memory management performance + problems when a composite manager is running. + - Improved compatibility with recent Linux kernels. + - Fixed a DisplayPort interaction problem with power management + suspend/resume events. + + -- Brandon Snider Sat, 25 Apr 2009 22:00:40 -0400 + +nvidia-graphics-drivers-185 (185.19-0ubuntu1~ppa4) jaunty; urgency=low + + * Initial Release + - Added support for the following new GPUs: + o Quadro FX 3800 + o Quadro FX 1800 + o Quadro FX 380 + o Quadro FX 580 + o GeForce GTS 250 + o GeForce GT 140 + o GeForce GT 130 + o GeForce 9600 GSO 512 + - Fixed SDI presentation time queries returning unexpected values. + - Removed the 'AllowDFPStereo' X config file option, which is now + enabled by default. + - Fixed a bug that caused certain programs to hang when multiple + threads call functions in libdl at the same time. + - Fixed a driver crash when OpenGL applications use an extremely + large number of textures. + - Text rendering to PseudoColor windows with the glyph cache enabled + no longer causes GPU errors. + - The X driver now allows pixmaps smaller than 32x32 pixels to be placed + in video memory. + - Fix a problem that prevented the driver from retraining a DisplayPort + link after a device is hotplugged. + - nvidia-bug-report.sh now automatically gzips the resulting log file. + - Fix VDPAU to eliminate some cases of GPU hangs when decoding + H.264 video on G84, G86, G92, G94, G96, or GT200 GPUs, and supplying + a DPB missing some reference frames. + - The VDPAU presentation queue now syncs to VBLANK in the blit path. + The environment variable VDPAU_NVIDIA_SYNC_DISPLAY_DEVICE selects + which display to sync to when TwinView is enabled; see the README for details. + - On systems using integrated graphics, VDPAU now uses system RAM + instead of video RAM for many purposes. This should prevent + "out of resources" problems in most cases, even when the video RAM + carve-out is configured as low as 128M. + - Added support for Quad-Buffered Stereo in the main plane + simultaneously with the Color Index Overlay; i.e., both Stereo + GLX FBConfigs and Color Index Overlay FBConfigs can be advertised + and used at the same time, though no single GLX FBConfig contains + both Stereo and Overlay capabilities. + + -- Brandon Snider Mon, 05 Apr 2009 19:58:32 +0200 + + * 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-190-190.53.orig/debian/nvidia-190-kernel-source.README.Debian +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-190-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_190.53-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-190-190.53.orig/debian/nvidia-190-kernel-source.prerm.in +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-190-kernel-source.prerm.in @@ -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-#MAJORVER#-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-190-190.53.orig/debian/nvidia-glx-190-dev.preinst.in +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190-dev.preinst.in @@ -0,0 +1,76 @@ +#! /bin/sh +# preinst script for nvidia-glx-#MAJORVER#-dev +# +# see: dh_installdeb(1) + +set -e + +PKGVER=`dpkg-query -W -f='${Version}' nvidia-glx-#MAJORVER#-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-#MAJORVER#-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-#MAJORVER#-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-#MAJORVER#-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-#MAJORVER#-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-#MAJORVER#-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-#MAJORVER#-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-#MAJORVER#-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-#MAJORVER#-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 + + ;; + + 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-190-190.53.orig/debian/nvidia-glx-190.dirs.in +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.dirs.in @@ -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-#MAJORVER# --- nvidia-graphics-drivers-190-190.53.orig/debian/copyright +++ nvidia-graphics-drivers-190-190.53/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_64/190.53/NVIDIA-Linux-x86_64-190.53-pkg2.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-190-190.53.orig/debian/nvidia-glx-190.postinst +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.postinst @@ -0,0 +1,50 @@ +#!/bin/sh + +set -e + + + #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 + + + + +#DEBHELPER# + + + +ldconfig --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-glx-190.examples.in +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.examples.in @@ -0,0 +1,2 @@ +#DIRNAME#/usr/share/doc/XF86Config.sample + --- nvidia-graphics-drivers-190-190.53.orig/debian/rules +++ nvidia-graphics-drivers-190-190.53/debian/rules @@ -0,0 +1,405 @@ +#!/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-190 +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) +majorver:=$(shell sh debian/upstream_info MAJORVER) + +AUTOGEN=debian/control \ +debian/copyright \ +debian/dkms.conf \ +debian/nvidia-190-kernel-source.docs \ +debian/nvidia-190-kernel-source.postinst \ +debian/nvidia-190-kernel-source.prerm \ +debian/nvidia-190-kernel-source.README.Debian \ +debian/nvidia-glx-190-dev.links \ +debian/nvidia-glx-190-dev.postrm \ +debian/nvidia-glx-190-dev.preinst \ +debian/nvidia-glx-190.dirs \ +debian/nvidia-glx-190.docs \ +debian/nvidia-glx-190.examples \ +debian/nvidia-glx-190.links \ +debian/nvidia-glx-190.override \ +debian/nvidia-glx-190.postrm \ +debian/nvidia-glx-190.preinst + +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)/debian.binary/patches; \ + then \ + cp -R $(CURDIR)/debian.binary/patches $(dirname)/usr/src/nv/; \ + 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-190/nvidia-kernel-190/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/ + 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 + + 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 + + mkdir -p $(CURDIR)/debian/nvidia-190-kernel-source/usr/src/nvidia-$(version) + cp -a $(CURDIR)/debian/temp/modules/nvidia-kernel/nv/* \ + $(CURDIR)/debian/nvidia-190-kernel-source/usr/src/nvidia-$(version)/ + + install -m 644 $(CURDIR)/debian/dkms.conf $(CURDIR)/debian/nvidia-190-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-190/usr/lib/xorg/modules/drivers + + + + install $(dirname)/usr/X11R6/lib/libXvMCNVIDIA.a $(CURDIR)/debian/nvidia-glx-190-dev/usr/lib/libXvMCNVIDIA.a; + install $(dirname)/usr/X11R6/lib/libXvMCNVIDIA.so.${version} $(CURDIR)/debian/nvidia-glx-190/usr/lib/libXvMCNVIDIA.so.${version}; + + + + + install -m 0644 $(dirname)/usr/include/GL/gl.h \ + $(CURDIR)/debian/nvidia-glx-190-dev/usr/include/GL + install -m 0644 $(dirname)/usr/include/GL/glext.h \ + $(CURDIR)/debian/nvidia-glx-190-dev/usr/include/GL + + #CUDA + install -m 0644 $(dirname)/usr/include/cuda/cuda.h \ + $(CURDIR)/debian/nvidia-glx-190-dev/usr/include/cuda + install -m 0644 $(dirname)/usr/include/cuda/cudaGL.h \ + $(CURDIR)/debian/nvidia-glx-190-dev/usr/include/cuda + + install -m 0644 $(dirname)/usr/include/GL/glx.h \ + $(CURDIR)/debian/nvidia-glx-190-dev/usr/include/GL + install -m 0644 $(dirname)/usr/include/GL/glxext.h \ + $(CURDIR)/debian/nvidia-glx-190-dev/usr/include/GL + + + install -m 0644 $(dirname)/usr/lib/libGL.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib + install -m 0644 $(dirname)/usr/lib/libGLcore.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib + + #CUDA 32bit libs and links + install -m 0644 $(dirname)/usr/lib/libcuda.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib + ln -s libcuda.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib/libcuda.so; \ + ln -s libcuda.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib/libcuda.so.1; \ + + #VDPAU 32bit libs and links + install -m 0644 $(dirname)/usr/lib/vdpau/libvdpau_nvidia.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib + ln -s libvdpau_nvidia.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib/libvdpau_nvidia.so; \ + + + + sed "s/__GENERATED_BY__/Ubuntu nvidia-graphics-drivers-190/" $(dirname)/usr/lib/libGL.la | sed "s/__LIBGL_PATH__/\/usr\/lib/" > $(CURDIR)/debian/nvidia-glx-190-dev/usr/lib/libGL.la + + # TLS for 32bit + install $(dirname)/usr/lib/libnvidia-tls.so.${version} $(CURDIR)/debian/nvidia-glx-190/usr/lib/ + install $(dirname)/usr/lib/tls/libnvidia-tls.so.${version} $(CURDIR)/debian/nvidia-glx-190/usr/lib/tls/ + install $(dirname)/usr/bin/tls_test $(CURDIR)/debian/nvidia-glx-190/usr/lib/nvidia + install $(dirname)/usr/bin/tls_test_dso.so $(CURDIR)/debian/nvidia-glx-190/usr/lib/nvidia + + + install -m 0644 $(dirname)/usr/lib/libnvidia-cfg.so.${version} $(CURDIR)/debian/nvidia-glx-190/usr/lib/nvidia/ + + + install $(dirname)/usr/X11R6/lib/modules/extensions/libglx.so.${version} $(CURDIR)/debian/nvidia-glx-190/usr/lib/xorg/modules/extensions/ + + install -d $(CURDIR)/debian/nvidia-glx-190/usr/share/lintian/overrides + install -m 0644 debian/nvidia-glx-190.override \ + $(CURDIR)/debian/nvidia-glx-190/usr/share/lintian/overrides/nvidia-glx-190 + + #the links for the 32bit compatibility libraries are set here + if [ "$(DEB_BUILD_ARCH)" = "amd64" ] ; then \ + install -d $(CURDIR)/debian/nvidia-glx-190/usr/lib32 \ + $(CURDIR)/debian/nvidia-glx-190-dev/usr/lib32; \ + install $(dirname)/usr/lib32/libGLcore.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib32 ; \ + ln -s libGLcore.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib32/libGLcore.so; \ + install $(dirname)/usr/lib32/libGL.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib32 ; \ + ln -s libGL.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib32/libGL.so; \ + ln -s libGL.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/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-190-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-190/usr/lib32 ; \ + ln -s libcuda.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib32/libcuda.so; \ + ln -s libcuda.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/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-190/usr/lib32 ; \ + ln -s libnvidia-cfg.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib32/libnvidia-cfg.so.1; \ + fi; \ + #VDPAU 32bit libs and links \ + if [ -e $(dirname)/usr/lib32/vdpau/libvdpau_nvidia.so.${version} ]; then \ + mkdir -p $(CURDIR)/debian/nvidia-glx-190/usr/lib32/; \ + install -m 0644 $(dirname)/usr/lib32/vdpau/libvdpau_nvidia.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib32; \ + ln -s libvdpau_nvidia.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib32/libvdpau_nvidia.so; \ + ln -s libvdpau_nvidia.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib32/libvdpau_nvidia.so.1; \ + fi; \ + #TLS \ + install $(dirname)/usr/lib32/libnvidia-tls.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib32 ; \ + install $(dirname)/usr/lib32/tls/libnvidia-tls.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib32/tls ; \ + ln -s libnvidia-tls.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib32/libnvidia-tls.so.1; \ + fi + + + install -m 755 $(dirname)/usr/bin/nvidia-bug-report.sh $(CURDIR)/debian/nvidia-glx-190/usr/bin/ + # use separate package + install -m 755 $(dirname)/usr/bin/nvidia-xconfig $(CURDIR)/debian/nvidia-glx-190/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-190/usr/bin/ ; \ + install -m 644 $(dirname)/usr/share/man/man1/nvidia-xconfig.1.gz \ + $(CURDIR)/debian/nvidia-glx-190/usr/share/man/man1/ ; \ + fi + # use separate source package instead + + mkdir -p $(CURDIR)/debian/nvidia-glx-190/usr/share/pixmaps/ + install $(dirname)/usr/share/pixmaps/nvidia-settings.png $(CURDIR)/debian/nvidia-glx-190/usr/share/pixmaps/ + + mkdir -p $(CURDIR)/debian/nvidia-190-modaliases/usr/share/jockey/modaliases/ + + $(SHELL) $(CURDIR)/debian/nvidia_supported \ + $(dirname)/usr/src/nv/nv-kernel.o nvidia nvidia-glx-190 \ + > $(CURDIR)/debian/nvidia-190-modaliases/usr/share/jockey/modaliases/nvidia-190 + + install $(CURDIR)/script $(CURDIR)/debian/nvidia-glx-190/usr/share/bug/nvidia-glx-190 + + for i in \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib/lib*.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib/tls/lib*.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib/nvidia/lib*.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/usr/lib/xorg/modules/extensions/lib*.so.${version} \ + $(CURDIR)/debian/nvidia-glx-190/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-190/usr/lib + # Exclude packages we handle special + dh_gencontrol -Nnvidia-glx-190 -Nnvidia-glx-190-dev -Nnvidia-190-kernel-source + + # build with different version numbers + dh_gencontrol -v -pnvidia-glx-190 -- -v$(pkgver) -Vnvidia:Version=$(version) + dh_gencontrol -v -pnvidia-glx-190-dev -- -v$(pkgver) -Vnvidia:Version=$(version) + dh_gencontrol -v -pnvidia-190-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;' \ + -e 's{#MAJORVER#}{$(majorver)}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-190-190.53.orig/debian/control +++ nvidia-graphics-drivers-190-190.53/debian/control @@ -0,0 +1,142 @@ +Source: nvidia-graphics-drivers-190 +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-190 +Architecture: any +Depends: nvidia-190-kernel-source (>= 190.53), x11-common (>= 1:7.0.0), ${shlibs:Depends} +Recommends: nvidia-settings +Conflicts: nvidia-glx-src, nvidia-glx, xorg-driver-fglrx, nvidia-glx-185, nvidia-glx-180 +Provides: ${xviddriver:Provides}, nvidia-glx +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-185, + 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-190-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, Quadro FX 3800, Quadro FX 1800, Quadro FX + 380, Quadro FX 580, GeForce GTS 250, GeForce GT 140, GeForce + GT 130, GeForce 9600 GSO 512, Quadro NVS 295, GeForce GT 120, + GeForce G100 + . + See /usr/share/doc/nvidia-glx/README.txt.gz for a complete list + of supported GPUs and PCIIDs + . + +Package: nvidia-glx-190-dev +Architecture: any +Depends: nvidia-glx-190 (>= 190.53) +Provides: libgl-dev, libgl1-mesa-dev, mesa-common-dev, nvidia-glx-dev +Conflicts: nvidia-glx-180, nvidia-glx-185, nvidia-glx-190 (>= 190.54), + libgl-dev, libgl1-mesa-dev, mesa-common-dev, nvidia-glx-dev, nvidia-glx-185-dev, + nvidia-glx-dev-new, nvidia-glx-dev-legacy, nvidia-glx-180-dev +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-185-dev, + nvidia-glx-180-dev, 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 +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-190-kernel-source +Architecture: any +Depends: make, sed (>> 3.0), dkms, linux-libc-dev, libc6-dev, linux-headers-generic | linux-headers +Recommends: nvidia-glx-190 (>= 190.53) +Provides: nvidia-kernel-source +Conflicts: nvidia-kernel-src, nvidia-kernel-source, nvidia-180-kernel-source, + nvidia-185-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, 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-190-modaliases +Architecture: any +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. --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-glx-190.preinst.in +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.preinst.in @@ -0,0 +1,208 @@ +#! /bin/sh +# preinst script for nvidia-glx-190 +# +# 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-installation-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-185" \ + "nvidia-glx-180" "nvidia-glx-177" "nvidia-glx-173" "nvidia-glx-96" "nvidia-glx-71" \ + "nvidia-glx-#MAJORVER#" + + 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-#MAJORVER# --divert /usr/lib/nvidia/libGL.so.1.xlibmesa /usr/lib/libGL.so.1 > /dev/null + + dpkg-divert --add --rename --package nvidia-glx-#MAJORVER# --divert /usr/lib/nvidia/libGL.so.1.2.xlibmesa /usr/lib/libGL.so.1.2 > /dev/null + dpkg-divert --add --rename --package nvidia-glx-#MAJORVER# --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-#MAJORVER# --divert /usr/lib32/nvidia/libGL.so.xlibmesa /usr/lib32/libGL.so > /dev/null + dpkg-divert --add --rename --package nvidia-glx-#MAJORVER# --divert /usr/lib32/nvidia/libGL.so.1.xlibmesa /usr/lib32/libGL.so.1 > /dev/null + dpkg-divert --add --rename --package nvidia-glx-#MAJORVER# --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-#MAJORVER# --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-190-190.53.orig/debian/upstream_info +++ nvidia-graphics-drivers-190-190.53/debian/upstream_info @@ -0,0 +1,73 @@ +eval `dpkg-architecture` + +#BASE_VERSION=1.0 +RELEASE=190.53 +NEXTVER=190.54 + +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} +MAJORVER=`echo ${RELEASE} | awk -F "." '{print $1}'` + +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" + ;; + MAJORVER) + echo "$MAJORVER" + ;; + +esac + +exit 0 --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-190-kernel-source.NEWS +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-190-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-190-190.53.orig/debian/nvidia-glx-190.dirs +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.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-190 --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-glx-190.override +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.override @@ -0,0 +1,13 @@ +nvidia-glx: library-not-linked-against-libc ./usr/lib/libGL.so.190.53 + +nvidia-glx: shared-lib-without-dependency-information ./usr/lib/libGLcore.so.190.53 + +nvidia-glx: library-not-linked-against-libc ./usr/lib/xorg/modules/extensions/libglx.so.190.53 + +nvidia-glx: shlib-with-non-pic-code usr/lib/libGL.so.190.53 +nvidia-glx: shlib-with-non-pic-code usr/lib/libGLcore.so.190.53 +nvidia-glx: shlib-with-non-pic-code usr/lib/xorg/modules/extensions/libglx.so.190.53 +nvidia-glx: shlib-with-non-pic-code usr/lib/libXvMCNVIDIA.so.190.53 + +nvidia-glx: non-dev-pkg-with-shlib-symlink usr/lib/libGL.so.190.53 usr/lib/libGL.so +nvidia-glx: non-dev-pkg-with-shlib-symlink usr/lib/xorg/modules/extensions/libglx.so.190.53 usr/lib/xorg/modules/extensions/libglx.so --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-glx-190.links.in +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.links.in @@ -0,0 +1,12 @@ +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 +usr/lib/libvdpau_nvidia.so.#VERSION# usr/lib/libvdpau_nvidia.so +usr/lib/libvdpau_nvidia.so.#VERSION# usr/lib/libvdpau_nvidia.so.1 --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-glx-190.docs.in +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.docs.in @@ -0,0 +1,2 @@ +#DIRNAME#/usr/share/doc/NVIDIA_Changelog +#DIRNAME#/usr/share/doc/README.txt --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-glx-190.preinst +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.preinst @@ -0,0 +1,208 @@ +#! /bin/sh +# preinst script for nvidia-glx-190 +# +# 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-installation-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-185" \ + "nvidia-glx-180" "nvidia-glx-177" "nvidia-glx-173" "nvidia-glx-96" "nvidia-glx-71" \ + "nvidia-glx-190" + + 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-190 --divert /usr/lib/nvidia/libGL.so.1.xlibmesa /usr/lib/libGL.so.1 > /dev/null + + dpkg-divert --add --rename --package nvidia-glx-190 --divert /usr/lib/nvidia/libGL.so.1.2.xlibmesa /usr/lib/libGL.so.1.2 > /dev/null + dpkg-divert --add --rename --package nvidia-glx-190 --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-190 --divert /usr/lib32/nvidia/libGL.so.xlibmesa /usr/lib32/libGL.so > /dev/null + dpkg-divert --add --rename --package nvidia-glx-190 --divert /usr/lib32/nvidia/libGL.so.1.xlibmesa /usr/lib32/libGL.so.1 > /dev/null + dpkg-divert --add --rename --package nvidia-glx-190 --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-190 --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-190-190.53.orig/debian/nvidia-glx-190.shlibs +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.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-190-190.53.orig/debian/nvidia-glx-190.docs +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.docs @@ -0,0 +1,2 @@ +NVIDIA-Linux-x86_64-190.53-pkg2/usr/share/doc/NVIDIA_Changelog +NVIDIA-Linux-x86_64-190.53-pkg2/usr/share/doc/README.txt --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-settings.dirs +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-settings.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/doc/nvidia-settings --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia_supported +++ nvidia-graphics-drivers-190-190.53/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-190-190.53.orig/debian/nvidia-glx-190.links +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.links @@ -0,0 +1,12 @@ +usr/lib/libGL.so.190.53 usr/lib/libGL.so.1 +usr/lib/libGLcore.so.190.53 usr/lib/libGLcore.so.1 +usr/lib/libnvidia-cfg.so.190.53 usr/lib/libnvidia-cfg.so.1 +usr/lib/libnvidia-tls.so.190.53 usr/lib/libnvidia-tls.so.1 +usr/lib/xorg/modules/extensions/libglx.so.190.53 usr/lib/xorg/modules/extensions/libglx.so +usr/lib/libXvMCNVIDIA.so.190.53 usr/lib/libXvMCNVIDIA.so +usr/lib/libXvMCNVIDIA.so.190.53 usr/lib/libXvMCNVIDIA.so.1 +usr/lib/libXvMCNVIDIA.so.190.53 usr/lib/libXvMCNVIDIA_dynamic.so.1 +usr/lib/libcuda.so.190.53 usr/lib/libcuda.so +usr/lib/libcuda.so.190.53 usr/lib/libcuda.so.1 +usr/lib/libvdpau_nvidia.so.190.53 usr/lib/libvdpau_nvidia.so +usr/lib/libvdpau_nvidia.so.190.53 usr/lib/libvdpau_nvidia.so.1 --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-glx-190.override.in +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.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-190-190.53.orig/debian/nvidia-glx-190-dev.dirs +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190-dev.dirs @@ -0,0 +1,3 @@ +usr/include/GL +usr/include/cuda +usr/lib/nvidia --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-glx-190.postrm.in +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.postrm.in @@ -0,0 +1,73 @@ +#! /bin/sh +# postrm script for nvidia-glx-#MAJORVER# +# +# 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-#MAJORVER#" ]; then + dpkg-divert --remove --rename --package nvidia-glx-#MAJORVER# --divert /usr/lib/nvidia/libGL.so.1.xlibmesa /usr/lib/libGL.so.1 > /dev/null + dpkg-divert --remove --rename --package nvidia-glx-#MAJORVER# --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-#MAJORVER#" ]; then + dpkg-divert --remove --rename --package nvidia-glx-#MAJORVER# --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-#MAJORVER#" ]; then + dpkg-divert --remove --rename --package nvidia-glx-#MAJORVER# --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-#MAJORVER#" ]; then + rm -f /usr/lib32/libGL.so > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-#MAJORVER# --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-#MAJORVER#" ]; then + rm -f /usr/lib32/libGL.so.1 > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-#MAJORVER# --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-#MAJORVER#" ]; then + rm -f /usr/lib32/libGL.so.1.2 > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-#MAJORVER# --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 + + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# --- nvidia-graphics-drivers-190-190.53.orig/debian/update.sh +++ nvidia-graphics-drivers-190-190.53/debian/update.sh @@ -0,0 +1,24 @@ +#!/bin/sh + +Usage() +{ + echo "usage $0 " + exit 1 +} + +if [ "$1" = "" ]; then + Usage +fi +OLDVER=$1 + +if [ "$2" = "" ]; then + Usage +fi +NEWVER=$2 +PATTERN=$(echo "s/$OLDVER/$NEWVER/g" | sed -e 's/\./\\./g') + +for i in $(grep $OLDVER * | grep -v changelog | cut -d: -f1 | sort -u); do + echo Updating $i + sed -e $PATTERN $i > $i.tmp + mv $i.tmp $i +done --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-190-kernel-source.README.Debian.in +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-190-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-190-190.53.orig/debian/nvidia-glx-190.prerm +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.prerm @@ -0,0 +1,40 @@ +#! /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) + ;; + 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 + + --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-glx-190-dev.links.in +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190-dev.links.in @@ -0,0 +1 @@ +usr/share/nvidia/include /usr/share/doc/nvidia-glx-#MAJORVER#-dev/include --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-glx-190-dev.links +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190-dev.links @@ -0,0 +1 @@ +usr/share/nvidia/include /usr/share/doc/nvidia-glx-190-dev/include --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-glx-190-dev.preinst +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190-dev.preinst @@ -0,0 +1,76 @@ +#! /bin/sh +# preinst script for nvidia-glx-190-dev +# +# see: dh_installdeb(1) + +set -e + +PKGVER=`dpkg-query -W -f='${Version}' nvidia-glx-190-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-190-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-190-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-190-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-190-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-190-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-190-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-190-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-190-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 + + ;; + + 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-190-190.53.orig/debian/dkms.conf +++ nvidia-graphics-drivers-190-190.53/debian/dkms.conf @@ -0,0 +1,9 @@ +PACKAGE_NAME="nvidia" +PACKAGE_VERSION="190.53" +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" +PATCH[0]="nvidia-190.53-2.6.33.patch" +PATCH_MATCH[0]="^2.6.3[3]" +AUTOINSTALL="yes" --- nvidia-graphics-drivers-190-190.53.orig/debian/scriptremove.sh +++ nvidia-graphics-drivers-190-190.53/debian/scriptremove.sh @@ -0,0 +1,5 @@ +#!/bin/sh +set -x -v +version="169.12" +sed -e "s/#VERSION#/${version}/g" \ + dkms.conf.in > dkms.conf --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-glx-190-dev.postrm +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190-dev.postrm @@ -0,0 +1,51 @@ +#! /bin/sh +# postrm script for nvidia-glx-190 +# +# see: dh_installdeb(1) + +set -e + +PKGVER=`dpkg-query -W -f='${Version}' nvidia-glx-190-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-190" ]; then + dpkg-divert --remove --rename --package nvidia-glx-190-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-190" ]; then + dpkg-divert --remove --rename --package nvidia-glx-190-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-190-dev" ]; then + dpkg-divert --remove --rename --package nvidia-glx-190-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-190-dev" ]; then + dpkg-divert --remove --rename --package nvidia-glx-190-dev --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null + fi + + 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-190-190.53.orig/debian/control.in +++ nvidia-graphics-drivers-190-190.53/debian/control.in @@ -0,0 +1,142 @@ +Source: nvidia-graphics-drivers-#MAJORVER# +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-#MAJORVER# +Architecture: any +Depends: nvidia-#MAJORVER#-kernel-source (>= #VERSION#), x11-common (>= 1:7.0.0), ${shlibs:Depends} +Recommends: nvidia-settings +Conflicts: nvidia-glx-src, nvidia-glx, xorg-driver-fglrx, nvidia-glx-185, nvidia-glx-180 +Provides: ${xviddriver:Provides}, nvidia-glx +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-185, + 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-#MAJORVER#-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, Quadro FX 3800, Quadro FX 1800, Quadro FX + 380, Quadro FX 580, GeForce GTS 250, GeForce GT 140, GeForce + GT 130, GeForce 9600 GSO 512, Quadro NVS 295, GeForce GT 120, + GeForce G100 + . + See /usr/share/doc/nvidia-glx/README.txt.gz for a complete list + of supported GPUs and PCIIDs + . + +Package: nvidia-glx-#MAJORVER#-dev +Architecture: any +Depends: nvidia-glx-#MAJORVER# (>= #VERSION#) +Provides: libgl-dev, libgl1-mesa-dev, mesa-common-dev, nvidia-glx-dev +Conflicts: nvidia-glx-180, nvidia-glx-185, nvidia-glx-#MAJORVER# (>= #NEXTVER#), + libgl-dev, libgl1-mesa-dev, mesa-common-dev, nvidia-glx-dev, nvidia-glx-185-dev, + nvidia-glx-dev-new, nvidia-glx-dev-legacy, nvidia-glx-180-dev +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-185-dev, + nvidia-glx-180-dev, 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 +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-#MAJORVER#-kernel-source +Architecture: any +Depends: make, sed (>> 3.0), dkms, linux-libc-dev, libc6-dev, linux-headers-generic | linux-headers +Recommends: nvidia-glx-#MAJORVER# (>= #VERSION#) +Provides: nvidia-kernel-source +Conflicts: nvidia-kernel-src, nvidia-kernel-source, nvidia-180-kernel-source, + nvidia-185-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, 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-#MAJORVER#-modaliases +Architecture: any +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. --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-glx-190-dev.postinst +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190-dev.postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + + +case "$1" in + configure) + ;; +esac + +#DEBHELPER# --- nvidia-graphics-drivers-190-190.53.orig/debian/nvidia-glx-190.NEWS +++ nvidia-graphics-drivers-190-190.53/debian/nvidia-glx-190.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-190-190.53.orig/debian.binary/nvidia-190.53-2.6.33.patch +++ nvidia-graphics-drivers-190-190.53/debian.binary/nvidia-190.53-2.6.33.patch @@ -0,0 +1,91 @@ +Index: usr/src/nv/conftest.sh +=================================================================== +--- usr/src/nv/conftest.sh ++++ usr/src/nv/conftest.sh 2010-01-06 12:10:56.000000000 +0530 +@@ -32,14 +32,14 @@ + # CONFIG_XEN and CONFIG_PARAVIRT are present, text_xen() treats + # the kernel as a stand-alone kernel. + # +- FILE="linux/autoconf.h" ++ FILE="generated/autoconf.h" + + if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then + # + # We are looking at a configured source tree; verify + # that it's not a Xen kernel. + # +- echo "#include ++ echo "#include + #if defined(CONFIG_XEN) && !defined(CONFIG_PARAVIRT) + #error CONFIG_XEN defined! + #endif +@@ -111,7 +111,12 @@ + fi + } + +-CONFTEST_PREAMBLE="#include ++CONFTEST_PREAMBLE="#include ++ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) ++ #include ++ #else ++ #include ++ #endif + #if defined(CONFIG_XEN) && \ + defined(CONFIG_XEN_INTERFACE_VERSION) && !defined(__XEN_INTERFACE_VERSION__) + #define __XEN_INTERFACE_VERSION__ CONFIG_XEN_INTERFACE_VERSION +@@ -1294,7 +1299,7 @@ + echo ""; + fi + fi +- exit $RET ++# exit $RET + ;; + + get_uname) +@@ -1316,11 +1321,11 @@ + # tree or at headers shipped for a specific kernel. + # Determine the kernel version using a compile check. + # +- FILE="linux/utsrelease.h" ++ FILE="generated/utsrelease.h" + + if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then + echo "$CONFTEST_PREAMBLE +- #include ++ #include + int main() { + printf(\"%s\", UTS_RELEASE); + return 0; +@@ -1375,7 +1380,7 @@ + # + RET=1 + VERBOSE=$6 +- FILE="linux/autoconf.h" ++ FILE="generated/autoconf.h" + + if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then + # +@@ -1429,7 +1434,7 @@ + # + RET=1 + VERBOSE=$6 +- FILE="linux/autoconf.h" ++ FILE="generated/autoconf.h" + + if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then + # +Index: usr/src/nv/nvacpi.c +=================================================================== +--- usr/src/nv/nvacpi.c ++++ usr/src/nv/nvacpi.c 2010-01-06 12:10:56.000000000 +0530 +@@ -49,6 +49,10 @@ + }; + #endif + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 33) ++#define acpi_walk_namespace(a,b,c,d,e,f) acpi_walk_namespace(a,b,c,d,NULL,e,f) ++#endif ++ + static struct acpi_driver *nv_acpi_driver; + static acpi_handle nvif_handle = NULL; + static acpi_handle dsm_handle = NULL; --- nvidia-graphics-drivers-190-190.53.orig/debian.binary/patches/nvidia-190.53-2.6.33.patch +++ nvidia-graphics-drivers-190-190.53/debian.binary/patches/nvidia-190.53-2.6.33.patch @@ -0,0 +1,87 @@ +--- nv.orig/conftest.sh ++++ nv/conftest.sh 2010-01-06 12:10:56.000000000 +0530 +@@ -32,14 +32,14 @@ + # CONFIG_XEN and CONFIG_PARAVIRT are present, text_xen() treats + # the kernel as a stand-alone kernel. + # +- FILE="linux/autoconf.h" ++ FILE="generated/autoconf.h" + + if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then + # + # We are looking at a configured source tree; verify + # that it's not a Xen kernel. + # +- echo "#include ++ echo "#include + #if defined(CONFIG_XEN) && !defined(CONFIG_PARAVIRT) + #error CONFIG_XEN defined! + #endif +@@ -111,7 +111,12 @@ + fi + } + +-CONFTEST_PREAMBLE="#include ++CONFTEST_PREAMBLE="#include ++ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) ++ #include ++ #else ++ #include ++ #endif + #if defined(CONFIG_XEN) && \ + defined(CONFIG_XEN_INTERFACE_VERSION) && !defined(__XEN_INTERFACE_VERSION__) + #define __XEN_INTERFACE_VERSION__ CONFIG_XEN_INTERFACE_VERSION +@@ -1294,7 +1299,7 @@ + echo ""; + fi + fi +- exit $RET ++# exit $RET + ;; + + get_uname) +@@ -1316,11 +1321,11 @@ + # tree or at headers shipped for a specific kernel. + # Determine the kernel version using a compile check. + # +- FILE="linux/utsrelease.h" ++ FILE="generated/utsrelease.h" + + if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then + echo "$CONFTEST_PREAMBLE +- #include ++ #include + int main() { + printf(\"%s\", UTS_RELEASE); + return 0; +@@ -1375,7 +1380,7 @@ + # + RET=1 + VERBOSE=$6 +- FILE="linux/autoconf.h" ++ FILE="generated/autoconf.h" + + if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then + # +@@ -1429,7 +1434,7 @@ + # + RET=1 + VERBOSE=$6 +- FILE="linux/autoconf.h" ++ FILE="generated/autoconf.h" + + if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then + # +--- nv.orig/nvacpi.c ++++ nv/nvacpi.c 2010-01-06 12:10:56.000000000 +0530 +@@ -49,6 +49,10 @@ + }; + #endif + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 33) ++#define acpi_walk_namespace(a,b,c,d,e,f) acpi_walk_namespace(a,b,c,d,NULL,e,f) ++#endif ++ + static struct acpi_driver *nv_acpi_driver; + static acpi_handle nvif_handle = NULL; + static acpi_handle dsm_handle = NULL;