Re: [gentoo-user] xorg-x11, $VIDEO_CARDS binary packages
On 7/19/06, Alexander Puchmayr [EMAIL PROTECTED] wrote: I'd recommend you emerge --nodeps xorg-x11 in order to change its USEflags to the ones you want (no compilation necessary), and then emerge -k to pull in the binary packages depended on by its new flags, which will save you the compiling time. HTH. Nope, doesn't work. Same problem. I emerged with --nodeps the xorg-x11 package, with exactly the video-cards I want. Then I've tried the -k as you suggested, and still *ALL* other video-drivers are shown in the list, and VIDEO_CARDS did not show the same content as without -k. Do you have buildpkg in FEATURES? If not, you might need to do: emerge --nodeps xorg-x11 quickpkg xorg-x11 emerge -k xorg-x11 If you don't have buildpkg in FEATURES, and don't do the quickpkg step, then the second emerge will again look at your existing binary package of xorg-x11, and use the settings from that. HTH, -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11, $VIDEO_CARDS binary packages
Alexander Puchmayr wrote: Nope, doesn't work. Same problem. I emerged with --nodeps the xorg-x11 package, with exactly the video-cards I want. Then I've tried the -k as you suggested, and still *ALL* other video-drivers are shown in the list, and VIDEO_CARDS did not show the same content as without -k. Haha, silly me. I forgot it would use the binary xorg-x11 anyway. How about emerge -k --depsonly xorg-x11? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11, $VIDEO_CARDS binary packages
Am Donnerstag, 20. Juli 2006 17:54 schrieb Ryan Tandy: Alexander Puchmayr wrote: Nope, doesn't work. Same problem. I emerged with --nodeps the xorg-x11 package, with exactly the video-cards I want. Then I've tried the -k as you suggested, and still *ALL* other video-drivers are shown in the list, and VIDEO_CARDS did not show the same content as without -k. Haha, silly me. I forgot it would use the binary xorg-x11 anyway. How about emerge -k --depsonly xorg-x11? Same in green :-( It seems as if VIDEO_CARDS is ignored as soon as I specify -k ... Greetings Alex BTW: --onlydeps, not --depsonly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11, $VIDEO_CARDS binary packages
On 7/20/06, Alexander Puchmayr [EMAIL PROTECTED] 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
Re: [gentoo-user] xorg-x11, $VIDEO_CARDS binary packages
On 7/20/06, Alexander Puchmayr [EMAIL PROTECTED] wrote: Am Donnerstag, 20. Juli 2006 17:54 schrieb Ryan Tandy: Alexander Puchmayr wrote: Nope, doesn't work. Same problem. I emerged with --nodeps the xorg-x11 package, with exactly the video-cards I want. Then I've tried the -k as you suggested, and still *ALL* other video-drivers are shown in the list, and VIDEO_CARDS did not show the same content as without -k. Haha, silly me. I forgot it would use the binary xorg-x11 anyway. How about emerge -k --depsonly xorg-x11? Same in green :-( It seems as if VIDEO_CARDS is ignored as soon as I specify -k ... Maybe I'm wrong, but binary packages are BINARY (-k), so, you can't change their USE, because they're already compiled, they'll use the flags that were used by the time the package was created. If you install it creating binaries (FEATURES=buildpkg emerge xorg-x1) now with another USE or emerge it and create the binaries after it (quickpkg), then you may get what you want when you try and reinstall it. Someone will correct me if I'm wrong, I'm using logic here, not exactly empiric knowledge ;) -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11, $VIDEO_CARDS binary packages
On 7/20/06, Richard Fish [EMAIL PROTECTED] wrote: match the target system. As Randy said, you cannot change the s/Randy/Ryan/g with apologies to Ryan. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11, $VIDEO_CARDS binary packages
Hi, On Thu, 20 Jul 2006 15:40:39 -0300 Daniel da Veiga [EMAIL PROTECTED] wrote: Maybe I'm wrong, but binary packages are BINARY (-k), so, you can't change their USE, because they're already compiled, they'll use the flags that were used by the time the package was created. If you install it creating binaries (FEATURES=buildpkg emerge xorg-x1) now with another USE or emerge it and create the binaries after it (quickpkg), then you may get what you want when you try and reinstall it. Someone will correct me if I'm wrong, I'm using logic here, not exactly empiric knowledge ;) But it's right :-). Even if xorg-x11 may be a meta package, it's a package, after all. And thus it's set of USE flags (and those additional configuration vars that are listed in verbose output of emerge) was *fixed* when the binary was created. That makes perfectly sense -- if you want it to get rebuild, don't use -k. And it's a meta package, it does download nothing at all. So having a binary of it doesn't make much sense if there's a very heterogenous number of clients that make use of the binaries. For restoring the machine that built the binaries, however, it makes perfectly sense (as long as hardware doesn't change). -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11, $VIDEO_CARDS binary packages
On 7/18/06, Alexander Puchmayr [EMAIL PROTECTED] wrote: Hi there ! Hello again. Did you read my reply to the first time you sent this? -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11, $VIDEO_CARDS binary packages
On 7/18/06, Alexander Puchmayr [EMAIL PROTECTED] wrote: I don't want all the drivers I don't need, nor do I want to recompile all of xorg-x11; Is there any possibility to get around this quite odd behaviour? Um, =x11-base/xorg-x11-7.0 is a meta build. It is only there to depend on all of the modular X packages. Since none of those showed up, the only things that will get rebuilt by your first command is libXv and xf86-video-nv. carcharias modules # equery files xorg-x11 [ Searching for packages matching xorg-x11... ] * Contents of x11-base/xorg-x11-7.0-r1: /etc /etc/X11 /etc/X11/xorg.conf /usr /usr/X11R6 - ../usr HTH, -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11, $VIDEO_CARDS binary packages
Am Mittwoch, 19. Juli 2006 20:20 schrieb Richard Fish: On 7/18/06, Alexander Puchmayr [EMAIL PROTECTED] wrote: I don't want all the drivers I don't need, nor do I want to recompile all of xorg-x11; Is there any possibility to get around this quite odd behaviour? Um, =x11-base/xorg-x11-7.0 is a meta build. It is only there to depend on all of the modular X packages. Since none of those showed up, the only things that will get rebuilt by your first command is libXv and xf86-video-nv. Well, I think I got the conecpt behind meta packages. My question was why do I get a different content of the VIDEO_CARDS-variable when I specify -k in emerge or not??? Greetings, Alex -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11, $VIDEO_CARDS binary packages
Alexander Puchmayr wrote: Well, I think I got the conecpt behind meta packages. My question was why do I get a different content of the VIDEO_CARDS-variable when I specify -k in emerge or not??? You can't change the USE flags a binary package was built with. Binary packages are built with a certain set of flags, and they're stuck with that set of flags until you recompile the whole thing. I'd recommend you emerge --nodeps xorg-x11 in order to change its USEflags to the ones you want (no compilation necessary), and then emerge -k to pull in the binary packages depended on by its new flags, which will save you the compiling time. HTH. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11, $VIDEO_CARDS binary packages
Am Donnerstag, 20. Juli 2006 06:56 schrieb Ryan Tandy: Alexander Puchmayr wrote: Well, I think I got the conecpt behind meta packages. My question was why do I get a different content of the VIDEO_CARDS-variable when I specify -k in emerge or not??? You can't change the USE flags a binary package was built with. Binary packages are built with a certain set of flags, and they're stuck with that set of flags until you recompile the whole thing. OK, thats pretty obvious. I'd recommend you emerge --nodeps xorg-x11 in order to change its USEflags to the ones you want (no compilation necessary), and then emerge -k to pull in the binary packages depended on by its new flags, which will save you the compiling time. HTH. Nope, doesn't work. Same problem. I emerged with --nodeps the xorg-x11 package, with exactly the video-cards I want. Then I've tried the -k as you suggested, and still *ALL* other video-drivers are shown in the list, and VIDEO_CARDS did not show the same content as without -k. Greetings, Alex -- gentoo-user@gentoo.org mailing list