diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-04-27 23:47:16 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-04-27 23:47:16 +0000 |
commit | 4659d10b448241194f272e22c087be865861f5ca (patch) | |
tree | 369d4d7ec1eaa33db061df3e4d42a4940da54b3c /x11-drivers/xf86-video-nouveau | |
parent | Use system copy of drumstick. (diff) | |
download | gentoo-2-4659d10b448241194f272e22c087be865861f5ca.tar.gz gentoo-2-4659d10b448241194f272e22c087be865861f5ca.tar.bz2 gentoo-2-4659d10b448241194f272e22c087be865861f5ca.zip |
update pkg_postinst() checks
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'x11-drivers/xf86-video-nouveau')
3 files changed, 15 insertions, 14 deletions
diff --git a/x11-drivers/xf86-video-nouveau/ChangeLog b/x11-drivers/xf86-video-nouveau/ChangeLog index e090fbf8808b..061931a00f1a 100644 --- a/x11-drivers/xf86-video-nouveau/ChangeLog +++ b/x11-drivers/xf86-video-nouveau/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-drivers/xf86-video-nouveau # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-nouveau/ChangeLog,v 1.5 2010/04/03 16:25:35 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-nouveau/ChangeLog,v 1.6 2010/04/27 23:47:16 chithanh Exp $ + + 27 Apr 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + xf86-video-nouveau-0.0.15_pre20100213.ebuild, + xf86-video-nouveau-0.0.15_pre20100329.ebuild: + update pkg_postinst() checks 03 Apr 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> xf86-video-nouveau-0.0.15_pre20100213.ebuild, diff --git a/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100213.ebuild b/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100213.ebuild index 1ac53ce1c60f..37b58f80375a 100644 --- a/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100213.ebuild +++ b/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100213.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100213.ebuild,v 1.4 2010/04/03 16:25:35 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100213.ebuild,v 1.5 2010/04/27 23:47:16 chithanh Exp $ EAPI=2 SNAPSHOT="yes" @@ -37,11 +37,11 @@ pkg_postinst() { if kernel_is 2 6 33 && has_version ">=x11-libs/libdrm-2.4.18"; then ewarn "Nouveau DRM in kernel 2.6.33 is API incompatible to" ewarn ">=x11-libs/libdrm-2.4.18, please use x11-base/nouveau-drm" - ewarn "or x11-libs/libdrm-2.4.18_pre20100211 instead." + ewarn "or x11-libs/libdrm-2.4.18_pre20100211-r1 instead." + fi + if kernel_is 2 6 33 && ! has_version x11-drivers/nouveau-firmware; then + ewarn "Nouveau firmware not detected, for acceleration on NV50 (G80)" + ewarn "and newer chipsets, emerge x11-drivers/nouveau-firmware." fi - fi - if ! has_version x11-drivers/nouveau-firmware; then - ewarn "Nouveau firmware not detected, for acceleration on NV50 (G80)" - ewarn "and newer chipsets, emerge x11-drivers/nouveau-firmware." fi } diff --git a/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100329.ebuild b/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100329.ebuild index ca0727c79931..b44c531c0a21 100644 --- a/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100329.ebuild +++ b/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100329.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100329.ebuild,v 1.2 2010/04/03 16:25:35 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100329.ebuild,v 1.3 2010/04/27 23:47:16 chithanh Exp $ EAPI=2 SNAPSHOT="yes" @@ -33,14 +33,10 @@ pkg_postinst() { ewarn "acceleration with nouveau, emerge x11-base/nouveau-drm or" ewarn "enable CONFIG_DRM_NOUVEAU in the kernel." fi - if kernel_is 2 6 33 && has_version ">=x11-libs/libdrm-2.4.18"; then + if kernel_is 2 6 33; then ewarn "Nouveau DRM in kernel 2.6.33 is API incompatible to" ewarn ">=x11-libs/libdrm-2.4.18, please use x11-base/nouveau-drm" - ewarn "or x11-libs/libdrm-2.4.18_pre20100211 instead." - fi - if ! has_version x11-drivers/nouveau-firmware; then - ewarn "Nouveau firmware not detected, for acceleration on NV50 (G80)" - ewarn "and newer chipsets, emerge x11-drivers/nouveau-firmware." + ewarn "instead." fi fi } |