Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master z-rejected grimoire by Vlad Glagolev (df1340bf2c0634517b9b3eb9e38b03137ed3b9a7)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master z-rejected grimoire by Vlad Glagolev (df1340bf2c0634517b9b3eb9e38b03137ed3b9a7)
  • Date: Fri, 10 Aug 2012 10:25:55 -0500

GIT changes to master z-rejected grimoire by Vlad Glagolev
<stealth AT sourcemage.org>:

ChangeLog | 5
z-kernels/nvidia_driver/CONFLICTS | 3
z-kernels/nvidia_driver/HISTORY | 3
z-kernels/nvidia_legacy_173xx/CONFLICTS | 3
z-kernels/nvidia_legacy_173xx/HISTORY | 3
z-kernels/nvidia_legacy_295xx/BUILD | 9 +
z-kernels/nvidia_legacy_295xx/CONFIGURE | 4
z-kernels/nvidia_legacy_295xx/CONFLICTS | 4
z-kernels/nvidia_legacy_295xx/DEPENDS | 4
z-kernels/nvidia_legacy_295xx/DETAILS | 53 ++++++
z-kernels/nvidia_legacy_295xx/FINAL | 2
z-kernels/nvidia_legacy_295xx/HISTORY | 4
z-kernels/nvidia_legacy_295xx/INSTALL | 205
+++++++++++++++++++++++++++
z-kernels/nvidia_legacy_295xx/LICENSE | 127 ++++++++++++++++
z-kernels/nvidia_legacy_295xx/POST_RESURRECT | 2
z-kernels/nvidia_legacy_295xx/PREPARE | 16 ++
z-kernels/nvidia_legacy_295xx/PRE_BUILD | 37 ++++
z-kernels/nvidia_legacy_295xx/PRE_REMOVE | 1
z-kernels/nvidia_legacy_295xx/PROVIDES | 2
z-kernels/nvidia_legacy_295xx/TRIGGERS | 8 +
z-kernels/nvidia_legacy_96xx/CONFLICTS | 3
z-kernels/nvidia_legacy_96xx/HISTORY | 3
22 files changed, 498 insertions(+), 3 deletions(-)

New commits:
commit df1340bf2c0634517b9b3eb9e38b03137ed3b9a7
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

nvidia_legacy_173xx: conflicts nvidia_legacy_295xx

commit 129b999566504e789f201ec5d077b2cf8e54915d
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

nvidia_legacy_96xx: conflicts nvidia_legacy_295xx

commit fedc68ed41572dc60089e2cae1e3618cf2ce8c89
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

nvidia_driver: conflicts nvidia_legacy_295xx

commit 0bd7903b7998be62ed804ad762bb705a04fc66aa
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

nvidia_legacy_295xx: new spell, certified NVIDIA binary drivers for older
cards like from GeForce 200 series, based on spell nvidia_driver

diff --git a/ChangeLog b/ChangeLog
index a542455..10fbce2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-10 Vlad Glagolev <stealth AT sourcemage.org>
+ * z-kernels/nvidia_legacy_295xx: new spell, certified NVIDIA binary
+ drivers for older cards like from GeForce 200 series, based on spell
+ nvidia_driver
+
2012-07-05 Vlad Glagolev <stealth AT sourcemage.org>
* z-kernels/ralink-rt61: new spell, firmware for Ralink RT2501
(RT2561/RT2661) chipsets
diff --git a/z-kernels/nvidia_driver/CONFLICTS
b/z-kernels/nvidia_driver/CONFLICTS
index 147c177..b29cdd2 100755
--- a/z-kernels/nvidia_driver/CONFLICTS
+++ b/z-kernels/nvidia_driver/CONFLICTS
@@ -1,3 +1,4 @@
conflicts nvidia_legacy &&
conflicts nvidia_legacy_96xx &&
-conflicts nvidia_legacy_173xx
+conflicts nvidia_legacy_173xx &&
+conflicts nvidia_legacy_295xx
diff --git a/z-kernels/nvidia_driver/HISTORY b/z-kernels/nvidia_driver/HISTORY
index e0343be..3738fcb 100644
--- a/z-kernels/nvidia_driver/HISTORY
+++ b/z-kernels/nvidia_driver/HISTORY
@@ -1,3 +1,6 @@
+2012-08-10 Vlad Glagolev <stealth AT sourcemage.org>
+ * CONFLICTS: conflicts nvidia_legacy_295xx
+
2012-08-06 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 304.32 (ia32), SECURITY_PATCH=3

diff --git a/z-kernels/nvidia_legacy_173xx/CONFLICTS
b/z-kernels/nvidia_legacy_173xx/CONFLICTS
index 2be8aae..5976fb4 100755
--- a/z-kernels/nvidia_legacy_173xx/CONFLICTS
+++ b/z-kernels/nvidia_legacy_173xx/CONFLICTS
@@ -1,3 +1,4 @@
conflicts nvidia_driver &&
conflicts nvidia_legacy &&
-conflicts nvidia_legacy_96xx
+conflicts nvidia_legacy_96xx &&
+conflicts nvidia_legacy_295xx
diff --git a/z-kernels/nvidia_legacy_173xx/HISTORY
b/z-kernels/nvidia_legacy_173xx/HISTORY
index 902f8d9..3eb0ed0 100644
--- a/z-kernels/nvidia_legacy_173xx/HISTORY
+++ b/z-kernels/nvidia_legacy_173xx/HISTORY
@@ -1,3 +1,6 @@
+2012-08-10 Vlad Glagolev <stealth AT sourcemage.org>
+ * CONFLICTS: conflicts nvidia_legacy_295xx
+
2010-11-12 Andraž "ruskie" Levstik <ruskie+f03a580f AT codemages.net>
* INSTALL: fix for gl_select

diff --git a/z-kernels/nvidia_legacy_295xx/BUILD
b/z-kernels/nvidia_legacy_295xx/BUILD
new file mode 100755
index 0000000..823f85b
--- /dev/null
+++ b/z-kernels/nvidia_legacy_295xx/BUILD
@@ -0,0 +1,9 @@
+local KVER &&
+KVER=$(get_kernel_version) &&
+
+pushd $SOURCE_DIRECTORY/kernel &&
+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_295xx/CONFIGURE
b/z-kernels/nvidia_legacy_295xx/CONFIGURE
new file mode 100755
index 0000000..b8108d9
--- /dev/null
+++ b/z-kernels/nvidia_legacy_295xx/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_295xx/CONFLICTS
b/z-kernels/nvidia_legacy_295xx/CONFLICTS
new file mode 100755
index 0000000..7a5e747
--- /dev/null
+++ b/z-kernels/nvidia_legacy_295xx/CONFLICTS
@@ -0,0 +1,4 @@
+conflicts nvidia_driver &&
+conflicts nvidia_legacy &&
+conflicts nvidia_legacy_96xx &&
+conflicts nvidia_legacy_173xx
diff --git a/z-kernels/nvidia_legacy_295xx/DEPENDS
b/z-kernels/nvidia_legacy_295xx/DEPENDS
new file mode 100755
index 0000000..1f9b46f
--- /dev/null
+++ b/z-kernels/nvidia_legacy_295xx/DEPENDS
@@ -0,0 +1,4 @@
+depends xorg-server &&
+depends gtk+2 &&
+depends libxvmc &&
+depends which
diff --git a/z-kernels/nvidia_legacy_295xx/DETAILS
b/z-kernels/nvidia_legacy_295xx/DETAILS
new file mode 100755
index 0000000..08d42dc
--- /dev/null
+++ b/z-kernels/nvidia_legacy_295xx/DETAILS
@@ -0,0 +1,53 @@
+. $GRIMOIRE/FUNCTIONS
+ SPELL=nvidia_legacy_295xx
+case "${SMGL_COMPAT_ARCHS[1]}" in
+ x86_64)
+if [[ $NVIDIA_BETA == y ]]; then
+ VERSION=295.71
+
SOURCE_HASH=sha512:7eb21240ca44a648c081e38aab3ae6203ca70f2dd4ab187c67ef1f3cff9ab848f4040a640dfbd1f146135b37b98c6976943ff6caef8806a25784ff2263d23e8d
+else
+ VERSION=295.71
+
SOURCE_HASH=sha512:7eb21240ca44a648c081e38aab3ae6203ca70f2dd4ab187c67ef1f3cff9ab848f4040a640dfbd1f146135b37b98c6976943ff6caef8806a25784ff2263d23e8d
+fi
+ SOURCE=NVIDIA-Linux-x86_64-$VERSION.run
+
SOURCE_URL=http://us.download.nvidia.com/XFree86/Linux-x86_64/$VERSION/$SOURCE
+
SOURCE_URL[1]=http://download.nvidia.com/XFree86/Linux-x86_64/${VERSION}/${SOURCE}
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/NVIDIA-Linux-x86_64-$VERSION"
+ SECURITY_PATCH=1
+ ;;
+ ia32)
+if [[ $NVIDIA_BETA == y ]]; then
+ VERSION=295.71
+
SOURCE_HASH=sha512:430b884d8e510dd2a722d4893f85a4f8e4227e3cfcbdd802ef1edfd776d4f6ca487854e1fc509537285fdc38c2d87474e3e7c9ed728871527a06227fd4306e3c
+else
+ VERSION=295.71
+
SOURCE_HASH=sha512:430b884d8e510dd2a722d4893f85a4f8e4227e3cfcbdd802ef1edfd776d4f6ca487854e1fc509537285fdc38c2d87474e3e7c9ed728871527a06227fd4306e3c
+fi
+ SOURCE=NVIDIA-Linux-x86-$VERSION.run
+
SOURCE_URL=http://us.download.nvidia.com/XFree86/Linux-x86/$VERSION/$SOURCE
+ SOURCE_URL[1]=ftp://download.nvidia.com/XFree86/Linux-x86/$VERSION/$SOURCE
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/NVIDIA-Linux-x86-$VERSION"
+ SECURITY_PATCH=3
+ ;;
+############################################################
+# 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
+ REJECT="Non-Free Software license"
+ LICENSE[0]=http://www.nvidia.com/object/nv_swlicense.html
+ SHORT="Driver provided by NVIDIA for NVIDIA GPUs"
+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_295xx/FINAL
b/z-kernels/nvidia_legacy_295xx/FINAL
new file mode 100755
index 0000000..c6cae2c
--- /dev/null
+++ b/z-kernels/nvidia_legacy_295xx/FINAL
@@ -0,0 +1,2 @@
+glselect nvidia &&
+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_295xx/HISTORY
b/z-kernels/nvidia_legacy_295xx/HISTORY
new file mode 100644
index 0000000..3afe0cc
--- /dev/null
+++ b/z-kernels/nvidia_legacy_295xx/HISTORY
@@ -0,0 +1,4 @@
+2012-08-10 Vlad Glagolev <stealth AT sourcemage.org>
+ * BUILD, CONFIGURE, CONFLICTS, DEPENDS, DETAILS, FINAL, INSTALL,
+ LICENSE, POST_RESURRECT, PRE_BUILD, PREPARE, PRE_REMOVE, PROVIDES,
+ TRIGGERS, UNATTEND_SAFE: spell created
diff --git a/z-kernels/nvidia_legacy_295xx/INSTALL
b/z-kernels/nvidia_legacy_295xx/INSTALL
new file mode 100755
index 0000000..b00b68a
--- /dev/null
+++ b/z-kernels/nvidia_legacy_295xx/INSTALL
@@ -0,0 +1,205 @@
+local X_MOD KVER &&
+KVER=$(get_kernel_version) &&
+
+#
+# Install kernel module 'nvidia.ko'
+#
+pushd $SOURCE_DIRECTORY/kernel &&
+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
+#
+for file in nvidia-bug-report.sh nvidia-settings nvidia-xconfig; do
+ install -v -m 0755 -o root -g root $file $INSTALL_ROOT/usr/bin
+done &&
+install -v -m 0766 -o root -g root nvidia-installer
$INSTALL_ROOT/usr/bin &&
+
+#
+# Install OpenGL headers
+#
+mkdir -vp $INSTALL_ROOT/usr/include/GL/.nvidia
+for file in glext.h gl.h glxext.h glx.h; do
+ install -v -m 0644 -o root -g root $file
$INSTALL_ROOT/usr/include/GL/.nvidia/
+done &&
+
+#
+# Install OpenGL libraries
+#
+
+# Fill in the path to libGL.so
+sed -i 's|__LIBGL_PATH__|/usr/lib|' libGL.la
+for lib in libGL.la libnvidia-glcore.so.${VERSION/-/.} \
+ libnvidia-tls.so.${VERSION/-/.} libnvidia-cfg.so.${VERSION/-/.} \
+ libnvidia-compiler.so.${VERSION/-/.}
libnvidia-wfb.so.${VERSION/-/.}; do
+ install -v -m 0644 -o root -g root $lib $INSTALL_ROOT/usr/lib
+done &&
+mkdir -vp $INSTALL_ROOT/usr/lib/.nvidia \
+ $INSTALL_ROOT/usr/lib/xorg/modules/extensions/.nvidia/ &&
+cp -vr libGL.so.${VERSION/-/.} $INSTALL_ROOT/usr/lib/.nvidia &&
+mkdir -vp $INSTALL_ROOT/usr/lib/tls &&
+install -v -m 0644 -o root -g root tls/libnvidia-tls.so.${VERSION/-/.} \
+ $INSTALL_ROOT/usr/lib/tls &&
+ #
+ # Create library symlinks
+ #
+ pushd $INSTALL_ROOT/usr/lib/.nvidia &&
+ ln -sfn libGL.so.${VERSION/-/.} libGL.so.1 &&
+ ln -sfn libGL.so.1 libGL.so &&
+ popd
+ pushd $INSTALL_ROOT/usr/lib &&
+ ln -sfn libnvidia-glcore.so.${VERSION/-/.} libGLcore.so.1 &&
+ 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 &&
+
+#
+# Install X11 OpenGL libraries
+#
+for lib in libXvMCNVIDIA.a libXvMCNVIDIA.so.${VERSION/-/.}; do
+ install -v -m 0644 -o root -g root $lib $INSTALL_ROOT/usr/lib
+done &&
+ #
+ # Setup symlinks
+ #
+ pushd $INSTALL_ROOT/usr/lib &&
+ ln -sfn libXvMCNVIDIA.so.${VERSION/-/.} libXvMCNVIDIA_dynamic.so.1 &&
+ popd &&
+
+#
+# Install X11 modules
+#
+mkdir -vp $INSTALL_ROOT/usr/lib/xorg/modules/drivers
&&
+for driver in nvidia_drv.so; do
+ install -v -m 0644 -o root -g root \
+ $driver $INSTALL_ROOT/usr/lib/xorg/modules/drivers/
+done &&
+install -v -m 0644 -o root -g root libglx.so.${VERSION/-/.} \
+ $INSTALL_ROOT/usr/lib/xorg/modules/extensions/.nvidia &&
+#
+# Setup symlinks
+#
+pushd $INSTALL_ROOT/usr/lib/xorg/modules/extensions/.nvidia &&
+ln -sfn libglx.so.${VERSION/-/.} libglx.so &&
+popd &&
+
+#
+# Install Cuda headers
+#
+#mkdir -vp $INSTALL_ROOT/usr/include/cuda
+#for file in cudaGL.h cuda.h; do
+# install -v -m 0644 -o root -g root $file
$INSTALL_ROOT/usr/include/cuda/
+#done &&
+
+#
+# Install Cuda libraries
+#
+for lib in libcuda.so.${VERSION/-/.}; do
+ install -v -m 0644 -o root -g root $lib $INSTALL_ROOT/usr/lib
+done &&
+ #
+ # Setup symlinks
+ #
+ pushd $INSTALL_ROOT/usr/lib &&
+ ln -sfn libcuda.so.${VERSION/-/.} libcuda.so.1 &&
+ ln -sfn libcuda.so.1 libcuda.so &&
+ popd &&
+
+#
+# Install VDPAU headers
+#
+#mkdir -vp $INSTALL_ROOT/usr/include/vdpau
+#for file in vdpau.h vdpau_x11.h; do
+# install -v -m 0644 -o root -g root $file
$INSTALL_ROOT/usr/include/vdpau/
+#done &&
+
+#
+# Install VDPAU libraries
+#
+for lib in libvdpau.so.${VERSION/-/.}; do
+ install -v -m 0644 -o root -g root $lib $INSTALL_ROOT/usr/lib/
+done &&
+mkdir -vp $INSTALL_ROOT/usr/lib/vdpau
+for lib in libvdpau_nvidia.so.${VERSION/-/.}
libvdpau_trace.so.${VERSION/-/.}; do
+ install -v -m 0644 -o root -g root $lib $INSTALL_ROOT/usr/lib/vdpau/
+done &&
+ #
+ # Setup symlinks
+ #
+ pushd $INSTALL_ROOT/usr/lib
&&
+ ln -sfn libvdpau.so.${VERSION/-/.} libvdpau.so.1
&&
+ ln -sfn libvdpau.so.1 libvdpau.so
&&
+ popd
&&
+ pushd $INSTALL_ROOT/usr/lib/vdpau
&&
+ ln -sfn libvdpau_nvidia.so.${VERSION/-/.} libvdpau_nvidia.so.1
&&
+ ln -sfn libvdpau_nvidia.so.1 libvdpau_nvidia.so
&&
+ ln -sfn libvdpau_trace.so.${VERSION/-/.} libvdpau_trace.so.1
&&
+ ln -sfn libvdpau_trace.so.1 libvdpau_trace.so
&&
+ popd &&
+
+#
+# Install OpenCL headers
+#
+#mkdir -vp $INSTALL_ROOT/usr/include/CL
+#for file in cl_gl.h cl.h cl_platform.h; do
+# install -v -m 0644 -o root -g root $file $INSTALL_ROOT/usr/include/CL/
+#done &&
+
+#
+# Install OpenCL libraries
+#
+for lib in libOpenCL.so.1.0.0; do
+ install -v -m 0644 -o root -g root $lib $INSTALL_ROOT/usr/lib/
+done &&
+ #
+ # Setup symlinks
+ #
+ pushd $INSTALL_ROOT/usr/lib &&
+ ln -sfn libOpenCL.so.1.0.0 libOpenCL.so.1 &&
+ ln -sfn libOpenCL.so.1 libOpenCL.so &&
+ popd &&
+
+#
+# Install Freedesktop.org spec
+#
+install -m 0644 -o root -g root \
+ $SOURCE_DIRECTORY/nvidia-settings.desktop \
+ $INSTALL_ROOT/usr/share/applications &&
+
+#
+# Install documentation
+#
+pushd $SOURCE_DIRECTORY/html &&
+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 &&
+popd &&
+
+# Install pixmap
+mkdir -p $INSTALL_ROOT/usr/share/pixmaps/ &&
+cp 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
+#
+for manual in nvidia-installer.1.gz nvidia-settings.1.gz nvidia-smi.1.gz
nvidia-xconfig.1.gz
+do
+ install -m 0644 -o root -g root $manual
$INSTALL_ROOT/usr/share/man/man1
+done
diff --git a/z-kernels/nvidia_legacy_295xx/LICENSE
b/z-kernels/nvidia_legacy_295xx/LICENSE
new file mode 100644
index 0000000..11bcb76
--- /dev/null
+++ b/z-kernels/nvidia_legacy_295xx/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_295xx/POST_RESURRECT
b/z-kernels/nvidia_legacy_295xx/POST_RESURRECT
new file mode 100755
index 0000000..9bbc0f8
--- /dev/null
+++ b/z-kernels/nvidia_legacy_295xx/POST_RESURRECT
@@ -0,0 +1,2 @@
+. $GRIMOIRE/FUNCTIONS
+glselect nvidia
diff --git a/z-kernels/nvidia_legacy_295xx/PREPARE
b/z-kernels/nvidia_legacy_295xx/PREPARE
new file mode 100755
index 0000000..e7af563
--- /dev/null
+++ b/z-kernels/nvidia_legacy_295xx/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_295xx/PRE_BUILD
b/z-kernels/nvidia_legacy_295xx/PRE_BUILD
new file mode 100755
index 0000000..50450ce
--- /dev/null
+++ b/z-kernels/nvidia_legacy_295xx/PRE_BUILD
@@ -0,0 +1,37 @@
+unpack_file '' &&
+
+sh $SOURCE_CACHE/$SOURCE --extract-only \
+ --target $SOURCE_DIRECTORY &&
+cd $SOURCE_DIRECTORY &&
+
+if [[ $VIA4X == "y" ]]; then
+ sedit "s/NV_DEFINE_REG_ENTRY(__NV_ENABLE_VIA_4X,
0)/NV_DEFINE_REG_ENTRY(__NV_ENABLE_VIA_4X, 1)/" \
+ kernel/nv-reg.h
+fi &&
+if [[ $ALiAGP == "y" ]]; then
+ sedit "s/NV_DEFINE_REG_ENTRY(__NV_ENABLE_ALI_AGP,
0)/NV_DEFINE_REG_ENTRY(__NV_ENABLE_ALI_AGP, 1)/" \
+ kernel/nv-reg.h
+fi &&
+if [[ $AGPSBA == "y" ]]; then
+ sedit "s/NV_DEFINE_REG_ENTRY(__NV_ENABLE_AGPSBA,
0)/NV_DEFINE_REG_ENTRY(__NV_ENABLE_AGPSBA, 1)/" \
+ kernel/nv-reg.h
+fi &&
+if [[ $AGPFW == "y" ]]; then
+ sedit "s/NV_DEFINE_REG_ENTRY(__NV_ENABLE_AGPFW,
0)/NV_DEFINE_REG_ENTRY(__NV_ENABLE_AGPFW, 1)/" \
+ kernel/nv-reg.h
+fi &&
+
+# Fix defunct desktop file
+sedit 's/__.*__\///' nvidia-settings.desktop &&
+
+#
+# Modify module-install target to use `depmod -ae` on $KVER rather
+# than the running kernel
+#
+sedit 's:depmod -ae:& \$(KERNEL_UNAME):' kernel/Makefile.kbuild &&
+
+#
+# Setup Makefile symlink
+#
+cd $SOURCE_DIRECTORY/kernel &&
+ln -sfn Makefile.kbuild Makefile
diff --git a/z-kernels/nvidia_legacy_295xx/PRE_REMOVE
b/z-kernels/nvidia_legacy_295xx/PRE_REMOVE
new file mode 100755
index 0000000..1895a77
--- /dev/null
+++ b/z-kernels/nvidia_legacy_295xx/PRE_REMOVE
@@ -0,0 +1 @@
+glselect mesa
diff --git a/z-kernels/nvidia_legacy_295xx/PROVIDES
b/z-kernels/nvidia_legacy_295xx/PROVIDES
new file mode 100755
index 0000000..b24682e
--- /dev/null
+++ b/z-kernels/nvidia_legacy_295xx/PROVIDES
@@ -0,0 +1,2 @@
+OPENGL
+NVIDIA
diff --git a/z-kernels/nvidia_legacy_295xx/TRIGGERS
b/z-kernels/nvidia_legacy_295xx/TRIGGERS
new file mode 100755
index 0000000..1f100d2
--- /dev/null
+++ b/z-kernels/nvidia_legacy_295xx/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_295xx/UNATTEND_SAFE
b/z-kernels/nvidia_legacy_295xx/UNATTEND_SAFE
new file mode 100644
index 0000000..e69de29
diff --git a/z-kernels/nvidia_legacy_96xx/CONFLICTS
b/z-kernels/nvidia_legacy_96xx/CONFLICTS
index 1a2a050..2a6f92b 100755
--- a/z-kernels/nvidia_legacy_96xx/CONFLICTS
+++ b/z-kernels/nvidia_legacy_96xx/CONFLICTS
@@ -1,3 +1,4 @@
conflicts nvidia_driver &&
conflicts nvidia_legacy &&
-conflicts nvidia_legacy_173xx
+conflicts nvidia_legacy_173xx &&
+conflicts nvidia_legacy_295xx
diff --git a/z-kernels/nvidia_legacy_96xx/HISTORY
b/z-kernels/nvidia_legacy_96xx/HISTORY
index 5af452b..e5d7292 100644
--- a/z-kernels/nvidia_legacy_96xx/HISTORY
+++ b/z-kernels/nvidia_legacy_96xx/HISTORY
@@ -1,3 +1,6 @@
+2012-08-10 Vlad Glagolev <stealth AT sourcemage.org>
+ * CONFLICTS: conflicts nvidia_legacy_295xx
+
2012-02-18 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 96.43.20 (fixes #349); quoting paths;
cleaned up



  • [SM-Commit] GIT changes to master z-rejected grimoire by Vlad Glagolev (df1340bf2c0634517b9b3eb9e38b03137ed3b9a7), Vlad Glagolev, 08/10/2012

Archive powered by MHonArc 2.6.24.

Top of Page