Date: Wednesday, April 22, 2015 @ 18:20:31 Author: svenstaro Revision: 237909
archrelease: copy trunk to extra-i686, extra-x86_64 Added: nvidia/repos/extra-i686/PKGBUILD (from rev 237908, nvidia/trunk/PKGBUILD) nvidia/repos/extra-i686/nv-drm-343.36.patch (from rev 237908, nvidia/trunk/nv-drm-343.36.patch) nvidia/repos/extra-i686/nvidia.install (from rev 237908, nvidia/trunk/nvidia.install) nvidia/repos/extra-x86_64/PKGBUILD (from rev 237908, nvidia/trunk/PKGBUILD) nvidia/repos/extra-x86_64/nv-drm-343.36.patch (from rev 237908, nvidia/trunk/nv-drm-343.36.patch) nvidia/repos/extra-x86_64/nvidia.install (from rev 237908, nvidia/trunk/nvidia.install) Deleted: nvidia/repos/extra-i686/PKGBUILD nvidia/repos/extra-i686/nv-drm-343.36.patch nvidia/repos/extra-i686/nvidia.install nvidia/repos/extra-x86_64/PKGBUILD nvidia/repos/extra-x86_64/nv-drm-343.36.patch nvidia/repos/extra-x86_64/nvidia.install ----------------------------------+ /PKGBUILD | 108 +++++++++++++++++++++++++++++++++++++ /nv-drm-343.36.patch | 28 +++++++++ /nvidia.install | 36 ++++++++++++ extra-i686/PKGBUILD | 54 ------------------ extra-i686/nv-drm-343.36.patch | 14 ---- extra-i686/nvidia.install | 18 ------ extra-x86_64/PKGBUILD | 54 ------------------ extra-x86_64/nv-drm-343.36.patch | 14 ---- extra-x86_64/nvidia.install | 18 ------ 9 files changed, 172 insertions(+), 172 deletions(-) Deleted: extra-i686/PKGBUILD =================================================================== --- extra-i686/PKGBUILD 2015-04-22 16:20:24 UTC (rev 237908) +++ extra-i686/PKGBUILD 2015-04-22 16:20:31 UTC (rev 237909) @@ -1,54 +0,0 @@ -# $Id$ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Maintainer: Thomas Baechler <tho...@archlinux.org> - -pkgname=nvidia -pkgver=346.59 -_extramodules=extramodules-3.19-ARCH -pkgrel=1 -pkgdesc="NVIDIA drivers for linux" -arch=('i686' 'x86_64') -url="http://www.nvidia.com/" -depends=('linux>=3.19' 'linux<3.20' "nvidia-utils=${pkgver}" 'libgl') -makedepends=('linux-headers>=3.19' 'linux-headers<3.20') -license=('custom') -install=nvidia.install -options=(!strip) -source=("ftp://download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run" - "ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run") -md5sums=('565800c3d9bf347eb35a393f48a6b7f3' - 'db1cebc2a78eac85777bb4c7c2c8c70c') - -[[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}" -[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" - -prepare() { - sh "${_pkg}.run" --extract-only - cd "${_pkg}" - # patches here -} - -build() { - _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" - cd "${_pkg}"/kernel - make SYSSRC=/usr/lib/modules/"${_kernver}/build" module - - if [[ "$CARCH" = "x86_64" ]]; then - cd uvm - make SYSSRC=/usr/lib/modules/"${_kernver}/build" module - fi -} - -package() { - install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \ - "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko" - - if [[ "$CARCH" = "x86_64" ]]; then - install -D -m644 "${srcdir}/${_pkg}/kernel/uvm/nvidia-uvm.ko" \ - "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-uvm.ko" - fi - - gzip "${pkgdir}/usr/lib/modules/${_extramodules}/"*.ko - install -d -m755 "${pkgdir}/usr/lib/modprobe.d" - echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia.conf" -} Copied: nvidia/repos/extra-i686/PKGBUILD (from rev 237908, nvidia/trunk/PKGBUILD) =================================================================== --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2015-04-22 16:20:31 UTC (rev 237909) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Maintainer: Thomas Baechler <tho...@archlinux.org> + +pkgname=nvidia +pkgver=349.16 +_extramodules=extramodules-3.19-ARCH +pkgrel=1 +pkgdesc="NVIDIA drivers for linux" +arch=('i686' 'x86_64') +url="http://www.nvidia.com/" +depends=('linux>=3.19' 'linux<3.20' "nvidia-utils=${pkgver}" 'libgl') +makedepends=('linux-headers>=3.19' 'linux-headers<3.20') +license=('custom') +install=nvidia.install +options=(!strip) +source=("ftp://download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run" + "ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run") +md5sums=('59597d5dfaaf0fc83a5e78d29a97ccac' + '3e04208affde8c35a8b96975eec0486b') + +[[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}" +[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" + +prepare() { + sh "${_pkg}.run" --extract-only + cd "${_pkg}" + # patches here +} + +build() { + _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" + cd "${_pkg}"/kernel + make SYSSRC=/usr/lib/modules/"${_kernver}/build" module + + if [[ "$CARCH" = "x86_64" ]]; then + cd uvm + make SYSSRC=/usr/lib/modules/"${_kernver}/build" module + fi +} + +package() { + install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \ + "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko" + + if [[ "$CARCH" = "x86_64" ]]; then + install -D -m644 "${srcdir}/${_pkg}/kernel/uvm/nvidia-uvm.ko" \ + "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-uvm.ko" + fi + + gzip "${pkgdir}/usr/lib/modules/${_extramodules}/"*.ko + install -d -m755 "${pkgdir}/usr/lib/modprobe.d" + echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia.conf" +} Deleted: extra-i686/nv-drm-343.36.patch =================================================================== --- extra-i686/nv-drm-343.36.patch 2015-04-22 16:20:24 UTC (rev 237908) +++ extra-i686/nv-drm-343.36.patch 2015-04-22 16:20:31 UTC (rev 237909) @@ -1,14 +0,0 @@ -diff --git a/kernel/nv-drm.c b/kernel/nv-drm.c -index c0b41a0..700c193 100644 ---- a/kernel/nv-drm.c -+++ b/kernel/nv-drm.c -@@ -128,6 +128,8 @@ static struct drm_driver nv_drm_driver = { - .gem_prime_vmap = nv_gem_prime_vmap, - .gem_prime_vunmap = nv_gem_prime_vunmap, - -+ .set_busid = drm_pci_set_busid, -+ - .name = "nvidia-drm", - .desc = "NVIDIA DRM driver", - .date = "20130102", - Copied: nvidia/repos/extra-i686/nv-drm-343.36.patch (from rev 237908, nvidia/trunk/nv-drm-343.36.patch) =================================================================== --- extra-i686/nv-drm-343.36.patch (rev 0) +++ extra-i686/nv-drm-343.36.patch 2015-04-22 16:20:31 UTC (rev 237909) @@ -0,0 +1,14 @@ +diff --git a/kernel/nv-drm.c b/kernel/nv-drm.c +index c0b41a0..700c193 100644 +--- a/kernel/nv-drm.c ++++ b/kernel/nv-drm.c +@@ -128,6 +128,8 @@ static struct drm_driver nv_drm_driver = { + .gem_prime_vmap = nv_gem_prime_vmap, + .gem_prime_vunmap = nv_gem_prime_vunmap, + ++ .set_busid = drm_pci_set_busid, ++ + .name = "nvidia-drm", + .desc = "NVIDIA DRM driver", + .date = "20130102", + Deleted: extra-i686/nvidia.install =================================================================== --- extra-i686/nvidia.install 2015-04-22 16:20:24 UTC (rev 237908) +++ extra-i686/nvidia.install 2015-04-22 16:20:31 UTC (rev 237909) @@ -1,18 +0,0 @@ -post_install() { - EXTRAMODULES='extramodules-3.19-ARCH' - depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) - echo 'In order to use nvidia module, reboot the system.' -} - -post_upgrade() { - EXTRAMODULES='extramodules-3.19-ARCH' - depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) - if [ "$(vercmp $2 310.19-2)" -lt 0 ]; then - echo 'If your card is from the 7xxx series or earlier, install nvidia-304xx' - fi -} - -post_remove() { - EXTRAMODULES='extramodules-3.19-ARCH' - depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) -} Copied: nvidia/repos/extra-i686/nvidia.install (from rev 237908, nvidia/trunk/nvidia.install) =================================================================== --- extra-i686/nvidia.install (rev 0) +++ extra-i686/nvidia.install 2015-04-22 16:20:31 UTC (rev 237909) @@ -0,0 +1,18 @@ +post_install() { + EXTRAMODULES='extramodules-3.19-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) + echo 'In order to use nvidia module, reboot the system.' +} + +post_upgrade() { + EXTRAMODULES='extramodules-3.19-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) + if [ "$(vercmp $2 310.19-2)" -lt 0 ]; then + echo 'If your card is from the 7xxx series or earlier, install nvidia-304xx' + fi +} + +post_remove() { + EXTRAMODULES='extramodules-3.19-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} Deleted: extra-x86_64/PKGBUILD =================================================================== --- extra-x86_64/PKGBUILD 2015-04-22 16:20:24 UTC (rev 237908) +++ extra-x86_64/PKGBUILD 2015-04-22 16:20:31 UTC (rev 237909) @@ -1,54 +0,0 @@ -# $Id$ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Maintainer: Thomas Baechler <tho...@archlinux.org> - -pkgname=nvidia -pkgver=346.59 -_extramodules=extramodules-3.19-ARCH -pkgrel=1 -pkgdesc="NVIDIA drivers for linux" -arch=('i686' 'x86_64') -url="http://www.nvidia.com/" -depends=('linux>=3.19' 'linux<3.20' "nvidia-utils=${pkgver}" 'libgl') -makedepends=('linux-headers>=3.19' 'linux-headers<3.20') -license=('custom') -install=nvidia.install -options=(!strip) -source=("ftp://download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run" - "ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run") -md5sums=('565800c3d9bf347eb35a393f48a6b7f3' - 'db1cebc2a78eac85777bb4c7c2c8c70c') - -[[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}" -[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" - -prepare() { - sh "${_pkg}.run" --extract-only - cd "${_pkg}" - # patches here -} - -build() { - _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" - cd "${_pkg}"/kernel - make SYSSRC=/usr/lib/modules/"${_kernver}/build" module - - if [[ "$CARCH" = "x86_64" ]]; then - cd uvm - make SYSSRC=/usr/lib/modules/"${_kernver}/build" module - fi -} - -package() { - install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \ - "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko" - - if [[ "$CARCH" = "x86_64" ]]; then - install -D -m644 "${srcdir}/${_pkg}/kernel/uvm/nvidia-uvm.ko" \ - "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-uvm.ko" - fi - - gzip "${pkgdir}/usr/lib/modules/${_extramodules}/"*.ko - install -d -m755 "${pkgdir}/usr/lib/modprobe.d" - echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia.conf" -} Copied: nvidia/repos/extra-x86_64/PKGBUILD (from rev 237908, nvidia/trunk/PKGBUILD) =================================================================== --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2015-04-22 16:20:31 UTC (rev 237909) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Maintainer: Thomas Baechler <tho...@archlinux.org> + +pkgname=nvidia +pkgver=349.16 +_extramodules=extramodules-3.19-ARCH +pkgrel=1 +pkgdesc="NVIDIA drivers for linux" +arch=('i686' 'x86_64') +url="http://www.nvidia.com/" +depends=('linux>=3.19' 'linux<3.20' "nvidia-utils=${pkgver}" 'libgl') +makedepends=('linux-headers>=3.19' 'linux-headers<3.20') +license=('custom') +install=nvidia.install +options=(!strip) +source=("ftp://download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run" + "ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run") +md5sums=('59597d5dfaaf0fc83a5e78d29a97ccac' + '3e04208affde8c35a8b96975eec0486b') + +[[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}" +[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" + +prepare() { + sh "${_pkg}.run" --extract-only + cd "${_pkg}" + # patches here +} + +build() { + _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" + cd "${_pkg}"/kernel + make SYSSRC=/usr/lib/modules/"${_kernver}/build" module + + if [[ "$CARCH" = "x86_64" ]]; then + cd uvm + make SYSSRC=/usr/lib/modules/"${_kernver}/build" module + fi +} + +package() { + install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \ + "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko" + + if [[ "$CARCH" = "x86_64" ]]; then + install -D -m644 "${srcdir}/${_pkg}/kernel/uvm/nvidia-uvm.ko" \ + "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-uvm.ko" + fi + + gzip "${pkgdir}/usr/lib/modules/${_extramodules}/"*.ko + install -d -m755 "${pkgdir}/usr/lib/modprobe.d" + echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia.conf" +} Deleted: extra-x86_64/nv-drm-343.36.patch =================================================================== --- extra-x86_64/nv-drm-343.36.patch 2015-04-22 16:20:24 UTC (rev 237908) +++ extra-x86_64/nv-drm-343.36.patch 2015-04-22 16:20:31 UTC (rev 237909) @@ -1,14 +0,0 @@ -diff --git a/kernel/nv-drm.c b/kernel/nv-drm.c -index c0b41a0..700c193 100644 ---- a/kernel/nv-drm.c -+++ b/kernel/nv-drm.c -@@ -128,6 +128,8 @@ static struct drm_driver nv_drm_driver = { - .gem_prime_vmap = nv_gem_prime_vmap, - .gem_prime_vunmap = nv_gem_prime_vunmap, - -+ .set_busid = drm_pci_set_busid, -+ - .name = "nvidia-drm", - .desc = "NVIDIA DRM driver", - .date = "20130102", - Copied: nvidia/repos/extra-x86_64/nv-drm-343.36.patch (from rev 237908, nvidia/trunk/nv-drm-343.36.patch) =================================================================== --- extra-x86_64/nv-drm-343.36.patch (rev 0) +++ extra-x86_64/nv-drm-343.36.patch 2015-04-22 16:20:31 UTC (rev 237909) @@ -0,0 +1,14 @@ +diff --git a/kernel/nv-drm.c b/kernel/nv-drm.c +index c0b41a0..700c193 100644 +--- a/kernel/nv-drm.c ++++ b/kernel/nv-drm.c +@@ -128,6 +128,8 @@ static struct drm_driver nv_drm_driver = { + .gem_prime_vmap = nv_gem_prime_vmap, + .gem_prime_vunmap = nv_gem_prime_vunmap, + ++ .set_busid = drm_pci_set_busid, ++ + .name = "nvidia-drm", + .desc = "NVIDIA DRM driver", + .date = "20130102", + Deleted: extra-x86_64/nvidia.install =================================================================== --- extra-x86_64/nvidia.install 2015-04-22 16:20:24 UTC (rev 237908) +++ extra-x86_64/nvidia.install 2015-04-22 16:20:31 UTC (rev 237909) @@ -1,18 +0,0 @@ -post_install() { - EXTRAMODULES='extramodules-3.19-ARCH' - depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) - echo 'In order to use nvidia module, reboot the system.' -} - -post_upgrade() { - EXTRAMODULES='extramodules-3.19-ARCH' - depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) - if [ "$(vercmp $2 310.19-2)" -lt 0 ]; then - echo 'If your card is from the 7xxx series or earlier, install nvidia-304xx' - fi -} - -post_remove() { - EXTRAMODULES='extramodules-3.19-ARCH' - depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) -} Copied: nvidia/repos/extra-x86_64/nvidia.install (from rev 237908, nvidia/trunk/nvidia.install) =================================================================== --- extra-x86_64/nvidia.install (rev 0) +++ extra-x86_64/nvidia.install 2015-04-22 16:20:31 UTC (rev 237909) @@ -0,0 +1,18 @@ +post_install() { + EXTRAMODULES='extramodules-3.19-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) + echo 'In order to use nvidia module, reboot the system.' +} + +post_upgrade() { + EXTRAMODULES='extramodules-3.19-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) + if [ "$(vercmp $2 310.19-2)" -lt 0 ]; then + echo 'If your card is from the 7xxx series or earlier, install nvidia-304xx' + fi +} + +post_remove() { + EXTRAMODULES='extramodules-3.19-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +}