Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Seeing USE flag descriptions for a package
Date: Tue, 26 May 2009 08:43:23
Message-Id: 2CB69F9E-23C2-44F8-AD70-B3C35D4C628D@stellar.eclipse.co.uk
1 Hi there,
2
3 When I install a new package I run `emerge -pv foo` to look at the
4 USEs it supports. In the past I have looked these up just by
5 grepping, e.g.:
6
7 $ grep foo /usr/portage/profiles/use.*
8 /usr/portage/profiles/use.desc:foomaticdb - Adds support for the
9 foomatic printing driver database
10 $
11
12 However I have recently learned to use `euse -i foo` instead. This is
13 much more convienient than grepping because one can use the Bash
14 history: up-arrow, ctrl-w to delete the last word & type in or paste
15 the name of the next USE to check it. However this is clumsy when you
16 have a package (like mplayer) with many USE flags.
17
18 What I would like to be able to do is:
19
20 $ $magicusecommand category/package
21 doc - Install HTML wxWidgets docs and wxpython API reference.
22 examples - Install interactive demo module browser and sample
23 applets.
24 samba - Adds support for SAMBA (Windows File and Printer sharing)
25 $
26
27 The command should print out the descriptions for ALL the USE flags
28 supported by the category/package, but only for that category/package.
29 Ideally it should show if they're currently enabled or not.
30
31 I can't be the only person to desire this feature - surely there must
32 be a package or command do do this. I can't find this in `man portage`
33 as an advanced version of `emerge -pv package`. Can anyone tell me
34 what $magicusecommand is called, please?
35
36 Thanks in advance,
37
38 Stroller.

Replies

Subject Author
Re: [gentoo-user] Seeing USE flag descriptions for a package Justin <justin@×××××××××.net>
[gentoo-user] Re: Seeing USE flag descriptions for a package Nikos Chantziaras <realnc@×××××.de>