Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96231 - organize use flags in tree
Summary: organize use flags in tree
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-15 17:28 UTC by Benjamin Paul Kay
Modified: 2005-06-15 21:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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