public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Undocumented and unused USE variables
@ 2012-03-16 12:05 Christoph Niethammer
  2012-03-16 12:12 ` Jory A. Pratt
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Christoph Niethammer @ 2012-03-16 12:05 UTC (permalink / raw
  To: gentoo-dev

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

Hello.

Currently I am doing a from scratch installation of gentoo.

While setting up my USE flags I noticed, that some default USE flags in the 
default environment (default/linux/amd64/10.0/desktop/kde) are neither
documented (in /usr/portage/profiles/use.desc) nor used in IUSE by any package 
(amd64).

I am wondering if they are a leftover from older/outdated packages and could 
be removed.

Here is the list of USE flags I identified at my system:

* Undocumented use flags:
----------
amd64
consolekit
declarative
gdu
kipi
mudflap
nptlonly
pango
phonon
pppd
qt3support
sysfs
xorg

* Unused and undocumented USE flags:
----------
amd64
mudflap
sysfs


For those who want to search on their system I attached two scripts:
* find_undocumented_uses.sh : 
	searches for use flags which are active but not documenten in
	/usr/portage/profiles/use.desc.
* find_unused_uses.sh :
	Checks for given USE flags if they are found in any ebuild's IUSE statment

[-- Attachment #2: find_undocumented_uses.sh --]
[-- Type: application/x-shellscript, Size: 531 bytes --]

[-- Attachment #3: find_unused_uses.sh --]
[-- Type: application/x-shellscript, Size: 864 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: [gentoo-dev] Undocumented and unused USE variables
@ 2012-03-16 12:49 Christoph Niethammer
  2012-03-16 13:01 ` Rich Freeman
  2012-03-16 16:55 ` Alec Warner
  0 siblings, 2 replies; 8+ messages in thread
From: Christoph Niethammer @ 2012-03-16 12:49 UTC (permalink / raw
  To: gentoo-dev

Hello.

I see. There is more documentation on a per package bases wich has to be considered, too. (Found already the metadata.xml files.)

As with the pango USE they may differe in their description - maybe also in their meaning for different packages. So local USE flags should only be used on a per package basis!

Here the euse command is realy handy. :-)
However the sysfs USE flag is still hiding its documentation.
So lets see if this is a bug or a feature. ;-)

Thx for the clarification so far.

Best regards
Christoph

René Neumann <lists@necoro.eu> schrieb:

>> * Undocumented use flags:
>> ----------
>> pango
>
>
>% euse -i pango
>global use flags (searching: pango)
>************************************************************
>no matching entries found
>
>local use flags (searching: pango)
>************************************************************
>[+  D   ] pango
>    app-i18n/fcitx: Enable support for x11-libs/pango
>              3.6.3 [gentoo]
>              3.6.4 [gentoo]
>        [+  ] 4.0.0 [gentoo]
>        [+  ] 4.0.1 [gentoo]
>        [+  ] 4.2.0-r2 [gentoo]
>        [+  ] 4.2.1 [gentoo]
>
>[+  D   ] pango
>    media-gfx/fontforge: Enable pango font rendering
>        [+  ] 20100501 [gentoo]
>        [+  ] 20110222 [gentoo]
>        [+  ] 20110222-r1 [gentoo]
>
>[+  D   ] pango
>    media-gfx/imagemagick: Enable Pango support using x11-libs/pango
>
>[...]
>

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

end of thread, other threads:[~2012-03-16 16:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16 12:05 [gentoo-dev] Undocumented and unused USE variables Christoph Niethammer
2012-03-16 12:12 ` Jory A. Pratt
2012-03-16 12:30 ` René Neumann
2012-03-16 13:01 ` Kent Fredric
2012-03-16 13:29 ` Joshua Kinard
  -- strict thread matches above, loose matches on Subject: below --
2012-03-16 12:49 Christoph Niethammer
2012-03-16 13:01 ` Rich Freeman
2012-03-16 16:55 ` Alec Warner

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