diff --git a/60-nvidia.nodes b/60-nvidia.nodes new file mode 100755 index 0000000..9eac901 --- /dev/null +++ b/60-nvidia.nodes @@ -0,0 +1,5 @@ +nvidia0 +nvidia1 +nvidia2 +nvidia3 +nvidiactl diff --git a/filter-requires.sh b/filter-requires.sh new file mode 100755 index 0000000..3436161 --- /dev/null +++ b/filter-requires.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ -x /usr/lib/rpm/redhat/find-provides ]; then + FINDREQ=/usr/lib/rpm/redhat/find-requires +else + FINDREQ=/usr/lib/rpm/find-requires +fi + +$FINDREQ $* | sed -e '/libnvidia-tls.so/d' | sed -e '/libGLcore.so/d' + diff --git a/nvidia-README.Fedora b/nvidia-README.Fedora new file mode 100755 index 0000000..a618d47 --- /dev/null +++ b/nvidia-README.Fedora @@ -0,0 +1,113 @@ +README for Nvidia Linux Drivers, as packaged by livna.org. + +1. After Installation +--------------------- + +You only have to restart X to start using the Nvidia drivers after +installation. Either choose "Log Out" from the GNOME/KDE menu, and then +press Ctrl-Alt-Backspace at the login prompt, or press Ctrl-Alt-Backspace +directly. You should see a white screen with a big Nvidia logo in the middle +for about one second. + +To check that hardware acceleration is working, issue the following command +in a terminal: + + glxinfo | grep "OpenGL vendor" + +That should print out + + OpenGL vendor string: NVIDIA Corporation + +Also, the command + + glxinfo | grep direct + +should print out + + direct rendering: Yes + +If it does, you're all set. + +2. Basic Configuration +---------------------- + +The installation scripts perform the basic configuration for you. +When (if) you uninstall the drivers, the configuration is reset to +use the X.org/XFree86 Nvidia drivers again. If you want to temporarily +disable the Nvidia drivers without uninstalling, you can issue the +following two commands as root (remember su -): + + nvidia-config-display disable + +To re-enable the Nvidia drivers, run: + + nvidia-config-display enable + + +3. Additional configuration +--------------------------- + +It's possible to configure image quality and performance by setting various +environment variables. Take a look at /etc/profile.d/nvidia.sh +(or .csh if you use csh) and read the README file in the same directory +as this file. + +There are a number of settings in the X configuration file as well. +The most interesting are acceleration of the XRENDER extension and AGP +configuration. In the Driver section of /etc/X11/xorg.conf, you may add +the following line: + + Option "RenderAccel" "true" + +to enable XRENDER acceleration. A value of "false" disables it. +Note: this has shown to make some systems unstable, making the display freeze. +If you experience this, set to "false" or comment out the line. + +To control AGP behaviour, add the following line to the Driver section: + + Option "NvAGP" "X" + +where X is 0, 1, 2 or 3. The different values are as follows (from Nvidia +README): + + 0 : disable agp + 1 : use NVIDIA's internal AGP support, if possible + 2 : use AGPGART, if possible + 3 : use any agp support (try AGPGART, then NVIDIA's AGP) + +Default is 3. AGPGART is the Linux kernel AGP driver. See Nvidia README, +appendix D for more information. AGP speed is controlled by giving a parameter +to the Nvidia kernel module, but should be autodetected in most cases. +See output of "modinfo nvidia". + +For more configuration options (TwinView, TV-out etc) see the Nvidia README. + +4. An Initscript to enable/disable nvidia driver +------------------------------------------------ + +To make gdm work at system start this package contains an initscript that +will be run during start up. This script will detect if the nvidia module +for the running kernel is present. If the module is present, then the +initscript will run. + + "nvidia-config-display enable" + +so that the X server will use the nvidia driver, otherwise it will run + + "nvidia-config-display disable" + +and X will use the nv driver. You can disable this check by running, as +root (with root $PATH) : + + chkconfig nvidia off + + +This script will also be invoked when switching to runlevels 6 +(reboot) and 0 (halt). When rebooting (or shutting down) the system, +the script will _disable_ nvidia driver (and switch back to "nv" +driver), so that, whatever the kernel you boot, Red Hat Graphical Boot +will work. + +We suggest you read the chkconfig(8) man page for complete +informations about how to handle rc scripts. + diff --git a/nvidia-config-display b/nvidia-config-display new file mode 100755 index 0000000..5417cbd --- /dev/null +++ b/nvidia-config-display @@ -0,0 +1,146 @@ +#!/usr/bin/python -tt +# -*- coding: UTF-8 -*- +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 only +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Library General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# Copyright 2003, 2004 Peter Backlund +# Copyright 2004 Thorsten Leemhuis +# Copyright 2006 Van Assche Alphonse +# Copyright 2006, 2007 Stewart Adam + +import string +import os +import sys + +from livnaConfigDisplay.const import * +from livnaConfigDisplay.const import _ + +import livnaConfigDisplay.ConfigDisplay +from livnaConfigDisplay.GlxConfig import * +from livnaConfigDisplay import Utils +from livnaConfigDisplay.ConfigFile import ConfigFile + +class nvidiaConfigDisplay(GlxConfig): + def __init__(self): + GlxConfig.__init__(self) + self.vendor = 'nvidia' + self.majorVendor = Utils.getMajorVendor() + if self.vendor != Utils.getVendor(): + print _('The initscript and installed driver vendors do not match!') + sys.exit(1) + self.ldconf = LD_CONF_FILE % (self.vendor) + try: + self.doAllBackups() + except livnaConfigDisplayError, (bkupErrMsg): + print bkupErrMsg + sys.exit(1) + self.xconfig, self.xconfigpath = self.loadXconfig() + self.config = ConfigFile(STATUS_FILE) + self.TOP_MOD_DIR = self.getModTopDir() + + # finally, run arg checks. + self.run() + + + def enable(self, isAutoConfigure = True): + # Backup the file before make any change. + currentDriver = self.getDriver() + # Already enabled? + if currentDriver == self.majorVendor: + print _('Driver already enabled.') + return + # nVidia modules + self.addModulePath("/extensions/nvidia", self.TOP_MOD_DIR) + # 'remembering' magic's in here. + self.config.setOldDriver(currentDriver) + #currentDriver = self.config.getOldDriver() + self.toggleDriver(currentDriver, self.majorVendor) + # Disable dri and GLcore modules - these are no + self.removeModule("dri") + self.removeModule("GLcore") + # Add glx/dbe/extmod modules when modules section exists + if self.xconfig.modules: + for module in ["glx", "dbe", "extmod"]: + if self.onlyHasModule(module): + self.removeModule(module) + break + else: + self.addModule(module) + # Problems with Compiz without these. + self.addOption(self.majorVendor,"AddARGBGLXVisuals", "True") + #self.addOption(self.majorVendor,"DisableGLXRootClipping", "True") + Utils.writeXorgConf(self.xconfig, self.xconfigpath) + # We have to read saved status file to restore the Xorg configuration. + self.restoreconf() + + + def disable(self, isAutoConfigure = True): + self.removeModulePath("/extensions/nvidia", self.TOP_MOD_DIR) + # Check if it's already disabled + if self.getDriver() != self.majorVendor: + print _('Driver already disabled.') + return + # Backup the file before make any change. + prevDriver = self.config.getOldDriver() + if prevDriver == self.majorVendor: + print _('Will not allow reverting from driver \'%s\' to \'%s\'.') % (self.vendor, self.vendor) + print _('Using the \'nv\' driver instead.') + prevDriver = "nv" + self.config.setOldDriver("nv") + self.removeOption(self.majorVendor,"AddARGBGLXVisuals") + self.removeOption(self.majorVendor,"DisableGLXRootClipping") + self.toggleDriver(self.majorVendor, prevDriver) + Utils.writeXorgConf(self.xconfig, self.xconfigpath) + # We have to save the status file so it can be restored later + self.storeconf() + # And return to the Fedora default. + self.enableAiglx() + + def printUsage(self): + print _("Usage: ") + self.vendor + _("-config-display [ enable|disable ]") + + def run(self): + # Check number of arguments + # arg = action + if len(sys.argv) == 2: + arg = sys.argv[1] + else: + print _('Wrong number of arguments') + self.printUsage() + sys.exit(1) + # Check value of argument + if arg.lower() != "enable" and arg.lower() != "disable": + print _('Invalid command: %s') % arg.lower() + self.printUsage() + sys.exit(1) + try: + if arg == "enable": + if self.getActive(): + self.enable() + else: + print _('livna-config-display\'s `active\' state is False - Exiting') + elif arg == "disable": + if self.getActive(): + self.disable() + except: + raise # Uncomment me to show the real error + print MSG_CONF_APPLY_ERROR + try: + self.doAllRestores() + sys.exit(1) + except livnaConfigDisplayError, (bkupErrMsg): + #raise # Uncomment me to show the real error + print MSG_CONF_RESTORE_ERROR + '\n' + MSG_TRACEBACK % (str(errMsg)) + '\n\n' + str(bkupErrMsg) + sys.exit(1) + +app = nvidiaConfigDisplay() diff --git a/nvidia-init b/nvidia-init new file mode 100755 index 0000000..9dc12ca --- /dev/null +++ b/nvidia-init @@ -0,0 +1,117 @@ +#!/bin/sh +# +# chkconfig: 2345 8 92 +# description: This script will check if a nvidia kernel module is present for\ +# the running kernel and modify the xorg.conf to the appropriate\ +# configuration. + +# Source function library. +. /etc/rc.d/init.d/functions + +name='nvidia' +exec="/usr/sbin/$name-config-display" +prog="`basename $exec`" +lockfile="/var/lock/subsys/$name" + +RETVAL=0 +modname="nvidia.ko" +modpath="/lib/modules/$(uname -r)" +# Default to no module +module="noneWithSomeCrazyNameSoItsNeverFound" +# If one exists, then use it. +if test -e "${modpath}/extra/${modname}";then + module="${modpath}/extra/${modname}" +elif test -e "${modpath}/extra/nvidia/${modname}";then + module="${modpath}/extra/nvidia/${modname}" +elif test -e "${modpath}/kernel/drivers/video/nvidia/${modname}";then + module="${modpath}/kernel/drivers/video/nvidia/${modname}" +fi + + +# Try to modify the below the least possible. If you need to change something, try +# using the variables above first, as most of the program control is based on +# the variables above. If something really needs to be changed, try to make +# the change in all the drivers for the sake of consistency. + +# We shouldn't use lock files anymore because the lock file +# doesn't mean a driver is disabled or enabled. For example, we start() +# at boot and enable the driver. start() makes a lock file. We stop() on +# shutdown, which removes the lock file. But what if the user ran *config-display +# manually? Or if we don't `*config-display disable` in stop()? + +start() { + if action $"Checking for module $modname:" test -f $module;then + action $"Enabling the $name driver:" $exec enable + RETVAL=$? + else + echo -en $"$modname for kernel $(uname -r) was not found." && echo_warning;echo -en '\n' + echo -en $"The $name driver will not be enabled until one is found." && echo_warning;echo -en '\n' + $exec disable + RETVAL=1 + fi + if [ "$RETVAL" -eq "0" ];then + #touch $lockfile + # this is a nothing assignment so that bash doesn't complain. + RETVAL=0 + else + # Let them read the errors or warnings + sleep 3 + fi + return +} + +stop() { + #action $"Disabling the $name driver:" $exec disable + #RETVAL=$? + RETVAL=0 + #if [ "$RETVAL" -eq 0 ];then + # rm -f $lockfile + #fi + return +} + +restart() { + stop + start +} + +reload() { + restart +} + +status() { + #if [ -e $lockfile ];then + if [ -f $module ] && lsmod | grep ^${modname%%.ko} &>/dev/null ;then + echo $"$modname for kernel $(uname -r) was found." + echo $"The driver is enabled." + else + echo $"$modname for kernel $(uname -r) was not found." + echo $"The $name driver cannot be enabled until one is found." + fi + #else + # echo $"The $name driver has not been enabled." + #fi + RETVAL=0 +} + +fdrstatus() { + status $prog +} + +case "$1" in + start|stop|restart|reload) + $1 + ;; + status) + fdrstatus + ;; + condrestart) + restart + ;; + *) + echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}" + exit 1 + ;; +esac + +exit $RETVAL diff --git a/nvidia-settings.desktop b/nvidia-settings.desktop new file mode 100644 index 0000000..0866332 --- /dev/null +++ b/nvidia-settings.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=nVidia Display Settings +Comment=Configure the nVidia driver +Exec=nvidia-settings +Terminal=false +Icon=nvidia-settings +Type=Application +Categories=System; diff --git a/nvidia.csh b/nvidia.csh new file mode 100755 index 0000000..c8548e8 --- /dev/null +++ b/nvidia.csh @@ -0,0 +1,20 @@ +# These variables are used to control image quality and performance. +# Uncomment these and set an appropriate value if needed +# See /usr/share/doc/xorg-x11-drv-nvidia-/README.txt for more information. + +# Setting this to 1 might prevent certain OpenGL apps from crashing. +#setenv __GL_SINGLE_THREADED 0 + +# This setting controls full scene antialiasing. +# Depending on your chipset, different values give different types of FSAA. +#setenv __GL_FSAA_MODE 0 + +# Anisotropic filtering. This setting is also chip dependent, see above. +#setenv __GL_DEFAULT_LOG_ANISO 0 + +# Sync buffer swap with monitor refresh. A value > 0 enables. +#setenv __GL_SYNC_TO_VBLANK 0 + +# If you have more than one monitor, this setting determines which display +# should be synced. +#setenv __GL_SYNC_DISPLAY_DEVICE diff --git a/nvidia.opts b/nvidia.opts new file mode 100755 index 0000000..fed51df --- /dev/null +++ b/nvidia.opts @@ -0,0 +1,2 @@ +alias char-major-195* nvidia +options nvidia NVreg_ModifyDeviceFiles=0 diff --git a/nvidia.sh b/nvidia.sh new file mode 100755 index 0000000..d6af266 --- /dev/null +++ b/nvidia.sh @@ -0,0 +1,20 @@ +# These variables are used to control image quality and performance. +# Uncomment these and set an appropriate value if needed +# See /usr/share/doc/xorg-x11-drv-nvidia-/README.txt for more information. + +# Setting this to 1 might prevent certain OpenGL apps from crashing. +#export __GL_SINGLE_THREADED=0 + +# This setting controls full scene antialiasing. +# Depending on your chipset, different values give different types of FSAA. +#export __GL_FSAA_MODE=0 + +# Anisotropic filtering. This setting is also chip dependent, see above. +#export __GL_DEFAULT_LOG_ANISO=0 + +# Sync buffer swap with monitor refresh. A value > 0 enables. +#export __GL_SYNC_TO_VBLANK=0 + +# If you have more than one monitor, this setting determines which display +# should be synced. +#export __GL_SYNC_DISPLAY_DEVICE= diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec new file mode 100644 index 0000000..c24f6dd --- /dev/null +++ b/xorg-x11-drv-nvidia.spec @@ -0,0 +1,916 @@ +%define nvidialibdir %{_libdir}/nvidia + +# Tweak to have debuginfo - part 1/2 +%if 0%{?fedora} >= 7 +%define __debug_install_post %{_builddir}/%{?buildsubdir}/find-debuginfo.sh %{_builddir}/%{?buildsubdir}\ +%{nil} +%endif + +Name: xorg-x11-drv-nvidia +Version: 177.78 +Release: 2%{?dist} +Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards + +Group: User Interface/X Hardware Support +License: Redistributable, no modification permitted +URL: http://www.nvidia.com/ +Source0: ftp://download.nvidia.com/XFree86/Linux-x86/%{version}/NVIDIA-Linux-x86-%{version}-pkg0.run +Source1: ftp://download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-pkg0.run +#Source0: http://us.download.nvidia.com/XFree86/Linux-x86/%{version}/NVIDIA-Linux-x86-%{version}-pkg0.run +#Source1: http://us.download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-pkg0.run +Source2: nvidia.sh +Source3: nvidia.csh +Source4: nvidia-settings.desktop +Source5: nvidia-init +Source6: 60-nvidia.nodes +Source10: nvidia-config-display +Source11: nvidia-README.Fedora +Source12: nvidia.opts +# So we don't pull other nvidia variants +Source91: filter-requires.sh +%define _use_internal_dependency_generator 0 +%define __find_requires %{SOURCE91} + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +ExclusiveArch: i386 x86_64 + +Requires: nvidia-kmod >= %{version} +Requires(post): nvidia-kmod >= %{version} + +# Needed in all nvidia or fglrx driver packages +BuildRequires: desktop-file-utils +Requires: which +Requires: livna-config-display +Requires: %{name}-libs = %{version}-%{release} +# to prevent i386 package being pulled first and x86_64 package being excluded +# on x86_64 systems +%ifarch x86_64 +Requires: %{nvidialibdir}/libGL.so.%{version} +%endif +Requires(post): livna-config-display +Requires(preun): livna-config-display +Requires(post): chkconfig +Requires(post): ldconfig +Requires(preun): chkconfig + +Provides: nvidia-kmod-common = %{version} +Conflicts: xorg-x11-drv-nvidia-legacy +Conflicts: xorg-x11-drv-nvidia-96xx +Conflicts: xorg-x11-drv-fglrx +Obsoletes: nvidia-kmod < %{version} + +%description +This package provides the most recent NVIDIA display driver which allows for +hardware accelerated rendering with NVIDIA chipsets NV30 (FX series) and newer. +NV30 and below (such as GeForce2) are NOT supported by this release. + +For the full product support list, please consult the release notes +for driver version %{version}. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This package provides the development files of the %{name} package, +such as OpenGL headers. + +%package libs +Summary: Libraries for %{name} +Group: User Interface/X Hardware Support +Requires: %{name} = %{version}-%{release} +%ifarch %{ix86} +Provides: %{name}-libs-32bit = %{version}-%{release} +Obsoletes: %{name}-libs-32bit <= %{version}-%{release} +%endif + +%description libs +This package provides the shared libraries for %{name}. + + +%prep +%setup -q -c -T +sh %{SOURCE0} --extract-only --target nvidiapkg-x86 +sh %{SOURCE1} --extract-only --target nvidiapkg-x64 +tar -cjf nvidia-kmod-data-%{version}.tar.bz2 nvidiapkg-*/LICENSE nvidiapkg-*/usr/src/ + +# Tweak to have debuginfo - part 2/2 +%if 0%{?fedora} >= 7 +cp -p %{_prefix}/lib/rpm/find-debuginfo.sh . +sed -i -e 's|strict=true|strict=false|' find-debuginfo.sh +%endif + +%ifarch %{ix86} +ln -s nvidiapkg-x86 nvidiapkg +%else +ln -s nvidiapkg-x64 nvidiapkg +%endif +mv nvidiapkg/LICENSE nvidiapkg/usr/share/doc/ +# More docs +cp %{SOURCE11} nvidiapkg/usr/share/doc/README.Fedora +find nvidiapkg/usr/share/doc/ -type f | xargs chmod 0644 + + +%build +# Nothing to build +echo "Nothing to build" + + +%install +rm -rf $RPM_BUILD_ROOT + +set +x +for file in $(cd nvidiapkg &> /dev/null; find . -type f | grep -v -e 'makeself.sh$' -e 'mkprecompiled$' -e 'tls_test$' -e 'tls_test_dso.so$' -e 'nvidia-settings.desktop$' -e '^./Makefile' -e '^./nvidia-installer' -e '^./pkg-history.txt' -e '^./.manifest' -e '/usr/share/doc/' -e 'libGL.la$' -e 'drivers/nvidia_drv.o$' -e 'nvidia-installer.1.gz$' -e '^./usr/src/') +do + if [[ ! "/${file##./usr/lib/}" = "/${file}" ]] + then + install -D -p -m 0755 nvidiapkg/${file} $RPM_BUILD_ROOT/%{nvidialibdir}/${file##./usr/lib/} + elif [[ ! "/${file##./usr/X11R6/lib/modules/extensions}" = "/${file}" ]] + then + install -D -p -m 0755 nvidiapkg/${file} $RPM_BUILD_ROOT/%{_libdir}/xorg/modules/extensions/nvidia/${file##./usr/X11R6/lib/modules/extensions} + elif [[ ! "/${file##./usr/X11R6/lib/modules}" = "/${file}" ]] + then + install -D -p -m 0755 nvidiapkg/${file} $RPM_BUILD_ROOT/%{_libdir}/xorg/modules/${file##./usr/X11R6/lib/modules} + elif [[ ! "/${file##./usr/X11R6/lib/}" = "/${file}" ]] + then + install -D -p -m 0755 nvidiapkg/${file} $RPM_BUILD_ROOT/%{nvidialibdir}/${file##./usr/X11R6/lib/} + elif [[ ! "/${file##./usr/include/}" = "/${file}" ]] + then + install -D -p -m 0644 nvidiapkg/${file} $RPM_BUILD_ROOT/%{_includedir}/nvidia/${file##./usr/include/} + elif [[ ! "/${file##./usr/bin/}" = "/${file}" ]] + then + if [[ ! "/${file##./usr/bin/nvidia-xconfig}" = "/${file}" ]] + then + install -D -p -m 0755 nvidiapkg/${file} $RPM_BUILD_ROOT/usr/sbin/${file##./usr/bin/} + elif [[ ! "/${file##./usr/bin/nvidia-bug-report.sh}" = "/${file}" ]] + then + install -D -p -m 0755 nvidiapkg/${file} $RPM_BUILD_ROOT/usr/bin/${file##./usr/bin/} + else + install -D -p -m 0755 nvidiapkg/${file} $RPM_BUILD_ROOT/${file} + fi + elif [[ ! "/${file##./usr/share/man/}" = "/${file}" ]] + then + install -D -p -m 0644 nvidiapkg/${file} $RPM_BUILD_ROOT/%{_mandir}/${file##./usr/share/man/} + gunzip $RPM_BUILD_ROOT/%{_mandir}/${file##./usr/share/man/} + elif [[ ! "/${file##./usr/share/pixmaps/}" = "/${file}" ]] + then + install -D -p -m 0644 nvidiapkg/${file} $RPM_BUILD_ROOT/%{_datadir}/pixmaps/${file##./usr/share/pixmaps/} + else + echo ${file} found -- don\'t know how to handle + exit 1 + fi +done +set -x + +# Move the libnvidia-wfb.so lib to the Nvidia xorg extension directory. +mv $RPM_BUILD_ROOT%{_libdir}/xorg/modules/libnvidia-wfb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so.%{version} + +# Fixme: should we do this directly in above for-loop? Yes, we should! No, please don't! +ln -s libGLcore.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/libGLcore.so +ln -s libGLcore.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/libGLcore.so.1 +ln -s libGL.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/libGL.so +ln -s libGL.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/libGL.so.1 +ln -s libnvidia-tls.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/libnvidia-tls.so.1 +ln -s libnvidia-tls.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/tls/libnvidia-tls.so.1 +ln -s libnvidia-cfg.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/libnvidia-cfg.so.1 +ln -s libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/libXvMCNVIDIA.so +ln -s libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/libXvMCNVIDIA_dynamic.so.1 +ln -s libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/libglx.so + + +# This is 97xx specific. libnvidia-wfb.so is a replacement of libwfb.so +# It is used by card > NV30 but required by G80 and newer. +%if 0%{?fedora} >= 9 +rm -rf $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so.%{version} +%else +ln -s libnvidia-wfb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so.1 +ln -s libnvidia-wfb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/libwfb.so +%endif + +# This is 169.04 adds - cuda libs and headers +ln -s libcuda.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/libcuda.so.1 +ln -s libcuda.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/libcuda.so + +# profile.d files +install -D -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/nvidia.sh +install -D -p -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/nvidia.csh + +# X configuration script +install -D -p -m 0755 %{SOURCE10} $RPM_BUILD_ROOT%{_sbindir}/nvidia-config-display + +# Desktop entry for nvidia-settings +desktop-file-install --vendor livna \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications/ \ + %{SOURCE4} + +# Install initscript +install -D -p -m 0755 %{SOURCE5} $RPM_BUILD_ROOT%{_initrddir}/nvidia + +# udev node file +install -D -p -m 0664 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/udev/makedev.d/60-nvidia.nodes + +# modprobe.d file +install -D -p -m 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/nvidia + +# ld.so.conf.d file +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/ +%ifarch %{ix86} +echo "%{nvidialibdir}" > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia-x86.conf +%endif +%ifarch x86_64 +echo "%{nvidialibdir}" > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia-x86_64.conf +%endif + +# Change perms on static libs. Can't fathom how to do it nicely above. +find $RPM_BUILD_ROOT/%{nvidialibdir} -type f -name "*.a" -exec chmod 0644 '{}' \; + + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post +# Removes old legacy layout, fixed SELinux copy errors +if [ ! $(ls /etc/udev/devices/nvidia* 2>/dev/null | wc -l) -eq 0 ];then rm -f /etc/udev/devices/nvidia*;fi ||: +if [ "$1" -eq "1" ]; then + # Enable nvidia driver when installing + %{_sbindir}/nvidia-config-display enable &>/dev/null ||: + # Add init script and start it + /sbin/chkconfig --add nvidia ||: + /etc/init.d/nvidia start &>/dev/null ||: +fi + +%post libs -p /sbin/ldconfig + +%preun +if [ "$1" -eq "0" ]; then + # Disable driver on final removal + test -f %{_sbindir}/nvidia-config-display && %{_sbindir}/nvidia-config-display disable &>/dev/null ||: + %{_initrddir}/nvidia stop &> /dev/null ||: + /sbin/chkconfig --del nvidia ||: +fi ||: +# Remove all entries of nvidia/NVdriver from modprobe.conf +# Start using modprobe.d as of FC5 +# This can be removed eventually +# Make a backup of the backup +if [ -f %{_sysconfdir}/modprobe.conf.backup-nvidia-glx ]; then + mv %{_sysconfdir}/modprobe.conf.backup-nvidia-glx %{_sysconfdir}/modprobe.conf.backup-nvidia ||: +fi +if [ -f %{_sysconfdir}/modprobe.conf.backup-nvidia ]; then + mv %{_sysconfdir}/modprobe.conf.backup-nvidia %{_sysconfdir}/modprobe.conf.backup-nvidia-old ||: +fi +if [ -f %{_sysconfdir}/modprobe.conf ]; then + mv %{_sysconfdir}/modprobe.conf %{_sysconfdir}/modprobe.conf.backup-nvidia ||: + grep -v -E -e "^alias +[^ ]+ +(nvidia|NVdriver)" -e "options nvidia " %{_sysconfdir}/modprobe.conf.backup-nvidia > %{_sysconfdir}/modprobe.conf ||: +fi + +%postun libs -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc nvidiapkg/usr/share/doc/* +%config(noreplace) %{_sysconfdir}/profile.d/nvidia* +%config %{_sysconfdir}/modprobe.d/nvidia +%{_sysconfdir}/udev/makedev.d/60-nvidia.nodes +%{_initrddir}/nvidia +%{_bindir}/* +%{_sbindir}/* +# Xorg libs that do not need to be multilib +%dir %{_libdir}/xorg/modules/extensions/nvidia +%{_libdir}/xorg/modules/drivers/nvidia_drv.so +%{_libdir}/xorg/modules/extensions/nvidia/*.so* +#/no_multilib +%{_datadir}/applications/*nvidia-settings.desktop +%{_datadir}/pixmaps/*.png +%{_mandir}/man[1-9]/nvidia*.* +%verify (not user) %attr(0600,root,root) %dev(c,195,0) /dev/nvidia0 +%verify (not user) %attr(0600,root,root) %dev(c,195,1) /dev/nvidia1 +%verify (not user) %attr(0600,root,root) %dev(c,195,2) /dev/nvidia2 +%verify (not user) %attr(0600,root,root) %dev(c,195,3) /dev/nvidia3 +%verify (not user) %attr(0600,root,root) %dev(c,195,255) /dev/nvidiactl + +%files libs +%defattr(-,root,root,-) +%dir %{nvidialibdir} +%dir %{nvidialibdir}/tls +%config %{_sysconfdir}/ld.so.conf.d/nvidia* +%{nvidialibdir}/*.so* +%{nvidialibdir}/tls/*.so.* + +%files devel +%defattr(-,root,root,-) +%dir %{_includedir}/nvidia +%dir %{_includedir}/nvidia/GL +%dir %{_includedir}/nvidia/cuda +%{_includedir}/nvidia/GL/*.h +%{_includedir}/nvidia/cuda/*.h +%{nvidialibdir}/libXvMCNVIDIA.a + + +%changelog +* Sun Oct 05 2008 Thorsten Leemhuis - 177.78-1 +- Update to 177.78 (beta) + +* Mon Sep 15 2008 Stewart Adam < s.adam at diffingo.com > - 177.70-1 +- Update to 177.70 (beta) + +* Thu Jul 31 2008 kwizart < kwizart at gmail.com > - 173.14.12-1 +- Update to 173.14.12 + +* Tue Jun 17 2008 kwizart < kwizart at gmail.com > - 173.14.09-1 +- Update to 173.14.09 + +* Wed May 28 2008 Stewart Adam - 173.14.05-2 +- Only modify modprobe.conf if it exists + +* Wed May 28 2008 kwizart < kwizart at gmail.com > - 173.14.05-1 +- Update to 173.14.05 + +* Wed May 14 2008 kwizart < kwizart at gmail.com > - 173.08-2 +- Fix libwfb replacement - Not needed on Fedora >= 9 + +* Thu Apr 10 2008 kwizart < kwizart at gmail.com > - 173.08-1 +- Update to 173.08 (beta) - Fedora 9 experimental support + See: http://www.nvnews.net/vbulletin/showthread.php?t=111460 + +* Fri Mar 8 2008 kwizart < kwizart at gmail.com > - 171.06-1 +- Update to 171.06 (beta) + +* Wed Feb 27 2008 kwizart < kwizart at gmail.com > - 169.12-1 +- Update to 169.12 + +* Wed Feb 20 2008 kwizart < kwizart at gmail.com > - 169.09-5 +- Fix debuginfo package creation. +- Add libGLcore.so to the filter list. +- Only requires versioned libGL on x86_64 (no problem on x86). + +* Thu Feb 7 2008 Stewart Adam - 169.09-4 +- Filter requires on main package so we don't pull in xorg-x11-drv-nvidia*-libs + +* Fri Feb 1 2008 kwizart < kwizart at gmail.com > - 169.09-3 +- Remove ldconfig call on the main package +- Remove some old Obsoletes/Provides +- Move the xorg modules to the main package (not needed for multilib) +- Add Requires versioned libGL.so from the right path +- Uses pkg0 instead of pkg2 for x86_64 (and remove the lib32 from our loop). + +* Sun Jan 27 2008 Thorsten Leemhuis - 169.09-2 +- let main package require the libs subpackage + +* Wed Jan 23 2008 Stewart Adam - 169.09-1 +- Update to 169.09 +- Provides nvidia-glx since we obsolete it +- Make .desktop file to pass desktop-file-validate +- Remove libs-32bit and make a proper multiarch -libs package +- Add empty %%build section + +* Thu Dec 27 2007 kwizart < kwizart at gmail.com > - 169.07-4 +- Provides libcuda.so.1 since AutoProv is disabled for libs-32bit + +* Wed Dec 26 2007 Stewart Adam - 169.07-3 +- Backport changes from testing branch (provide cuda libraries) + +* Sun Dec 23 2007 Stewart Adam - 169.07-2 +- Require /usr/lib/libGL.so.1.2 to prevent conflicts +- Do provide libGLcore.so.1 + +* Sat Dec 22 2007 Stewart Adam - 169.07-1 +- Update to 169.07 + +* Fri Nov 30 2007 Stewart Adam - 100.14.19-6 +- Don't provide libGL.so.1 (bz#1741) +- Remove shebang for files that are sourced + +* Tue Nov 20 2007 Stewart Adam - 100.14.19-5 +- Add Requires: which (bz#1662) + +* Thu Nov 1 2007 Stewart Adam - 100.14.19-4 +- Initscript improvements +- Minor bugfixes with scriptlets (don't echo "already disabled" type messages) + +* Fri Oct 12 2007 Stewart Adam < s.adam AT diffingo DOT com > - 100.14.19-3 +- Initscript should disable when module isn't found (bz#1671) + +* Mon Sep 24 2007 Stewart Adam < s.adam AT diffingo DOT com > - 100.14.19-2 +- Fix %%post if clause (bz#1632) +- Disable the DisableGLXRootClipping option + +* Thu Sep 20 2007 kwizart < kwizart at gmail.com > - 100.14.19-1 +- Update to 100.14.19 +- Improve desktop file +- Sync between F7 and FC-6 +- Don't replace user env variable + +* Thu Jun 21 2007 Stewart Adam < s.adam AT diffingo DOT com > - 100.14.11-1 +- Update to 100.14.11 + +* Fri Jun 15 2007 Stewart Adam < s.adam AT diffingo DOT com > - 100.14.09-2 +- F7 SELinux fixes (continued) +- Add a new post scriptlet to remove those legacy-layout udev files + +* Sun Jun 10 2007 kwizart < kwizart at gmail.com > - 100.14.09-1 +- Update to Final 100.14.09 + +* Sat Jun 2 2007 Stewart Adam < s.adam AT diffingo DOT com > - 1.0.9762-2 +- Don't use legacy udev layout (Thanks Finalzone for the workaround) + +* Sun May 27 2007 kwizart < kwizart at gmail.com > - 1.0.9762-1 +- Update to 1.0.9762 + +* Sat Apr 28 2007 Stewart Adam < s.adam AT diffingo DOT com > - 1.0.9755-3 +- Fixes in the config-display (vendor > majorVendor) + +* Fri Mar 9 2007 Stewart Adam < s.adam AT diffingo DOT com > - 1.0.9755-2 +- Fix up scriptlets a little so that 'Driver already enabled|disabled' + doesn't always appear on install or remove +- Update *-config-display files for majorVendor and not plain vendor + +* Thu Mar 8 2007 kwizart < kwizart at gmail.com > - 1.0.9755-1 +- Update to 1.0.9755 + +* Sat Feb 24 2007 Stewart Adam < s.adam AT diffingo DOT com > - 1.0.9746-11 +- Bump for new tag +- fi to end if! + +* Sat Feb 24 2007 Stewart Adam < s.adam AT diffingo DOT com > - 1.0.9746-10 +- Bump for new tag + +* Sat Feb 24 2007 Stewart Adam < s.adam AT diffingo DOT com > - 1.0.9746-9 +- Standardize all summaries and descriptions with other nvidia and fglrx + packages +- Standardize initscript and *config-display with other nvidia and fglrx + packages +- Move paths from nvidia-glx to nvidia +- Start merge with livna-config-display + +* Wed Feb 7 2007 kwizart < kwizar at gmail.com > - 1.0.9746-8 +- Update SHA1SUM + +* Thu Jan 18 2007 Stewart Adam - 1.0.9746-7 +- Fix initscript empty line problem (#1302) +- Fix typo in the readme +- Put in correct sums into SHA1SUM + +* Sun Jan 7 2007 kwizart < kwizart at gmail.com > - 1.0.9746-6 +- Quick fix double libs-32bit -p /sbin/ldconfig + +* Thu Jan 4 2007 kwizart < kwizart at gmail.com > - 1.0.9746-5 +- Create the symlink from libwfb.so to libnvidia-wfb.so.x.y.z + the xorg driver search for libwfb.so (it do not use the SONAME). + http://www.nvnews.net/vbulletin/showthread.php?t=83214 + +* Wed Jan 3 2007 Stewart Adam < s.adam AT diffingo DOT com - 1.0.9746-4 +- Correct mistake in changelog +- add %%verify to /dev nodes (#1324) +- /etc/profile.d/* are sourced, took away exec bit + +* Wed Jan 3 2007 Stewart Adam < s.adam AT diffingo DOT com - 1.0.9746-3 +- Make the 32-bit libs run ldconfig in %%postun and %%post steps +- Possible FIXME for future: "E: xorg-x11-drv-nvidia obsolete-not-provided nvidia-glx' + +* Thu Dec 28 2006 kwizart < kwizart at gmail.com > - 1.0.9746-2 +- Move the libnvidia-wfb.so lib to the Nvidia xorg extension directory. + +* Tue Dec 26 2006 kwizart < kwizart at gmail.com > - 1.0.9746-1 +- Update to 1.0.9746 (Final). +- Fix symlink of the new lib which soname is libnvidia-wfb.so.1 + +* Sun Nov 26 2006 Thorsten Leemhuis - 1.0.9742-3 +- use Source0 with "pkg0.run" prefix (smaller) +- use Source1 with "pkg2.run" prefix (cotaints the 32bit libs) + +* Thu Nov 23 2006 Stewart Adam < s.adam AT diffingo DOT com > - 1.0.9742-2 +- Fix URL +- Change %%description, as NV30 and below no longer supported +- Update nvidia desktop file + +* Mon Nov 20 2006 kwizart < kwiart at gmail.com > - 1.0.9742-1 +- Update to release 1.0.9742 +- Include libdir/xorg/modules/libnvidia-wfb.so.1.0.9742 + +* Tue Nov 07 2006 Thorsten Leemhuis - 1.0.9629-1 +- update to release 1.0.9629 + +* Tue Oct 31 2006 Dams - 1.0.9626-3 +- Another nvidia-config-display update to fix dumb modules section + +* Tue Oct 24 2006 Dams - 1.0.9626-2 +- Yet another updated nvidia-config-display : importing python modules + we use is usualy a good idea +- Updated nvidia-config-display + +* Sun Oct 22 2006 Stewart Adam - 1.0.9626-1 +- update to release 1.0.9626 + +* Fri Oct 20 2006 Thorsten Leemhuis - 1.0.8776-1 +- update to 1.0.8776-1 -- fixes CVE-2006-5379 + +* Thu Aug 24 2006 Niko Mirthes (straw) - 1.0.8774-1 +- Nvidia added a png for nvidia-settings, for-loop adjusted accordingly +- update to release 1.0.8774 + +* Wed Aug 09 2006 Niko Mirthes (straw) - 1.0.8762-6 +- small changes to sync with legacy package +- place nvidia-bug-report.sh in /usr/bin + +* Mon Aug 07 2006 Niko Mirthes (straw) - 1.0.8762-5 +- more minor changes to spacing and general layout + +* Fri Aug 04 2006 Niko Mirthes (straw) - 1.0.8762-4 +- minor changes to spacing, removal of random tabs, re-arrangements +- remove GNOME category from the desktop file + +* Thu May 25 2006 Thorsten Leemhuis - 1.0.8762-3 +- Obsolete old kmods + +* Thu May 24 2006 Thorsten Leemhuis - 1.0.8762-2 +- add missing defattr to files section for sub-package libs-32bit + +* Wed May 24 2006 Thorsten Leemhuis - 1.0.8762-1 +- update to 1.0.8762 + +* Tue May 16 2006 Thorsten Leemhuis - 1.0.8756-3 +- Conflict with xorg-x11-drv-fglrx and selinux-policy < 2.2.29-2.fc5 +- Ship bug-reporting tool as normal executable and not in %%doc + +* Sun May 14 2006 Ville Skyttä - 1.0.8756-2 +- Require nvidia-kmod instead of kmod-nvidia (#970). + +* Sat Apr 08 2006 Thorsten Leemhuis - 1.0.8756-1 +- Update to 8756 +- put 32bit libs in their own package + +* Wed Mar 29 2006 Niko Mirthes (straw) - 1.0.8178-9 +- make every use of the 'install' command consistent +- tweak nvidia-settings' desktop file slightly + +* Thu Mar 23 2006 Niko Mirthes (straw) - 1.0.8178-8 +- switch to using modprobe.d rather than editing modprobe.conf directly + +* Sat Mar 18 2006 Thorsten Leemhuis - 1.0.8178-7 +- ExclusiveArch i386 and not %%{ix86} -- we don't want to build for athlon&co + +* Sat Mar 18 2006 Thorsten Leemhuis - 1.0.8178-6 +- drop unused patches + +* Sat Mar 18 2006 Thorsten Leemhuis - 1.0.8178-5 +- drop 0.lvn + +* Tue Feb 28 2006 Andreas Bierfert +- add dist + +* Wed Feb 08 2006 Thorsten Leemhuis - 1.0.8178-0.lvn.5 +- use lib64 in nvidia-config-display on x86-64 +- fix path to kernel module in init-script +- add patch from Ville for nvidia-README.Fedora +- match permissions of xorg 7 + +* Wed Feb 01 2006 Thorsten Leemhuis - 1.0.8178-0.lvn.4 +- More fixes + +* Tue Jan 31 2006 Thorsten Leemhuis - 1.0.8178-0.lvn.3 +- Fix wrong provides + +* Mon Jan 30 2006 Thorsten Leemhuis - 1.0.8178-0.lvn.2 +- fix path to kernel module in nvidia-glx-init (thx to Dominik 'Rathann' + Mierzejewski) +- include device files until udev works probably with kernel module + +* Sun Jan 22 2006 Thorsten Leemhuis - 1.0.8178-0.lvn.1 +- split into packages for userland and kmod +- rename to xorg-x11-drv-nvidia; yum/rpm should use mesa-libGL{,-devel} then in + the future when seaching for libGL.so{,.1} +- remove kernel-module part +- remove old cruft +- install stuff without Makefile because it forgets mosts a lot of files anyway + +* Thu Dec 22 2005 Niko Mirthes (straw) - 0:1.0.8178-0.lvn.2 +- change nvidia-glx.sh and nvidia-glx.csh to point to README.txt rather than README +- reference xorg.conf rather than XF86Config in the init script +- improve readability of instructions and comments, fix some typos +- drop epoch, as it seems to be affecting dependencies according to rpmlint +- tweak the nvidia-settings desktop file so it always shows up on the + menu in the right location +- add the manual pages for nvidia-settings and nvidia-xconfig +- remove header entries from the nvidia-glx files list. they belong in -devel +- fix changelog entries to refer to 7676 not 7176 (though there was a 7176 x86_64 + release prior to 7174) +- add libXvMCNVIDIA.so +- update to 8178 + +* Wed Dec 07 2005 Niko Mirthes (straw) - 0:1.0.8174-0.lvn.1 +- add the manual pages for nvidia-settings and nvidia-xconfig +- install the new nvidia-xconfig utility and associated libs + +* Mon Dec 05 2005 Thorsten Leemhuis - 0:1.0.8174-0.lvn.1 +- Update to 8174 +- desktop entry now Categories=Settings (#665) +- Ship bug-reporting tool in doc (#588) +- Things from Bug 635, Niko Mirthes (straw) : +-- avoid changing time stamps on libs where possible +-- only add /etc/modprobe.conf entries if they aren't already there +-- add /etc/modprobe.conf entries one at a time +-- only remove /etc/modprobe.conf entries at uninstall, not during upgrade +-- avoid removing any modprobe.conf entries other than our own +-- match Xorg's install defaults where it makes sense (0444) +-- a few other minor tweaks to the files lists + +* Sun Sep 04 2005 Thorsten Leemhuis - 0:1.0.7676-0.lvn.3 +- Conflics with nvidia-glx-legacy +- Integrate some minor correction suggested by Niko Mirthes + in #475 + +* Fri Aug 26 2005 Thorsten Leemhuis - 0:1.0.7676-0.lvn.2 +- Rename src5: nvidia.init to nvidia-glx-init +- Fix correct servicename in nvidia-glx-init +- Run nvidia-glx-init before gdm-early-login; del and readd the script + during post + +* Sun Aug 21 2005 Thorsten Leemhuis - 0:1.0.7676-0.lvn.1 +- Update to 7676 +- Lots of cleanup from me and Niko Mirthes +- add NVreg_ModifyDeviceFiles=0 to modprobe.conf (Niko) +- Drop support for FC2 +- Nearly proper Udev-Support with workarounds around FC-Bug 151527 + +* Fri Jun 17 2005 Peter Backlund - 0:1.0.7174-0.lvn.5 +- Slight change of modprobe.conf rexexp + +* Thu Jun 16 2005 Peter Backlund - 0:1.0.7174-0.lvn.4 +- Fixed a critical bug in modprobe.conf editing where all lines starting with alias and + ending with then a word starting with any of the letters n,v,i,d,i,a,N,V,r,e is removed. + +* Mon Jun 13 2005 Thorsten Leemhuis - 0:1.0.7174-0.lvn.3 +- Adjust kenrnel-module-stuff for FC4 +- Ship both x86 and x64 in the SRPM + +* Sun Jun 12 2005 Peter Backlund - 0:1.0.7174-0.lvn.2 +- Only create 16 devices +- Put libXvMCNVIDIA.a in -devel +- Don't remove nvidia options in /etc/modprobe.conf +- Make ld.so.conf file config(noreplace) +- Use same directory permissions as the kernel + +* Sat Apr 2 2005 Peter Backlund - 0:1.0.7174-0.lvn.1 +- New upstream release, 7174 + +* Wed Mar 30 2005 Peter Backlund - 0:1.0.7167-0.lvn.5 +- Added x86_64 support patch from Thorsten Leemhuis + +* Wed Mar 23 2005 Peter Backlund - 0:1.0.7167-0.lvn.4 +- Fix kernel module permissions again (644) +- Only create 16 /dev/nvidia* devices, 256 is unnecessary + +* Fri Mar 18 2005 Peter Backlund - 0:1.0.7167-0.lvn.3 +- Fixed kernel-module permissions + +* Thu Mar 17 2005 Dams 0:1.0.7167-0.lvn.2 +- Removed provides on kernel-module and kernel-modules + +* Sat Mar 05 2005 Peter Backlund - 0:1.0.7167-0.lvn.1 +- New upstream release 1.0.7167 +- Added patch from http://www.nvnews.net/vbulletin/showthread.php?t=47405 +- Removed old patch against 2.6.9 + +* Sat Feb 05 2005 Peter Backlund - 0:1.0.6629-0.lvn.7 +- Added a number of post-6629 patches from http://www.minion.de/files/1.0-6629 +- Fixed permissions of nvidia/nvidia.ko + +* Fri Jan 21 2005 Peter Backlund - 0:1.0.6629-0.lvn.6 +- Fix incorrect MAKDEV behaviour and dependency + +* Tue Nov 30 2004 Peter Backlund - 0:1.0.6629-0.lvn.4 +- Fixed creation of /dev/nvidia* on FC2 + +* Sat Nov 27 2004 Dams - 0:1.0.6629-0.lvn.3 +- Dont try to print kvariant in description when it's not defined. + +* Sun Nov 21 2004 Thorsten Leemhuis - 0:1.0.6629-0.lvn.2 +- resulting kernel-module package now depends again on /root/vmlinuz- +- Use rpmbuildtags driverp and kernelp + +* Sat Nov 06 2004 Peter Backlund - 0:1.0.6629-0.lvn.1 +- New upstream version, 1.0-6629 +- Build without kernel-module-devel by default + +* Fri Oct 29 2004 Peter Backlund - 0:1.0.6111-0.lvn.6 +- Make n-c-display handle misc problems in a better way +- Fixed wrong icon file name in .desktop file +- Re-added the mysteriously vanished sleep line in the init script + when kernel module wasn't present + +* Fri Oct 22 2004 Thorsten Leemhuis - 0:1.0.6111-0.lvn.5 +- Use fedora-kmodhelper in the way ntfs or ati-fglrx use it +- Allow rpm to strip the kernel module. Does not safe that much space ATM but + might be a good idea +- Allow to build driver and kernel-module packages independent of each other +- Some minor spec-file changes + +* Thu Oct 21 2004 Peter Backlund - 0:1.0.6111-0.lvn.4 +- udev fixes +- Incorporated fix for missing include line in ld.so.conf from ati-fglrx spec (T Leemhuis) + +* Sun Sep 19 2004 Peter Backlund - 0:1.0.6111-0.lvn.3 +- Remove FC1/kernel 2.4 compability +- Rename srpm to nvidia-glx +- Build with kernel-module-devel + +* Sun Aug 15 2004 Peter Backlund - 0:1.0.6111-0.lvn.2 +- Restore ldsoconfd macro +- Disable autoamtic removal of scripted installation for now; needs testing + +* Sat Aug 14 2004 Peter Backlund - 0:1.0.6111-0.lvn.1 +- Upstream release 6111 +- Fixed init script (again) + +* Tue Aug 3 2004 Dams 0:1.0.6106-0.lvn.4 +- ld.so.conf.d directory detected by spec file +- Using nvidialibdir in nvidia-glx-devel files section +- Got rid of yarrow and tettnang macros +- libGL.so.1 symlink in tls directory always present + +* Mon Jul 19 2004 Peter Backlund - 0:1.0.6106-0.lvn.3 +- Fixed script bug that would empty prelink.conf +- Added symlink to non-tls libGL.so.1 on FC1 + +* Tue Jul 13 2004 Peter Backlund - 0:1.0.6106-0.lvn.2.3 +- Updated init script to reflect name change -xfree86 -> -display + +* Mon Jul 12 2004 Peter Backlund - 0:1.0.6106-0.lvn.2.2 +- Fixed backup file naming + +* Sun Jul 11 2004 Peter Backlund - 0:1.0.6106-0.lvn.2.1 +- Restore working macros +- Always package the gui tool + +* Sun Jul 11 2004 Peter Backlund - 0:1.0.6106-0.lvn.2 +- Renamed nvidia-config-xfree86 to nvidia-config-display +- Fixed symlinks +- Use ld.so.conf.d on FC2 +- Remove script installation in pre +- Use system-config-display icon for nvidia-settings +- 2 second delay in init script when kernel module not found +- Make nvidia-config-display fail more gracefully +- Add blacklist entry to prelink.conf on FC1 + +* Mon Jul 05 2004 Peter Backlund - 0:1.0.6106-0.lvn.1 +- New upstream release +- First attempt to support FC2 +- Dropped dependency on XFree86 + +* Mon Feb 09 2004 Peter Backlund - 0:1.0.5336-0.lvn.3 +- Use pkg0 + +* Sun Feb 08 2004 Peter Backlund - 0:1.0.5336-0.lvn.2 +- New Makefile variable SYSSRC to point to kernel sources. +- kmodhelper fixes. + +* Fri Jan 30 2004 Keith G. Robertson-Turner 0:1.0.5336-0.lvn.1 +- New upstream release +- Removed (now obsolete) kernel-2.6 patch +- Install target changed upstream, from "nvidia.o" to "module" +- Linked nv/Makefile.kbuild to (now missing) nv/Makefile + +* Sun Jan 25 2004 Dams 0:1.0.4620-0.lvn.18 +- Updated nvidia-config-display +- Now requiring pyxf86config + +* Mon Jan 19 2004 Dams 0:1.0.4620-0.lvn.17 +- Added nvidiasettings macro to enable/disable gui packaging + +* Mon Jan 19 2004 Dams 0:1.0.4620-0.lvn.16 +- Updated minion.de patches +- Added some explicit requires +- Test nvidia-config-xfree86 presence in kernel-module package + scriptlets + +* Mon Jan 12 2004 Dams 0:1.0.4620-0.lvn.15 +- Updated Readme.fedora +- nvidia-glx-devel package + +* Sat Jan 3 2004 Dams 0:1.0.5328-0.lvn.14 +- Hopefully fixed kernel variant thingy + +* Fri Jan 2 2004 Dams 0:1.0.4620-0.lvn.13 +- Support for other kernel variants (bigmem, etc..) +- Changed URL in Source0 + +* Tue Dec 30 2003 Dams 0:1.0.4620-0.lvn.13 +- Dropped nvidia pkgX information in release tag. + +* Tue Dec 30 2003 Dams 0:1.0.4620-0.lvn.12.pkg0 +- Renamed kernel module package in a kernel-module-nvidia-`uname -r` way +- Using fedora.us kmodhelper for kernel macro +- Using nvidia pkg0 archive + +* Sun Dec 21 2003 Dams 0:1.0.4620-0.lvn.11.pkg1 +- kernel-module-nvidia package provides kernel-module +- We wont own devices anymore. And we wont re-create them if they are + already present + +* Sun Dec 21 2003 Dams 0:1.0.4620-0.lvn.10.pkg1 +- Yet another initscript update. Really. +- Scriptlets updated too + +* Sun Dec 21 2003 Dams 0:1.0.4620-0.lvn.9.pkg1 +- Fixed alias in modprobe.conf for 2.6 + +* Sun Dec 21 2003 Dams 0:1.0.4620-0.lvn.8.pkg1 +- Another initscript update + +* Sun Dec 21 2003 Dams 0:1.0.4620-0.lvn.7.pkg1 +- kernel module requires kernel same kversion +- initscript updated again +- Dont conflict, nor obsolete XFree86-Mesa-libGL. Using ld.so.conf to + make libGL from nvidia first found. Hope Mike Harris will appreciate. + +* Sun Dec 21 2003 Dams 0:1.0.4620-0.lvn.6.pkg1 +- kernel-module-nvidia requires kernel same version-release + +* Sat Dec 20 2003 Dams 0:1.0.4620-0.lvn.6.pkg1 +- Updated initscript + +* Fri Dec 19 2003 Dams 0:1.0.4620-0.lvn.5.pkg1 +- lvn repository tag + +* Fri Dec 19 2003 Dams 0:1.0.4620-0.fdr.5.pkg1 +- Added initscript to toggle nvidia driver according to running kernel + and installed kernel-module-nvidia packages +- Updated scriptlets + +* Thu Dec 18 2003 Dams 0:1.0.4620-0.fdr.4.pkg1 +- Arch detection +- Url in patch0 + +* Tue Dec 16 2003 Dams 0:1.0.4620-0.fdr.3.pkg1 +- Desktop entry for nvidia-settings +- s/kernel-module-{name}/kernel-module-nvidia +- nvidia-glx doesnt requires kernel-module-nvidia-driver anymore +- Using modprobe.conf for 2.6 kernel +- Hopefully fixed symlinks + +* Mon Dec 15 2003 Dams 0:1.0.4620-0.fdr.2.pkg1 +- Building kernel module for defined kernel +- kernel module for 2.6 is nvidia.ko +- Patch not to install kernel module on make install +- Updated patch for 2.6 +- depmod in scriptlet for defined kernel +- nvidia-glx conflicting XFree86-Mesa-libGL because we 0wn all its + symlink now +- Dont override libGL.so symlink because it belongs to XFree86-devel +- Added nvidia 'pkgfoo' info to packages release +- Spec file cleanup + +* Fri Dec 12 2003 Peter Backlund - 0:1.0.4620-0.fdr.2 +- Fixed repairing of a link in post-uninstall +- Obsolete Mesa instead of Conflict with it, enables automatic removal. + +* Mon Dec 08 2003 Peter Backlund - 0:1.0.4620-0.fdr.1 +- Added support for 2.6 kernels +- Cleaned up build section, removed the need for patching Makefiles. +- Added missing BuildReq gcc32 +- Don't package libs twice, only in /usr/lib/tls/nvidia +- Made config cript executable and put it into /usr/sbin +- Moved kernel module to kernel/drivers/video/nvidia/ +- Fixed libGL.so and libGLcore.so.1 links to allow linking against OpenGL libraries + +* Mon Dec 08 2003 Keith G. Robertson-Turner - 0:1.0.4620-0.fdr.0 +- New beta 4620 driver +- New GUI control panel +- Some minor fixes + +* Thu Nov 20 2003 Peter Backlund - 0:1.0.4496-0.fdr.10.1 +- Finally fixed SMP builds. + +* Wed Nov 19 2003 Peter Backlund - 0:1.0.4496-0.fdr.9 +- Don't make nvidia-glx depend on kernel-smp + +* Tue Nov 18 2003 Peter Backlund - 0:1.0.4496-0.fdr.8 +- Some build fixes + +* Tue Nov 11 2003 Peter Backlund - 0:1.0.4496-0.fdr.7 +- Added CC=gcc32 +- Fixed upgrading issue +- Added driver switching capabilities to config script. + +* Fri Nov 07 2003 Peter Backlund - 0:1.0.4496-0.fdr.4 +- Added conflict with XFree86-Mesa-libGL. +- Disabled showing of the README.Fedora after installation. + +* Sun Oct 12 2003 Peter Backlund - 0:1.0.4496-0.fdr.3 +- Added NVidia configuration script written in Python. +- Some cleanup of files section +- For more info, see https://bugzilla.fedora.us/show_bug.cgi?id=402 + +* Tue Jul 08 2003 Andreas Bierfert (awjb) - 0:1.0.4363-0.fdr.2 +- renamed /sbin/makedevices.sh /sbin/nvidia-makedevices.sh ( noticed by + Panu Matilainen ) +- Fixed name problem +* Sun Jun 22 2003 Andreas Bierfert (awjb) - 0:1.0.4363-0.fdr.1 +- Initial RPM release, still some ugly stuff in there but should work...