--- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-glx-177-dev.links.in +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177-dev.links.in @@ -0,0 +1,2 @@ +usr/lib/libGL.so.#VERSION# usr/lib/libGL.so +usr/share/nvidia/include /usr/share/doc/nvidia-glx-177-dev/include --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-glx-177-dev.preinst +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177-dev.preinst @@ -0,0 +1,83 @@ +#! /bin/sh +# preinst script for nvidia-glx-177-dev +# +# see: dh_installdeb(1) + +set -e + +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-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 + fi + if dpkg-divert --list /usr/lib/libGL.a | grep 'nvidia-glx-177-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-177-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-177-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-177-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-177-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-177-dev --divert /usr/X11R6/lib/nvidia/libGL.a.xlibmesa /usr/X11R6/lib/libGL.a > /dev/null + fi +# dpkg-divert --add --rename --package nvidia-glx-177-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-177-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null +# rm /usr/lib/libGL.so || true + +# ln -s /usr/lib/libGL.so.177.82 /usr/lib/libGL.so || true + + +# dpkg-divert --add --rename --package nvidia-glx-177-dev --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null + +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/gl.h /usr/include/GL/gl.h > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glx.h /usr/include/GL/glx.h > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glxtokens.h /usr/include/GL/glxtokens.h > /dev/null + +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/gl.h /usr/include/GL/gl.h > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glx.h /usr/include/GL/glx.h > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glxtokens.h /usr/include/GL/glxtokens.h > /dev/null + + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- nvidia-graphics-drivers-177-177.82.orig/debian/rules +++ nvidia-graphics-drivers-177-177.82/debian/rules @@ -0,0 +1,389 @@ +#!/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-177 +endif + + +base_version:=$(shell sh debian/upstream_info BASE_VERSION) +release:=$(shell sh debian/upstream_info RELEASE) +version:=$(shell sh debian/upstream_info VERSION) +nextver:=$(shell sh debian/upstream_info NEXTVER) +upstreamversion:=$(shell sh debian/upstream_info UPSTREAMVERSION) +url:=$(shell sh debian/upstream_info URL) +dirname:=$(shell sh debian/upstream_info DIRNAME) +filename:=$(shell sh debian/upstream_info FILENAME) +filename_x86:=$(shell sh debian/upstream_info FILENAME_X86) +filename_x86_64:=$(shell sh debian/upstream_info FILENAME_X86_64) +dirname_x86:=$(shell sh debian/upstream_info DIRNAME_X86) +dirname_x86_64:=$(shell sh debian/upstream_info DIRNAME_X86_64) + +AUTOGEN=debian/nvidia-177-kernel-source.README.Debian debian/control \ +debian/copyright debian/nvidia-glx-177.links debian/nvidia-glx-177-dev.links \ +debian/nvidia-glx-177.override \ +debian/nvidia-glx-177.docs debian/nvidia-glx-177.examples \ +debian/nvidia-glx-177.postrm debian/nvidia-glx-177-dev.preinst \ +debian/nvidia-177-kernel-source.docs debian/dkms.conf + +#debian/nvidia-glx-177-ia32.override debian/nvidia-glx-177-ia32.links \ + +CFLAGS = -Wall -g + +pkgver:=$(shell dpkg-parsechangelog | grep ^Version | awk '{print $$2}') + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +version-change: version-clean $(AUTOGEN) clean + +configure: configure-stamp + +.PHONY: configure-stamp +configure-stamp: version-clean $(AUTOGEN) + dh_testdir + chmod +x ${filename_x86} + chmod +x ${filename_x86_64} + # extract both so we can fetch the kernel object code for both arches + ./${filename_x86} --extract-only + ./${filename_x86_64} --extract-only + #if test -d $(CURDIR)/patches; \ + if test -d $(CURDIR)/debian.binary/patches; \ + then \ + cp -R $(CURDIR)/debian.binary/patches $(dirname)/usr/src/nv/ \ +# pwd; \ +# ls -al; \ +# cd $(dirname)/usr/src/nv; \ +# #for i in $(CURDIR)/patches/*; \ +# for i in $(CURDIR)/debian.binary/patches/*; \ +# do \ +# if [ -f $$i ]; then \ +# echo $$i; patch -p3 <$$i; \ +# fi; \ +# done; \ + fi + cp $(dirname)/usr/src/nv/nv.c $(dirname)/usr/src/nv/nv1.c + cp $(dirname)/usr/src/nv/nv-linux.h $(dirname)/usr/src/nv/nv-linux1.h + sed 's/CONFIG_XEN/CONFIG_ALB/g' $(dirname)/usr/src/nv/nv1.c > $(dirname)/usr/src/nv/nv.c + sed 's/CONFIG_XEN/CONFIG_ALB/g' $(dirname)/usr/src/nv/nv-linux1.h > $(dirname)/usr/src/nv/nv-linux.h + rm $(dirname)/usr/src/nv/nv1.c + rm $(dirname)/usr/src/nv/nv-linux1.h + sed 's/^nvidia-graphics-drivers-177/nvidia-kernel-177/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 + chmod 775 $(CURDIR)/debian/temp/modules/nvidia-kernel/debian/patches + cp -R $(CURDIR)/$(dirname)/usr/src/nv $(CURDIR)/debian/temp/modules/nvidia-kernel/ +#not yet cp $(CURDIR)/Makefile $(CURDIR)/debian/temp/modules/nvidia-kernel/ || true + #cp $(CURDIR)/$(dirname_x86_64)/usr/src/nv/nv-kernel.o $(CURDIR)/debian/temp/modules/nvidia-kernel/nv/nv-kernel.o.x86_64 || true + cp $(CURDIR)/debian/temp/modules/nvidia-kernel/nv/Makefile.kbuild $(CURDIR)/debian/temp/modules/nvidia-kernel/nv/Makefile + chmod 755 $(CURDIR)/debian/temp/modules/nvidia-kernel/debian/rules + chown -R root:src $(CURDIR)/debian/temp/modules + + #tar -jcvf $(CURDIR)/nvidia-kernel.tar.bz2 -C $(CURDIR)/debian/temp modules + + + #rm -rf debian/temp + touch build-kernel-stamp + +.PHONY: clean +clean: + dh_testdir + dh_testroot + rm -f build-stamp build-kernel-stamp configure-stamp + dh_clean + + rm -fr $(dirname_x86) $(dirname_x86_64) + + + +.PHONY: install +install: build-stamp build-kernel-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + #install -m 644 $(CURDIR)/nvidia-kernel.tar.bz2 $(CURDIR)/debian/nvidia-177-kernel-source/usr/src + mkdir -p $(CURDIR)/debian/nvidia-177-kernel-source/usr/src/nvidia-$(version) + cp -a $(CURDIR)/debian/temp/modules/nvidia-kernel/nv/* \ + $(CURDIR)/debian/nvidia-177-kernel-source/usr/src/nvidia-$(version)/ + + install -m 644 $(CURDIR)/debian/dkms.conf $(CURDIR)/debian/nvidia-177-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-177/usr/lib/xorg/modules/drivers + + + + install $(dirname)/usr/X11R6/lib/libXvMCNVIDIA.a $(CURDIR)/debian/nvidia-glx-177-dev/usr/lib/libXvMCNVIDIA.a; + install $(dirname)/usr/X11R6/lib/libXvMCNVIDIA.so.${version} $(CURDIR)/debian/nvidia-glx-177/usr/lib/libXvMCNVIDIA.so.${version}; + + + + + install -m 0644 $(dirname)/usr/include/GL/gl.h \ + $(CURDIR)/debian/nvidia-glx-177-dev/usr/include/GL + install -m 0644 $(dirname)/usr/include/GL/glext.h \ + $(CURDIR)/debian/nvidia-glx-177-dev/usr/include/GL + + install -m 0644 $(dirname)/usr/include/cuda/cuda.h \ + $(CURDIR)/debian/nvidia-glx-177-dev/usr/include/cuda + install -m 0644 $(dirname)/usr/include/cuda/cudaGL.h \ + $(CURDIR)/debian/nvidia-glx-177-dev/usr/include/cuda + + install -m 0644 $(dirname)/usr/include/GL/glx.h \ + $(CURDIR)/debian/nvidia-glx-177-dev/usr/include/GL + install -m 0644 $(dirname)/usr/include/GL/glxext.h \ + $(CURDIR)/debian/nvidia-glx-177-dev/usr/include/GL + + install -m 0644 $(dirname)/usr/lib/libGL.so.${version} \ + $(CURDIR)/debian/nvidia-glx-177/usr/lib + install -m 0644 $(dirname)/usr/lib/libGLcore.so.${version} \ + $(CURDIR)/debian/nvidia-glx-177/usr/lib + install -m 0644 $(dirname)/usr/lib/libcuda.so.${version} \ + $(CURDIR)/debian/nvidia-glx-177/usr/lib + ln -s libcuda.so.${version} \ + $(CURDIR)/debian/nvidia-glx-177/usr/lib/libcuda.so; \ + ln -s libcuda.so.${version} \ + $(CURDIR)/debian/nvidia-glx-177/usr/lib/libcuda.so.1; \ + + sed "s/__GENERATED_BY__/Ubuntu nvidia-graphics-drivers-177/" $(dirname)/usr/lib/libGL.la | sed "s/__LIBGL_PATH__/\/usr\/lib/" > $(CURDIR)/debian/nvidia-glx-177-dev/usr/lib/libGL.la + # install -m 0644 $(dirname)/usr/lib/libGL.la $(CURDIR)/debian/nvidia-glx-177/usr/lib/libGL.la + + # TLS for 32bit + install $(dirname)/usr/lib/libnvidia-tls.so.${version} $(CURDIR)/debian/nvidia-glx-177/usr/lib/ + install $(dirname)/usr/lib/tls/libnvidia-tls.so.${version} $(CURDIR)/debian/nvidia-glx-177/usr/lib/tls/ + install $(dirname)/usr/bin/tls_test $(CURDIR)/debian/nvidia-glx-177/usr/lib/nvidia + install $(dirname)/usr/bin/tls_test_dso.so $(CURDIR)/debian/nvidia-glx-177/usr/lib/nvidia + + #sed "s/__GENERATED_BY__/Debian nvidia-graphics-drivers/" $(dirname)/usr/lib/tls/libGL.la | sed "s/__LIBGL_PATH__/\/usr\/lib\/tls/" > $(CURDIR)/debian/nvidia-glx-177-dev/usr/lib/nvidia/libGL.la + # install -m 0644 $(dirname)/usr/lib/tls/libGL.la $(CURDIR)/debian/nvidia-glx-177/usr/lib/nvidia/libGL.la + + install -m 0644 $(dirname)/usr/lib/libnvidia-cfg.so.${version} $(CURDIR)/debian/nvidia-glx-177/usr/lib/nvidia/ + + + install $(dirname)/usr/X11R6/lib/modules/extensions/libglx.so.${version} $(CURDIR)/debian/nvidia-glx-177/usr/lib/xorg/modules/extensions/ +# install $(dirname)/usr/X11R6/lib/modules/libnvidia-wfb.so.${version} $(CURDIR)/debian/nvidia-glx-177/usr/lib/xorg/modules/ + + install -d $(CURDIR)/debian/nvidia-glx-177/usr/share/lintian/overrides + install -m 0644 debian/nvidia-glx-177.override \ + $(CURDIR)/debian/nvidia-glx-177/usr/share/lintian/overrides/nvidia-glx-177 + + #the links for the 32bit compatibility libraries are set here + if [ "$(DEB_BUILD_ARCH)" = "amd64" ] ; then \ + install -d $(CURDIR)/debian/nvidia-glx-177/usr/lib32 \ + $(CURDIR)/debian/nvidia-glx-177-dev/usr/lib32; \ + install $(dirname)/usr/lib32/libGLcore.so.${version} \ + $(CURDIR)/debian/nvidia-glx-177/usr/lib32 ; \ + ln -s libGLcore.so.${version} \ + $(CURDIR)/debian/nvidia-glx-177/usr/lib32/libGLcore.so; \ + install $(dirname)/usr/lib32/libGL.so.${version} \ + $(CURDIR)/debian/nvidia-glx-177/usr/lib32 ; \ + ln -s libGL.so.${version} \ + $(CURDIR)/debian/nvidia-glx-177/usr/lib32/libGL.so; \ + ln -s libGL.so.${version} \ + $(CURDIR)/debian/nvidia-glx-177/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-177-dev/usr/lib32/libGL.la ; \ + if [ -e $(dirname)/usr/lib32/libcuda.so.${version} ]; then \ + install $(dirname)/usr/lib32/libcuda.so.${version} \ + $(CURDIR)/debian/nvidia-glx-177/usr/lib32 ; \ + ln -s libcuda.so.${version} \ + $(CURDIR)/debian/nvidia-glx-177/usr/lib32/libcuda.so; \ + ln -s libcuda.so.${version} \ + $(CURDIR)/debian/nvidia-glx-177/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-177/usr/lib32 ; \ + ln -s libnvidia-cfg.so.${version} \ + $(CURDIR)/debian/nvidia-glx-177/usr/lib32/libnvidia-cfg.so.1; \ + fi; \ + #TLS \ + install $(dirname)/usr/lib32/libnvidia-tls.so.${version} \ + $(CURDIR)/debian/nvidia-glx-177/usr/lib32 ; \ + install $(dirname)/usr/lib32/tls/libnvidia-tls.so.${version} \ + $(CURDIR)/debian/nvidia-glx-177/usr/lib32/tls ; \ + ln -s libnvidia-tls.so.${version} \ + $(CURDIR)/debian/nvidia-glx-177/usr/lib32/libnvidia-tls.so.1; \ + fi + + + install -m 755 $(dirname)/usr/bin/nvidia-bug-report.sh $(CURDIR)/debian/nvidia-glx-177/usr/bin/ + # use separate package + #install -m 755 $(dirname)/usr/bin/nvidia-xconfig $(CURDIR)/debian/nvidia-glx-177/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-177/usr/bin/ ; \ + install -m 644 $(dirname)/usr/share/man/man1/nvidia-xconfig.1.gz \ + $(CURDIR)/debian/nvidia-glx-177/usr/share/man/man1/ ; \ + fi + # use separate source package instead + #install -m 755 $(dirname)/usr/bin/nvidia-settings $(CURDIR)/debian/nvidia-settings/usr/bin/ + #install -m 644 $(dirname)/usr/share/doc/nvidia-settings-user-guide.txt $(CURDIR)/debian/nvidia-settings/usr/share/doc/nvidia-settings + + mkdir -p $(CURDIR)/debian/nvidia-glx-177/usr/share/pixmaps/ + install $(dirname)/usr/share/pixmaps/nvidia-settings.png $(CURDIR)/debian/nvidia-glx-177/usr/share/pixmaps/ + + mkdir -p $(CURDIR)/debian/nvidia-177-modaliases/usr/share/jockey/modaliases/ + + $(SHELL) $(CURDIR)/debian/nvidia_supported \ + $(dirname)/usr/src/nv/nv-kernel.o nvidia nvidia-glx-177 \ + > $(CURDIR)/debian/nvidia-177-modaliases/usr/share/jockey/modaliases/nvidia-177 + + install $(CURDIR)/script $(CURDIR)/debian/nvidia-glx-177/usr/share/bug/nvidia-glx-177 + + 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-177/usr/lib + # quickhack! remove me :-/ + # as you wish + #perl -pi.bak -e 's/,\s+nvidia-glx-177-ia32//;' $(CURDIR)/debian/nvidia-glx-177.substvars + #dh_gencontrol -s + + # Exclude packages we handle special + dh_gencontrol -s -Nnvidia-glx-177 -Nnvidia-glx-177-dev -Nnvidia-177-kernel-source + + # build with different version numbers + dh_gencontrol -v -pnvidia-glx-177 -- -v$(pkgver) -Vnvidia:Version=$(version) + dh_gencontrol -v -pnvidia-glx-177-dev -- -v$(pkgver) -Vnvidia:Version=$(version) + dh_gencontrol -v -pnvidia-177-kernel-source -- -v$(pkgver) -Vnvidia:Version=$(version) + + + dh_md5sums + dh_builddeb -s + + +%: %.in debian/upstream_info + perl -p \ + -e 's{#BASE_VERSION#}{$(base_version)}g;' \ + -e 's{#RELEASE#}{$(release)}g;' \ + -e 's{#VERSION#}{$(version)}g;' \ + -e 's{#NEXTVER#}{$(nextver)}g;' \ + -e 's{#UPSTREAMVERSION#}{$(upstreamversion)}g;' \ + -e 's{#DIRNAME#}{$(dirname)}g;' \ + -e 's{#FILENAME#}{$(filename)}g;' \ + -e 's{#URL#}{$(url)}g' \ + < $< > $@ + + +# Build architecture dependant packages using the common target. +.PHONY: binary-arch +binary-arch: build-stamp build-kernel-stamp install serverabi + $(MAKE) -f debian/rules binary-common + +.PHONY: binary +binary: binary-arch + +.PHONY: version-clean +version-clean: + rm -f ${AUTOGEN} || true + --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-glx-177.postinst +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177.postinst @@ -0,0 +1,63 @@ +#!/bin/sh + +set -e + +#make sure wfb diversion is removed +#dpkg-divert --rename --remove --package nvidia-glx --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so >/dev/null || true +#dpkg-divert --rename --remove --package nvidia-glx-new --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so >/dev/null || true +#dpkg-divert --rename --remove --package nvidia-glx-new-envy --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so >/dev/null || true + + + #Make sure that the diversion of /usr/lib/xorg/modules/extensions/libwfb.so is removed + if dpkg-divert --list 'nvidia-glx' | grep /usr/lib/xorg/modules/libwfb.so > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so > /dev/null || true + fi + + if dpkg-divert --list 'nvidia-glx-new' | grep /usr/lib/xorg/modules/libwfb.so > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-new --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so > /dev/null || true + fi + + if dpkg-divert --list 'nvidia-glx-legacy' | grep /usr/lib/xorg/modules/libwfb.so > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-legacy --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so > /dev/null || true + fi + + if dpkg-divert --list 'nvidia-glx-envy' | grep /usr/lib/xorg/modules/libwfb.so > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-envy --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so > /dev/null || true + fi + + if dpkg-divert --list 'nvidia-glx-new-envy' | grep /usr/lib/xorg/modules/libwfb.so > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-new-envy --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so > /dev/null || true + fi + + if dpkg-divert --list 'nvidia-glx-legacy-envy' | grep /usr/lib/xorg/modules/libwfb.so > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-legacy-envy --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so > /dev/null || true + fi + + + # create new diversion directories + if [ ! -d /usr/lib/nvidia ]; then + mkdir -p /usr/lib/nvidia || true + fi + if [ -n "$HAS_LIB32" ] && [ ! -d /usr/lib32/nvidia ]; then + mkdir -p /usr/lib32/nvidia || true + fi + + #Make sure that no /etc/init.d/nvidia-glx-* exists + rm -f /etc/init.d/nvidia-glx-* | true + + +# dpkg-divert --add --rename --package nvidia-glx --divert /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so > /dev/null + + +#if [ -n "" ] && [ ! -e /lib/linux-restricted-modules/.nvidia__installed ]; then +# mkdir -p /lib/linux-restricted-modules +# echo "# do not remove this file, it's needed by /sbin/lrm-video" \ +# > /lib/linux-restricted-modules/.nvidia__installed +#fi + + +#DEBHELPER# + + + +ldconfig --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-glx-177.README.Debian +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177.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-177-177.82.orig/debian/nvidia-glx-177.links +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177.links @@ -0,0 +1,14 @@ +usr/lib/libGL.so.177.82 usr/lib/libGL.so.1 +usr/lib/libGLcore.so.177.82 usr/lib/libGLcore.so.1 +usr/lib/libnvidia-cfg.so.177.82 usr/lib/libnvidia-cfg.so.1 +usr/lib/libnvidia-tls.so.177.82 usr/lib/libnvidia-tls.so.1 +usr/lib/xorg/modules/extensions/libglx.so.177.82 usr/lib/xorg/modules/extensions/libglx.so +usr/lib/libXvMCNVIDIA.so.177.82 usr/lib/libXvMCNVIDIA.so +usr/lib/libXvMCNVIDIA.so.177.82 usr/lib/libXvMCNVIDIA.so.1 +usr/lib/libXvMCNVIDIA.so.177.82 usr/lib/libXvMCNVIDIA_dynamic.so.1 +usr/lib/libcuda.so.177.82 usr/lib/libcuda.so +usr/lib/libcuda.so.177.82 usr/lib/libcuda.so.1 +usr/lib/libvdpau.so.177.82 /usr/lib/libvdpau.so.1 +usr/lib/libvdpau.so.1 /usr/lib/libvdpau.so +usr/lib/libvdpau_trace.so.177.82 /usr/lib/libvdpau_trace.so +usr/lib/libvdpau_nvidia.so.177.82 /usr/lib/libvdpau_nvidia.so --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-glx-177-dev.dirs +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177-dev.dirs @@ -0,0 +1,3 @@ +usr/include/GL +usr/include/cuda +usr/lib/nvidia --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-settings.substvars +++ nvidia-graphics-drivers-177-177.82/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-177-177.82.orig/debian/nvidia-177-kernel-source.postinst +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-177-kernel-source.postinst @@ -0,0 +1,49 @@ +#!/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-177-kernel-source | awk -F "-" '{print $1}'` +PKGVER=${PKGVER#*:} + +SOURCES=/var/lib/dkms/nvidia/ +VERSION=180.71 +STATUS=$(dpkg --compare-versions "$PKGVER" lt "$VERSION" && echo "True" || echo "False") + +case "$1" in + configure) + # act only if the version of the current package is lower than $VERSION + if [ "$STATUS" = "True" ] && [ -d $SOURCES ]; then + echo "Cleaning up the DKMS tree" + for directory in $(ls $SOURCES); do + kind=$(echo "$directory" | awk '$1 ~ /.*[a-z].*$/ { print "alpha"; next } { print "num" }') + # the names of the directories containing the version of the driver are digits (e.g. 177.70) + if [ "$kind" = "num" ]; then + comparison=$(echo "$directory" | awk -v Version="$PKGVER" '($1 != Version) { print "yes"; next } { print "no" }') + # if the version is less than $VERSION + if [ "$comparison" = "yes" ]; then + rm -rf $SOURCES$directory 2>/dev/null + fi + fi + done + echo "Done." + fi + + echo "Removing all DKMS Modules" + dkms remove -m nvidia -v $PKGVER --all -q > /dev/null + echo "Done." + echo "Adding Module to DKMS build system" + echo "driver version= $PKGVER" + dkms add -m nvidia -v $PKGVER > /dev/null + echo "Doing initial module build" + dkms build -m nvidia -v $PKGVER > /dev/null + echo "Installing initial module" + dkms install -m nvidia -v $PKGVER > /dev/null + echo "Done." + ;; +esac + + --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-177-kernel-source.dirs +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-177-kernel-source.dirs @@ -0,0 +1 @@ +usr/src --- nvidia-graphics-drivers-177-177.82.orig/debian/copyright.in +++ nvidia-graphics-drivers-177-177.82/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-177-177.82.orig/debian/nvidia-177-kernel-source.docs +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-177-kernel-source.docs @@ -0,0 +1,2 @@ +NVIDIA-Linux-x86-177.82-pkg0/usr/share/doc/NVIDIA_Changelog +NVIDIA-Linux-x86-177.82-pkg0/usr/share/doc/README.txt --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-glx-177.preinst +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177.preinst @@ -0,0 +1,212 @@ +#! /bin/sh +# preinst script for nvidia-glx-177 +# +# 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-180" \ + "nvidia-glx-177" "nvidia-glx-173" "nvidia-glx-96" "nvidia-glx-71" + + 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.xserver-xorg-core /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/libGLcore.so > /dev/null ; then + dpkg-divert --remove --rename --package $glxname --divert /usr/lib/nvidia/libGLcore.so.xlibmesa /usr/lib/xorg/modules/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 + #if [ -f /usr/lib/libGL.so.1 ]; then + dpkg-divert --add --rename --package nvidia-glx-177 --divert /usr/lib/nvidia/libGL.so.1.xlibmesa /usr/lib/libGL.so.1 > /dev/null + #fi + + #if [ -f /usr/lib/libGL.so.1.2 ]; then + dpkg-divert --add --rename --package nvidia-glx-177 --divert /usr/lib/nvidia/libGL.so.1.2.xlibmesa /usr/lib/libGL.so.1.2 > /dev/null + #fi + + #if [ -f /usr/lib/xorg/modules/extensions/libglx.so ]; then + dpkg-divert --add --rename --package nvidia-glx-177 --divert /usr/lib/nvidia/libglx.so.xserver-xorg-core /usr/lib/xorg/modules/extensions/libglx.so > /dev/null + #fi + + if [ -n "$HAS_LIB32" ]; then + if ! [ -d /usr/lib32/nvidia ]; then + mkdir -p /usr/lib32/nvidia + fi + dpkg-divert --add --rename --package nvidia-glx-177 --divert /usr/lib32/nvidia/libGL.so.xlibmesa /usr/lib32/libGL.so > /dev/null + dpkg-divert --add --rename --package nvidia-glx-177 --divert /usr/lib32/nvidia/libGL.so.1.xlibmesa /usr/lib32/libGL.so.1 > /dev/null + dpkg-divert --add --rename --package nvidia-glx-177 --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-177 --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-177-177.82.orig/debian/nvidia-settings.dirs +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-settings.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/doc/nvidia-settings --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-177-kernel-source.docs.in +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-177-kernel-source.docs.in @@ -0,0 +1,2 @@ +#DIRNAME#/usr/share/doc/NVIDIA_Changelog +#DIRNAME#/usr/share/doc/README.txt --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-glx-177.shlibs +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177.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-177-177.82.orig/debian/nvidia-glx-177-dev.preinst.in +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177-dev.preinst.in @@ -0,0 +1,83 @@ +#! /bin/sh +# preinst script for nvidia-glx-177-dev +# +# see: dh_installdeb(1) + +set -e + +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-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 + fi + if dpkg-divert --list /usr/lib/libGL.a | grep 'nvidia-glx-177-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-177-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-177-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-177-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-177-dev' > /dev/null ; then + dpkg-divert --remove --rename --package nvidia-glx-177-dev --divert /usr/X11R6/lib/nvidia/libGL.a.xlibmesa /usr/X11R6/lib/libGL.a > /dev/null + fi +# dpkg-divert --add --rename --package nvidia-glx-177-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-177-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null +# rm /usr/lib/libGL.so || true + +# ln -s /usr/lib/libGL.so.#VERSION# /usr/lib/libGL.so || true + + +# dpkg-divert --add --rename --package nvidia-glx-177-dev --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null + +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/gl.h /usr/include/GL/gl.h > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glx.h /usr/include/GL/glx.h > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glxtokens.h /usr/include/GL/glxtokens.h > /dev/null + +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/gl.h /usr/include/GL/gl.h > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glx.h /usr/include/GL/glx.h > /dev/null +# dpkg-divert --add --rename --package nvidia-glx-dev --divert /usr/share/nvidia-glx/diversions/glxtokens.h /usr/include/GL/glxtokens.h > /dev/null + + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-glx-177.prerm +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177.prerm @@ -0,0 +1,47 @@ +#! /bin/sh +# prerm script for nvidia-drivers +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) +# install-info --quiet --remove /usr/info/nvidia-drivers.info.gz +# if [ -n "" ]; then +# rm -f /lib/linux-restricted-modules/.nvidia_new_installed +# rmdir /lib/linux-restricted-modules 2>/dev/null || true +# fi +# rm -f /usr/lib/libGL.so || true +# /etc/init.d/nvidia-glx-177 start || true + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-177-kernel-source.README.Debian +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-177-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_177.82-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-177-177.82.orig/debian/compat +++ nvidia-graphics-drivers-177-177.82/debian/compat @@ -0,0 +1 @@ +4 --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-glx-177.examples +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177.examples @@ -0,0 +1,2 @@ +NVIDIA-Linux-x86-177.82-pkg0/usr/share/doc/XF86Config.sample + --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-177-kernel-source.prerm +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-177-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-177-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-177-177.82.orig/debian/nvidia-glx-177.docs.in +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177.docs.in @@ -0,0 +1,2 @@ +#DIRNAME#/usr/share/doc/NVIDIA_Changelog +#DIRNAME#/usr/share/doc/README.txt --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-177-kernel-source.README.Debian.in +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-177-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-177-177.82.orig/debian/nvidia-glx-177.override.in +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177.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-177-177.82.orig/debian/nvidia-glx-177.links.in +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177.links.in @@ -0,0 +1,14 @@ +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.so.#VERSION# /usr/lib/libvdpau.so.1 +usr/lib/libvdpau.so.1 /usr/lib/libvdpau.so +usr/lib/libvdpau_trace.so.#VERSION# /usr/lib/libvdpau_trace.so +usr/lib/libvdpau_nvidia.so.#VERSION# /usr/lib/libvdpau_nvidia.so --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-glx-177.docs +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177.docs @@ -0,0 +1,2 @@ +NVIDIA-Linux-x86-177.82-pkg0/usr/share/doc/NVIDIA_Changelog +NVIDIA-Linux-x86-177.82-pkg0/usr/share/doc/README.txt --- nvidia-graphics-drivers-177-177.82.orig/debian/copyright +++ nvidia-graphics-drivers-177-177.82/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/177.82/NVIDIA-Linux-x86-177.82-pkg0.run + +Upstream Author: NVIDIA + + +Copyright: + +First a note from the README file + +Q: Why does NVIDIA not provide rpms anymore? + +A: Not every Linux distribution uses rpm, and NVIDIA wanted a single + solution that would work across all Linux distributions. As indicated + in the NVIDIA Software License, Linux distributions are welcome to + repackage and redistribute the NVIDIA Linux driver in whatever package + format they wish. + +Furthermore, an email from NVIDIA: + +Greetings, Randall! Comments below: + +On 30 Jul 2003, Randall Donald wrote: + +> To whom it may concern, +> +> My name is Randall Donald and I am the maintainer for the Debian +> downloader packages nvidia-glx-src and nvidia-kernel-src. +> As stated in your license and the README file +> ( "As indicated in the NVIDIA Software License, Linux distributions +> are welcome to repackage and redistribute the NVIDIA Linux driver in +> whatever package format they wish." ) +> I wish to include packages containing the Linux driver files in the Debian archive. +> I'd like to know if it is legally permitted to distribute binary kernel modules +> compiled from the NVIDIA kernel module source and Debian kernel headers. + +This is fine; thanks for asking. + +> I am also wondering if the "No Separation of Components" clause +> ( No Separation of Components. The SOFTWARE is licensed as a +> single product. Its component parts may not be separated for use +> on more than one computer, nor otherwise used separately from the +> other parts.) applies to splitting the glx driver and kernel module source into +> multiple binary packages. + +This is also fine. I believe this section of the license was +intended to prevent users from doing things like using our Windows +control panel with a competitor's display driver (that's not actually +possible, but you get the idea...). In the case of separating the +driver into a glx package and a kernel package (like we used to +do ourselves), this is simply a packaging issue; of course users +will use the packages together when they install. + +Please feel free to redistribute the NVIDIA graphics driver. + +Thank you for doing this for the NVIDIA+Debian community! + +- Andy + + + +The NVIDIA Software Licence is as follows. + +From http://www.nvidia.com/view.asp?IO=nv_swlicense and extracted from the +installer: + + + License For Customer Use of NVIDIA Software + + +IMPORTANT NOTICE -- READ CAREFULLY: This License For Customer Use of +NVIDIA Software ("LICENSE") is the agreement which governs use of +the software of NVIDIA Corporation and its subsidiaries ("NVIDIA") +downloadable herefrom, including computer software and associated +printed materials ("SOFTWARE"). By downloading, installing, copying, +or otherwise using the SOFTWARE, you agree to be bound by the terms +of this LICENSE. If you do not agree to the terms of this LICENSE, +do not download the SOFTWARE. + +RECITALS + +Use of NVIDIA's products requires three elements: the SOFTWARE, the +hardware on a graphics controller board, and a personal computer. The +SOFTWARE is protected by copyright laws and international copyright +treaties, as well as other intellectual property laws and treaties. +The SOFTWARE is not sold, and instead is only licensed for use, +strictly in accordance with this document. The hardware is protected +by various patents, and is sold, but this agreement does not cover +that sale, since it may not necessarily be sold as a package with +the SOFTWARE. This agreement sets forth the terms and conditions +of the SOFTWARE LICENSE only. + +1. DEFINITIONS + +1.1 Customer. Customer means the entity or individual that +downloads the SOFTWARE. + +2. GRANT OF LICENSE + +2.1 Rights and Limitations of Grant. NVIDIA hereby grants Customer +the following non-exclusive, non-transferable right to use the +SOFTWARE, with the following limitations: + +2.1.1 Rights. Customer may install and use one copy of the SOFTWARE +on a single computer, and except for making one back-up copy of +the Software, may not otherwise copy the SOFTWARE. This LICENSE +of SOFTWARE may not be shared or used concurrently on different +computers. + +2.1.2 Linux Exception. Notwithstanding the foregoing terms of +Section 2.1.1, SOFTWARE designed exclusively for use on the Linux +operating system may be copied and redistributed, provided that +the binary files thereof are not modified in any way (except for +unzipping of compressed files). + +2.1.3 Limitations. + +No Reverse Engineering. Customer may not reverse engineer, +decompile, or disassemble the SOFTWARE, nor attempt in any other +manner to obtain the source code. + +No Separation of Components. The SOFTWARE is licensed as a +single product. Its component parts may not be separated for use +on more than one computer, nor otherwise used separately from the +other parts. + +No Rental. Customer may not rent or lease the SOFTWARE to someone +else. + +3. TERMINATION + +This LICENSE will automatically terminate if Customer fails to +comply with any of the terms and conditions hereof. In such event, +Customer must destroy all copies of the SOFTWARE and all of its +component parts. + +4. COPYRIGHT + +All title and copyrights in and to the SOFTWARE (including but +not limited to all images, photographs, animations, video, audio, +music, text, and other information incorporated into the SOFTWARE), +the accompanying printed materials, and any copies of the SOFTWARE, +are owned by NVIDIA, or its suppliers. The SOFTWARE is protected +by copyright laws and international treaty provisions. Accordingly, +Customer is required to treat the SOFTWARE like any other copyrighted +material, except as otherwise allowed pursuant to this LICENSE +and that it may make one copy of the SOFTWARE solely for backup or +archive purposes. + +5. APPLICABLE LAW + +This agreement shall be deemed to have been made in, and shall be +construed pursuant to, the laws of the State of California. + +6. DISCLAIMER OF WARRANTIES AND LIMITATION ON LIABILITY + +6.1 No Warranties. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE +LAW, THE SOFTWARE IS PROVIDED "AS IS" AND NVIDIA AND ITS SUPPLIERS +DISCLAIM ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT +NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE. + +6.2 No Liability for Consequential Damages. TO THE MAXIMUM +EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL NVIDIA OR +ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR +CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, +DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS +OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT +OF THE USE OF OR INABILITY TO USE THE SOFTWARE, EVEN IF NVIDIA HAS +BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. MISCELLANEOUS + +The United Nations Convention on Contracts for the International +Sale of Goods is specifically disclaimed. If any provision of this +LICENSE is inconsistent with, or cannot be fully enforced under, +the law, such provision will be construed as limited to the extent +necessary to be consistent with and fully enforceable under the law. +This agreement is the final, complete and exclusive agreement between +the parties relating to the subject matter hereof, and supersedes +all prior or contemporaneous understandings and agreements relating +to such subject matter, whether oral or written. Customer agrees +that it will not ship, transfer or export the SOFTWARE into any +country, or use the SOFTWARE in any manner, prohibited by the +United States Bureau of Export Administration or any export laws, +restrictions or regulations. This LICENSE may only be modified in +writing signed by an authorized officer of NVIDIA. + --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-glx-177.examples.in +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177.examples.in @@ -0,0 +1,2 @@ +#DIRNAME#/usr/share/doc/XF86Config.sample + --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-glx-177.NEWS +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177.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-177-177.82.orig/debian/nvidia-glx-177-dev.links +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177-dev.links @@ -0,0 +1,2 @@ +usr/lib/libGL.so.177.82 usr/lib/libGL.so +usr/share/nvidia/include /usr/share/doc/nvidia-glx-177-dev/include --- nvidia-graphics-drivers-177-177.82.orig/debian/control.in +++ nvidia-graphics-drivers-177-177.82/debian/control.in @@ -0,0 +1,137 @@ +Source: nvidia-graphics-drivers-177 +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) +Standards-Version: 3.8.0 + +Package: nvidia-glx-177 +Architecture: i386 amd64 +Depends: nvidia-177-kernel-source (>= #VERSION#), x11-common (>= 1:7.0.0), ${shlibs:Depends} +Recommends: nvidia-settings +Conflicts: nvidia-glx-src, nvidia-glx, xorg-driver-fglrx +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-177, nvidia-glx-173, nvidia-glx-96, nvidia-glx-71, + nvidia-glx-180 +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-177-kernel-source package for building the kernel module + required by this package. This will provide nvidia-kernel- + . + The following GPUs are supported: + GeForce 6800 Ultra, GeForce 6800, GeForce 6800 LE, GeForce + 6800 XE, GeForce 6800 XT, GeForce 6800 GT, GeForce 6800 GT, + GeForce 6800 GS, GeForce 6800 XT, GeForce 7800 GTX, GeForce + 7800 GTX, GeForce 7800 GT, GeForce 7800 GS, GeForce 7800 SLI + , GeForce Go 7800, GeForce Go 7800 GTX, GeForce 6800 GS, GeF + orce 6800, GeForce 6800 LE, GeForce 6800 XT, GeForce Go 6800 + , GeForce Go 6800 Ultra, GeForce 6800, GeForce 6600 GT, GeFo + rce 6600, GeForce 6200, GeForce 6600 LE, GeForce 7800 GS, Ge + Force 6800 GS, GeForce 6800 Ultra, GeForce 6600 GT, GeForce + 6600, GeForce 6600 LE, GeForce 6600 VE, GeForce Go 6600, GeF + orce 6610 XL, GeForce Go 6600 TE/6200 TE, GeForce 6700 XL, G + eForce Go 6600, GeForce Go 6600 GT, GeForce 6200, GeForce 65 + 00, GeForce 6200 TurboCache(TM), GeForce 6200SE TurboCache(T + M), GeForce 6200 LE, GeForce Go 6200, GeForce Go 6400, GeFor + ce Go 6200, GeForce Go 6400, GeForce 6250, GeForce 7100 GS, + GeForce 8800 GTX, GeForce 8800 GTS, GeForce 8800 Ultra, Tesl + a C870, GeForce 7350 LE, GeForce 7300 LE, GeForce 7300 SE/72 + 00 GS, GeForce Go 7200, GeForce Go 7300, GeForce Go 7400, Ge + Force 7500 LE, GeForce 7300 GS, GeForce 6800, GeForce 6800 L + E, GeForce 6800 GT, GeForce 6800 XT, GeForce 6200, GeForce 6 + 200 A-LE, GeForce 6150, GeForce 6150 LE, GeForce 6100, GeFor + ce Go 6150, GeForce Go 6100, GeForce 7900 GTX, GeForce 7900 + GT/GTO, GeForce 7900 GS, GeForce 7950 GX2, GeForce 7950 GX2, + GeForce 7950 GT, GeForce Go 7950 GTX, GeForce Go 7900 GS, G + eForce Go 7900 GTX, GeForce 7600 GT, GeForce 7600 GS, GeForc + e 7900 GS, GeForce 7950 GT, GeForce 7650 GS, GeForce 7600 GT + , GeForce 7600 GS, GeForce 7300 GT, GeForce 7600 LE, GeForce + 7300 GT, GeForce Go 7600, GeForce Go 7600 GT, GeForce 6150S + E nForce 430, GeForce 6100 nForce 405, GeForce 6100 nForce 4 + 00, GeForce 6100 nForce 420, GeForce 8600 GTS, GeForce 8600 + GT, GeForce 8600 GT, GeForce 8400 GS, GeForce 9500M GS, GeFo + rce 8600M GT, GeForce 8700M GT, GeForce 8400 SE, GeForce 850 + 0 GT, GeForce 8400 GS, GeForce 8300 GS, GeForce 8400 GS, GeF + orce 8600M GS, GeForce 8400M GT, GeForce 8400M GS, GeForce 8 + 400M G, GeForce 9400 GT, GeForce 7150M / nForce 630M, GeForc + e 7000M / nForce 610M, GeForce 7050 PV / NVIDIA nForce 630a, + GeForce 7050 PV / NVIDIA nForce 630a, GeForce 7025 / NVIDIA + nForce 630a, GeForce GTX 280, GeForce GTX 260, GeForce 8800 + GTS 512, GeForce 8800 GT, GeForce 9800 GX2, GeForce 8800 GS + , GeForce 8800M GTS, GeForce 8800M GTX, GeForce 8800 GS, GeF + orce 9600 GSO, GeForce 8800 GT, GeForce 9800 GTX, GeForce 96 + 00 GT, GeForce 9600 GS, GeForce 9800M GTS, GeForce 9800M GTS + , GeForce 9600M GT, GeForce 9600M GS, GeForce 9500M G, GeFor + ce 9300 GS, GeForce 8400 GS, GeForce 9300M GS, GeForce 7150 + / NVIDIA nForce 630i, GeForce 7100 / NVIDIA nForce 630i, GeF + orce 7050 / NVIDIA nForce 610i, GeForce 8300, GeForce 8200, + nForce 730a, GeForce 8200, GeForce 8100 / nForce 720a, Quadr + o FX 4000, Quadro FX 4500, Quadro FX Go1400, Quadro FX 3450/ + 4000 SDI, Quadro FX 1400, Quadro FX 4400/Quadro FX 3400, Qua + dro NVS 440, Quadro FX 540M, Quadro FX 550, Quadro FX 540, Q + uadro NVS 285, Quadro FX 5600, Quadro FX 4600, Quadro NVS 11 + 0M, Quadro NVS 110M, Quadro NVS 120M, Quadro FX 350M, Quadro + FX 350, Quadro NVS 210S / NVIDIA GeForce 6150LE, Quadro FX + 2500M, Quadro FX 1500M, Quadro FX 5500, Quadro FX 3500, Quad + ro FX 1500, Quadro FX 4500 X2, Quadro FX 560, Quadro FX 370, + Quadro NVS 320M, Quadro FX 570M, Quadro FX 1600M, Quadro FX + 570, Quadro FX 1700, Quadro NVS 140M, Quadro NVS 130M, Quad + ro NVS 135M, Quadro FX 360M, Quadro NVS 290, Quadro FX 3700, + Quadro FX 3600M + . + See /usr/share/doc/nvidia-glx/README.txt.gz for a complete list + of supported GPUs and PCIIDs + . + +Package: nvidia-glx-177-dev +Architecture: i386 amd64 +Depends: nvidia-glx-177 (>= #VERSION#) +Provides: libgl-dev, libgl1-mesa-dev, mesa-common-dev, nvidia-glx-dev +Conflicts: nvidia-glx-177 (>= #NEXTVER#), libgl-dev, libgl1-mesa-dev, + mesa-common-dev, nvidia-glx-dev, nvidia-glx-dev-new, nvidia-glx-dev-legacy +Replaces: libgl-dev, libgl1-mesa-dev, mesa-common-dev, nvidia-glx-dev-new, + nvidia-glx-dev, nvidia-glx-dev-legacy, nvidia-glx-lrm-dev, nvidia-glx-180-dev, + 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-177-kernel-source +Architecture: i386 amd64 +Depends: make, sed (>> 3.0), dkms, linux-libc-dev, libc6-dev, linux-headers-generic | linux-headers +Recommends: nvidia-glx-177 (>= #VERSION#) +Provides: nvidia-kernel-source +Conflicts: nvidia-kernel-src, nvidia-kernel-source +Replaces: nvidia-kernel-src, 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-177-modaliases +Architecture: i386 amd64 +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-177-177.82.orig/debian/control +++ nvidia-graphics-drivers-177-177.82/debian/control @@ -0,0 +1,137 @@ +Source: nvidia-graphics-drivers-177 +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) +Standards-Version: 3.8.0 + +Package: nvidia-glx-177 +Architecture: i386 amd64 +Depends: nvidia-177-kernel-source (>= 177.82), x11-common (>= 1:7.0.0), ${shlibs:Depends} +Recommends: nvidia-settings +Conflicts: nvidia-glx-src, nvidia-glx, xorg-driver-fglrx +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-177, nvidia-glx-173, nvidia-glx-96, nvidia-glx-71, + nvidia-glx-180 +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-177-kernel-source package for building the kernel module + required by this package. This will provide nvidia-kernel- + . + The following GPUs are supported: + GeForce 6800 Ultra, GeForce 6800, GeForce 6800 LE, GeForce + 6800 XE, GeForce 6800 XT, GeForce 6800 GT, GeForce 6800 GT, + GeForce 6800 GS, GeForce 6800 XT, GeForce 7800 GTX, GeForce + 7800 GTX, GeForce 7800 GT, GeForce 7800 GS, GeForce 7800 SLI + , GeForce Go 7800, GeForce Go 7800 GTX, GeForce 6800 GS, GeF + orce 6800, GeForce 6800 LE, GeForce 6800 XT, GeForce Go 6800 + , GeForce Go 6800 Ultra, GeForce 6800, GeForce 6600 GT, GeFo + rce 6600, GeForce 6200, GeForce 6600 LE, GeForce 7800 GS, Ge + Force 6800 GS, GeForce 6800 Ultra, GeForce 6600 GT, GeForce + 6600, GeForce 6600 LE, GeForce 6600 VE, GeForce Go 6600, GeF + orce 6610 XL, GeForce Go 6600 TE/6200 TE, GeForce 6700 XL, G + eForce Go 6600, GeForce Go 6600 GT, GeForce 6200, GeForce 65 + 00, GeForce 6200 TurboCache(TM), GeForce 6200SE TurboCache(T + M), GeForce 6200 LE, GeForce Go 6200, GeForce Go 6400, GeFor + ce Go 6200, GeForce Go 6400, GeForce 6250, GeForce 7100 GS, + GeForce 8800 GTX, GeForce 8800 GTS, GeForce 8800 Ultra, Tesl + a C870, GeForce 7350 LE, GeForce 7300 LE, GeForce 7300 SE/72 + 00 GS, GeForce Go 7200, GeForce Go 7300, GeForce Go 7400, Ge + Force 7500 LE, GeForce 7300 GS, GeForce 6800, GeForce 6800 L + E, GeForce 6800 GT, GeForce 6800 XT, GeForce 6200, GeForce 6 + 200 A-LE, GeForce 6150, GeForce 6150 LE, GeForce 6100, GeFor + ce Go 6150, GeForce Go 6100, GeForce 7900 GTX, GeForce 7900 + GT/GTO, GeForce 7900 GS, GeForce 7950 GX2, GeForce 7950 GX2, + GeForce 7950 GT, GeForce Go 7950 GTX, GeForce Go 7900 GS, G + eForce Go 7900 GTX, GeForce 7600 GT, GeForce 7600 GS, GeForc + e 7900 GS, GeForce 7950 GT, GeForce 7650 GS, GeForce 7600 GT + , GeForce 7600 GS, GeForce 7300 GT, GeForce 7600 LE, GeForce + 7300 GT, GeForce Go 7600, GeForce Go 7600 GT, GeForce 6150S + E nForce 430, GeForce 6100 nForce 405, GeForce 6100 nForce 4 + 00, GeForce 6100 nForce 420, GeForce 8600 GTS, GeForce 8600 + GT, GeForce 8600 GT, GeForce 8400 GS, GeForce 9500M GS, GeFo + rce 8600M GT, GeForce 8700M GT, GeForce 8400 SE, GeForce 850 + 0 GT, GeForce 8400 GS, GeForce 8300 GS, GeForce 8400 GS, GeF + orce 8600M GS, GeForce 8400M GT, GeForce 8400M GS, GeForce 8 + 400M G, GeForce 9400 GT, GeForce 7150M / nForce 630M, GeForc + e 7000M / nForce 610M, GeForce 7050 PV / NVIDIA nForce 630a, + GeForce 7050 PV / NVIDIA nForce 630a, GeForce 7025 / NVIDIA + nForce 630a, GeForce GTX 280, GeForce GTX 260, GeForce 8800 + GTS 512, GeForce 8800 GT, GeForce 9800 GX2, GeForce 8800 GS + , GeForce 8800M GTS, GeForce 8800M GTX, GeForce 8800 GS, GeF + orce 9600 GSO, GeForce 8800 GT, GeForce 9800 GTX, GeForce 96 + 00 GT, GeForce 9600 GS, GeForce 9800M GTS, GeForce 9800M GTS + , GeForce 9600M GT, GeForce 9600M GS, GeForce 9500M G, GeFor + ce 9300 GS, GeForce 8400 GS, GeForce 9300M GS, GeForce 7150 + / NVIDIA nForce 630i, GeForce 7100 / NVIDIA nForce 630i, GeF + orce 7050 / NVIDIA nForce 610i, GeForce 8300, GeForce 8200, + nForce 730a, GeForce 8200, GeForce 8100 / nForce 720a, Quadr + o FX 4000, Quadro FX 4500, Quadro FX Go1400, Quadro FX 3450/ + 4000 SDI, Quadro FX 1400, Quadro FX 4400/Quadro FX 3400, Qua + dro NVS 440, Quadro FX 540M, Quadro FX 550, Quadro FX 540, Q + uadro NVS 285, Quadro FX 5600, Quadro FX 4600, Quadro NVS 11 + 0M, Quadro NVS 110M, Quadro NVS 120M, Quadro FX 350M, Quadro + FX 350, Quadro NVS 210S / NVIDIA GeForce 6150LE, Quadro FX + 2500M, Quadro FX 1500M, Quadro FX 5500, Quadro FX 3500, Quad + ro FX 1500, Quadro FX 4500 X2, Quadro FX 560, Quadro FX 370, + Quadro NVS 320M, Quadro FX 570M, Quadro FX 1600M, Quadro FX + 570, Quadro FX 1700, Quadro NVS 140M, Quadro NVS 130M, Quad + ro NVS 135M, Quadro FX 360M, Quadro NVS 290, Quadro FX 3700, + Quadro FX 3600M + . + See /usr/share/doc/nvidia-glx/README.txt.gz for a complete list + of supported GPUs and PCIIDs + . + +Package: nvidia-glx-177-dev +Architecture: i386 amd64 +Depends: nvidia-glx-177 (>= 177.82) +Provides: libgl-dev, libgl1-mesa-dev, mesa-common-dev, nvidia-glx-dev +Conflicts: nvidia-glx-177 (>= 177.83), libgl-dev, libgl1-mesa-dev, + mesa-common-dev, nvidia-glx-dev, nvidia-glx-dev-new, nvidia-glx-dev-legacy +Replaces: libgl-dev, libgl1-mesa-dev, mesa-common-dev, nvidia-glx-dev-new, + nvidia-glx-dev, nvidia-glx-dev-legacy, nvidia-glx-lrm-dev, nvidia-glx-180-dev, + 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-177-kernel-source +Architecture: i386 amd64 +Depends: make, sed (>> 3.0), dkms, linux-libc-dev, libc6-dev, linux-headers-generic | linux-headers +Recommends: nvidia-glx-177 (>= 177.82) +Provides: nvidia-kernel-source +Conflicts: nvidia-kernel-src, nvidia-kernel-source +Replaces: nvidia-kernel-src, 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-177-modaliases +Architecture: i386 amd64 +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-177-177.82.orig/debian/upstream_info +++ nvidia-graphics-drivers-177-177.82/debian/upstream_info @@ -0,0 +1,69 @@ +eval `dpkg-architecture` + +#BASE_VERSION=1.0 +RELEASE=177.82 +NEXTVER=177.83 + +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" = "i386" ] ; then + BASE_URL=ftp://download.nvidia.com/XFree86/Linux-x86/${RELEASE} + DIRNAME=NVIDIA-Linux-x86-${RELEASE}-pkg0 + 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}-pkg0.run +FILENAME_X86_64=NVIDIA-Linux-x86_64-${RELEASE}-pkg2.run +DIRNAME_X86=NVIDIA-Linux-x86-${RELEASE}-pkg0 +DIRNAME_X86_64=NVIDIA-Linux-x86_64-${RELEASE}-pkg2 + +VERSION=${RELEASE} +UPSTREAMVERSION=${RELEASE} +URL=${BASE_URL}/${FILENAME} + +case "$1" in + BASE_VERSION) + echo "${BASE_VERSION}" + ;; + RELEASE) + echo "$RELEASE" + ;; + VERSION) + echo "$VERSION" + ;; + NEXTVER) + echo "$NEXTVER" + ;; + URL) + echo "$URL" + ;; + FILENAME) + echo "$FILENAME" + ;; + FILENAME_X86_64) + echo "$FILENAME_X86_64" + ;; + FILENAME_X86) + echo "$FILENAME_X86" + ;; + DIRNAME_X86_64) + echo "$DIRNAME_X86_64" + ;; + DIRNAME_X86) + echo "$DIRNAME_X86" + ;; + DIRNAME) + echo "$DIRNAME" + ;; + UPSTREAMVERSION) + echo "$UPSTREAMVERSION" + ;; + +esac + +exit 0 --- nvidia-graphics-drivers-177-177.82.orig/debian/dkms.conf +++ nvidia-graphics-drivers-177-177.82/debian/dkms.conf @@ -0,0 +1,7 @@ +PACKAGE_NAME="nvidia" +PACKAGE_VERSION="177.82" +CLEAN="make clean" +BUILT_MODULE_NAME[0]="nvidia" +MAKE[0]="make module KERNDIR=/lib/modules/$kernelver IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=$kernel_source_dir" +DEST_MODULE_LOCATION[0]="/kernel/drivers/video/nvidia" +AUTOINSTALL="yes" --- nvidia-graphics-drivers-177-177.82.orig/debian/scriptremove.sh +++ nvidia-graphics-drivers-177-177.82/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-177-177.82.orig/debian/nvidia-glx-177-dev.postinst +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177-dev.postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + + +case "$1" in + configure) + ;; +esac + +#DEBHELPER# --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-glx-177-dev.postrm +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177-dev.postrm @@ -0,0 +1,61 @@ +#! /bin/sh +# postrm script for nvidia-glx-177 +# +# see: dh_installdeb(1) + +set -e + +case "$1" in + remove|purge) + if [ "$(dpkg-divert --list /usr/lib/nvidia/libGL.so.xlibmesa | awk '{ print $7 }')" = "nvidia-glx-177" ]; then + dpkg-divert --remove --rename --package nvidia-glx-177-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-177" ]; then + dpkg-divert --remove --rename --package nvidia-glx-177-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-177-dev" ]; then + dpkg-divert --remove --rename --package nvidia-glx-177-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-177-dev" ]; then + dpkg-divert --remove --rename --package nvidia-glx-177-dev --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null + fi + +# dpkg-divert --remove --rename --package nvidia-glx-177-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null +# dpkg-divert --remove --rename --package nvidia-glx-177-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null +# rm /usr/lib/libGL.so || true +# /etc/init.d/nvidia-glx-177 start || true +# ln -s /usr/lib/nvidia/libGL.so.1.2.xlibmesa /usr/lib/libGL.so + + +# dpkg-divert --remove --rename --package nvidia-glx-177-dev --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null + +# dpkg-divert --remove --rename --package nvidia-glx-177-dev --divert /usr/share/nvidia-glx-177/diversions/gl.h /usr/include/GL/gl.h > /dev/null +# dpkg-divert --remove --rename --package nvidia-glx-177-dev --divert /usr/share/nvidia-glx-177/diversions/glx.h /usr/include/GL/glx.h > /dev/null +# dpkg-divert --remove --rename --package nvidia-glx-177-dev --divert /usr/share/nvidia-glx-177/diversions/glxtokens.h /usr/include/GL/glxtokens.h > /dev/null + +# dpkg-divert --remove --rename --package nvidia-glx-177-dev --divert /usr/share/nvidia-glx-177/diversions/gl.h /usr/include/GL/gl.h > /dev/null +# dpkg-divert --remove --rename --package nvidia-glx-177-dev --divert /usr/share/nvidia-glx-177/diversions/glx.h /usr/include/GL/glx.h > /dev/null +# dpkg-divert --remove --rename --package nvidia-glx-177-dev --divert /usr/share/nvidia-glx-177/diversions/glxtokens.h /usr/include/GL/glxtokens.h > /dev/null + + if [ -d /usr/lib/nvidia/ ]; then + rmdir /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-177-177.82.orig/debian/nvidia-glx-177.override +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177.override @@ -0,0 +1,13 @@ +nvidia-glx: library-not-linked-against-libc ./usr/lib/libGL.so.177.82 + +nvidia-glx: shared-lib-without-dependency-information ./usr/lib/libGLcore.so.177.82 + +nvidia-glx: library-not-linked-against-libc ./usr/lib/xorg/modules/extensions/libglx.so.177.82 + +nvidia-glx: shlib-with-non-pic-code usr/lib/libGL.so.177.82 +nvidia-glx: shlib-with-non-pic-code usr/lib/libGLcore.so.177.82 +nvidia-glx: shlib-with-non-pic-code usr/lib/xorg/modules/extensions/libglx.so.177.82 +nvidia-glx: shlib-with-non-pic-code usr/lib/libXvMCNVIDIA.so.177.82 + +nvidia-glx: non-dev-pkg-with-shlib-symlink usr/lib/libGL.so.177.82 usr/lib/libGL.so +nvidia-glx: non-dev-pkg-with-shlib-symlink usr/lib/xorg/modules/extensions/libglx.so.177.82 usr/lib/xorg/modules/extensions/libglx.so --- nvidia-graphics-drivers-177-177.82.orig/debian/dkms.conf.in +++ nvidia-graphics-drivers-177-177.82/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-177.82_2.6.28.patch" +PATCH_MATCH[0]="^2.6.2[8]" +AUTOINSTALL="yes" --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-glx-177.postrm.in +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177.postrm.in @@ -0,0 +1,79 @@ +#! /bin/sh +# postrm script for nvidia-glx-177 +# +# 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) + # remove file created by init script + rm /usr/lib/libGL.so 2> /dev/null || true + if [ "$(dpkg-divert --list /usr/lib/libGL.so.1 | awk '{ print $7 }')" = "nvidia-glx-177" ]; then + dpkg-divert --remove --rename --package nvidia-glx-177 --divert /usr/lib/nvidia/libGL.so.1.xlibmesa /usr/lib/libGL.so.1 > /dev/null + dpkg-divert --remove --rename --package nvidia-glx-177 --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-177" ]; then + dpkg-divert --remove --rename --package nvidia-glx-177 --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-177" ]; then + dpkg-divert --remove --rename --package nvidia-glx-177 --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-177" ]; then + rm -f /usr/lib32/libGL.so > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-177 --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-177" ]; then + rm -f /usr/lib32/libGL.so.1 > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-177 --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-177" ]; then + rm -f /usr/lib32/libGL.so.1.2 > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-177 --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 /usr/lib/nvidia/ 2> /dev/null || true; + fi + if [ -d /usr/lib32/nvidia ]; then + rmdir /usr/lib32/nvidia 2> /dev/null || true; + fi + ldconfig + + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + +esac + + +#rm -f /usr/lib/xorg/modules/extensions/libglx.so.#VERSION# 2> /dev/null || true + + + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-glx-177.dirs +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177.dirs @@ -0,0 +1,13 @@ +usr/bin +usr/lib +usr/share/applications +usr/share/man/man1 +usr/share/lintian/overrides +usr/share/pixmaps +usr/lib/xorg/modules/drivers +usr/lib/xorg/modules/extensions +usr/lib/tls +usr/lib32/tls +usr/lib/nvidia +usr/lib32/nvidia +usr/share/bug/nvidia-glx-177 --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia-177-kernel-source.NEWS +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-177-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-177-177.82.orig/debian/changelog +++ nvidia-graphics-drivers-177-177.82/debian/changelog @@ -0,0 +1,1073 @@ +nvidia-graphics-drivers-177 (177.82-0ubuntu2) jaunty; urgency=low + + * Add debian.binary/patches/NVIDIA-177.82_2.6.28.patch to ensure compatibility + with 2.6.28 kernels (LP: #303107) + + -- Alberto Milone (tseliot) Mon, 01 Dec 2008 18:08:53 +0100 + +nvidia-graphics-drivers-177 (177.82-0ubuntu1) jaunty; urgency=low + * Add driver 177.82 (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 + * Fixed a problem on recent mobile GPUs that caused a power management resume from S3 to take 30+ seconds. + * Fixed a problem with hotkey switching on some recent mobile GPUs. + * Fixed an image corruption issue seen in FireFox 3. + * Make it conflict with driver 180 + * Make it easier to add the support for new flavours in nvidia-glx-VER.preinst + * 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 18:23:09 +0100 + +nvidia-graphics-drivers-177 (177.80-0ubuntu3) intrepid-proposed; urgency=low + + * 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 + + -- Alberto Milone (tseliot) Sun, 02 Nov 2008 13:24:19 +0100 + +nvidia-graphics-drivers-177 (177.80-0ubuntu2) intrepid; urgency=low + + * Test the existence of the dkms folder in + nvidia-177-kernel-source.postinst + + -- Alberto Milone (tseliot) Mon, 13 Oct 2008 17:38:24 +0200 + +nvidia-graphics-drivers-177 (177.80-0ubuntu1) intrepid; urgency=low + + * Add driver 177.80 (LP: #275098): + * Added support for the following new GPUs: + o GeForce GTX 260 + o GeForce GTX 280 + o GeForce 9800 GTX+ + o GeForce 9800 GT + o GeForce 9700M GTS + o GeForce 9500 GT + o GeForce 8100P + o nForce 780a SLI + o nForce 750a SLI + o Quadro FX 770M + o Quadro NVS 160M + o Quadro NVS 150M + * Improved support for RENDER masks, as well as RENDER repeating + modes and transformations, for video memory pixmaps. + * Added accelerated support for RENDER convolution filters for + video memory pixmaps on GeForce 8, 9 and GTX GPUs. + * Improved support for RENDER operations with the same source + and destination; this should performance in some situations, + e.g. when dragging Plasma applets in KDE4. + * Improved GPU video memory management coordination between the + NVIDIA X driver and OpenGL implementation; this should improve + performance with e.g. the KDE4 OpenGL compositing manager. + * Added an 'AllowSHMPixmaps' X configuration option, which can + be used to prevent applications from using shared memory + pixmaps; the latter may cause some optimizations in the NVIDIA + X driver to be disabled. + * Fixed a text rendering performance regression that affected + GeForce 6 and 7 series GPUs. + * Fixed a regression that caused the 'Auto' SLI X option setting + to not enable SLI. + * Fixed a bug that caused system hangs when using the NV-CONTROL + interface to change GPU clock frequencies. + * Added support for DisplayPort display devices (including 30-bit + devices). + * Resolved various stability problems on GeForce 8, 9 and GTX + GPUs, as well as some GeForce 6 and 7 PCI-E GPUs. + * Fixed a bug that resulted in GPU errors when changing the + TwinView display configuration while using Compiz. + * Further improved the error recovery paths taken in case of GPU + command stream corruption. + * Updated mode validation, in cases when no EDID is detected, + such that 1024x768 @ 60Hz and 800x600 @ 60Hz are allowed, + rather than just 640x480 @ 60Hz. + * Removed an old workaround that caused incorrect Xinerama + information to be reported after enabling a second TwinView + display. + * Fixed corruption when using SLI in SFR mode with OpenGL-based + composite managers. + * Fixed the subpicture component order reported by the NVIDIA X + driver's XvMC implementation. + * Added a workaround for broken EDIDs provided by some Acer + AL1512 monitors. + * Fixed a bug that caused GLXBadDrawable errors to be generated + when running more than one OpenGL application with anti-aliasing + enabled on GeForce 6 and 7 GPUs, e.g. wine. + * Fixed a problem that could result in IRQs being disabled on some + multi-GPU SMP configurations. + * Worked around cache flushing problems (on some Linux kernels) + that caused corruption and stability problems. + * Added experimental support for PCI-E MSI. + * Fixed a bug that resulted in AGP FW/SBA settings and overrides + being applied incorrectly when using the Linux kernel's AGP GART + driver. + * Improved compatibility with recent Linux 2.6 kernels. + * Updated the X driver to consider /sys/class/power_supply when + determining the AC power state. + + -- Alberto Milone (tseliot) Wed, 08 Oct 2008 11:08:21 +0200 + +nvidia-graphics-drivers-177 (177.76-0ubuntu1) intrepid; urgency=low + + * Add driver 177.76 (LP: #272572): + * Added support for the following new GPUs: + o GeForce 9500 GT + * Fixed a bug that caused GPU errors when applications used + the X RENDER extension's repeating modes in conjunction + with color-index overlays or rotation on GeForce 7 series + and older GPUs. + * Fixed a bug that caused system hangs when using the + NV-CONTROL interface to change GPU clock frequencies. + * Fixed a text rendering performance regression on GeForce 7 + series and older GPUs when InitialPixmapPlacement is set + to 2. + * Updated mode validation, in cases when no EDID is detected, + such that 1024x768 @60Hz and 800x600 @ 60Hz are allowed, + rather than just 640x480 @ 60Hz. + * Improved power management support. + * Improved compatibility with recent Linux 2.6 kernels. + * Fixed a regression that caused the 'Auto' SLI X option + setting to not enable SLI. + * Added a workaround for broken EDIDs provided by some Acer + AL1512 monitors. + * Fix (LP: #262027) Make sure to remove (in + nvidia-177-kernel-source.postinst) any directory which + was not removed because of bug 261816 + + -- Alberto Milone (tseliot) Mon, 22 Sep 2008 12:28:45 +0200 + +nvidia-graphics-drivers-177 (177.70-0ubuntu2) intrepid; urgency=low + + * nvidia-graphics-drivers-173_173.14.12-1-0ubuntu2_source.changes + + -- Bryce Harrington Thu, 11 Sep 2008 18:14:07 -0700 + +nvidia-graphics-drivers-177 (177.70-0ubuntu1) intrepid; urgency=low + + * Add driver 178.70: + * Added support for the following new GPUs: + o GeForce 9800 GTX+ + o GeForce 9800 GT + o GeForce 8100P + o nForce 780a SLI + o nForce 750a SLI + o Quadro FX 770M + o Quadro NVS 160M + o Quadro NVS 150M + * Improved support for RENDER operations with the same source + and destination; this should enhance performance in + some situations, e.g. when dragging Plasma applets in KDE4. + * Fixed a text rendering performance regression that affected + GeForce 6 and 7 series GPUs. + * Fixed a regression that caused text to be missing or + corrupt on GeForce 6 and 7 series GPUs. + * Fixed a regression responsible for false negatives during + SLI video bridge detection attempts after X server + restarts. + * Fixed a bug that resulted in AGP FW/SBA settings and overrides + being applied incorrectly when using the Linux kernel's + AGP GART driver. + * Fixed a bug that caused initialization of the builtin AGP + GART driver (NvAGP) to fail. + * Fix (LP: #261816) Replace "remove" with "remove|upgrade" in the + case loop in nvidia-177-kernel-source.prerm so that older versions + of the drivers are removed in case of upgrade + + -- Alberto Milone (tseliot) Thu, 28 Aug 2008 22:22:50 +0200 + +nvidia-graphics-drivers-177 (177.68-0ubuntu1) intrepid; urgency=low + + * Add driver 177.67: + * Added support for the GeForce 9700M GTS. + * Improved GPU video memory management coordination between the + NVIDIA X driver and OpenGL implementation; this should + improve performance with e.g. the KDE4 OpenGL compositing + manager. + * Fixed a RENDER corruption bug on GeForce 6 and 7 GPUs. + * Fixed a bug that caused GLXBadDrawable errors to be generated + when running more than one OpenGL application with + anti-aliasing enabled on GeForce 6 and 7 GPUs, e.g. wine. + * Fixed a bug that caused GPU errors when killing the X server + while an OpenGL application is running. + * Fixed a bug on GeForce 8, 9 and GTX GPUs that caused dynamic + display configuration to fail on GPUs not currently + driving an X screen. + * Fix (LP: #254969) Make nvidia-glx-VER conflict with xorg-driver-fglrx + + -- Alberto Milone (tseliot) Fri, 22 Aug 2008 10:57:32 +0200 + +nvidia-graphics-drivers-177 (177.67-0ubuntu1) intrepid; urgency=low + + * Fix (LP: #254444) Remove pound from link in nvidia-glx-177-dev.links.in + * Fix (LP: #259105) Add missing link to usr/lib/libXvMCNVIDIA.so.#VERSION# in + usr/lib/libXvMCNVIDIA.so + * Add driver 177.67: + * Added support for the following new GPUs: + o GeForce GTX 260 + o GeForce GTX 280 + * Improved support for RENDER masks, as well as RENDER repeating modes and + transformations, for video memory pixmaps. + * Added accelerated support for RENDER convolution filters for video memory + pixmaps on GeForce 8, 9 and GTX GPUs. + * Added an 'AllowSHMPixmaps' X configuration option, which can be used to prevent + applications from using shared memory pixmaps; the latter may cause some + optimizations in the NVIDIA X driver to be disabled. + * Added support for DisplayPort display devices (including 30-bit devices). + * Resolved various stability problems on GeForce 8, 9 and GTX GPUs, as well as + some GeForce 6 and 7 PCI-E GPUs. + * Fixed a bug that resulted in GPU errors when changing the TwinView display + configuration while using Compiz. + * Further improved the error recovery paths taken in case of GPU command stream + corruption. + * Removed an old workaround that caused incorrect fake Xinerama information to be + reported after enabling a second TwinView display. + * Fixed the subpicture component order reported by the NVIDIA X driver's XvMC + implementation. + * Fixed a problem that could result in IRQs being disabled on some multi-GPU SMP + configurations. + * Worked around cache flushing problems (on some Linux kernels) that caused + corruption and stability problems. + * Added experimental support for PCI-E MSI. + * Improved compatibility with recent Linux 2.6 kernels. + + -- Alberto Milone (tseliot) Wed, 20 Aug 2008 10:35:05 +0200 + +nvidia-graphics-drivers-177 (177.13-0ubuntu8) intrepid; urgency=low + + * Make sure that the installers are executable in the debian/rules + * Don't test the existence of libGL.so, libGL.so.1, libGL.so.1.2 in /usr/lib32 + when adding a diversion on them in the preinst. This will make sure that NVIDIA's + libGL.so.xx will win against the one in ia32-libs [amd64] + * Remove diversions of libGL.so in the preinst added by nvidia-glx-VER and add + a new diversion of the file to /usr/lib32/nvidia/libGL.so.xlibmesa [amd64] + * Remove diversion of libGL.so in the postrm.in [amd64] + * Remove dependency on ia32-libs [amd64] + * Fix (LP: #247984) make sure that nvidia-glx-177 doesn't conflict with ia32-libs + + -- Alberto Milone (tseliot) Sat, 09 Aug 2008 11:46:47 +0200 + +nvidia-graphics-drivers-177 (177.13-0ubuntu7) intrepid; urgency=low + + * Make sure that no file is installed to /etc/default + + -- Alberto Milone (tseliot) Thu, 17 Jul 2008 22:09:18 +0200 + +nvidia-graphics-drivers-177 (177.13-0ubuntu6) intrepid; urgency=low + + * Fix (LP: #247984) Add dependency on ia32-libs for amd64 + * Add the name of the package to the modalias list + + -- Alberto Milone (tseliot) Sun, 13 Jul 2008 20:36:26 +0200 + +nvidia-graphics-drivers-177 (177.13-0ubuntu5) intrepid; urgency=low + + * Fix (LP: #247527) depend on linux-headers-generic | linux-headers rather + than on linux-headers + + -- Alberto Milone (tseliot) Fri, 11 Jul 2008 15:17:53 +0200 + +nvidia-graphics-drivers-177 (177.13-0ubuntu4) intrepid; urgency=low + + * Remove reference to the init file from -dev.postinst + * Don't copy kernel.o.x86_64 to nvidia-kernel-source manually + + -- Alberto Milone (tseliot) Thu, 10 Jul 2008 10:43:03 +0200 + +nvidia-graphics-drivers-177 (177.13-0ubuntu3) intrepid; urgency=low + + * Recommends nvidia-settings instead of Suggests nvidia-settings + * Put the icon for nvidia-settings in /usr/share/pixmaps + + -- Alberto Milone (tseliot) Tue, 08 Jul 2008 18:50:23 +0200 + +nvidia-graphics-drivers-177 (177.13-0ubuntu2) intrepid; urgency=low + + * Remove init file and make static links for TLS + * Add build-dep on xserver-xorg-dev and don't hardcode the Server ABI so + as to make future backports easier + * Thanks to Timo Aaltonen for the tips + * Remove devscripts and kernel-package from Recommends + * Thanks to Mario Limonciello and Martin Pitt + + -- Alberto Milone (tseliot) Tue, 08 Jul 2008 16:36:26 +0200 + +nvidia-graphics-drivers-177 (177.13-0ubuntu1) intrepid; urgency=low + + * New packaging for Ubuntu. + * Merge with Debian + * Thanks to Timo Aaltonen for the merge + * Add support for DKMS + * Add driver 177.13: + * Added support for the following new GPUs: + o GeForce GTX 260 + o GeForce GTX 280 + + -- Alberto Milone (tseliot) Fri, 14 Jun 2008 17:44:59 +0200 + +nvidia-graphics-drivers (169.12-4) unstable; urgency=low + + * Fix permissions on kernel patches directory (closes: #483074) + + -- Randall Donald Tue, 27 May 2008 20:24:29 -0700 + +nvidia-graphics-drivers (169.12-3) unstable; urgency=low + + * Make sure wfb diversion is removed. (closes: #482995) + + -- Randall Donald Mon, 26 May 2008 09:27:40 -0700 + +nvidia-graphics-drivers (169.12-2) unstable; urgency=low + + * Add initial linux-modules-nonfree-2.6 intergration, 2.6.24 only + * create storage directories for old patches and don't include in binary + packages. + * Remove wfb diversion and don't install nvidia's copy. + * Patch for 2.6.25 support + * Patch to compile on xen enabled kernels (closes: #476504, #481485) + + -- Randall Donald Sat, 24 May 2008 19:57:18 -0700 + +nvidia-graphics-drivers (169.12-1) unstable; urgency=low + + * fix shlib dep + * New upstream. + * remove xserver-xorg-core dependency. + * add cuda files (closes: #463776) + * add bzip2 to build-depends. (closes: #466139) + * add uploaders field that went missing: (closes: #454999, #472448) + + -- Randall Donald Sat, 05 Apr 2008 17:59:56 -0700 + +nvidia-graphics-drivers (169.09-1) unstable; urgency=low + + * New upstream. (with fan fix!) + + -- Randall Donald Sat, 02 Feb 2008 15:21:28 -0800 + +nvidia-graphics-drivers (169.07-2) unstable; urgency=low + + * Fix permissions on patches.old (closes: #459848, #460173) + * fix root_cmd (closes: #459833) + + -- Randall Donald Sat, 12 Jan 2008 17:10:40 -0800 + +nvidia-graphics-drivers (169.07-1) unstable; urgency=low + + * New upstream. + * Remove ROOT_CMD from debian.binary/rules (closes: 416594) + * always include x86_64 nv-kernel.o and detect which to use at kernel-source + build time. (closes: #458295, #437128) + * move patches dir out of the way. + * rename tarball to nvidia-kernel.tar.bz2 for upcoming module packaging. + + -- Randall Donald Mon, 07 Jan 2008 12:15:15 -0800 + +nvidia-graphics-drivers (100.14.19-1) unstable; urgency=low + + * new upstream. + * Xorg 7.3 compatible (closes: #420177 ) + * divert libwfb.so and libGLcore.so (closes: #442846, #441400) + * change maintainer to packaging team. + * change x11-common depends to 1:7.3+2 + * change provides to xserver-xorg-video-2 + * remove use of update-modules (closes: #435650) + + -- Randall Donald Sat, 22 Sep 2007 17:16:06 -0700 + +nvidia-graphics-drivers (100.14.11-1) unstable; urgency=low + + * New upstream. (closes: #430841) + * add more GPUs to supported list + * Disable Xen patch until it compiles again. + + -- Randall Donald Mon, 02 Jul 2007 17:41:57 -0700 + +nvidia-graphics-drivers (100.14.09-1) unstable; urgency=low + + * The "use the released version and not the beta drivers" release. + * Remove root_cmd from module rules file. (closes: #416594) + + -- Randall Donald Tue, 19 Jun 2007 23:50:31 -0700 + +nvidia-graphics-drivers (100.14.06-1) unstable; urgency=low + + * New upstream. + + -- Randall Donald Sat, 16 Jun 2007 20:12:55 -0700 + +nvidia-graphics-drivers (1.0.9755-1) unstable; urgency=low + + * new upstream uploaded to unstable (closes: #415041) + * change description to refer only to xorg. (closes: #404599, #402223) + * fix Description regarding supported cards. (closes: #416946) + * Add Vcs header + * Add Xen support (thanks to Marco Nenciarini) (closes: #367326) + + -- Randall Donald Sun, 22 Apr 2007 20:26:57 -0700 + +nvidia-graphics-drivers (1.0.9746-2) experimental; urgency=low + + * include libnvidia-wfb.so. for 8800 peeps. + + -- Randall Donald Sat, 30 Dec 2006 17:00:50 -0800 + +nvidia-graphics-drivers (1.0.9746-1) experimental; urgency=low + + * new upstream with 8800 support. + + -- Randall Donald Tue, 26 Dec 2006 15:56:06 -0800 + +nvidia-graphics-drivers (1.0.9631-1) experimental; urgency=low + + * New Upstream. + * Uploaded to experimental while 8776 is being settled for etch. + + -- Randall Donald Thu, 7 Dec 2006 19:38:58 -0800 + +nvidia-graphics-drivers (1.0.9629-2) unstable; urgency=low + + * remove libGL.so created by init script. (closes: #400129) + + -- Randall Donald Sat, 2 Dec 2006 13:28:04 -0800 + +nvidia-graphics-drivers (1.0.9629-1) unstable; urgency=low + + * New Upstream (closes: #397505) + * Check for compiler existance (closes: #319544) + + -- Randall Donald Sat, 11 Nov 2006 13:35:39 -0800 + +nvidia-graphics-drivers (1.0.8776-1) unstable; urgency=medium + + * New upstream. + * Includes upstream hotfix for Rapid7 Advisory R7-0025 Buffer Overflow + (closes: #393573) + * urgency=medium for RC bug fix + + -- Randall Donald Thu, 19 Oct 2006 18:26:24 -0700 + +nvidia-graphics-drivers (1.0.8774-7) unstable; urgency=low + + * add diversion of libGL.so to nvidia-glx-ia32 (closes: #393056) + + -- Randall Donald Sat, 14 Oct 2006 13:36:34 -0700 + +nvidia-graphics-drivers (1.0.8774-6) unstable; urgency=low + + * make init script create libGL.so for nvidia-glx-dev as well + as providing the file will get diverted. Also remove the extra + nvidia-glx-dev removal diversions not needed anymore. (closes: #392639) + + -- Randall Donald Fri, 13 Oct 2006 10:42:25 -0700 + +nvidia-graphics-drivers (1.0.8774-5) unstable; urgency=high + + * make sure nvidia-glx-dev diversions are removed and conflict with older + versions of -dev + * urgency=high for fixing broken upgrade path. + + -- Randall Donald Wed, 11 Oct 2006 11:21:39 -0700 + +nvidia-graphics-drivers (1.0.8774-4) unstable; urgency=high + + * The problem in #208198 no longer exists but another one has arisen due + to unwanted linking against NVIDIA's libGL.so.1. Solution: Have nvidia-glx + divert libGL.so and have the init script test for the existence of the + diverted libGL.so.xlibmesa file and then create a /usr/lib/libGL.so symlink + to libGL.so.1.2.xlibmesa. Slightly evil but doesn't leave any dangling + symlinks after the init script is called. (closes: #208198) + * High-urgency upload for RC bugfix. + * run a version-change to update files in subversion, especially control + (closes: #391795) + * Clean up X11R6 diversions. (closes: #380433) + + -- Randall Donald Mon, 9 Oct 2006 16:18:26 -0700 + +nvidia-graphics-drivers (1.0.8774-3) unstable; urgency=low + + * make nvidia-glx provide xserver-xorg-video-1.0 for xorg 7.1 + (closes: #385114) + * upload xorg 7.1 version to unstable + + -- Randall Donald Thu, 21 Sep 2006 10:44:17 -0700 + +nvidia-graphics-drivers (1.0.8774-2) experimental; urgency=low + + * make nvidia-glx provide xserver-xorg-video-1.0 for xord 7.1 + (closes: #385114) + + -- Randall Donald Mon, 28 Aug 2006 20:54:34 -0700 + +nvidia-graphics-drivers (1.0.8774-1) unstable; urgency=low + + * New upstream. (closes: #384608) + * uncomment dh_installmodules in module's rules file. + * Some important bugs will be fixed with -2 + + -- Randall Donald Mon, 28 Aug 2006 20:27:45 -0700 + +nvidia-graphics-drivers (1.0.8762-2) unstable; urgency=low + + * Have nvidia-glx-dev conflict with mesa-common-dev + + -- Randall Donald Fri, 2 Jun 2006 20:44:38 -0700 + +nvidia-graphics-drivers (1.0.8762-1) unstable; urgency=low + + * New upstream. + * take out dh_strip temporarily while the current strip fails on the + nvidia libs. + + -- Randall Donald Mon, 22 May 2006 15:26:58 -0700 + +nvidia-graphics-drivers (1.0.8756-4) unstable; urgency=low + + * Include a good nvidia-kernel-source.tar.gz + + -- Randall Donald Tue, 11 Apr 2006 22:48:33 -0700 + +nvidia-graphics-drivers (1.0.8756-3) unstable; urgency=low + + * Adjust for Xorg7.0 support. Thanks to Rasmus Bog Hansen + + -- Randall Donald Tue, 11 Apr 2006 10:08:13 -0700 + +nvidia-graphics-drivers (1.0.8756-2) unstable; urgency=low + + * nvidia-glx-dev: Add the missing Provides: libgl-dev (closes: #361589) + + -- Randall Donald Sun, 9 Apr 2006 09:54:21 -0700 + +nvidia-graphics-drivers (1.0.8756-1) unstable; urgency=low + + * New upstream (closes: #361352) + * Please don't file wishlist bugs after only a few hours. + * nvdia-glx-dev: put headers under /usr/include and conflict + with other libgl-dev + * nvidia-glx-dev: stricter depends on nvidia-glx (closes: #335539) + * nvidia-glx: include libnvidia-cfg (closes: #356800) + * lower debhelper level back to sarge ver. 4 level (closes: #356775) + + -- Randall Donald Fri, 7 Apr 2006 18:55:06 -0700 + +nvidia-graphics-drivers (1.0.8178-3) unstable; urgency=low + + * upload fix for 2.6.16 (closes: #357992, #346355) + + -- Randall Donald Tue, 28 Mar 2006 19:48:59 -0800 + +nvidia-graphics-drivers (1.0.8178-2.1) unstable; urgency=low + + * add new upstream patch NVIDIA_kernel-1.0-8178-U012206.diff.txt, + closes #357992 + + -- Harald Dunkel Fri, 24 Mar 2006 06:51:49 +0100 + +nvidia-graphics-drivers (1.0.8178-2) unstable; urgency=low + + * very belated change of kernel-image to linux-image in Recommends. + + -- Randall Donald Mon, 13 Feb 2006 20:26:15 -0800 + +nvidia-graphics-drivers (1.0.8178-1) unstable; urgency=low + + * Upload to archive. + + -- Randall Donald Tue, 27 Dec 2005 13:46:44 -0800 + +nvidia-graphics-drivers (1.0.8178-0.1) unstable; urgency=low + + * patch scheme added + * applied NVidia's patch NVIDIA_kernel-1.0-8178-U122205 + + -- Harald Dunkel Tue, 27 Dec 2005 15:23:41 +0100 + +nvidia-graphics-drivers (1.0.8178-0) unstable; urgency=low + + * new upstream + + -- Harald Dunkel Sat, 24 Dec 2005 09:27:56 +0100 + +nvidia-graphics-drivers (1.0.8174-1) unstable; urgency=low + + * The "Radiohead" Release ;) + * New upstream. + * Upload to unstable. + * Thanks to Harald Dunkel for initial build. + * LEGACY GPUs: If you have a TNT, TNT2, Vanta, GeForce 256, GeForce DDR, + Quadro, GeForce2 Pro, GeForce2 GTS, GeForce2 Ultra, GeForce2 Ti, + Quadro2Pro, DO NOT INSTALL THIS RELEASE!!! They are not supported. + * update NEWS files again. + * add Xorg 6.8 to the descriptions to cut down on confusion. + * add reference to linux- kernel packages in README.Debian + * nvidia-xconfig will be in a separate package. + + -- Randall Donald Sat, 10 Dec 2005 18:33:37 -0800 + +nvidia-graphics-drivers (1.0.8174-0) unstable; urgency=low + + * new upstream + + -- Harald Dunkel Wed, 7 Dec 2005 19:40:50 +0100 + +nvidia-graphics-drivers (1.0.7676-2) experimental; urgency=low + + * add exit 0 to module postrm (closes: #252018) + * add more documentation to /etc/default/nvidia-glx (closes: #280237) + * reorganize nvidia-glx init script + * remove xserver provides (man this was an old addition) (closes: #329320) + * fix nvidia-glx-dev missing links (closes: #336778) + * now that sarge is stable upgrade DH_COMPAT to 5 (closes: #336734) + * Supply diversion for libglx.so to work with newer xorg. + + -- Randall Donald Wed, 23 Nov 2005 01:20:12 +0000 + +nvidia-graphics-drivers (1.0.7676-1) experimental; urgency=low + + * New Upstream. (includes fix for GeForce FX 7880) + + -- Randall Donald Mon, 29 Aug 2005 15:48:27 -0700 + +nvidia-graphics-drivers (1.0.7676-0) experimental; urgency=low + + * new upstream + + -- Harald Dunkel Mon, 15 Aug 2005 21:53:07 +0200 + +nvidia-graphics-drivers (1.0.7667-3) experimental; urgency=low + + * back out libGL.so mess until it upgrades properly. + * move back to experimental while work is being done on the above. + + -- Randall Donald Mon, 18 Jul 2005 13:08:11 -0700 + +nvidia-graphics-drivers (1.0.7667-2) unstable; urgency=low + + * fix dangling libGL.so issue. nvidia-glx by itself will now + link to the diverted xlibmesa library (closes: #208198, #306533, #272438) + * Move nvidia-kernel-source to Suggests in nvidia-glx (closes: #295891) + * Modify description to make note of GPUs NOT supported + * update module README.Debian to refer to nvnews.net forum. + (closes: #299916) + * Update nvidia-kernel-source README.Debian to mention module-assistant + and remove mention of patches that are unnecessary and other old + references. + * change upstream_info to not use bashisms. (closes: #304322) + * Update to policy 3.6.2 + * Move GL headers to /usr/share/nvidia/includes/GL. (closes: #268274) + * Remove unnecessary dependancy on libglu + * Add NEWS item about using legacy packages. + * LEGACY GPUs: If you have a TNT, TNT2, Vanta, GeForce 256, GeForce DDR, + Quadro, GeForce2 Pro, GeForce2 GTS, GeForce2 Ultra, GeForce2 Ti, Quadro2Pro, + DO NOT INSTALL THIS RELEASE!!! Use the nvidia-glx-legacy and + nvidia-kernel-source-legacy packages instead. + + -- Randall Donald Wed, 13 Jul 2005 14:23:26 -0700 + +nvidia-graphics-drivers (1.0.7667-1) experimental; urgency=low + + * New upstream (closes: #315446) + * Thanks again to Harald Dunkel for patch and amd64 testing. + + -- Randall Donald Fri, 24 Jun 2005 22:51:46 -0700 + +nvidia-graphics-drivers (1.0.7664-2) experimental; urgency=low + + * downgrade the libc6 change back to the version in unstable. + (closes: #315313) + + -- Randall Donald Tue, 21 Jun 2005 14:07:42 -0700 + +nvidia-graphics-drivers (1.0.7664-1) experimental; urgency=low + + * The "Commander Cool Drew Hess" release. + * New upstream. (Thanks to Harald Dunkel for initial work) + * uploaded to experimental due to needing GLIBC_2.3.3 + and legacy support for some GPU's has been removed. + * Add news item about legacy support. + * LEGACY GPUs: If you have a TNT, TNT2, Vanta, GeForce 256, GeForce DDR, + Quadro, GeForce2 Pro, GeForce2 GTS, GeForce2 Ultra, GeForce2 Ti, Quadro2Pro, + 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 Sat, 18 Jun 2005 16:46:48 -0700 + +nvidia-graphics-drivers (1.0.7664-0) unstable; urgency=low + + * New upstream. + + -- Harald Dunkel Sat, 11 Jun 2005 22:42:26 +0200 + +nvidia-graphics-drivers (1.0.7174-3) unstable; urgency=low + + * reinclude nvidia docs + + -- Randall Donald Thu, 7 Apr 2005 02:39:50 -0700 + +nvidia-graphics-drivers (1.0.7174-2) unstable; urgency=low + + * use -pkg2 (renamed to pkg0) for lib32 files in nvidia-glx-ia32 package + (closes: #257375) + + -- Randall Donald Tue, 5 Apr 2005 15:10:03 -0700 + +nvidia-graphics-drivers (1.0.7174-1) unstable; urgency=low + + * New upstream. + * add nvidia-glx-ia32 package for amd64 (closes: #257375) + + -- Randall Donald Fri, 1 Apr 2005 14:54:17 -0800 + +nvidia-graphics-drivers (1.0.7167-1) unstable; urgency=low + + * New upstream. (closes: #299073) + * Disable patching for new version. + + -- Randall Donald Fri, 11 Mar 2005 13:46:57 -0800 + +nvidia-graphics-drivers (1.0.6629+1-2) unstable; urgency=high + + * Add patches for new (> 2.6.10-rc3-bk13) kernels from + minion.de. Thanks to Drew Hess + (closes: #280224, #281640, #287226) + * updated minion patches from 16 Feb 2005 + * urgency high to get back in to sarge asap. + + -- Randall Donald Fri, 18 Feb 2005 15:31:00 -0800 + +nvidia-graphics-drivers (1.0.6629+1-1) unstable; urgency=low + + * change version to allow for new .orig + + -- Randall Donald Fri, 12 Nov 2004 11:06:00 -0800 + +nvidia-graphics-drivers (1.0.6629-2) unstable; urgency=low + + * Add amd64 support based on work from + Markus Benning and + Harald Dunkel + Thanks guys. + + -- Randall Donald Tue, 9 Nov 2004 23:13:49 -0800 + +nvidia-graphics-drivers (1.0.6629-1) unstable; urgency=low + + * New upstream. + * Undo 2.6.9 patching. + + -- Randall Donald Sat, 6 Nov 2004 23:21:06 -0800 + +nvidia-graphics-drivers (1.0.6111-2) unstable; urgency=low + + * Provide patches for kernels 2.6.9 and 2.6.10 + + -- Randall Donald Mon, 25 Oct 2004 16:40:05 -0700 + +nvidia-graphics-drivers (1.0.6111-1) unstable; urgency=low + + * New upstream. + * add executable check for update-devfsd. + + -- Randall Donald Thu, 5 Aug 2004 11:43:28 -0700 + +nvidia-graphics-drivers (1.0.6106-4) unstable; urgency=low + + * Use init script patch by Arthur de Jong + (closes: #243308, #261165) + * Add read-only check to init script. (closes: #262176) + + -- Randall Donald Sat, 31 Jul 2004 14:40:59 -0700 + +nvidia-graphics-drivers (1.0.6106-3) unstable; urgency=low + + * Remove libglx.so.version symlink cleaning now that it is an actual file + again. + + -- Randall Donald Wed, 30 Jun 2004 22:00:09 -0700 + +nvidia-graphics-drivers (1.0.6106-2) unstable; urgency=low + + * Remove package nvidia-settings so I can use the GPL source in a separate + source package in contrib. + * Fix nvidia-glx-dev depends on nvidia-glx version. + + -- Randall Donald Wed, 30 Jun 2004 17:48:06 -0700 + +nvidia-graphics-drivers (1.0.6106-1) unstable; urgency=low + + * New upstream. + fixed GL library symbols (closes: #242525) + * new nvidia-settings package. + * remolded TLS handling for new libnvidia-tls.so + * sysfs support now builtin, both dpatches disabled. + + -- Randall Donald Wed, 30 Jun 2004 11:35:08 -0700 + +nvidia-graphics-drivers (1.0.5336-12) unstable; urgency=low + + * Include newer sysfs patch by Martin Schlemmer which + should now create udev nodes. + (closes: #248451) + + -- Randall Donald Tue, 29 Jun 2004 23:46:22 -0700 + +nvidia-graphics-drivers (1.0.5336-11) unstable; urgency=low + + * Correct nvidia-glx.shlibs. (closes: #249194) + * New init script from Arthur de Jong . + (closes: #243308, #252569) + + -- Randall Donald Tue, 8 Jun 2004 19:04:42 -0700 + +nvidia-graphics-drivers (1.0.5336-10) unstable; urgency=low + + * remove immediate exit in nvida-glx init.d so tls detection doesn't exit. + (closes: #247188) + + -- Randall Donald Sat, 8 May 2004 13:44:21 -0700 + +nvidia-graphics-drivers (1.0.5336-9) unstable; urgency=low + + * use corrected 02_pcialias patch from Juergen Kreileder + + -- Randall Donald Fri, 30 Apr 2004 19:38:57 -0700 + +nvidia-graphics-drivers (1.0.5336-8) unstable; urgency=low + + * Allow for presence of 01_sysfs fuzz in 02_pcialias. (closes: #246773) + * Document in n-k-s.README.Debian about IGNORE_PCI_CLASS_DISPLAY + (closes: #246775) + + -- Randall Donald Fri, 30 Apr 2004 18:52:47 -0700 + +nvidia-graphics-drivers (1.0.5336-7) unstable; urgency=low + + * also detect uppercase "GCC" in compiler detection. (closes: #243988) + * version dpatch at >= 2.0.0. (closes: #242465) + * patch for hotplugging. Thanks to Juergen Kreileder + (closes: #239992) + * move libtool files to nvidia-glx-dev. (closes: #229110) + * apply patch from Joachim Breitner for init script. + (closes: #243308) + * change shlibs to xlibmesa-gl | libgl1 + + -- Randall Donald Sat, 17 Apr 2004 16:40:26 -0700 + +nvidia-graphics-drivers (1.0.5336-6) unstable; urgency=low + + * Introduce a boot init script for TLS detection. With this we can get rid + of the debconf prompting. (closes: #234612, #231397, #234323) + * Provide patch for sysfs. (closes: #236714, #234150) + * depend on dpatch for above patch. + * fix typo in clean target for SYSSRC. (closes: #237793) + * modify debian.binary/rules for patching and Makefile existance. + + -- Randall Donald Fri, 19 Mar 2004 14:39:56 -0800 + +nvidia-graphics-drivers (1.0.5336-5) unstable; urgency=low + + * add SYSRC to clean target. (closes: #232313) + * Make GL depends more X 4.3 friendly. (closes: #188189) + * pass KPKG_EXTRAV_ARG in for proper 2.6 EXTRAVERSIONing + * version kernel-package at >=8.082. + * add root_cmd. (closes: #162323) + + -- Randall Donald Sat, 21 Feb 2004 15:04:42 -0800 + +nvidia-graphics-drivers (1.0.5336-4) unstable; urgency=low + + * Add glext.h to nvidia-glx-dev. (closes: #231169) + * Add Makefile to clean target in nvidia-kernel-source rules file. + + -- Randall Donald Wed, 4 Feb 2004 16:03:42 -0800 + +nvidia-graphics-drivers (1.0.5336-3) unstable; urgency=low + + * Depend on libc6-dev for KBUILD building. (closes: #230307) + + -- Randall Donald Sat, 31 Jan 2004 14:26:02 -0800 + +nvidia-graphics-drivers (1.0.5336-2) unstable; urgency=low + + * Bypass NVIDIA's select_makefile (closes: #230307) + * Remove patch from nvidia-kernel-source Depends and add sed. + * Remove dangling libglx.so.VERSION symlink. + + -- Randall Donald Fri, 30 Jan 2004 14:54:32 -0800 + +nvidia-graphics-drivers (1.0.5336-1) unstable; urgency=low + + * New upstream. + * generate nvidia-kernel changelog from nvidia-graphics-drivers at build. + * change nvidia-kernel-source arch to i386. (closes: #229060) + * remove 2.6 patch as it is now provided upstream. + * create a makefile selector and change the patchlevel detection to be based + on KERNEL_VERSION_CODE. + * switch back to Makefile.kbuild for 2.6.x. + * remove no longer needed apm patch. (closes: #228487) + * reflect 2.6 changes in nvidia-kernel-source.README.Debian. + + -- Randall Donald Tue, 27 Jan 2004 00:01:32 -0800 + +nvidia-graphics-drivers (1.0.5328-4) unstable; urgency=low + + * Provide fixed .la files. (closes: #228677) + + -- Randall Donald Mon, 19 Jan 2004 23:05:20 -0800 + +nvidia-graphics-drivers (1.0.5328-3) unstable; urgency=low + + * Remove bad/broken LibGL.la files for now. (closes: #228499) + + -- Randall Donald Mon, 19 Jan 2004 14:56:14 -0800 + +nvidia-graphics-drivers (1.0.5328-2) unstable; urgency=low + + * Fix typo in nvidia-glx.README.Debian + + -- Randall Donald Fri, 16 Jan 2004 23:53:35 -0800 + +nvidia-graphics-drivers (1.0.5328-1) unstable; urgency=low + + * New upstream. (closes #227066) + * Apply 2.6 patch in nvidia-kernel building with env override. + Manual patching no longer required!!! (closes: #193379) + * Change text of TLS question to a positive tone. (closes: #221963) + * Quote $(CC) for a multi word compiler e.g. distcc (closes: #222390) + * Change reportbug script to use (lspci --version) instead of which. + * Add tls/libGL.so to nvidia-glx (so one can switch with only one step) + * Make note about reconfiguring for TLS switching. + * fix gcc detection again for kernel compiler. (closes: #227412) + * fix typo in nvidia-kernel-source.README.Debian (closes: #226991) + + -- Randall Donald Mon, 22 Dec 2003 01:21:58 -0800 + +nvidia-graphics-drivers (1.0.4496-10) unstable; urgency=low + + * TLS problems related to installation of TLS libs on 2.4 systems. + Solution: provide a debconf note and set a default based on runtime + detection of a TLS/2.6 system. Hopefully this will solve most of the + tls bugs. + * Add note about nvidia-kernel-source in nvidia-glx description. + (closes: #220038) + + -- Randall Donald Wed, 19 Nov 2003 13:17:50 -0800 + +nvidia-graphics-drivers (1.0.4496-9) unstable; urgency=low + + * Change nvidia-kernel-source.README.Debian.in to reflect 2.6 makefile + change. (closes: #219003) + * Note the difference in KSRC for 2.6 headers (closes: #220452) + + -- Randall Donald Mon, 17 Nov 2003 20:47:20 -0800 + +nvidia-graphics-drivers (1.0.4496-8) unstable; urgency=low + + * Correctly install tls libglx. + + -- Randall Donald Sat, 1 Nov 2003 12:46:04 -0800 + +nvidia-graphics-drivers (1.0.4496-7) unstable; urgency=low + + * add tls files. (closes: #218408, #218417, #218434, #218487) + + -- Randall Donald Fri, 31 Oct 2003 21:01:18 -0800 + +nvidia-graphics-drivers (1.0.4496-6) unstable; urgency=low + + * use Makefile.nvidia instead of Makefile.kbuild so the 2.6 support + can use kernel-headers. Manual patching still required. + README.Debian changed to instruct this change. + (closes: #208535, #203369) + * remove wget build-dep from kernel module (closes: #212742) + * install kernel module to /lib/modules/KVERS/nvidia. (closes: #207290) + * re-fix GCC detection from compile.h (closes: #205871) + + -- Randall Donald Mon, 6 Oct 2003 21:41:13 -0700 + +nvidia-graphics-drivers (1.0.4496-5) unstable; urgency=low + + * Add symlink instruction to nvidia-kernel-source.README.Debian + * Fix patchlevel version detection. + + -- Randall Donald Tue, 23 Sep 2003 01:21:29 -0700 + +nvidia-graphics-drivers (1.0.4496-4) unstable; urgency=low + + * Add Provides: nvidia-kernel-src to nvidia-kernel-source (closes: #211713) + * Upload new diversions and 2.6 support to unstable packages. + * change == to = in kernel rules file. + + -- Randall Donald Mon, 22 Sep 2003 15:34:32 -0700 + +nvidia-graphics-drivers (1.0.4496-3) experimental; urgency=low + + * Fix nvidia-kernel-source.README.Debian about installing + nvidia-kernel-common first. + * Fix typo in nvidia-kernel-source.README.Debian regarding + modules/nvidia-kernel-1.0.4496 directory. (closes: #205684) + * Change diversions to stay within /usr/lib and /usr/X11R6/lib. + This allows for installs on systems of /usr split between several + partitions. (closes: #205955) + * Move nvidia-glx dependancy on nvidia-kernel-source to a recommends. + * Fix part of gcc 3.3.1 detection that I missed last time. (closes: #205871) + * Update nvidia-kernel-source.README.Debian to reflect 2.4.21-4-k7. + * Add preliminary 2.6 support. See README.Debian for details (closes: #203369, #193379) + * Include CONFIG_APM_MODULE patch file in nvidia-kernel-source. + * Upload to experimental due to diversion changes and preliminary 2.6 + support + * Incorporate the NMU by martin f. krafft + + -- Randall Donald Tue, 26 Aug 2003 14:42:57 -0700 + +nvidia-graphics-drivers (1.0.4496-2.1) unstable; urgency=low + + * debian.binary/rules used the -a flag to copy the control.template file + to debian-binary/control. If the former was a symlink, this would result + in the erasure of the template file as the destionation of the copy would + also be a symlink to the same file. Removed the -a, now it works just + fine. + Closes: Bug#206445, Bug#206449 + + -- martin f. krafft Tue, 26 Aug 2003 08:50:46 +0200 + +nvidia-graphics-drivers (1.0.4496-2) unstable; urgency=low + + * Add email from NVIDIA to copyright file. + + -- Randall Donald Thu, 31 Jul 2003 15:18:25 -0700 + +nvidia-graphics-drivers (1.0.4496-1) unstable; urgency=low + + * New upstream. + * include shlibs file. + * Re-split nvidia-glx-dev by request. + + -- Randall Donald Mon, 28 Jul 2003 14:18:45 -0700 + +nvidia-graphics-drivers (1.0.4363-1) unstable; urgency=low + + * Put nvidia drivers into one source package + * Move from contrib to non-free + * Rename nvidia-kernel-src to nvidia-kernel-source + * Include driver files in nvidia-glx and nvidia-kernel-source instead of + downloading. + * Put nvidia-glx-dev files back into nvidia-glx. + * Separate out modules and devfs files into nvidia-kernel-common. + * Drop .deb in builder-specified location. Thanks David B Harris + (closes: #192112) + * Lose the version number in modules directory. (closes: #199509) + * Use automation of versioning based on patches by Marcello Magallon + . Thanks. (closes: #192312, #192311) + + -- Randall Donald Fri, 9 May 2003 14:51:15 -0700 + --- nvidia-graphics-drivers-177-177.82.orig/debian/nvidia_supported +++ nvidia-graphics-drivers-177-177.82/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}).*/\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-177-177.82.orig/debian/nvidia-glx-177.postrm +++ nvidia-graphics-drivers-177-177.82/debian/nvidia-glx-177.postrm @@ -0,0 +1,79 @@ +#! /bin/sh +# postrm script for nvidia-glx-177 +# +# 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) + # remove file created by init script + rm /usr/lib/libGL.so 2> /dev/null || true + if [ "$(dpkg-divert --list /usr/lib/libGL.so.1 | awk '{ print $7 }')" = "nvidia-glx-177" ]; then + dpkg-divert --remove --rename --package nvidia-glx-177 --divert /usr/lib/nvidia/libGL.so.1.xlibmesa /usr/lib/libGL.so.1 > /dev/null + dpkg-divert --remove --rename --package nvidia-glx-177 --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-177" ]; then + dpkg-divert --remove --rename --package nvidia-glx-177 --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-177" ]; then + dpkg-divert --remove --rename --package nvidia-glx-177 --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-177" ]; then + rm -f /usr/lib32/libGL.so > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-177 --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-177" ]; then + rm -f /usr/lib32/libGL.so.1 > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-177 --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-177" ]; then + rm -f /usr/lib32/libGL.so.1.2 > /dev/null || true + dpkg-divert --remove --rename --package nvidia-glx-177 --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.177.82 2> /dev/null || true + if [ -d /usr/lib/nvidia ]; then + rmdir /usr/lib/nvidia/ 2> /dev/null || true; + fi + if [ -d /usr/lib32/nvidia ]; then + rmdir /usr/lib32/nvidia 2> /dev/null || true; + fi + ldconfig + + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + +esac + + +#rm -f /usr/lib/xorg/modules/extensions/libglx.so.177.82 2> /dev/null || true + + + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# --- nvidia-graphics-drivers-177-177.82.orig/debian.binary/changelog +++ nvidia-graphics-drivers-177-177.82/debian.binary/changelog @@ -1,8 +1,29 @@ -nvidia-kernel-177 (177.80-0ubuntu3) intrepid; urgency=low +nvidia-kernel-177 (177.82-0ubuntu1) intrepid-proposed; urgency=low + * Add driver 177.82 (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 + * Fixed a problem on recent mobile GPUs that caused a power management resume from S3 to take 30+ seconds. + * Fixed a problem with hotkey switching on some recent mobile GPUs. + * Fixed an image corruption issue seen in FireFox 3. + * Make it conflict with driver 180 + * Make it easier to add the support for new flavours in nvidia-glx-VER.preinst + * 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 18:23:09 +0100 + +nvidia-kernel-177 (177.80-0ubuntu3) intrepid-proposed; urgency=low * 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 -- Alberto Milone (tseliot) Sun, 02 Nov 2008 13:24:19 +0100 --- nvidia-graphics-drivers-177-177.82.orig/debian.binary/patches/NVIDIA-177.82_2.6.28.patch +++ nvidia-graphics-drivers-177-177.82/debian.binary/patches/NVIDIA-177.82_2.6.28.patch @@ -0,0 +1,87 @@ + +This patch is to allow nvidia-current to build against 2.6.28 series kernels. + +Change to conftest.sh is because include/asm has been moved to +arch/x86/include/asm. + +Change to nvacpi.c is because of the updated ACPI tree. + +Signed-off-by: Thomas Backlund + +diff -Nurp nv.orig/conftest.sh nv/conftest.sh +--- nv.orig/conftest.sh 2008-10-02 01:16:42.000000000 +0300 ++++ nv/conftest.sh 2008-11-11 00:27:05.000000000 +0200 +@@ -19,6 +19,7 @@ HOSTCC="$2" + ISYSTEM=`$CC -print-file-name=include 2> /dev/null` + SOURCES=$3 + HEADERS=$SOURCES/include ++HEADERS_NEW=$SOURCES/arch/x86/include + OUTPUT=$4 + XEN_PRESENT=1 + +@@ -75,27 +76,27 @@ build_cflags() { + OUTPUT_CFLAGS="-I$OUTPUT/include2 -I$OUTPUT/include" + fi + +- CFLAGS="$CFLAGS $OUTPUT_CFLAGS -I$HEADERS" ++ CFLAGS="$CFLAGS $OUTPUT_CFLAGS -I$HEADERS -I$HEADERS_NEW" + + test_xen + + if [ "$OUTPUT" != "$SOURCES" ]; then + ARCH=`uname -m | sed -e 's/i.86/i386/'` +- MACH_CFLAGS="-I$HEADERS/asm-$ARCH/mach-default" ++ MACH_CFLAGS="-I$HEADERS_NEW/asm/mach-default" + if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then +- MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/asm-x86/mach-default" ++ MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS_NEW/asm/mach-default" + fi + if [ "$XEN_PRESENT" != "0" ]; then +- MACH_CFLAGS="-I$HEADERS/asm-$ARCH/mach-xen $MACH_CFLAGS" ++ MACH_CFLAGS="-I$HEADERS_NEW/asm/xen $MACH_CFLAGS" + fi + else +- MACH_CFLAGS="-I$HEADERS/asm/mach-default" ++ MACH_CFLAGS="-I$HEADERS_NEW/asm/mach-default" + if [ "$XEN_PRESENT" != "0" ]; then +- MACH_CFLAGS="-I$HEADERS/asm/mach-xen $MACH_CFLAGS" ++ MACH_CFLAGS="-I$HEADERS_NEW/asm/xen $MACH_CFLAGS" + fi + fi + +- CFLAGS="$BASE_CFLAGS $MACH_CFLAGS $OUTPUT_CFLAGS -I$HEADERS" ++ CFLAGS="$BASE_CFLAGS $MACH_CFLAGS $OUTPUT_CFLAGS -I$HEADERS -I$HEADERS_NEW" + + if [ -n "$BUILD_PARAMS" ]; then + CFLAGS="$CFLAGS -D$BUILD_PARAMS" +diff -Nurp nv.orig/nvacpi.c nv/nvacpi.c +--- nv.orig/nvacpi.c 2008-10-02 01:16:41.000000000 +0300 ++++ nv/nvacpi.c 2008-11-11 00:27:05.000000000 +0200 +@@ -136,7 +136,7 @@ + struct acpi_object_list control_argument_list = { 0, NULL }; + nv_stack_t *sp = NULL; + struct list_head *node, *next; +- unsigned long device_id = 0; ++ unsigned long long device_id = 0; + int device_counter = 0; + + NV_KMEM_CACHE_ALLOC_STACK(sp); +@@ -159,7 +159,7 @@ + os_mem_set((void *)pNvAcpiObject, 0, sizeof(nv_acpi_t)); + + // assign driver data structure ptr to this device +- acpi_driver_data(device) = pNvAcpiObject; ++ device->driver_data = pNvAcpiObject; + + // store a device reference in our object + pNvAcpiObject->device = device; +@@ -306,7 +306,7 @@ + */ + nv_acpi_t *pNvAcpiObject = data; + u32 event_val = 0; +- unsigned long state; ++ unsigned long long state; + int status = 0; + int device_counter = 0; + +