Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Seeing USE flag descriptions for a package
Date: Tue, 26 May 2009 09:58:21
Message-Id: gvged2$9a8$1@ger.gmane.org
In Reply to: [gentoo-user] Seeing USE flag descriptions for a package by Stroller
1 Stroller wrote:
2 > Hi there,
3 >
4 > When I install a new package I run `emerge -pv foo` to look at the USEs
5 > it supports. In the past I have looked these up just by 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 the
15 > name of the next USE to check it. However this is clumsy when you have a
16 > 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 applets.
23 > samba - Adds support for SAMBA (Windows File and Printer sharing)
24 > $
25 >
26 > The command should print out the descriptions for ALL the USE flags
27 > supported by the category/package, but only for that category/package.
28 > Ideally it should show if they're currently enabled or not.
29 >
30 > I can't be the only person to desire this feature - surely there must be
31 > a package or command do do this. I can't find this in `man portage` as
32 > an advanced version of `emerge -pv package`. Can anyone tell me what
33 > $magicusecommand is called, please?
34
35 equery uses <package atom>

Replies

Subject Author
Re: [gentoo-user] Re: Seeing USE flag descriptions for a package Stroller <stroller@××××××××××××××××××.uk>