public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Richard Fish" <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] xorg-x11, $VIDEO_CARDS & binary packages
Date: Thu, 20 Jul 2006 11:37:00 -0700	[thread overview]
Message-ID: <7573e9640607201137j1e909045geadee5135b32603d@mail.gmail.com> (raw)
In-Reply-To: <200607202019.25875.alexander.puchmayr@linznet.at>

On 7/20/06, Alexander Puchmayr <alexander.puchmayr@linznet.at> wrote:
> The problem came when I wanted to INSTALL the packages on the target
> machine, where portage seems to ignore the VIDEO_CARDS variable
> from /etc/make.conf for some reason.

Because it uses the VIDEO_CARDS variable from the binary package.  In
other words, the VIDEO_CARDS variable of your build system does not
match the target system.  As Randy said, you cannot change the
useflags (and VIDEO_CARDS are a kind of useflag) of a binary package.

A quick demonstration:

My normal xorg-x11 merging:

carcharias src # emerge -pv xorg-x11
[ebuild   R   ] x11-base/xorg-x11-7.0-r1  USE="-3dfx"
INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp
-citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit
-hyperpen -jamstudio -joystick -magellan -magictouch -microtouch
-mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse
-void -wacom" VIDEO_CARDS="fbdev nv nvidia vesa -apm -ark -chips
-cirrus -cyrix -dummy -fglrx -glint -i128 -i740 -i810 -imstt -mach64
-mga -neomagic -nsc -r128 -radeon -rendition -s3 -s3virge -savage
-siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vga -via
-vmware -voodoo" 0 kB

Since my binary packages were built on this system, using the binary
package is the same:

carcharias src # emerge -pv -k xorg-x11
[binary   R   ] x11-base/xorg-x11-7.0-r1  USE="-3dfx"
INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp
-citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit
-hyperpen -jamstudio -joystick -magellan -magictouch -microtouch
-mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse
-void -wacom" VIDEO_CARDS="fbdev nv nvidia vesa -apm -ark -chips
-cirrus -cyrix -dummy -fglrx -glint -i128 -i740 -i810 -imstt -mach64
-mga -neomagic -nsc -r128 -radeon -rendition -s3 -s3virge -savage
-siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vga -via
-vmware -voodoo"

Now "simulate" a system with different VIDEO_CARDS by adding fglrx:

carcharias src # VIDEO_CARDS="fbdev nv nvidia vesa fglrx" emerge -pv xorg-x11
[ebuild  N    ] x11-drivers/ati-drivers-8.26.18-r1  USE="-acpi -doc
-opengl" 23,160 kB
[ebuild   R   ] x11-base/xorg-x11-7.0-r1  USE="-3dfx"
INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp
-citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit
-hyperpen -jamstudio -joystick -magellan -magictouch -microtouch
-mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse
-void -wacom" VIDEO_CARDS="fbdev fglrx* nv nvidia vesa -apm -ark
-chips -cirrus -cyrix -dummy -glint -i128 -i740 -i810 -imstt -mach64
-mga -neomagic -nsc -r128 -radeon -rendition -s3 -s3virge -savage
-siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vga -via
-vmware -voodoo" 0 kB

So it recognized that I added fglrx,and wants to add
x11-drivers/ati-drivers.  Now let's try that with the binary package,
that now does not match my "target" system:

carcharias src # VIDEO_CARDS="fbdev nv nvidia vesa fglrx" emerge -pv
--usepkgonly xorg-x11
[binary   R   ] x11-base/xorg-x11-7.0-r1  USE="-3dfx"
INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp
-citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit
-hyperpen -jamstudio -joystick -magellan -magictouch -microtouch
-mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse
-void -wacom" VIDEO_CARDS="fbdev nv nvidia vesa -apm -ark -chips
-cirrus -cyrix -dummy -fglrx -glint -i128 -i740 -i810 -imstt -mach64
-mga -neomagic -nsc -r128 -radeon -rendition -s3 -s3virge -savage
-siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vga -via
-vmware -voodoo"

See, no fglrx and no merging of ati-drivers, even though fglrx is in
my VIDEO_CARDS.

HTH,
-Richard
-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2006-07-20 18:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-19  4:51 [gentoo-user] xorg-x11, $VIDEO_CARDS & binary packages Alexander Puchmayr
2006-07-19  6:44 ` Richard Fish
2006-07-19 18:20 ` Richard Fish
2006-07-20  4:29   ` Alexander Puchmayr
2006-07-20  4:56     ` Ryan Tandy
2006-07-20  5:44       ` Alexander Puchmayr
2006-07-20  7:40         ` Richard Fish
     [not found]           ` <200607202019.25875.alexander.puchmayr@linznet.at>
2006-07-20 18:37             ` Richard Fish [this message]
2006-07-20 19:25               ` Richard Fish
2006-07-20 15:54         ` Ryan Tandy
2006-07-20 18:25           ` Alexander Puchmayr
2006-07-20 18:40             ` Daniel da Veiga
2006-07-20 20:10               ` Hans-Werner Hilse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7573e9640607201137j1e909045geadee5135b32603d@mail.gmail.com \
    --to=bigfish@asmallpond.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox