Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master z-rejected grimoire by Ladislav Hagara (75a79e9650693c89ec4ed119b00b5234e7ad6e23)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ladislav Hagara <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master z-rejected grimoire by Ladislav Hagara (75a79e9650693c89ec4ed119b00b5234e7ad6e23)
  • Date: Wed, 28 Jan 2015 10:33:27 -0600

GIT changes to master z-rejected grimoire by Ladislav Hagara <hgr AT vabo.cz>:

ChangeLog | 4
z-kernels/nvidia_legacy_340xx/BUILD | 13 +
z-kernels/nvidia_legacy_340xx/CONFLICTS | 6
z-kernels/nvidia_legacy_340xx/DEPENDS | 11 +
z-kernels/nvidia_legacy_340xx/DETAILS | 53 ++++
z-kernels/nvidia_legacy_340xx/FINAL | 2
z-kernels/nvidia_legacy_340xx/HISTORY | 2
z-kernels/nvidia_legacy_340xx/INSTALL | 213
++++++++++++++++++++
z-kernels/nvidia_legacy_340xx/LICENSE | 127 +++++++++++
z-kernels/nvidia_legacy_340xx/POST_RESURRECT | 2
z-kernels/nvidia_legacy_340xx/PREPARE | 16 +
z-kernels/nvidia_legacy_340xx/PRE_BUILD | 22 ++
z-kernels/nvidia_legacy_340xx/PRE_REMOVE | 1
z-kernels/nvidia_legacy_340xx/PROVIDES | 2
z-kernels/nvidia_legacy_340xx/REPAIR^all^PRE_REMOVE | 2
z-kernels/nvidia_legacy_340xx/TRIGGERS | 8
16 files changed, 484 insertions(+)

New commits:
commit 75a79e9650693c89ec4ed119b00b5234e7ad6e23
Author: Ladislav Hagara <hgr AT vabo.cz>
Commit: Ladislav Hagara <hgr AT vabo.cz>

z-kernels/nvidia_legacy_340xx: new spell, certified NVIDIA binary
drivers for older cards, based on spell nvidia_driver

diff --git a/ChangeLog b/ChangeLog
index e214f60..ce81135 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-28 Ladislav Hagara <hgr AT vabo.cz>
+ * z-kernels/nvidia_legacy_340xx: new spell, certified NVIDIA binary
+ drivers for older cards, based on spell nvidia_driver
+
2015-01-24 Pavel Vinogradov <public AT sourcemage.org>
* gurus.gpg: added my new uids

diff --git a/z-kernels/nvidia_legacy_340xx/BUILD
b/z-kernels/nvidia_legacy_340xx/BUILD
new file mode 100755
index 0000000..d14f15a
--- /dev/null
+++ b/z-kernels/nvidia_legacy_340xx/BUILD
@@ -0,0 +1,13 @@
+local KVER &&
+KVER=$(get_kernel_version) &&
+
+if [[ "$NVIDIA_BETA" == "n" ]]; then
+ MAKEFILE=Makefile
+else
+ MAKEFILE=Makefile
+fi &&
+cd $SOURCE_DIRECTORY/kernel &&
+make KERNEL_MODLIB=$INSTALL_ROOT/lib/modules/$KVER \
+ KERNEL_UNAME=$KVER \
+ SYSSRC=$INSTALL_ROOT/lib/modules/$KVER/source \
+ -f $MAKEFILE module
diff --git a/z-kernels/nvidia_legacy_340xx/CONFLICTS
b/z-kernels/nvidia_legacy_340xx/CONFLICTS
new file mode 100755
index 0000000..ecbb07e
--- /dev/null
+++ b/z-kernels/nvidia_legacy_340xx/CONFLICTS
@@ -0,0 +1,6 @@
+conflicts nvidia_driver &&
+conflicts nvidia_legacy &&
+conflicts nvidia_legacy_96xx &&
+conflicts nvidia_legacy_173xx &&
+conflicts nvidia_legacy_295xx &&
+conflicts nvidia_legacy_304xx
diff --git a/z-kernels/nvidia_legacy_340xx/DEPENDS
b/z-kernels/nvidia_legacy_340xx/DEPENDS
new file mode 100755
index 0000000..a5683a0
--- /dev/null
+++ b/z-kernels/nvidia_legacy_340xx/DEPENDS
@@ -0,0 +1,11 @@
+. "$GRIMOIRE/FUNCTIONS" &&
+
+depends xorg-server &&
+suggest_depends gtk+2 "" "" "to install the nvidia-settings tool" &&
+depends libxvmc &&
+depends which &&
+
+# PangoX was removed between 1.30.1 and 1.31.0
+if spell_ok pango && is_version_less 1.30.1 $(installed_version pango); then
+ depends pangox-compat
+fi
diff --git a/z-kernels/nvidia_legacy_340xx/DETAILS
b/z-kernels/nvidia_legacy_340xx/DETAILS
new file mode 100755
index 0000000..bead028
--- /dev/null
+++ b/z-kernels/nvidia_legacy_340xx/DETAILS
@@ -0,0 +1,53 @@
+. $GRIMOIRE/FUNCTIONS
+ SPELL=nvidia_legacy_340xx
+case "${SMGL_COMPAT_ARCHS[1]}" in
+ x86_64)
+if [[ $NVIDIA_BETA == y ]]; then
+ VERSION=340.76
+
SOURCE_HASH=sha512:45d7b29670f9ca50de80d6d61260015b45f74422bbd12039923d04ae8b033b903b27e9f4c174461055f3cf45a4af44565ce9a8b9cd671e0e54d37770a1156839
+else
+ VERSION=340.76
+
SOURCE_HASH=sha512:45d7b29670f9ca50de80d6d61260015b45f74422bbd12039923d04ae8b033b903b27e9f4c174461055f3cf45a4af44565ce9a8b9cd671e0e54d37770a1156839
+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=340.76
+
SOURCE_HASH=sha512:45d7b29670f9ca50de80d6d61260015b45f74422bbd12039923d04ae8b033b903b27e9f4c174461055f3cf45a4af44565ce9a8b9cd671e0e54d37770a1156839
+else
+ VERSION=340.76
+
SOURCE_HASH=sha512:45d7b29670f9ca50de80d6d61260015b45f74422bbd12039923d04ae8b033b903b27e9f4c174461055f3cf45a4af44565ce9a8b9cd671e0e54d37770a1156839
+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=20150128
+ 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_340xx/FINAL
b/z-kernels/nvidia_legacy_340xx/FINAL
new file mode 100755
index 0000000..c6cae2c
--- /dev/null
+++ b/z-kernels/nvidia_legacy_340xx/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_340xx/HISTORY
b/z-kernels/nvidia_legacy_340xx/HISTORY
new file mode 100644
index 0000000..2e47947
--- /dev/null
+++ b/z-kernels/nvidia_legacy_340xx/HISTORY
@@ -0,0 +1,2 @@
+2015-01-28 Ladislav Hagara <hgr AT vabo.cz>
+ * *: spell created, copied from nvidia_driver and set to 340.76
diff --git a/z-kernels/nvidia_legacy_340xx/INSTALL
b/z-kernels/nvidia_legacy_340xx/INSTALL
new file mode 100755
index 0000000..653564b
--- /dev/null
+++ b/z-kernels/nvidia_legacy_340xx/INSTALL
@@ -0,0 +1,213 @@
+local X_MOD KVER &&
+KVER=$(get_kernel_version) &&
+
+if [[ "$NVIDIA_BETA" == "n" ]]; then
+ MAKEFILE=Makefile
+else
+ MAKEFILE=Makefile
+fi &&
+#
+# Install kernel module 'nvidia.ko'
+#
+cd $SOURCE_DIRECTORY/kernel &&
+make KERNEL_MODLIB=$INSTALL_ROOT/lib/modules/$KVER \
+ KERNEL_UNAME=$KVER \
+ SYSSRC=$INSTALL_ROOT/lib/modules/$KVER/source \
+ -f $MAKEFILE module-install &&
+cd $SOURCE_DIRECTORY &&
+
+#
+# Install binaries and script
+#
+if is_depends_enabled $SPELL gtk+2; then
+ install -v -m 0755 -o root -g root nvidia-settings $INSTALL_ROOT/usr/bin
+fi &&
+for file in nvidia-bug-report.sh nvidia-xconfig nvidia-debugdump nvidia-smi \
+ nvidia-cuda-mps-server nvidia-cuda-mps-control
nvidia-persistenced; 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/-/.} \
+ libnvidia-eglcore.so.${VERSION/-/.}
libnvidia-glsi.so.${VERSION/-/.} \
+ libnvidia-ifr.so.${VERSION/-/.} libnvidia-fbc.so.${VERSION/-/.} \
+ libnvidia-encode.so.${VERSION/-/.}
libnvidia-ml.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 &&
+cp -vr libEGL.so.${VERSION/-/.} $INSTALL_ROOT/usr/lib/.nvidia &&
+cp -vr libGLESv1_CM.so.${VERSION/-/.} $INSTALL_ROOT/usr/lib/.nvidia &&
+cp -vr libGLESv2.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 &&
+ ln -sfn libEGL.so.${VERSION/-/.} libEGL.so.1 &&
+ ln -sfn libEGL.so.1 libEGL.so &&
+ ln -sfn libGLESv1_CM.so.${VERSION/-/.} libGLESv1_CM.so.1 &&
+ ln -sfn libGLESv1_CM.so.1 libGLESv1_CM.so &&
+ ln -sfn libGLESv2.so.${VERSION/-/.} libGLESv2.so.1 &&
+ ln -sfn libGLESv2.so.1 libGLESv2.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 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/-/.} libnvcuvid.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 nvidia-cuda-mps-control.1.gz
nvidia-persistenced.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_340xx/LICENSE
b/z-kernels/nvidia_legacy_340xx/LICENSE
new file mode 100644
index 0000000..11bcb76
--- /dev/null
+++ b/z-kernels/nvidia_legacy_340xx/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_340xx/POST_RESURRECT
b/z-kernels/nvidia_legacy_340xx/POST_RESURRECT
new file mode 100755
index 0000000..9bbc0f8
--- /dev/null
+++ b/z-kernels/nvidia_legacy_340xx/POST_RESURRECT
@@ -0,0 +1,2 @@
+. $GRIMOIRE/FUNCTIONS
+glselect nvidia
diff --git a/z-kernels/nvidia_legacy_340xx/PREPARE
b/z-kernels/nvidia_legacy_340xx/PREPARE
new file mode 100755
index 0000000..e7af563
--- /dev/null
+++ b/z-kernels/nvidia_legacy_340xx/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_340xx/PRE_BUILD
b/z-kernels/nvidia_legacy_340xx/PRE_BUILD
new file mode 100755
index 0000000..12c87b9
--- /dev/null
+++ b/z-kernels/nvidia_legacy_340xx/PRE_BUILD
@@ -0,0 +1,22 @@
+unpack_file '' &&
+
+sh $SOURCE_CACHE/$SOURCE --extract-only \
+ --target $SOURCE_DIRECTORY &&
+cd $SOURCE_DIRECTORY &&
+
+# Fix defunct desktop file
+sedit 's/__.*__\///' nvidia-settings.desktop &&
+
+#
+# Setup Makefile symlink
+#
+cd $SOURCE_DIRECTORY/kernel &&
+#if [[ "$NVIDIA_BETA" == "n" ]]; then
+# ln -sfn Makefile.kbuild Makefile
+#fi &&
+
+#
+# Modify module-install target to use `depmod -ae` on $KVER rather
+# than the running kernel
+#
+sedit 's:depmod -ae:& \$(KERNEL_UNAME):' Makefile
diff --git a/z-kernels/nvidia_legacy_340xx/PRE_REMOVE
b/z-kernels/nvidia_legacy_340xx/PRE_REMOVE
new file mode 100755
index 0000000..1895a77
--- /dev/null
+++ b/z-kernels/nvidia_legacy_340xx/PRE_REMOVE
@@ -0,0 +1 @@
+glselect mesa
diff --git a/z-kernels/nvidia_legacy_340xx/PROVIDES
b/z-kernels/nvidia_legacy_340xx/PROVIDES
new file mode 100755
index 0000000..b24682e
--- /dev/null
+++ b/z-kernels/nvidia_legacy_340xx/PROVIDES
@@ -0,0 +1,2 @@
+OPENGL
+NVIDIA
diff --git a/z-kernels/nvidia_legacy_340xx/REPAIR^all^PRE_REMOVE
b/z-kernels/nvidia_legacy_340xx/REPAIR^all^PRE_REMOVE
new file mode 100755
index 0000000..5592ab8
--- /dev/null
+++ b/z-kernels/nvidia_legacy_340xx/REPAIR^all^PRE_REMOVE
@@ -0,0 +1,2 @@
+. $GRIMOIRE/FUNCTIONS &&
+glselect mesa
diff --git a/z-kernels/nvidia_legacy_340xx/TRIGGERS
b/z-kernels/nvidia_legacy_340xx/TRIGGERS
new file mode 100755
index 0000000..1f100d2
--- /dev/null
+++ b/z-kernels/nvidia_legacy_340xx/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_340xx/UNATTEND_SAFE
b/z-kernels/nvidia_legacy_340xx/UNATTEND_SAFE
new file mode 100644
index 0000000..e69de29



  • [SM-Commit] GIT changes to master z-rejected grimoire by Ladislav Hagara (75a79e9650693c89ec4ed119b00b5234e7ad6e23), Ladislav Hagara, 01/28/2015

Archive powered by MHonArc 2.6.24.

Top of Page