summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-08-08 12:02:07 +0000
committerJeroen Roovers <jer@gentoo.org>2014-08-08 12:02:07 +0000
commit5064f5bf967a9c20fd4f1dea19928312d39d0677 (patch)
treedf6d0f7634d52211635bad830630a96e53ccfe6e /x11-drivers
parentFix compiling against libmodplug-0.8.8.5 wrt #519372 (diff)
downloadgentoo-2-5064f5bf967a9c20fd4f1dea19928312d39d0677.tar.gz
gentoo-2-5064f5bf967a9c20fd4f1dea19928312d39d0677.tar.bz2
gentoo-2-5064f5bf967a9c20fd4f1dea19928312d39d0677.zip
Move kernel/device checks to pkg_pretend() in 304. Raise compatible kernel version in 343 properly.
(Portage version: 2.2.11-r1/cvs/Linux i686, signed Manifest commit with key A792A613)
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/ChangeLog7
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-304.123.ebuild40
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-343.13.ebuild4
3 files changed, 28 insertions, 23 deletions
diff --git a/x11-drivers/nvidia-drivers/ChangeLog b/x11-drivers/nvidia-drivers/ChangeLog
index 8f8ba3c03b9d..fd37e546ec33 100644
--- a/x11-drivers/nvidia-drivers/ChangeLog
+++ b/x11-drivers/nvidia-drivers/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-drivers/nvidia-drivers
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/ChangeLog,v 1.566 2014/08/07 10:24:50 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/ChangeLog,v 1.567 2014/08/08 12:02:07 jer Exp $
+
+ 08 Aug 2014; Jeroen Roovers <jer@gentoo.org> nvidia-drivers-304.123.ebuild,
+ nvidia-drivers-343.13.ebuild:
+ Move kernel/device checks to pkg_pretend() in 304. Raise compatible kernel
+ version in 343 properly.
07 Aug 2014; Jeroen Roovers <jer@gentoo.org> nvidia-drivers-343.13.ebuild:
Raise kernel version compatibility.
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-304.123.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-304.123.ebuild
index 0bac53522279..73861d78f5e9 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-304.123.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-304.123.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-304.123.ebuild,v 1.3 2014/07/30 19:22:29 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-304.123.ebuild,v 1.4 2014/08/08 12:02:07 jer Exp $
EAPI=5
inherit eutils flag-o-matic linux-info linux-mod multilib nvidia-driver \
@@ -80,6 +80,25 @@ pkg_pretend() {
die "Unexpected \${DEFAULT_ABI} = ${DEFAULT_ABI}"
fi
+ if use kernel_linux && kernel_is ge 3 14 ; then
+ ewarn "Gentoo supports kernels which are supported by NVIDIA"
+ ewarn "which are limited to the following kernels:"
+ ewarn "<sys-kernel/gentoo-sources-3.16"
+ ewarn "<sys-kernel/vanilla-sources-3.16"
+ ewarn ""
+ ewarn "You are free to utilize epatch_user to provide whatever"
+ ewarn "support you feel is appropriate, but will not receive"
+ ewarn "support as a result of those changes."
+ ewarn ""
+ ewarn "Do not file a bug report about this."
+ fi
+
+ # Since Nvidia ships 3 different series of drivers, we need to give the user
+ # some kind of guidance as to what version they should install. This tries
+ # to point the user in the right direction but can't be perfect. check
+ # nvidia-driver.eclass
+ nvidia-driver-check-warning
+
# Kernel features/options to check for
CONFIG_CHECK="~ZONE_DMA ~MTRR ~SYSVIPC ~!LOCKDEP"
use x86 && CONFIG_CHECK+=" ~HIGHMEM"
@@ -105,25 +124,6 @@ pkg_setup() {
BUILD_FIXES="ARCH=$(uname -m | sed -e 's/i.86/i386/')"
fi
- if use kernel_linux && kernel_is ge 3 14 ; then
- ewarn "Gentoo supports kernels which are supported by NVIDIA"
- ewarn "which are limited to the following kernels:"
- ewarn "<sys-kernel/gentoo-sources-3.16"
- ewarn "<sys-kernel/vanilla-sources-3.16"
- ewarn ""
- ewarn "You are free to utilize epatch_user to provide whatever"
- ewarn "support you feel is appropriate, but will not receive"
- ewarn "support as a result of those changes."
- ewarn ""
- ewarn "Do not file a bug report about this."
- fi
-
- # Since Nvidia ships 3 different series of drivers, we need to give the user
- # some kind of guidance as to what version they should install. This tries
- # to point the user in the right direction but can't be perfect. check
- # nvidia-driver.eclass
- nvidia-driver-check-warning
-
# set variables to where files are in the package structure
if use kernel_FreeBSD; then
use x86-fbsd && S="${WORKDIR}/${X86_FBSD_NV_PACKAGE}"
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-343.13.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-343.13.ebuild
index 64f67f8b476a..6ecc6326e0cb 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-343.13.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-343.13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-343.13.ebuild,v 1.2 2014/08/07 10:24:50 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-343.13.ebuild,v 1.3 2014/08/08 12:02:07 jer Exp $
EAPI=5
@@ -82,7 +82,7 @@ pkg_pretend() {
die "Unexpected \${DEFAULT_ABI} = ${DEFAULT_ABI}"
fi
- if use kernel_linux && kernel_is ge 3 16 ; then
+ if use kernel_linux && kernel_is ge 3 17 ; then
ewarn "Gentoo supports kernels which are supported by NVIDIA"
ewarn "which are limited to the following kernels:"
ewarn "<sys-kernel/gentoo-sources-3.17"