diff options
author | 2006-10-25 07:18:47 +0000 | |
---|---|---|
committer | 2006-10-25 07:18:47 +0000 | |
commit | d79f44da8b09802fa47fbc592096d7d6b14fbbc0 (patch) | |
tree | 7aa06662842b04da643504e0ec458c5a9a489405 /x11-base | |
parent | Unbreaking kdrive, part 1: Fix logic and variable names when forcing fbdev/ve... (diff) | |
download | gentoo-2-d79f44da8b09802fa47fbc592096d7d6b14fbbc0.tar.gz gentoo-2-d79f44da8b09802fa47fbc592096d7d6b14fbbc0.tar.bz2 gentoo-2-d79f44da8b09802fa47fbc592096d7d6b14fbbc0.zip |
Unbreaking kdrive, part 2: Instead of checking whether a certain VIDEO_CARDS setting is in a long list of invalid cards for non-x86 systems, check whether it's the single valid setting; Check whether VIDEO_CARDS settings are valid kdrive servers before moving into the more complex processing.
(Portage version: 2.1.2_pre3-r8)
Diffstat (limited to 'x11-base')
-rw-r--r-- | x11-base/xorg-server/ChangeLog | 9 | ||||
-rw-r--r-- | x11-base/xorg-server/xorg-server-1.1.1-r1.ebuild | 19 |
2 files changed, 19 insertions, 9 deletions
diff --git a/x11-base/xorg-server/ChangeLog b/x11-base/xorg-server/ChangeLog index d7cec737e91d..1a63ec852952 100644 --- a/x11-base/xorg-server/ChangeLog +++ b/x11-base/xorg-server/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for x11-base/xorg-server # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.182 2006/10/25 06:35:02 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.183 2006/10/25 07:18:47 dberkholz Exp $ + + 25 Oct 2006; Donnie Berkholz <dberkholz@gentoo.org>; + xorg-server-1.1.1-r1.ebuild: + Unbreaking kdrive, part 2: Instead of checking whether a certain VIDEO_CARDS + setting is in a long list of invalid cards for non-x86 systems, check + whether it's the single valid setting; Check whether VIDEO_CARDS settings + are valid kdrive servers before moving into the more complex processing. 25 Oct 2006; Donnie Berkholz <dberkholz@gentoo.org>; xorg-server-1.1.1-r1.ebuild: diff --git a/x11-base/xorg-server/xorg-server-1.1.1-r1.ebuild b/x11-base/xorg-server/xorg-server-1.1.1-r1.ebuild index b66c624a52a0..5561f7582ea9 100644 --- a/x11-base/xorg-server/xorg-server-1.1.1-r1.ebuild +++ b/x11-base/xorg-server/xorg-server-1.1.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-1.1.1-r1.ebuild,v 1.17 2006/10/25 06:35:02 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-1.1.1-r1.ebuild,v 1.18 2006/10/25 07:18:47 dberkholz Exp $ # Must be before x-modular eclass is inherited SNAPSHOT="yes" @@ -351,11 +351,6 @@ src_unpack() { x-modular_patch_source # Set up kdrive servers to build - # Bug #150052 - anything that uses vm86.h is broken on non-x86 arches. - # That translates into the following set: - vm86_devices="chips epson glint i810 mach64 mga neomagic - nv r128 radeon siliconmotion vesa via" - if use kdrive; then einfo "Removing unused kdrive drivers ..." for card in ${IUSE_VIDEO_CARDS}; do @@ -369,6 +364,13 @@ src_unpack() { real_card=${real_card/%sis/sis300} disable_card=0 + + # Check whether it's a valid kdrive server before we waste time + # on the rest of this + if ! grep -q -o "\b${real_card}\b" ${S}/hw/kdrive/Makefile.am; then + continue + fi + if ! use ${card}; then # (bug #136370) Radeon needs fbdev and vesa if use x86 \ @@ -380,8 +382,9 @@ src_unpack() { fi disable_card=1 # Bug #150052 - elif ! use x86 && - [[ ${vm86_devices/${card#video_cards_}/} != ${vm86_devices} ]]; then + # fbdev is the only VIDEO_CARDS setting that works on non-x86 + elif ! use x86 \ + && [[ ${real_card} != fbdev ]]; then ewarn " $real_card does not work on your architecture; disabling." disable_card=1 fi |