On 11/4/10, James <wirel...@tampabay.rr.com> wrote:
> Paul Hartman <paul.hartman+gentoo <at> gmail.com> writes:
>
>> I don't know what you considered obvious, so excuse me if I'm
>> repeating what you already knew. :)
>
>
> OK (Alan) and Paul. I should have explained that v4l and
> v4l2 were just examples. Sure, I know about them. Why
> is v4l still around? Some package somewhere with some old
> kernel probably still needs it...... one man's deprecated cruft
> is another man's gotta_have_crutch......
>
> Lots of good information specific to those flags (Alan), but,
> as I suspected, no general quick reference on a given flag,
> with any sort of detail. Look here what I use from my .bashrc:
>
> # USE flag settings hack by Ciaran McCreesh:
> explainuseflag(){ sed -ne "s,^\([^ ]*:\)\?$1 - ,,p"
> $(portageq portdir)/profiles/use.{,local.}desc; }
> alias ef="explainuseflag"
>
>
> ONE _OFF hunting around with some of the tools/methods
> Alan mentioned or googling or hacks from wherever. WE
> can do better.
>
> Exactly what I expected and hoped I was wrong. As the DOC
> team discusses opening up things a bit (Git vs wiki)
> I thought I'd do a little test. Wouldn't it be nice
> if (gentoo) documentation was expanded as surely USE flags
> have some generic meaning and a (package) specific meaning
> (sometimes) found deeper in the ebuild or code elsewhere.
> Something maybe a little more systematic would be keen, methinks.
> After all that work alan did, will it be assimilated
> into the (gentoo/borg) collective?
>
> Maybe I'm rambling, maybe I expect too much, maybe I dream
> of a documentation system, that is open to many folks easily
> injecting knowledge therein.
>
> Maybe, I dream about gentoo too much.......
>
> Oh well, thanks for participating in my little experiment.
>
> (apologies in advance).
>
> James
>

The quse command in app-portage/gentoolkit is useful for finding a
quick definition of a use flag. You go "quse -D <name of flag>" and it
will give you the global definition (if it exists), as well as local
definitions for packages in which the use flag does something
different.

For instance this is the output from "quse -D udev":

 global:udev: Enable sys-fs/udev integration (device discovery, power
and storage device support, etc)
 local:udev:gnome-base/gvfs: Enable udev base replacement code for cdda feature
 local:udev:sys-fs/ntfs3g: Install udev rule to make udisks use
ntfs-3g instead of the kernel NTFS driver.

Hopefully this helps, I am not sure if this is what you meant.

Reply via email to