Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master z-rejected grimoire by Julien ROZO (c99c22c72cf707d387e1aca2055be96050462698)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Julien ROZO <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master z-rejected grimoire by Julien ROZO (c99c22c72cf707d387e1aca2055be96050462698)
  • Date: Wed, 8 Oct 2008 12:38:03 -0500

GIT changes to master z-rejected grimoire by Julien ROZO <julien AT rozo.org>:

ChangeLog | 4
z-kernels/nvidia_legacy_173xx/BUILD | 9
z-kernels/nvidia_legacy_173xx/CONFIGURE | 4
z-kernels/nvidia_legacy_173xx/CONFLICTS | 2
z-kernels/nvidia_legacy_173xx/DEPENDS | 2
z-kernels/nvidia_legacy_173xx/DETAILS | 57 ++
z-kernels/nvidia_legacy_173xx/FINAL | 1
z-kernels/nvidia_legacy_173xx/HISTORY | 482
++++++++++++++++++++++++
z-kernels/nvidia_legacy_173xx/INSTALL | 157 +++++++
z-kernels/nvidia_legacy_173xx/LICENSE | 127 ++++++
z-kernels/nvidia_legacy_173xx/POST_REMOVE | 24 +
z-kernels/nvidia_legacy_173xx/PREPARE | 16
z-kernels/nvidia_legacy_173xx/PRE_BUILD | 67 +++
z-kernels/nvidia_legacy_173xx/PROVIDES | 1
z-kernels/nvidia_legacy_173xx/TRIGGERS | 8
z-kernels/nvidia_legacy_173xx/glext-redef.patch | 10
z-kernels/nvidia_legacy_173xx/volatiles | 6
17 files changed, 977 insertions(+)

New commits:
commit c99c22c72cf707d387e1aca2055be96050462698
Author: Julien ROZO <julien AT rozo.org>
Commit: Julien ROZO <julien AT rozo.org>

nvidia_legacy_173xx: new spell, last branch of nvidia driver to support
GeForceFX GPU

diff --git a/ChangeLog b/ChangeLog
index 0ce2910..3eefe9b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-08 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * z-kernels/nvidia_legacy_173xx: new spell, last branch of nvidia
+ driver to support GeForceFX GPU
+
2008-09-09 Julien "_kaze_" ROZO <julien AT rozo.org>
* z-editors/openoffice3-bin: new spell, binary version of
OpenOffice.org 3

diff --git a/z-kernels/nvidia_legacy_173xx/BUILD
b/z-kernels/nvidia_legacy_173xx/BUILD
new file mode 100755
index 0000000..97601cb
--- /dev/null
+++ b/z-kernels/nvidia_legacy_173xx/BUILD
@@ -0,0 +1,9 @@
+local KVER &&
+KVER=$(get_kernel_version) &&
+
+pushd $SOURCE_DIRECTORY/usr/src/nv &&
+make KERNEL_MODLIB=$INSTALL_ROOT/lib/modules/$KVER \
+ KERNEL_UNAME=$KVER \
+ SYSSRC=$INSTALL_ROOT/lib/modules/$KVER/source \
+ -f Makefile.kbuild module &&
+popd
diff --git a/z-kernels/nvidia_legacy_173xx/CONFIGURE
b/z-kernels/nvidia_legacy_173xx/CONFIGURE
new file mode 100755
index 0000000..b8108d9
--- /dev/null
+++ b/z-kernels/nvidia_legacy_173xx/CONFIGURE
@@ -0,0 +1,4 @@
+config_query VIA4X "Enable AGP 4x mode on VIA chipsets, which might cause
instability?" n
+config_query ALiAGP "Enable AGP on ALi chipsets, which might cause
instability?" n
+config_query AGPSBA "Enable AGP SBA(Side Band Addressing) on all supported
chipsets, which might cause instability?" n
+config_query AGPFW "Enable AGP Fast Writes on all supported chipsets,
which might cause instability?" n
diff --git a/z-kernels/nvidia_legacy_173xx/CONFLICTS
b/z-kernels/nvidia_legacy_173xx/CONFLICTS
new file mode 100755
index 0000000..4b779b2
--- /dev/null
+++ b/z-kernels/nvidia_legacy_173xx/CONFLICTS
@@ -0,0 +1,2 @@
+conflicts nvidia_legacy &&
+conflicts nvidia-settings y
diff --git a/z-kernels/nvidia_legacy_173xx/DEPENDS
b/z-kernels/nvidia_legacy_173xx/DEPENDS
new file mode 100755
index 0000000..7bce8e8
--- /dev/null
+++ b/z-kernels/nvidia_legacy_173xx/DEPENDS
@@ -0,0 +1,2 @@
+depends X11-SERVER &&
+depends which
diff --git a/z-kernels/nvidia_legacy_173xx/DETAILS
b/z-kernels/nvidia_legacy_173xx/DETAILS
new file mode 100755
index 0000000..12c790a
--- /dev/null
+++ b/z-kernels/nvidia_legacy_173xx/DETAILS
@@ -0,0 +1,57 @@
+. $GRIMOIRE/FUNCTIONS
+ SPELL=nvidia_driver
+if [[ $NVIDIA_BETA == y ]]; then
+ VERSION=177.78
+else
+ VERSION=173.14.12
+fi
+case "${SMGL_COMPAT_ARCHS[1]}" in
+ x86_64)
+ SOURCE=NVIDIA-Linux-x86_64-$VERSION-pkg2.run
+if [[ $NVIDIA_BETA == y ]]; then
+
SOURCE_HASH=sha512:eb0dba73de9f47be49ee1e194e6a4253f5c1a052526d6b989ab84285cea3ae101eafafee5ec3cf75a3801b57b5892b21351f26d70fc9d2877ebe263cae73c2a8
+
SOURCE_URL=http://http.download.nvidia.com/XFree86/Linux-x86_64/$VERSION/$SOURCE
+else
+
SOURCE_HASH=sha512:eb94d7cce96e330ef6d1ef60342d1fb8459e5a4d156408ea9cd3d68cff0a6a346ba3ad9508fed2ad88b4666522e82c235e88698a4d8116881af8d8533c988923
+
SOURCE_URL=http://us.download.nvidia.com/XFree86/Linux-x86_64/$VERSION/$SOURCE
+fi
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/NVIDIA-Linux-x86_64-$VERSION-pkg2
+ ;;
+ ia32)
+ SOURCE=NVIDIA-Linux-x86-$VERSION-pkg1.run
+if [[ $NVIDIA_BETA == y ]]; then
+
SOURCE_HASH=sha512:72e27339a90b95908985103d7a7feba1bf8ffff20e7d2c2887382bbd2622f732f95e2141d16d657ba2811dcfcc3e891d74a8e8cdfad80ff13686f77c245b46b4
+
SOURCE_URL=http://http.download.nvidia.com/XFree86/Linux-x86/$VERSION/$SOURCE
+else
+
SOURCE_HASH=sha512:8e1393c99e673337fef164d9cbe9f9e16e6292bba4d5233a261bcee72cf174c6991bec25579c05f08a013d5caa0812005379b53996f157816bf71c0804c09db9
+
SOURCE_URL=http://us.download.nvidia.com/XFree86/Linux-x86/$VERSION/$SOURCE
+fi
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/NVIDIA-Linux-x86-$VERSION-pkg1
+ ;;
+############################################################
+# missing ia64 support we don't have an arch spec for it???
+############################################################
+ *)
+ VERSION=${SMGL_COMPAT_ARCHS[0]}
+ SOURCE=
+ SOURCE_URL=
+ ;;
+esac
+# SOURCE_GPG="gurus.gpg:${SOURCE}.sig:WORKS_FOR_ME"
+ WEB_SITE=http://www.nvidia.com/object/unix.html
+ ENTERED=20030401
+ PATCHLEVEL=0
+ SECURITY_PATCH=1
+ ARCHIVE=off
+ REJECT="Non-GPL compatible software license"
+ LICENSE[0]=http://www.nvidia.com/object/nv_swlicense.html
+ SHORT="Driver provided by NVIDIA for NVIDIA GPUs"
+ # Remove this when bug #12843 is fixed
+ STAGED_INSTALL=off
+cat << EOF
+NVIDIA
+These are the nvidia provided binary X drivers for their graphics cards.
+
+For help with the X server configuration, this spell installs nvidia-xconfig
+binary.
+EOF
diff --git a/z-kernels/nvidia_legacy_173xx/FINAL
b/z-kernels/nvidia_legacy_173xx/FINAL
new file mode 100755
index 0000000..1851270
--- /dev/null
+++ b/z-kernels/nvidia_legacy_173xx/FINAL
@@ -0,0 +1 @@
+message "${MESSAGE_COLOR}NOTICE: You can run nvidia-xconfig to
auto-configure X for nvidia_driver.${DEFAULT_COLOR}"
diff --git a/z-kernels/nvidia_legacy_173xx/HISTORY
b/z-kernels/nvidia_legacy_173xx/HISTORY
new file mode 100644
index 0000000..d07a56c
--- /dev/null
+++ b/z-kernels/nvidia_legacy_173xx/HISTORY
@@ -0,0 +1,482 @@
+2008-10-08 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * ALL: branched from nvidia_driver at version 173.14.12,
+ last driver to support GeForceFX GPU
+
+2008-09-27 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * DETAILS: updated beta version to 177.78
+
+2008-08-28 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * DETAILS: updated beta version to 177.70, SOURCE must be declared
and set
+ before use
+
+2008-08-22 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * DETAILS: updated beta version to 177.68, using a different mirror
for this
+ version
+
+2008-08-20 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * DETAILS, PREPARE: added the possibility to use either beta or
+ stable version
+
+2008-08-19 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * DETAILS: updated version to 177.67
+
+2008-06-17 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS: updated version to 173.14.12
+
+2008-06-17 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS: 173.14.09
+
+2008-05-28 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * DETAILS: updated version to 173.14.05
+
+2008-04-24 Eric Sandall <sandalle AT sourcemage.org>
+ * DEPENDS: Removed dependency on mktemp (now provided by coreutils)
+
+2008-04-12 Arjan Bouter <abouter AT sourcemage.org>
+ * DETAILS: updated version to 173.08
+ this beta version builds with 2.6.25-rcx kernels
+
+2008-02-27 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * DETAILS: updated version to 169.12
+
+2008-01-22 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * DETAILS: updated version to 169.09
+
+2007-12-20 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * DETAILS: updated version to 169.07
+
+2007-10-20 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS: 100.14.23
+
+2007-09-21 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS: 100.14.19
+
+2007-06-22 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS: 100.14.11
+
+2007-06-11 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS: 100.14.09
+
+2007-04-11 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * INSTALL: also install an unversioned libwfb.so
+ * DETAILS: PATCHLEVEL++
+
+2007-03-13 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS: 1.0-9755
+
+2007-02-19 David Kowis <dkowis AT shlrm.org>
+ * CONFLICTS: made to conflict with the "new" nvidia_legacy spell
+
+2007-02-05 David Kowis <dkowis AT shlrm.org>
+ * DETAILS: Someone forgot the hash for the x86_64 source
+
+2007-02-02 Juuso Alasuutari <iuso AT sourcemage.org>
+ * INSTALL: Install libnvidia-wfb.so (bug #13484).
+ * DETAILS: PATCHLEVEL=1
+ * UNATTEND_SAFE: Added.
+ * PREPARE: Minor fix to license prompting conditional.
+
+2006-12-27 Treeve Jelbert <treeve AT pi.be>
+ * DETAILS: version 1.0-9746
+ * INSTALL: disable glext-redef.patch, does not apply
+
+2006-12-05 Flavien Bridault <vlaaad AT sourcemage.org>
+ * DETAILS: Updated to 1.0-9631, updated both SOURCE_URL
+ * CONFLICTS: Conflicts with nvidia-settings spell since it is now
+ included in the driver
+
+2006-11-08 David Brown <dmlb2000 AT gmail.com>
+ * INSTALL: added patch for glext.h fixed -p value
+ * glext-redef.patch: removes a redefinition of something so glut can
+ build
+
+2006-11-08 Flavien Bridault <vlaaad AT sourcemage.org>
+ * DETAILS: 1.0-9629
+
+2006-10-19 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS: 1.0-8776, SECURITY_PATCH=1
+
http://nvidia.custhelp.com/cgi-bin/nvidia.cfg/php/enduser/std_adp.php?p_faqid=1971
+ * PRE_BUILD: added unpack_file
+
+2006-10-14 Ladislav Hagara <hgr AT vabo.cz>
+ * INSTALL: added "mkdir -p $INSTALL_ROOT/usr/share/pixmaps/"
+
+2006-08-31 Flavien Bridault <vlaaad AT sourcemage.org>
+ * TRIGGERS: Added xorg-server
+ * DETAILS: PATCHLEVEL++
+
+2006-08-24 Flavien Bridault <vlaaad AT sourcemage.org>
+ * DETAILS: Updated to 8774
+ * INSTALL: Modified path to nvidia-settings.png
+
+2006-07-30 David Kowis <dkowis AT shlrm.org>
+ * INSTALL: updated the install pixmap to make sure it doesn't clobber
+ the directory. Which it does for amd64.
+
+2006-07-13 Juuso Alasuutari <iuso AT sourcemage.org>
+ * DETAILS: Disabled staged install until bug #12843 is fixed,
+ removed UPDATED & BUILD_API.
+ * PRE_BUILD: Added sedit to fix defunct nvidia-settings.desktop.
+ * INSTALL: Install pixmap.
+
+2006-06-29 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * INSTALL: removed the last hardcoded version string usage
+
+2006-06-11 Juuso Alasuutari <iuso AT sourcemage.org>
+ * PROVIDES: Added, provides OPENGL.
+
+2006-06-05 Flavien Bridault <vlaaad AT sourcemage.org>
+ * DETAILS: Updated to 8762
+ * INSTALL: Fill in the path to libGL.so will be installed (bug #12295)
+
+2006-05-30 Juuso Alasuutari <iuso AT sourcemage.org>
+ * TRIGGERS: Added 'on_cast mesalib cast_self' to reinstall
+ nvidia_driver's libGL.so.
+ * DETAILS: Added PATCHLEVEL=1.
+
+2006-05-27 Juuso Alasuutari <iuso AT sourcemage.org>
+ * DETAILS: Fixed arch selection: changed SMGL_COMPAT_ARCHS[0] to
+ SMGL_COMPAT_ARCHS[1], x86-64|64 to x86_64, and ia32|32 to
+ ia32.
+
+2006-05-21 Juuso Alasuutari <iuso AT sourcemage.org>
+ * INSTALL: Create target dir for X drivers if none exists, fixes
+ bug #11852
+
+2006-05-17 Juuso Alasuutari <iuso AT sourcemage.org>
+ * FINAL: Added, display info message about nvidia-xconfig
+
+2006-05-17 Juuso Alasuutari <iuso AT sourcemage.org>
+ * CONFIGURE: Removed nvidia-installer related queries (expert
+ install & xorg.conf auto-config)
+ * INSTALL: Removed nvidia-installer related stuff
+
+2006-05-11 Eric Sandall <sandalle AT sourcemage.org>
+ * PRE_BUILD: Modify module-install target to use `depmod -ae` on $KVER
+ rather than the running kernel
+ * INSTALL: Use $X_PRE instead of $INSTALL_ROOT/usr/X11R6 and $X_MOD
+ instead of $INSTALL_ROOT/usr/X11R6/lib/modules to not break
+ xorg-modular (Thanks to Robin Cook for pointing out that I broke
+ xorg-modular ;))
+ Forgot to set KVER (doesn't transfer from BUILD, stupid me)
+
+2006-05-10 Eric Sandall <sandalle AT sourcemage.org>
+ * PREPARE: Remove check for running X, no longer needed
+ * PRE_BUILD: Setup Makefile -> Makefile.kbuild symlink in usr/src/nv
+ * BUILD: Build the module in BUILD, not INSTALL
+ Override KERNEL_MODLIB, KERNEL_UNAME, and SYSSRC
+ * INSTALL: No longer use broken nvidia-installer binary.
+ Manually install binaries, scripts, modules, headers, and libraries
+ Checked against an installation done by nvidia-installer, only
differences
+ are that we install the html documentation as well and we do not
create
+ /var/lib/nvidia/*.
+
+2006-05-02 David Brown <dmlb2000 AT gmail.com>
+ * PRE_BUILD: fixed syntax errors
+
+2006-05-01 Robin Cook <rcook AT wyrms.net>
+ * PRE_BUILD: set GL_LIB depending on mesalib installed
+ check for file existence before moving
+ * POST_REMOVE: set GL_LIB depending on mesalib installed
+ check for file existence before moving
+ * volatiles: added for xorg-modular location
+
+2006-04-30 Robin Cook <rcook AT wyrms.net>
+ * DEPENDS: uncommented the X11-SERVER depends
+ * INSTALL: added X_PRE and X_MOD to local variables
+ added if to test for xorg-modular and set X_PRE and X_MOD
+ changed nvidia_install command to use X_PRE and X_MOD
+ * PRE_BUILD: added moving of the x/mesalib headers and libs
+ * POST_REMOVE: added to restore the x/mesalib headers and libs
+
+2006-04-18 Juuso Alasuutari <iuso AT sourcemage.org>
+ * INSTALL: Made sure that if the xorg.conf auto-edit option has
+ been selected once, it doesn't default to y on next cast.
+
+2006-04-18 Juuso Alasuutari <iuso AT sourcemage.org>
+ * DETAILS: Dropped "-pkg*" from version numbers.
+
+2006-04-14 John Harding <johnh AT kuberaconsulting.com>
+ * DETAILS: Fix my incorrect instruction and corrected ia32 url, now
really
+ fixed
+
+2006-04-14 David Kowis <dkowis AT shlrm.org>
+ * DETAILS: as per johnnyi7 on IRC the url for ia32 was broke, now
fixed
+
+2006-04-14 Juuso Alasuutari <iuso AT sourcemage.org>
+ * DETAILS: Version 1.0-8756
+ * PRE_BUILD, BUILD, INSTALL: Use nvidia's own installer
+ executable
+ * PREPARE: Added, checks if X is running, installer won't
+ run if it is. Made to display and prompt license
+ agreement.
+ * LICENSE: Added, Nvidia's license agreement.
+ * CONFIGURE: Added options to use expert install mode and
+ configure xorg automatically
+ * NVIDIA_kernel-1.0-8178-U012206.diff: Deleted
+
+2006-03-25 Juuso Alasuutari <iuso AT sourcemage.org>
+ * PRE_BUILD: Apply patch to fix compile against 2.6.16
+ kernels, bug #10748. Thanks to Arnaud Fortier!
+ * NVIDIA_kernel-1.0-8178-U012206.diff: added
+
+2006-01-14 Neuron <vlmarek AT volny.cz>
+ * DETAILS: updated to 1.0-8178
+ * DETAILS: added comment about nvidia-xconfig
+ * DETAILS: gpg -> sha512
+ * INSTALL: removed space at the end of line
+ * INSTALL: also installs nvidia-xconfig and nvidia-settings binaries
+ and man pages
+
+2005-12-18 David Brown <dmlb2000 AT gmail.com>
+ * DETAILS: updated to 1.0-8174
+ * NVIDIA-Linux-x86-1.0-7676-pkg1.run.sig: deleted
+ * NVIDIA-Linux-x86-1.0-8174-pkg1.run.sig: added
+ * NVIDIA-Linux-x86_64-1.0-7676-pkg2.run.sig: deleted
+ * NVIDIA-Linux-x86_64-1.0-8174-pkg2.run.sig: added
+
+2005-12-06 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS: fixed due to new version of smgl-archspecs
+
+2005-10-01 David Brown <dmlb2000 AT gmail.com>
+ * DETAILS: updated x86 and x86_64 to 7676
+ * NVIDIA-Linux-x86-1.0-7667-pkg1.run.sig: removed
+ * NVIDIA-Linux-x86_64-1.0-7667-pkg2.run.sig: removed
+ * NVIDIA-Linux-x86-1.0-7676-pkg1.run.sig: added
+ * NVIDIA-Linux-x86_64-1.0-7676-pkg2.run.sig: added
+
+2005-08-23 Eric Sandall <sandalle AT sourcemage.org>
+ * DEPENDS: Added dependency on X11-SERVER (Bug #9594)
+
+2005-08-10 David Brown <dmlb2000 AT gmail.com>
+ * DETAILS: reverted Gareth's fix and added sourcing of the FUNCTIONS
+ file to provide basic support for the SMGL_COMPAT_ARCHS for stable
+ and test sorcery
+
+2005-08-10 Gareth Clay
+ * DETAILS: fixed x86_64 SOURCE_URL and changed architecture check to
+ work for non-devel sorcery
+
+2005-08-09 David Brown <dmlb2000 AT gmail.com>
+ * INSTALL: added KERNEL_UNAME for install
+
+2005-07-30 David Brown <dmlb2000 AT gmail.com>
+ * DETAILS: removed dmlb2000.gpg for the global gurus.gpg keyring
+ and added the check for x86-64 archs bug fix 8657
+ * DEPENDS: removed unamechange don't need anymore
+ * BUILD: actually built the module here
+ * INSTALL: removed building of module and added
+ * FINAL: removed for the volatiles file in xorg
+ * NVIDIA-Linux-x86_64-1.0-7667-pkg2.run.sig: added
+
+2005-07-12 David Brown <dmlb2000 AT excite.com>
+ * DETAILS: updated to 7667-pkg1 and use gpg checking for source
validity
+ * BUILD: removed patches that don't need to be applied anymore
+ * PRE_BUILD: changed unpack to unpack_file
+
+2005-06-16 David Brown <dmlb2000 AT excite.com>
+ * INSTALL: reverted my patch
+ * BUILD: applied here as well as removed the defines patch because
+ half of my patch was a work around for that patch
+
+2005-06-15 David Brown <dmlb2000 AT excite.com>
+ * INSTALL: added glx.h patch to fix freeglut
+
+2005-06-10 David Brown <dmlb2000 AT excite.com>
+ * BUILD: added invoke_uname_change, devoke_uname_change and
+ UNAME_CHANGE_RELEASE to compile against the kernel sorcery says is
+ installed.
+ * INSTALL: added same as BUILD so driver will install for kernel
+ sorcery says instead of what uname returns
+ * DEPENDS: unamechange added
+
+2005-06-08 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS: 1.0-7664 [Bug 9075]
+ * CONFLICTS: deleted, NVIDIA_driver spell is already removed
+
+2005-05-31 David Brown <dmlb2000 AT excite.com>
+ * volatiles: added ^/lib/modules/*/modules.* to the file
+
+2005-04-01 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS: 1.0-7174
+ * NVIDIA_kernel-1.0-7167-1233959.diff,
NVIDIA_kernel-1.0-7167-1237815.diff:
+ deleted patches, already applied in this version
+
+2005-03-14 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Updated UPDATED
+ * NVIDIA_kernel-1.0-7167-1233959.diff,
NVIDIA_kernel-1.0-7167-1237815.diff:
+ Added from http://www.nvnews.net/vbulletin/showthread.php?t=47405
+
+2005-03-12 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Updated to 1.0.7167
+ * NVIDIA_glx-1.0.6106-defines.patch, linux-2.6.9.patch,
+ NVIDIA_glx-1.0.6106-glheader.patch, linux-2.6.8.1.patch: Removed
+ * NVIDIA_glx-1.0.7167-defines.patch: Branched from
+ NVIDIA_glx-1.0.6106-defines.patch
+ Updated to 1.0.7167
+ * NVIDIA_glx-1.0.7167-glheader.patch: Branched from
+ NVIDIA_glx-1.0.6106-glheader.patch
+ Include directory structure in patch
+ * NVIDIA_kernel-1.0-6629-1201042.diff.txt: Removed
+ * BUILD: Remove 2.6.11-specific patches
+ Apply 7167-defines patch instead of 6106-defines patch
+ Apply 7167-glheader patch instead of 6106-glheader patch as -p1
+
+2005-03-05 David Brown <dmlb2000 AT excite.com>
+ * BUILD: added patch for 2.6.11 kernel
+ * NVIDIA_kernel-1.0-6229-1201042.diff.txt added 2.6.11 fix
+
+2005-01-25 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS: fixed MD5 [Bug 8089]
+
+2005-01-12 Andrew Stitt <astitt AT sourcemage.org>
+ * FINAL: use local variables instead of trampling on sorcery.
+ Correct the sed expressions, the use of [ ] was incorrect as was
+ the use of 's//D', which should have been '// D'
+
+2005-01-10 David Brown <dmlb2000 AT excite.com>
+ * FINAL: fixed blank lines left by sedit's (#7959)
+ * HISTORY: fixed integration problems
+
+2004-12-15 David Brown <dmlb2000 AT excite.com>
+ * FINAL: fixed the cleanse --fix xorg problem
+
+2004-11-08 Wolfgang Scheicher <worf AT sbox.tu-graz.ac.at>
+ * DETAILS: Updated to 1.0-6629
+ * BUILD: deactivated hopefully obsolete patches
+
+2004-10-22 Eric Sandall <sandalle AT sourcemage.org>
+ * BUILD: Apply linux-2.6.9.patch on 2.6.9 machines
+ Apply linux-2.6.8.1.patch on 2.6.8.1 machines
+ * linux-2.6.9.patch: Patch to compile on 2.6.9 (Bug #7464)
+ * linux-2.6.8.1.patch: Patch to compile on 2.6.8.1 (Bug #7464)
+
+2004-10-09 Arjan Bouter <abouter AT sourcemage.org>
+ * DEPENDS: Added which as depends, bug #7280
+
+2004-08-17 Wolfgang Scheicher <worf AT sbox.tu-graz.ac.at>
+ * PRE_BUILD: Extract SOURCE to a subdir, so it works with tmpfs
+
+2004-08-10 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Updated to 1.0-6111
+
+2004-07-25 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: BUILD_API=2
+ * BUILD: Converted to BUILD_API 2
+ * INSTALL: Added
+ Added sedit from Eric Laberge to fix compilation while X is running
+
+2004-07-18 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Remove extra '-' in SOURCE_DIRECTORY (Thanks low)
+
+2004-07-17 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Fix md5sum
+ Change LICENSE to LICENSE[0]
+ Removed TAB
+ Shortened SHORT
+ Renamed to nvidia_driver
+ Updated UPDATED
+ Fix SOURCE_DIRECTORY since PRE_BUILD has been added
+ * CONFLICTS: Conflicts with NVIDIA_driver
+ * CONFIGURE: Convert to config_query
+ * BUILD: Apply patches from Gentoo to fix GL headers
+ Remove SOURCE extraction and change relevant `cd`s
+ * PRE_BUILD: Extract the SOURCE properly
+ * NVIDIA_glx-1.0.6106-defines.patch,
NVIDIA_glx-1.0.6106-glheader.patch:
+ Added GL header fixes from Gentoo
+
+2004-06-30 Wolfgang Scheicher <worf AT sbox.tu-graz.ac.at>
+ * DETAILS: Updated to 1.0-6106
+
+2004-06-24 David Braaten <xiticix47 AT hotmail.com>
+ * DETAILS: added ARCHIVE=off , bug 7018.
+
+2004-04-16 Arwed v. Merkatz <v.merkatz AT gmx.net>
+ * TRIGGERS: added trigger for xfree86-4.3 and xorg
+
+2004-01-27 Wolfgang Scheicher <worf AT sbox.tu-graz.ac.at>
+ * BUILD, DETAILS: updated to 1.0-5336
+ now supports 2.6 kernels without patch
+
+2004-01-24 hgg <hgreig AT bigpond.net.au>
+ * DETAILS: updated patch
+
+2004-01-06 hgg <hgreig AT bigpond.net.au>
+ * patch changed names
+ * BUILD: patch not compressed anymore
+
+2003-12-23 Unet <audio AT sourcemage.org>
+ * DETAILS: Updated to latest 1.0-5328 version
+ * BUILD: Changed accordingly
+
+2003-12-16 hgg <hgreig AT bigpond.net.au>
+ * BUILD: head and tail need -n for posix conformance, since I rebuilt
with
+ nptl
+
+2003-12-14 hgg <hgreig AT bigpond.net.au>
+ * DETAILS: remove C.Brien's patch, not needed any more
+ * BUILD: reorder the sedits to after the patch is applied, remove
+ application of old SOURCE3 patch
+
+2003-12-03 Eric Sandall <sandalle AT sourcemage.org>
+ * 2.6.0-test5.patch: Removed, no longer needed as of -test11
+ * BUILD: Removed application of 2.6.0-test5.patch
+ * HISTORY: Formatted to Guru Handbook
+
+2003-09-20 Eric Sandall <sandalle AT sourcemage.org>
+ * 2.6.0-test5.patch: Patch to compile on linux 2.6.0-test5 (Bug #4317)
+
+2003-09-19 hgg <hgreig AT bigpond.net.au>
+ * TRIGGERS: Update triggers to include xfree86-devel
+ ( not really sure if xfree86-libs warrants a trigger ??)
+
+2003-09-16 hgg <hgreig AT bigpond.net.au>
+ * BUILD: Bug: whitespace after = and needed whitespace removed with
sed
+
+2003-09-01 hgg <hgreig AT bigpond.net.au>
+ * DETAILS: Change SOURCE2 and MD5 to *2.6* version
+
+2003-08-17 Seth Woolley <seth AT tautology.org>
+ * DETAILS: Modified to insert md5 for SOURCE3.
+ Modified to insert md5 for SOURCE2.
+
+2003-08-17 Wolfgang Scheicher <worf AT sbox.tu-graz.ac.at>
+ * Fixed 2.5 / 2.6 patches. Look at the kernel source for the
+ Version number now.
+ Only tested with 2.4.x kernels yet - Please inform about 2.6
+
+2003-08-15 Wolfgang Scheicher <worf AT sbox.tu-graz.ac.at>
+ * DETAILS: Updated to 1.0-4496
+
+2003-08-03 Chris Brien <cbrien AT sourcemage.org>
+ * Stop asking the same damn question!
+ * And fix it because of stupid people who don't make
+ new source files when they change them! Ffs, it only
+ takes a minute to release a new version!
+
+2003-07-29 hgg <hgreig AT bigpond.net.au>
+ * fix bug #3777 AGAIN!!!
+
+2003-07-26 Eric Sandall <sandalle AT sourcemage.org>
+ * BUILD: Now tests for kernel with uname
+ Reverted to testing against 'linux' spell version
+
+2003-07-26 hgg <hgreig AT bigpond.net.au>
+ * fix bug #3777
+
+2003-07-24 Eric Sandall <sandalle AT sourcemage.org>
+ * CONFLICTS: Removed as they no longer exist (Bug #3839)
+
+2003-07-17 Eric Sandall <sandalle AT sourcemage.org>
+ * Patch doesn't work, but also it's only needed
+ for linux >= 2.5.0, so I've fixed that part
+
+2003-07-14 Chris Brien <cbrien AT sourcemage.org>
+ * BUILD: Minor fix to compile against linux kernel 2.6
+
+2003-04-02 Gareth Clay <garethclay AT ntlworld.com>
+ * Updated to work with sorcery with Bourne script unpack support
+
+2003-04-01 Gareth Clay <garethclay AT ntlworld.com>
+ * Created this spell
+
diff --git a/z-kernels/nvidia_legacy_173xx/INSTALL
b/z-kernels/nvidia_legacy_173xx/INSTALL
new file mode 100755
index 0000000..9c41950
--- /dev/null
+++ b/z-kernels/nvidia_legacy_173xx/INSTALL
@@ -0,0 +1,157 @@
+local X_PRE X_MOD KVER &&
+KVER=$(get_kernel_version) &&
+
+if test "$(get_spell_provider $SPELL X11-SERVER)" = xorg-server; then
+ X_PRE="${INSTALL_ROOT}$(pkg-config --variable=prefix xorg-server)" &&
+ X_MOD="${INSTALL_ROOT}$(pkg-config --variable=moduledir xorg-server)"
+else
+ X_PRE="${INSTALL_ROOT}/usr/X11R6" &&
+ X_MOD="${INSTALL_ROOT}/usr/X11R6/lib/modules"
+fi &&
+
+#
+# Install kernel module 'nvidia.ko'
+#
+pushd $SOURCE_DIRECTORY/usr/src/nv &&
+make KERNEL_MODLIB=$INSTALL_ROOT/lib/modules/$KVER \
+ KERNEL_UNAME=$KVER \
+ SYSSRC=$INSTALL_ROOT/lib/modules/$KVER/source \
+ -f Makefile.kbuild module-install &&
+popd &&
+
+#
+# Install binaries and script
+#
+pushd $SOURCE_DIRECTORY/usr/bin &&
+for file in nvidia-bug-report.sh nvidia-settings nvidia-xconfig; do
+ install -m 0755 -o root -g root $file $INSTALL_ROOT/usr/bin
+done &&
+popd &&
+install -m 0766 -o root -g root nvidia-installer $INSTALL_ROOT/usr/bin
&&
+
+#
+# Install OpenGL headers
+#
+pushd $SOURCE_DIRECTORY/usr/include/GL &&
+if [ ! -d $X_PRE/include/GL ]; then
+ mkdir -p $X_PRE/include/GL
+fi &&
+#patch -p0 < ${SPELL_DIRECTORY}/glext-redef.patch &&
+for file in glext.h gl.h glxext.h glx.h; do
+ install -m 0644 -o root -g root $file $X_PRE/include/GL/
+done &&
+popd &&
+
+#
+# Install OpenGL libraries
+#
+pushd $SOURCE_DIRECTORY/usr/lib &&
+
+# Fill in the path to libGL.so
+sed -i 's|__LIBGL_PATH__|/usr/lib|' libGL.la
+for lib in libGLcore.so.${VERSION/-/.} libGL.la libGL.so.${VERSION/-/.} \
+ libnvidia-tls.so.${VERSION/-/.} libnvidia-cfg.so.${VERSION/-/.};
do
+ install -m 0644 -o root -g root $lib $INSTALL_ROOT/usr/lib
+done &&
+
+if [ ! -d $INSTALL_ROOT/usr/lib/tls ]; then
+ mkdir -p $INSTALL_ROOT/usr/lib/tls
+fi &&
+
+install -m 0644 -o root -g root tls/libnvidia-tls.so.${VERSION/-/.} \
+ $INSTALL_ROOT/usr/lib/tls &&
+ #
+ # Create library symlinks
+ #
+ pushd $INSTALL_ROOT/usr/lib &&
+ ln -sfn libGLcore.so.${VERSION/-/.} libGLcore.so.1 &&
+ ln -sfn libGL.so.${VERSION/-/.} libGL.so.1 &&
+ ln -sfn libGL.so.1 libGL.so &&
+ ln -sfn libnvidia-cfg.so.${VERSION/-/.} libnvidia-cfg.so.1 &&
+ ln -sfn libnvidia-cfg.so.1 libnvidia-cfg.so &&
+ ln -sfn libnvidia-tls.so.${VERSION/-/.} libnvidia-tls.so.1 &&
+ popd &&
+ pushd $INSTALL_ROOT/usr/lib/tls &&
+ ln -sfn libnvidia-tls.so.${VERSION/-/.} libnvidia-tls.so.1 &&
+ popd &&
+popd &&
+
+#
+# Install X11 OpenGL libraries
+#
+pushd $SOURCE_DIRECTORY/usr/X11R6/lib &&
+for lib in libXvMCNVIDIA.a libXvMCNVIDIA.so.${VERSION/-/.}; do
+ install -m 0644 -o root -g root $lib $X_PRE/lib
+done &&
+ #
+ # Setup symlinks
+ #
+ pushd $X_PRE/lib &&
+ ln -sfn libXvMCNVIDIA.so.${VERSION/-/.} libXvMCNVIDIA_dynamic.so.1 &&
+ popd &&
+popd &&
+
+#
+# Install X11 modules
+#
+pushd $SOURCE_DIRECTORY/usr/X11R6/lib/modules &&
+cp libnvidia-wfb.so.${VERSION/-/.} "$X_MOD/" &&
+mkdir -p $X_MOD/drivers &&
+for driver in nvidia_drv.o nvidia_drv.so; do
+ install -m 0644 -o root -g root \
+ drivers/$driver $X_MOD/drivers
+done &&
+mkdir -p "$X_MOD/extensions" &&
+install -m 0644 -o root -g root \
+extensions/libglx.so.${VERSION/-/.} \
+ $X_MOD/extensions &&
+ #
+ # Setup symlinks
+ #
+ ln -sfn "$X_MOD/libnvidia-wfb.so.${VERSION/-/.}" \
+ "$X_MOD/libnvidia-wfb.so" &&
+ ln -sfn "$X_MOD/libnvidia-wfb.so.${VERSION/-/.}" \
+ "$X_MOD/libwfb.so" &&
+ pushd $X_MOD/extensions &&
+ ln -sfn libglx.so.${VERSION/-/.} libglx.so &&
+ popd &&
+popd &&
+
+#
+# Install Freedesktop.org spec
+#
+install -m 0644 -o root -g root \
+ $SOURCE_DIRECTORY/usr/share/applications/nvidia-settings.desktop \
+ $INSTALL_ROOT/usr/share/applications &&
+
+#
+# Install documentation
+#
+pushd $SOURCE_DIRECTORY/usr/share/doc &&
+if [ ! -d $INSTALL_ROOT/usr/share/doc/NVIDIA_GLX-1.0 ]; then
+ mkdir -p $INSTALL_ROOT/usr/share/doc/NVIDIA_GLX-1.0
+fi &&
+cp -a * $INSTALL_ROOT/usr/share/doc/NVIDIA_GLX-1.0 &&
+
+# Install pixmap
+popd &&
+mkdir -p $INSTALL_ROOT/usr/share/pixmaps/ &&
+cp usr/share/pixmaps/nvidia-settings.png $INSTALL_ROOT/usr/share/pixmaps/
&&
+
+if [ ! -d $INSTALL_ROOT/usr/share/doc/$SPELL ]; then
+ mkdir -p $INSTALL_ROOT/usr/share/doc/$SPELL
+fi &&
+install -m 0644 -o root -g root $SOURCE_DIRECTORY/LICENSE \
+ $INSTALL_ROOT/usr/share/doc/$SPELL &&
+install -m 0644 -o root -g root $SOURCE_DIRECTORY/LICENSE \
+ $INSTALL_ROOT/usr/share/doc/NVIDIA_GLX-1.0 &&
+
+#
+# Install man pages
+#
+pushd $SOURCE_DIRECTORY/usr/share/man/man1 &&
+for manual in nvidia-installer.1.gz nvidia-settings.1.gz
nvidia-xconfig.1.gz
+do
+ install -m 0644 -o root -g root $manual
$INSTALL_ROOT/usr/share/man/man1
+done &&
+popd
diff --git a/z-kernels/nvidia_legacy_173xx/LICENSE
b/z-kernels/nvidia_legacy_173xx/LICENSE
new file mode 100644
index 0000000..11bcb76
--- /dev/null
+++ b/z-kernels/nvidia_legacy_173xx/LICENSE
@@ -0,0 +1,127 @@
+ 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/FreeBSD Exception. Notwithstanding the foregoing terms
+of Section 2.1.1, SOFTWARE designed exclusively for use on the Linux or
+FreeBSD operating systems, or other operating systems derived from the
+source code to these operating systems, 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.
+
+Defensive Suspension. If Customer commences or participates in any legal
+proceeding against NVIDIA, then NVIDIA may, in its sole discretion,
+suspend or terminate all license grants and any other rights provided
+under this LICENSE during the pendency of such legal proceedings.
+
+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.
+
diff --git a/z-kernels/nvidia_legacy_173xx/POST_REMOVE
b/z-kernels/nvidia_legacy_173xx/POST_REMOVE
new file mode 100755
index 0000000..eb3214a
--- /dev/null
+++ b/z-kernels/nvidia_legacy_173xx/POST_REMOVE
@@ -0,0 +1,24 @@
+local i X_DIR GL_DIR GL_LIB &&
+X_DIR=$INSTALL_ROOT/usr/include/GL/x &&
+GL_DIR=$INSTALL_ROOT/usr/include/GL/ &&
+
+if spell_ok mesalib; then
+ GL_LIB=$INSTALL_ROOT/usr/lib
+else
+ GL_LIB=$INSTALL_ROOT/usr/X11R6/lib
+fi &&
+
+message "${MESSAGE_COLOR}Restoring X/mesalib headers and libs${SPELL_COLOR}"
&&
+
+for i in gl.h glext.h glx.h glxext.h; do
+ if [ -e $X_DIR/$i ]; then
+ mv -v $X_DIR/$i $GL_DIR
+ fi
+done &&
+for i in $X-DIR/libGL.so.*; do
+ if [ -e $i ]; then
+ mv -v $i $GL_LIB
+ fi
+done &&
+
+rm -rf $X_DIR
diff --git a/z-kernels/nvidia_legacy_173xx/PREPARE
b/z-kernels/nvidia_legacy_173xx/PREPARE
new file mode 100755
index 0000000..e7af563
--- /dev/null
+++ b/z-kernels/nvidia_legacy_173xx/PREPARE
@@ -0,0 +1,16 @@
+. "$GRIMOIRE/REJECTED_MSG" &&
+
+if [[ $LEGAL == y ]] || ([[ -z $LEGAL ]] && spell_ok $SPELL)
+then
+ message "${MESSAGE_COLOR}License has been accepted before," \
+ "continuing without interrupt.${DEFAULT_COLOR}"
+else
+ cat "$SCRIPT_DIRECTORY/LICENSE" &&
+ config_query LEGAL "Accept license agreement?" n &&
+ if [[ $LEGAL != y ]]
+ then
+ return 1
+ fi
+fi &&
+
+config_query NVIDIA_BETA "Use beta version ?" n
diff --git a/z-kernels/nvidia_legacy_173xx/PRE_BUILD
b/z-kernels/nvidia_legacy_173xx/PRE_BUILD
new file mode 100755
index 0000000..a7e031e
--- /dev/null
+++ b/z-kernels/nvidia_legacy_173xx/PRE_BUILD
@@ -0,0 +1,67 @@
+unpack_file '' &&
+
+message "${MESSAGE_COLOR}Backing up existing X/mesalib headers and
libs${DEFAULT_COLOR}" &&
+
+local i X_DIR GL_DIR GL_LIB &&
+X_DIR=$INSTALL_ROOT/usr/include/GL/x &&
+GL_DIR=$INSTALL_ROOT/usr/include/GL &&
+
+if spell_ok mesalib; then
+ GL_LIB=$INSTALL_ROOT/usr/lib
+else
+ GL_LIB=$INSTALL_ROOT/usr/X11R6/lib
+fi &&
+
+mkdir -p $X_DIR &&
+
+if ! [[ -f $X_DIR/done ]]; then
+ for i in gl.h glext.h glx.h glxext.h; do
+ if [ -e $GL_DIR/$i ]; then
+ mv -v $GL_DIR/$i $X_DIR
+ fi
+ done
+ for i in $GL_LIB/libGL.so.*; do
+ if [ -e $i ]; then
+ mv -v $i $X_DIR
+ fi
+ done
+ touch $X_DIR/done
+else
+ message "${SPELL_COLOR}X/mesalib headers and libs already backed
up${DEFAULT_COLOR}"
+fi &&
+
+sh $SOURCE_CACHE/$SOURCE --extract-only \
+ --target $SOURCE_DIRECTORY &&
+cd $SOURCE_DIRECTORY &&
+
+if [[ $VIA4X == "y" ]]; then
+ sedit "s/NVreg_EnableVia4x =0;/NVreg_EnableVia4x = 1;/" \
+ usr/src/nv/os-registry.c
+fi &&
+if [[ $ALiAGP == "y" ]]; then
+ sedit "s/NVreg_EnableALiAGP = 0;/NVreg_EnableALiAGP = 1;/" \
+ usr/src/nv/os-registry.c
+fi &&
+if [[ $AGPSBA == "y" ]]; then
+ sedit "s/NVreg_EnableAGPSBA = 0;/NVreg_EnableAGPSBA = 1;/" \
+ usr/src/nv/os-registry.c
+fi &&
+if [[ $AGPFW == "y" ]]; then
+ sedit "s/NVreg_EnableAGPFW = 0;/NVreg_EnableAGPFW = 1;/" \
+ usr/src/nv/os-registry.c
+fi &&
+
+# Fix defunct desktop file
+sedit 's/__.*__\///' usr/share/applications/nvidia-settings.desktop &&
+
+#
+# Modify module-install target to use `depmod -ae` on $KVER rather
+# than the running kernel
+#
+sedit 's:depmod -ae:& \$(KERNEL_UNAME):' usr/src/nv/Makefile.kbuild &&
+
+#
+# Setup Makefile symlink
+#
+cd $SOURCE_DIRECTORY/usr/src/nv &&
+ln -sfn Makefile.kbuild Makefile
diff --git a/z-kernels/nvidia_legacy_173xx/PROVIDES
b/z-kernels/nvidia_legacy_173xx/PROVIDES
new file mode 100755
index 0000000..3fc56f6
--- /dev/null
+++ b/z-kernels/nvidia_legacy_173xx/PROVIDES
@@ -0,0 +1 @@
+OPENGL
diff --git a/z-kernels/nvidia_legacy_173xx/TRIGGERS
b/z-kernels/nvidia_legacy_173xx/TRIGGERS
new file mode 100755
index 0000000..1f100d2
--- /dev/null
+++ b/z-kernels/nvidia_legacy_173xx/TRIGGERS
@@ -0,0 +1,8 @@
+on_cast linux cast_self
+on_cast xfree86 cast_self
+on_cast xfree86-4.3 cast_self
+on_cast xorg cast_self
+on_cast xfree86-devel cast_self
+#? on_cast xfree86-libs cast_self
+on_cast mesalib cast_self
+on_cast xorg-server cast_self
diff --git a/z-kernels/nvidia_legacy_173xx/UNATTEND_SAFE
b/z-kernels/nvidia_legacy_173xx/UNATTEND_SAFE
new file mode 100644
index 0000000..e69de29
diff --git a/z-kernels/nvidia_legacy_173xx/glext-redef.patch
b/z-kernels/nvidia_legacy_173xx/glext-redef.patch
new file mode 100644
index 0000000..3fb0be4
--- /dev/null
+++ b/z-kernels/nvidia_legacy_173xx/glext-redef.patch
@@ -0,0 +1,10 @@
+--- glext.h~ 2006-11-08 22:09:16.000000000 -0800
++++ glext.h 2006-11-08 22:09:16.000000000 -0800
+@@ -6938,7 +6938,6 @@
+ extern void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname,
GLint *params);
+ extern void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname,
GLuint *params);
+ #endif /* GL_GLEXT_PROTOTYPES */
+-typedef void (APIENTRY * PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint
location, GLuint *params);
+ typedef void (APIENTRY * PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program,
GLuint color, const GLchar *name);
+ typedef GLint (APIENTRY * PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program,
const GLchar *name);
+ typedef void (APIENTRY * PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint
v0);
diff --git a/z-kernels/nvidia_legacy_173xx/volatiles
b/z-kernels/nvidia_legacy_173xx/volatiles
new file mode 100755
index 0000000..246e956
--- /dev/null
+++ b/z-kernels/nvidia_legacy_173xx/volatiles
@@ -0,0 +1,6 @@
+^/lib/modules/*/modules.*
+^/usr/lib/libGL.so.*
+^/usr/include/GL/gl.h
+^/usr/include/GL/glext.h
+^/usr/include/GL/glx.h
+^/usr/include/GL/glxext.h



  • [SM-Commit] GIT changes to master z-rejected grimoire by Julien ROZO (c99c22c72cf707d387e1aca2055be96050462698), Julien ROZO, 10/08/2008

Archive powered by MHonArc 2.6.24.

Top of Page