Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 133142

Summary: DirectFB ebuild video/input drivers inconsistency
Product: Gentoo Linux Reporter: Håvard Wall <haavardw>
Component: New packagesAssignee: Gentoo Games <games>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: DirectFB-0.9.25.1.ebuild

Description Håvard Wall 2006-05-12 12:25:32 UTC
It would be nice if DirectFB could use the same logic as for instance the xorg-x11 ebuild. That is, if it could use IUSE="video_cards_<foo>" and IUSE="input_drivers_<bar>" instead of just <foo> and <bar>.
Comment 1 Håvard Wall 2006-05-12 12:27:14 UTC
Created attachment 86666 [details]
DirectFB-0.9.25.1.ebuild

ebuild using video_cards_* and input_devices_*
Comment 2 SpanKY gentoo-dev 2006-05-12 19:39:44 UTC
no, IUSE_EXPAND takes care of that
Comment 3 Håvard Wall 2006-05-14 02:50:15 UTC
Where does this IUSE_EXPAND magic happen? If you do emerge -vp and compare the results on the exsisting DirectFB-0.9.25.1.ebuild and my attached proposal, you'll see something like this:

Original: 
[ebuild   R   ] dev-libs/DirectFB-0.9.25.1  USE="fbcon gif jpeg mmx mpeg png sdl sse sysfs truetype v4l v4l2 zlib -debug -fusion -static" 0 kB

My proposal gives:
[ebuild   R   ] dev-libs/DirectFB-0.9.25.1  USE="fbcon gif jpeg mmx mpeg png sdl sse sysfs truetype v4l v4l2 zlib -debug -fusion -static" INPUT_DEVICES="keyboard mouse -dbox2remote -dreamboxremote -elo-input -gunze -h3600_ts -joystick -linuxinput -lirc -mutouch -permount -serialmouse -sonypijofdial -wm97xx" VIDEO_CARDS="nvidia -ati128 -cle266 -cyber5k -i810 -i830 -mach64 -matrox -neomagic -nsc -radeon -savage -sis315 -tdfx -unichrome" 0 kB [1]

See the difference? The input devices and the video cards are explicitly shown just like in the xorg-x11 package. Also not that the proposed ebuild have changed from using INPUT_DRIVERS to INPUT_DEVICES, to keep consistent between xorg-x11 and DirectFB. This way you don't have to spesify both any more in /etc/make.conf.
Comment 4 SpanKY gentoo-dev 2006-05-14 06:44:18 UTC
not my problem

*** This bug has been marked as a duplicate of 101998 ***