Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xorg-x11, $VIDEO_CARDS & binary packages
Date: Thu, 20 Jul 2006 18:45:46
Message-Id: 7573e9640607201137j1e909045geadee5135b32603d@mail.gmail.com
1 On 7/20/06, Alexander Puchmayr <alexander.puchmayr@×××××××.at> wrote:
2 > The problem came when I wanted to INSTALL the packages on the target
3 > machine, where portage seems to ignore the VIDEO_CARDS variable
4 > from /etc/make.conf for some reason.
5
6 Because it uses the VIDEO_CARDS variable from the binary package. In
7 other words, the VIDEO_CARDS variable of your build system does not
8 match the target system. As Randy said, you cannot change the
9 useflags (and VIDEO_CARDS are a kind of useflag) of a binary package.
10
11 A quick demonstration:
12
13 My normal xorg-x11 merging:
14
15 carcharias src # emerge -pv xorg-x11
16 [ebuild R ] x11-base/xorg-x11-7.0-r1 USE="-3dfx"
17 INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp
18 -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit
19 -hyperpen -jamstudio -joystick -magellan -magictouch -microtouch
20 -mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse
21 -void -wacom" VIDEO_CARDS="fbdev nv nvidia vesa -apm -ark -chips
22 -cirrus -cyrix -dummy -fglrx -glint -i128 -i740 -i810 -imstt -mach64
23 -mga -neomagic -nsc -r128 -radeon -rendition -s3 -s3virge -savage
24 -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vga -via
25 -vmware -voodoo" 0 kB
26
27 Since my binary packages were built on this system, using the binary
28 package is the same:
29
30 carcharias src # emerge -pv -k xorg-x11
31 [binary R ] x11-base/xorg-x11-7.0-r1 USE="-3dfx"
32 INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp
33 -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit
34 -hyperpen -jamstudio -joystick -magellan -magictouch -microtouch
35 -mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse
36 -void -wacom" VIDEO_CARDS="fbdev nv nvidia vesa -apm -ark -chips
37 -cirrus -cyrix -dummy -fglrx -glint -i128 -i740 -i810 -imstt -mach64
38 -mga -neomagic -nsc -r128 -radeon -rendition -s3 -s3virge -savage
39 -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vga -via
40 -vmware -voodoo"
41
42 Now "simulate" a system with different VIDEO_CARDS by adding fglrx:
43
44 carcharias src # VIDEO_CARDS="fbdev nv nvidia vesa fglrx" emerge -pv xorg-x11
45 [ebuild N ] x11-drivers/ati-drivers-8.26.18-r1 USE="-acpi -doc
46 -opengl" 23,160 kB
47 [ebuild R ] x11-base/xorg-x11-7.0-r1 USE="-3dfx"
48 INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp
49 -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit
50 -hyperpen -jamstudio -joystick -magellan -magictouch -microtouch
51 -mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse
52 -void -wacom" VIDEO_CARDS="fbdev fglrx* nv nvidia vesa -apm -ark
53 -chips -cirrus -cyrix -dummy -glint -i128 -i740 -i810 -imstt -mach64
54 -mga -neomagic -nsc -r128 -radeon -rendition -s3 -s3virge -savage
55 -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vga -via
56 -vmware -voodoo" 0 kB
57
58 So it recognized that I added fglrx,and wants to add
59 x11-drivers/ati-drivers. Now let's try that with the binary package,
60 that now does not match my "target" system:
61
62 carcharias src # VIDEO_CARDS="fbdev nv nvidia vesa fglrx" emerge -pv
63 --usepkgonly xorg-x11
64 [binary R ] x11-base/xorg-x11-7.0-r1 USE="-3dfx"
65 INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp
66 -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit
67 -hyperpen -jamstudio -joystick -magellan -magictouch -microtouch
68 -mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse
69 -void -wacom" VIDEO_CARDS="fbdev nv nvidia vesa -apm -ark -chips
70 -cirrus -cyrix -dummy -fglrx -glint -i128 -i740 -i810 -imstt -mach64
71 -mga -neomagic -nsc -r128 -radeon -rendition -s3 -s3virge -savage
72 -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vga -via
73 -vmware -voodoo"
74
75 See, no fglrx and no merging of ati-drivers, even though fglrx is in
76 my VIDEO_CARDS.
77
78 HTH,
79 -Richard
80 --
81 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] xorg-x11, $VIDEO_CARDS & binary packages Richard Fish <bigfish@××××××××××.org>