[arch-commits] CVS update of extra/x11/nvidia-71xx-suspend2 (3 files)
daniel at archlinux.org
daniel at archlinux.org
Tue Oct 16 18:54:02 UTC 2007
Date: Tuesday, October 16, 2007 @ 14:54:02
Author: daniel
Path: /home/cvs-extra/extra/x11/nvidia-71xx-suspend2
Removed: PKGBUILD (1.4) kernel-2.6.19.patch (1.1) nvidia-71xx.install (1.3)
---------------------+
PKGBUILD | 40 ----------------------------------------
kernel-2.6.19.patch | 10 ----------
nvidia-71xx.install | 23 -----------------------
3 files changed, 73 deletions(-)
Index: extra/x11/nvidia-71xx-suspend2/PKGBUILD
diff -u extra/x11/nvidia-71xx-suspend2/PKGBUILD:1.4 extra/x11/nvidia-71xx-suspend2/PKGBUILD:removed
--- extra/x11/nvidia-71xx-suspend2/PKGBUILD:1.4 Tue Aug 21 12:58:09 2007
+++ extra/x11/nvidia-71xx-suspend2/PKGBUILD Tue Oct 16 14:54:02 2007
@@ -1,40 +0,0 @@
-# $Id: PKGBUILD,v 1.4 2007/08/21 16:58:09 daniel Exp $
-# Maintainer : Tobias Powalowski <tpowa at archlinux.org>
-
-pkgname=nvidia-71xx-suspend2
-pkgver=1.0.7185
-_nver=1.0-7185
-_kernver='2.6.22-suspend2'
-pkgrel=3
-pkgdesc="NVIDIA legacy drivers for kernel26suspend2, 71xx branch"
-arch=(i686 x86_64)
-[ "$CARCH" = "i686" ] && ARCH=x86
-[ "$CARCH" = "x86_64" ] && ARCH=x86_64
-url="http://www.nvidia.com/"
-depends=('nvidia-71xx-utils' 'kernel26suspend2')
-conflicts=('nvidia-suspend2' 'nvidia-96xx-suspend2' 'nvidia-legacy-suspend2')
-replaces=('nvidia-legacy-suspend2')
-source=(ftp://download.nvidia.com/XFree86/Linux-${ARCH}/${_nver}/NVIDIA-Linux-${ARCH}-${_nver}-pkg0.run)
-install="nvidia-71xx.install"
-md5sums=('5bba3ec9075a42b33bf51b431123cc15')
-[ "$CARCH" = "x86_64" ] && md5sums=('85b5a134c9e1bc8d10d1af4045eda2fd')
-
-build() {
- cd $startdir/src
-
- # Extract
- cd $startdir/src/
- sh NVIDIA-Linux-${ARCH}-${_nver}-pkg0.run --extract-only
- cd NVIDIA-Linux-${ARCH}-${_nver}-pkg0
- # Any extra patches are applied in here...
-
- cd usr/src/nv/
- ln -s Makefile.kbuild Makefile
- make SYSSRC=/lib/modules/$_kernver/build module
-
- # install kernel module
- mkdir -p $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
- install -m644 nvidia.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
-
- sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
-}
Index: extra/x11/nvidia-71xx-suspend2/kernel-2.6.19.patch
diff -u extra/x11/nvidia-71xx-suspend2/kernel-2.6.19.patch:1.1 extra/x11/nvidia-71xx-suspend2/kernel-2.6.19.patch:removed
--- extra/x11/nvidia-71xx-suspend2/kernel-2.6.19.patch:1.1 Tue Feb 6 11:58:09 2007
+++ extra/x11/nvidia-71xx-suspend2/kernel-2.6.19.patch Tue Oct 16 14:54:02 2007
@@ -1,10 +0,0 @@
---- usr/src/nv/nv-linux.h~ 2006-08-02 06:29:45.000000000 +0200
-+++ usr/src/nv/nv-linux.h 2006-10-17 15:03:08.000000000 +0200
-@@ -14,7 +14,6 @@
-
- #include "nv.h"
-
--#include <linux/config.h>
- #include <linux/version.h>
- #include <linux/utsname.h>
-
Index: extra/x11/nvidia-71xx-suspend2/nvidia-71xx.install
diff -u extra/x11/nvidia-71xx-suspend2/nvidia-71xx.install:1.3 extra/x11/nvidia-71xx-suspend2/nvidia-71xx.install:removed
--- extra/x11/nvidia-71xx-suspend2/nvidia-71xx.install:1.3 Tue Aug 21 12:58:09 2007
+++ extra/x11/nvidia-71xx-suspend2/nvidia-71xx.install Tue Oct 16 14:54:02 2007
@@ -1,23 +0,0 @@
-# arg 1: the new package version
-post_install() {
- KERNEL_VERSION='2.6.22-suspend2'
- depmod -v $KERNEL_VERSION > /dev/null 2>&1
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- post_install $1
- rmmod nvidia >/dev/null 2>&1 || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.'
-}
-
-# arg 1: the old package version
-post_remove() {
- KERNEL_VERSION='2.6.22-suspend2'
- depmod -v $KERNEL_VERSION > /dev/null 2>&1
- rmmod nvidia >/dev/null 2>&1
-}
-
-op=$1
-shift
-$op $*
More information about the arch-commits
mailing list