[arch-commits] CVS update of extra/x11/nvidia-71xx-beyond (3 files)
Travis Willard
travis at archlinux.org
Sun May 20 13:43:23 UTC 2007
Date: Sunday, May 20, 2007 @ 09:43:23
Author: travis
Path: /home/cvs-extra/extra/x11/nvidia-71xx-beyond
Removed: PKGBUILD (1.2) kernel-2.6.19.patch (1.1) nvidia-71xx.install (1.1)
Beyond kernel removed from repos
---------------------+
PKGBUILD | 40 ----------------------------------------
kernel-2.6.19.patch | 10 ----------
nvidia-71xx.install | 23 -----------------------
3 files changed, 73 deletions(-)
Index: extra/x11/nvidia-71xx-beyond/PKGBUILD
diff -u extra/x11/nvidia-71xx-beyond/PKGBUILD:1.2 extra/x11/nvidia-71xx-beyond/PKGBUILD:removed
--- extra/x11/nvidia-71xx-beyond/PKGBUILD:1.2 Sun Apr 22 18:25:11 2007
+++ extra/x11/nvidia-71xx-beyond/PKGBUILD Sun May 20 09:43:23 2007
@@ -1,40 +0,0 @@
-# $Id: PKGBUILD,v 1.2 2007/04/22 22:25:11 tom Exp $
-# Maintainer : Tobias Powalowski <tpowa at archlinux.org>
-
-pkgname=nvidia-71xx-beyond
-pkgver=1.0.7185
-_nver=1.0-7185
-_kernver='2.6.19-beyond'
-pkgrel=1
-pkgdesc="NVIDIA legacy drivers for kernel26beyond, 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' 'kernel26beyond')
-conflicts=('nvidia-beyond' 'nvidia-96xx-beyond' 'nvidia-legacy-beyond')
-replaces=('nvidia-legacy-beyond')
-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=('354188b22e4dbde70e91491fdd4a9a25' '053cab4badefaa31672282639df780bc')
-
-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-beyond/kernel-2.6.19.patch
diff -u extra/x11/nvidia-71xx-beyond/kernel-2.6.19.patch:1.1 extra/x11/nvidia-71xx-beyond/kernel-2.6.19.patch:removed
--- extra/x11/nvidia-71xx-beyond/kernel-2.6.19.patch:1.1 Tue Feb 6 11:57:48 2007
+++ extra/x11/nvidia-71xx-beyond/kernel-2.6.19.patch Sun May 20 09:43:23 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-beyond/nvidia-71xx.install
diff -u extra/x11/nvidia-71xx-beyond/nvidia-71xx.install:1.1 extra/x11/nvidia-71xx-beyond/nvidia-71xx.install:removed
--- extra/x11/nvidia-71xx-beyond/nvidia-71xx.install:1.1 Tue Feb 6 11:57:48 2007
+++ extra/x11/nvidia-71xx-beyond/nvidia-71xx.install Sun May 20 09:43:23 2007
@@ -1,23 +0,0 @@
-# arg 1: the new package version
-post_install() {
- KERNEL_VERSION='2.6.19-beyond'
- 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.19-beyond'
- 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