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

Bug 96231

Summary: organize use flags in tree
Product: Portage Development Reporter: Benjamin Paul Kay <kc8tbe>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED WORKSFORME    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Benjamin Paul Kay 2005-06-15 17:28:32 UTC
As the number of use flags increase, and as use flags themselves change or
become deprecated, it would be nice to organize use flags in a "tree" hierarchy.
Perhaps use flags could be in their own file (e.g. /etc/make.conf.use) and
organized much like the kernel's config; for example:

CONFIG_AUDIO
  CONFIG_AUDIO_ARTS
  CONFIG_AUDIO_ESD
CONFIG_VIDEO
  CONFIG_VIDEO_FRAMEBUFFER
    CONFIG_VIDEO_DIRECTFB
    CONFIG_VIDEO_BOOTSPLASH
  CONFIG_X
    CONFIG_DGA
    CONFIG_GLUT

By disabling CONFIG_AUDIO (equivalent to USE="-audio"), the user would know for
sure that things like sound daemons have also been disabled. This reduces the
number of use flags a user has to look at while installing Gentoo, and it also
makes it easier for developers to add/deprecate/change use flags.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2005-06-15 21:18:21 UTC
this has already been done in GLEP 29