Skip to Content.
Sympa Menu

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

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 (31b6da4c7ae48fcf97a89f4184b246f0f6c59a47)
  • Date: Thu, 7 Mar 2013 06:37:58 -0600

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

ChangeLog | 4
z-kernels/nvidia_driver/CONFLICTS | 3
z-kernels/nvidia_driver/HISTORY | 3
z-kernels/nvidia_legacy/CONFLICTS | 4
z-kernels/nvidia_legacy/HISTORY | 3
z-kernels/nvidia_legacy_173xx/CONFLICTS | 3
z-kernels/nvidia_legacy_173xx/HISTORY | 3
z-kernels/nvidia_legacy_295xx/CONFLICTS | 3
z-kernels/nvidia_legacy_295xx/HISTORY | 3
z-kernels/nvidia_legacy_304xx/BUILD | 9 +
z-kernels/nvidia_legacy_304xx/CONFLICTS | 5
z-kernels/nvidia_legacy_304xx/DEPENDS | 11 +
z-kernels/nvidia_legacy_304xx/DETAILS | 40 +++++
z-kernels/nvidia_legacy_304xx/FINAL | 2
z-kernels/nvidia_legacy_304xx/HISTORY | 7
z-kernels/nvidia_legacy_304xx/INSTALL | 192
+++++++++++++++++++++++++++
z-kernels/nvidia_legacy_304xx/LICENSE | 127 +++++++++++++++++
z-kernels/nvidia_legacy_304xx/POST_RESURRECT | 2
z-kernels/nvidia_legacy_304xx/PREPARE | 14 +
z-kernels/nvidia_legacy_304xx/PRE_BUILD | 20 ++
z-kernels/nvidia_legacy_304xx/PRE_REMOVE | 1
z-kernels/nvidia_legacy_304xx/PROVIDES | 2
z-kernels/nvidia_legacy_304xx/TRIGGERS | 8 +
z-kernels/nvidia_legacy_96xx/CONFLICTS | 3
z-kernels/nvidia_legacy_96xx/HISTORY | 3
25 files changed, 470 insertions(+), 5 deletions(-)

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

nvidia_driver: conflicts nvidia_legacy_304xx

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

nvidia_legacy: conflicts nvidia_legacy_295xx/nvidia_legacy_304xx

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

nvidia_legacy_96xx: conflicts nvidia_legacy_304xx

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

nvidia_legacy_173xx: conflicts nvidia_legacy_304xx

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

nvidia_legacy_295xx: conflicts nvidia_legacy_304xx

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

nvidia_legacy_304xx: new spell, certified NVIDIA binary drivers for older
cards, based on spell nvidia_driver

diff --git a/ChangeLog b/ChangeLog
index 6e4af80..46e5c12 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-07 Vlad Glagolev <stealth AT sourcemage.org>
+ * z-kernels/nvidia_legacy_304xx: new spell, certified NVIDIA binary
+ drivers for older cards, based on spell nvidia_driver
+
2013-02-19 Eric Sandall <sandalle AT sourcemage.org>
* z-games/steam: STEAM Linux client

diff --git a/z-kernels/nvidia_driver/CONFLICTS
b/z-kernels/nvidia_driver/CONFLICTS
index b29cdd2..d2cbe33 100755
--- a/z-kernels/nvidia_driver/CONFLICTS
+++ b/z-kernels/nvidia_driver/CONFLICTS
@@ -1,4 +1,5 @@
conflicts nvidia_legacy &&
conflicts nvidia_legacy_96xx &&
conflicts nvidia_legacy_173xx &&
-conflicts nvidia_legacy_295xx
+conflicts nvidia_legacy_295xx &&
+conflicts nvidia_legacy_304xx
diff --git a/z-kernels/nvidia_driver/HISTORY b/z-kernels/nvidia_driver/HISTORY
index aee54f5..6f772c3 100644
--- a/z-kernels/nvidia_driver/HISTORY
+++ b/z-kernels/nvidia_driver/HISTORY
@@ -1,3 +1,6 @@
+2013-03-07 Vlad Glagolev <stealth AT sourcemage.org>
+ * CONFLICTS: conflicts nvidia_legacy_304xx
+
2013-03-06 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DETAILS: devel version 313.26

diff --git a/z-kernels/nvidia_legacy/CONFLICTS
b/z-kernels/nvidia_legacy/CONFLICTS
index 4db3a3a..872ad7d 100755
--- a/z-kernels/nvidia_legacy/CONFLICTS
+++ b/z-kernels/nvidia_legacy/CONFLICTS
@@ -1,3 +1,5 @@
conflicts nvidia_driver &&
conflicts nvidia_legacy_96xx &&
-conflicts nvidia_legacy_173xx
+conflicts nvidia_legacy_173xx &&
+conflicts nvidia_legacy_295xx &&
+conflicts nvidia_legacy_304xx
diff --git a/z-kernels/nvidia_legacy/HISTORY b/z-kernels/nvidia_legacy/HISTORY
index f71188f..7ac5a45 100644
--- a/z-kernels/nvidia_legacy/HISTORY
+++ b/z-kernels/nvidia_legacy/HISTORY
@@ -1,3 +1,6 @@
+2013-03-07 Vlad Glagolev <stealth AT sourcemage.org>
+ * CONFLICTS: added nvidia_legacy_295xx and nvidia_legacy_304xx
+
2010-11-12 Andraž "ruskie" Levstik <ruskie+f03a580f AT codemages.net>
* INSTALL: fix for gl_select

diff --git a/z-kernels/nvidia_legacy_173xx/CONFLICTS
b/z-kernels/nvidia_legacy_173xx/CONFLICTS
index 5976fb4..505f0b6 100755
--- a/z-kernels/nvidia_legacy_173xx/CONFLICTS
+++ b/z-kernels/nvidia_legacy_173xx/CONFLICTS
@@ -1,4 +1,5 @@
conflicts nvidia_driver &&
conflicts nvidia_legacy &&
conflicts nvidia_legacy_96xx &&
-conflicts nvidia_legacy_295xx
+conflicts nvidia_legacy_295xx &&
+conflicts nvidia_legacy_304xx
diff --git a/z-kernels/nvidia_legacy_173xx/HISTORY
b/z-kernels/nvidia_legacy_173xx/HISTORY
index 3eb0ed0..2efa894 100644
--- a/z-kernels/nvidia_legacy_173xx/HISTORY
+++ b/z-kernels/nvidia_legacy_173xx/HISTORY
@@ -1,3 +1,6 @@
+2013-03-07 Vlad Glagolev <stealth AT sourcemage.org>
+ * CONFLICTS: conflicts nvidia_legacy_304xx
+
2012-08-10 Vlad Glagolev <stealth AT sourcemage.org>
* CONFLICTS: conflicts nvidia_legacy_295xx

diff --git a/z-kernels/nvidia_legacy_295xx/CONFLICTS
b/z-kernels/nvidia_legacy_295xx/CONFLICTS
index 7a5e747..f7e60bb 100755
--- a/z-kernels/nvidia_legacy_295xx/CONFLICTS
+++ b/z-kernels/nvidia_legacy_295xx/CONFLICTS
@@ -1,4 +1,5 @@
conflicts nvidia_driver &&
conflicts nvidia_legacy &&
conflicts nvidia_legacy_96xx &&
-conflicts nvidia_legacy_173xx
+conflicts nvidia_legacy_173xx &&
+conflicts nvidia_legacy_304xx
diff --git a/z-kernels/nvidia_legacy_295xx/HISTORY
b/z-kernels/nvidia_legacy_295xx/HISTORY
index 3afe0cc..f64e8a2 100644
--- a/z-kernels/nvidia_legacy_295xx/HISTORY
+++ b/z-kernels/nvidia_legacy_295xx/HISTORY
@@ -1,3 +1,6 @@
+2013-03-07 Vlad Glagolev <stealth AT sourcemage.org>
+ * CONFLICTS: added nvidia_legacy_304xx
+
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,
diff --git a/z-kernels/nvidia_legacy_304xx/BUILD
b/z-kernels/nvidia_legacy_304xx/BUILD
new file mode 100755
index 0000000..823f85b
--- /dev/null
+++ b/z-kernels/nvidia_legacy_304xx/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_304xx/CONFLICTS
b/z-kernels/nvidia_legacy_304xx/CONFLICTS
new file mode 100755
index 0000000..930ae25
--- /dev/null
+++ b/z-kernels/nvidia_legacy_304xx/CONFLICTS
@@ -0,0 +1,5 @@
+conflicts nvidia_driver &&
+conflicts nvidia_legacy &&
+conflicts nvidia_legacy_96xx &&
+conflicts nvidia_legacy_173xx &&
+conflicts nvidia_legacy_295xx
diff --git a/z-kernels/nvidia_legacy_304xx/DEPENDS
b/z-kernels/nvidia_legacy_304xx/DEPENDS
new file mode 100755
index 0000000..14e0ca4
--- /dev/null
+++ b/z-kernels/nvidia_legacy_304xx/DEPENDS
@@ -0,0 +1,11 @@
+. "$GRIMOIRE/FUNCTIONS" &&
+
+depends xorg-server &&
+depends gtk+2 &&
+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_304xx/DETAILS
b/z-kernels/nvidia_legacy_304xx/DETAILS
new file mode 100755
index 0000000..7cee157
--- /dev/null
+++ b/z-kernels/nvidia_legacy_304xx/DETAILS
@@ -0,0 +1,40 @@
+. $GRIMOIRE/FUNCTIONS
+ SPELL=nvidia_legacy_304xx
+case "${SMGL_COMPAT_ARCHS[1]}" in
+ x86_64)
+ VERSION=304.84
+
SOURCE_HASH=sha512:741771b29061d196b9d686fc3d2bdeb7f0367b6bc146fb4d0769e26c36e82e2d47d2809f82feba3639557c0ab3cd75f854bd51201a13d102654d5a0b04a84e4d
+ 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"
+ ;;
+ ia32)
+ VERSION=304.84
+
SOURCE_HASH=sha512:9ce6ab3126611f498dabd2c042cddba91f3edb14eeee2a30f153c4243f59f1613deeb366dd462c3f2de927793cce9129b8da5c58c7828620d0e1f25bc8bf00e9
+ 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"
+ ;;
+############################################################
+# missing ia64 support we don't have an arch spec for it???
+############################################################
+ *)
+ VERSION=${SMGL_COMPAT_ARCHS[0]}
+ SOURCE=
+ SOURCE_URL=
+ ;;
+esac
+ WEB_SITE=http://www.nvidia.com/object/unix.html
+ ENTERED=20130307
+ 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_304xx/FINAL
b/z-kernels/nvidia_legacy_304xx/FINAL
new file mode 100755
index 0000000..c6cae2c
--- /dev/null
+++ b/z-kernels/nvidia_legacy_304xx/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_304xx/HISTORY
b/z-kernels/nvidia_legacy_304xx/HISTORY
new file mode 100644
index 0000000..28a902d
--- /dev/null
+++ b/z-kernels/nvidia_legacy_304xx/HISTORY
@@ -0,0 +1,7 @@
+2013-03-06 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 304.84
+
+2013-02-28 Vlad Glagolev <stealth AT sourcemage.org>
+ * BUILD, 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_304xx/INSTALL
b/z-kernels/nvidia_legacy_304xx/INSTALL
new file mode 100755
index 0000000..70130ff
--- /dev/null
+++ b/z-kernels/nvidia_legacy_304xx/INSTALL
@@ -0,0 +1,192 @@
+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 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_304xx/LICENSE
b/z-kernels/nvidia_legacy_304xx/LICENSE
new file mode 100644
index 0000000..11bcb76
--- /dev/null
+++ b/z-kernels/nvidia_legacy_304xx/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_304xx/POST_RESURRECT
b/z-kernels/nvidia_legacy_304xx/POST_RESURRECT
new file mode 100755
index 0000000..9bbc0f8
--- /dev/null
+++ b/z-kernels/nvidia_legacy_304xx/POST_RESURRECT
@@ -0,0 +1,2 @@
+. $GRIMOIRE/FUNCTIONS
+glselect nvidia
diff --git a/z-kernels/nvidia_legacy_304xx/PREPARE
b/z-kernels/nvidia_legacy_304xx/PREPARE
new file mode 100755
index 0000000..6342a1e
--- /dev/null
+++ b/z-kernels/nvidia_legacy_304xx/PREPARE
@@ -0,0 +1,14 @@
+. "$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
diff --git a/z-kernels/nvidia_legacy_304xx/PRE_BUILD
b/z-kernels/nvidia_legacy_304xx/PRE_BUILD
new file mode 100755
index 0000000..e89cf99
--- /dev/null
+++ b/z-kernels/nvidia_legacy_304xx/PRE_BUILD
@@ -0,0 +1,20 @@
+unpack_file '' &&
+
+sh $SOURCE_CACHE/$SOURCE --extract-only \
+ --target $SOURCE_DIRECTORY &&
+cd $SOURCE_DIRECTORY &&
+
+# 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_304xx/PRE_REMOVE
b/z-kernels/nvidia_legacy_304xx/PRE_REMOVE
new file mode 100755
index 0000000..1895a77
--- /dev/null
+++ b/z-kernels/nvidia_legacy_304xx/PRE_REMOVE
@@ -0,0 +1 @@
+glselect mesa
diff --git a/z-kernels/nvidia_legacy_304xx/PROVIDES
b/z-kernels/nvidia_legacy_304xx/PROVIDES
new file mode 100755
index 0000000..b24682e
--- /dev/null
+++ b/z-kernels/nvidia_legacy_304xx/PROVIDES
@@ -0,0 +1,2 @@
+OPENGL
+NVIDIA
diff --git a/z-kernels/nvidia_legacy_304xx/TRIGGERS
b/z-kernels/nvidia_legacy_304xx/TRIGGERS
new file mode 100755
index 0000000..1f100d2
--- /dev/null
+++ b/z-kernels/nvidia_legacy_304xx/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_304xx/UNATTEND_SAFE
b/z-kernels/nvidia_legacy_304xx/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 2a6f92b..a01f48d 100755
--- a/z-kernels/nvidia_legacy_96xx/CONFLICTS
+++ b/z-kernels/nvidia_legacy_96xx/CONFLICTS
@@ -1,4 +1,5 @@
conflicts nvidia_driver &&
conflicts nvidia_legacy &&
conflicts nvidia_legacy_173xx &&
-conflicts nvidia_legacy_295xx
+conflicts nvidia_legacy_295xx &&
+conflicts nvidia_legacy_304xx
diff --git a/z-kernels/nvidia_legacy_96xx/HISTORY
b/z-kernels/nvidia_legacy_96xx/HISTORY
index e5d7292..5652c5e 100644
--- a/z-kernels/nvidia_legacy_96xx/HISTORY
+++ b/z-kernels/nvidia_legacy_96xx/HISTORY
@@ -1,3 +1,6 @@
+2013-03-07 Vlad Glagolev <stealth AT sourcemage.org>
+ * CONFLICTS: conflicts nvidia_legacy_304xx
+
2012-08-10 Vlad Glagolev <stealth AT sourcemage.org>
* CONFLICTS: conflicts nvidia_legacy_295xx




  • [SM-Commit] GIT changes to master z-rejected grimoire by Vlad Glagolev (31b6da4c7ae48fcf97a89f4184b246f0f6c59a47), Vlad Glagolev, 03/07/2013

Archive powered by MHonArc 2.6.24.

Top of Page