public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] xorg INPUT and VIDEO USE flags
@ 2006-10-16 14:56 Mick
  2006-10-16 15:49 ` Alan McKinnon
  0 siblings, 1 reply; 5+ messages in thread
From: Mick @ 2006-10-16 14:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2625 bytes --]

Hi All,

It's time for a new update for my laptop and I noticed that INPUT_DEVICES and 
VIDEO_CARDS are only recognised by the server:

======================================================
[ebuild     U ] x11-base/xorg-server-1.1.1-r1 [1.0.2-r7] USE="dri nptl%* sdl%* 
xorg%* -3dfx% -aiglx% -debug -dmx% -ipv6 -kdrive% -minimal -xprint" 
INPUT_DEVICES="keyboard%* mouse%* 
synaptics%* -acecad% -aiptek% -calcomp% -citron% -digitaled                                                     
ge% -dmc% -dynapro% -elo2300% -elographics% -evdev% -fpit% -hyperpen% -jamstudio                                                     % -joystick% -magellan% -microtouch% -mutouch% -palmax% -penmount% -spaceorb% -s                                                     
umma% -tek4957% -ur98% -vmmouse% -void% -wacom%" 
VIDEO_CARDS="radeon%* -apm% -ark% -chips% -cirrus% -cyrix% -dummy% -epson% -fbdev% -fglrx% -glint% -i128% -i740                                                     % -i810% 
(-impact) -imstt% -mach64% -mga% -neomagic% 
(-newport) -nsc% -nv% -nvidia% -r128% -rendition% -s3% -s3virge% -savage% -siliconmotion% -sis% -sisusb% 
(-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) 
(-suntcx) -tdfx% -tga% -trident% -tseng% -v4l% -vesa% -vga% -via% -vmware% -voodoo%" 
6,105 kB 
[ebuild     U ] x11-apps/mesa-progs-6.5.1 [6.4.2] 1,288 kB 
[ebuild     U ] x11-base/xorg-x11-7.1 [7.0-r1] USE="(-3dfx%)" 
INPUT_DEVICES="(-a                                                     
cecad%) (-aiptek%) (-calcomp%) (-citron%) (-digitaledge%) (-dmc%) (-dynapro%) 
(-elo2300%) (-elographics%) (-evdev%) (-fpit%) (-hyperpen%) (-jamstudio%) 
(-joystick%) (-keyboard%*) (-magellan%) (-magictouch%) (-microtouch%) 
(-mouse%*) (-mutouch%) (-palmax%) (-penmount%) (-spaceorb%) (-summa%) 
(-synaptics%*) (-tek4957%) (-ur98%) (-vmmouse%) (-void%) (-wacom%)" 
VIDEO_CARDS="(-apm%) (-ark%) (-chips%) (-cirrus%) (-cyrix%) (-dummy%) 
(-fbdev%) (-fglrx%) (-glint%) (-i128%) (-i740%) (- i810%) (-imstt%) 
(-mach64%) (-mga%) (-neomagic%) (-newport%) (-nsc%) (-nv%) (-nvidia%) 
(-r128%) (-radeon%*) (-rendition%) (-s3%) (-s3virge%) (-savage%) (-silico                                                     
nmotion%) (-sis%) (-sisusb%) (-sunbw2%) (-suncg14%) (-suncg3%) (-suncg6%) 
(-sunffb%) (-sunleo%) (-suntcx%) (-tdfx%) (-tga%) (-trident%) (-tseng%) 
(-v4l%) (-vesa%) (-vga%) (-via%) (-vmware%) (-voodoo%)" 0 kB
======================================================

In my make.conf I have:
INPUT_DEVICES="keyboard mouse synaptics"
VIDEO_CARDS="radeon"

Is that how it should be?
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] xorg INPUT and VIDEO USE flags
  2006-10-16 14:56 [gentoo-user] xorg INPUT and VIDEO USE flags Mick
@ 2006-10-16 15:49 ` Alan McKinnon
  2006-10-16 16:10   ` [gentoo-user] " Mick
  0 siblings, 1 reply; 5+ messages in thread
From: Alan McKinnon @ 2006-10-16 15:49 UTC (permalink / raw
  To: gentoo-user

On Monday 16 October 2006 16:56, Mick wrote:
> Hi All,
>
> It's time for a new update for my laptop and I noticed that
> INPUT_DEVICES and VIDEO_CARDS are only recognised by the server:

[snip ebuild output]

> In my make.conf I have:
> INPUT_DEVICES="keyboard mouse synaptics"
> VIDEO_CARDS="radeon"
>
> Is that how it should be?

Yes. 

Simply add/remove devices from those variables and remerge xorg-x11. 
This will compile driver for only the stuff you have, unlike the 
xorg-6.8 series where everything was compiled.

alan
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: xorg INPUT and VIDEO USE flags
  2006-10-16 15:49 ` Alan McKinnon
@ 2006-10-16 16:10   ` Mick
  2006-10-16 16:48     ` Alan McKinnon
  0 siblings, 1 reply; 5+ messages in thread
From: Mick @ 2006-10-16 16:10 UTC (permalink / raw
  To: gentoo-user

Thanks Alan, but the question I meant to ask is: why only the
xorg-server takes account of these flags, while the xorg-x11 doesn't?

-- 
Regards,
Mick
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Re: xorg INPUT and VIDEO USE flags
  2006-10-16 16:10   ` [gentoo-user] " Mick
@ 2006-10-16 16:48     ` Alan McKinnon
  2006-10-16 19:58       ` Mick
  0 siblings, 1 reply; 5+ messages in thread
From: Alan McKinnon @ 2006-10-16 16:48 UTC (permalink / raw
  To: gentoo-user

On Monday 16 October 2006 18:10, Mick wrote:
> Thanks Alan, but the question I meant to ask is: why only the
> xorg-server takes account of these flags, while the xorg-x11 doesn't?

xorg-x11 is a meta package. It's purpose is to merge various x11 
packages as dependencies and it doesn't do any merging on it's own.

Looking into the ebuilds, xorg-x11 only mentions VIDEO_CARDS and 
INPUT_DEVICES once in pkg_postinst() in an einfo saying you should now 
set these variables (presumably so that xorg-server can do the right 
thing when it's merged).

The xorg-server-1.1.1-r1 ebuild contains stuff like this:

PDEPEND="
  xorg? (
    input_devices_mouse? ( >=x11-drivers/xf86-input-mouse-1.1.0 )
    video_cards_radeon? ( >=x11-drivers/xf86-video-ati-6.6.0 )

So the variable is only used by the ebuild that actually does the 
merging.

Your 'emerge xorg-x11' lists a bunch of USE flags in the output, but 
they are all disabled and appended with %, meaning they are new flags 
being used for the first time. Do the merge then try it again, you 
should find they are not listed the second time. Portage and the output 
it generates is in a state of flux recently with several updates in 
parid succession. It's sometimes a bit hard to keep up with the changes 
and remember what it's supposed to do today :-)

But the output you are getting is correct per my current understanding 
of portage

alan
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Re: xorg INPUT and VIDEO USE flags
  2006-10-16 16:48     ` Alan McKinnon
@ 2006-10-16 19:58       ` Mick
  0 siblings, 0 replies; 5+ messages in thread
From: Mick @ 2006-10-16 19:58 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 994 bytes --]

On Monday 16 October 2006 16:48, Alan McKinnon wrote:
> On Monday 16 October 2006 18:10, Mick wrote:
> > Thanks Alan, but the question I meant to ask is: why only the
> > xorg-server takes account of these flags, while the xorg-x11 doesn't?
>
> xorg-x11 is a meta package. It's purpose is to merge various x11
> packages as dependencies and it doesn't do any merging on it's own.
>
> Looking into the ebuilds, xorg-x11 only mentions VIDEO_CARDS and
> INPUT_DEVICES once in pkg_postinst() in an einfo saying you should now
> set these variables (presumably so that xorg-server can do the right
> thing when it's merged).
[snip]
> So the variable is only used by the ebuild that actually does the
> merging.
[snip]
> But the output you are getting is correct per my current understanding
> of portage

Thank you for the explanation.  I got an error with the xf86-drivers-ati 
emerge that followed my xorg emerges today, but will start thread for that.

-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-10-16 19:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-16 14:56 [gentoo-user] xorg INPUT and VIDEO USE flags Mick
2006-10-16 15:49 ` Alan McKinnon
2006-10-16 16:10   ` [gentoo-user] " Mick
2006-10-16 16:48     ` Alan McKinnon
2006-10-16 19:58       ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox