public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Seeing USE flag descriptions for a package
@ 2009-05-26  8:43 Stroller
  2009-05-26  9:11 ` Justin
  2009-05-26  9:57 ` [gentoo-user] " Nikos Chantziaras
  0 siblings, 2 replies; 4+ messages in thread
From: Stroller @ 2009-05-26  8:43 UTC (permalink / raw
  To: gentoo-user

Hi there,

When I install a new package I run `emerge -pv foo` to look at the  
USEs it supports.  In the past I have looked these up just by  
grepping, e.g.:

   $ grep foo /usr/portage/profiles/use.*
   /usr/portage/profiles/use.desc:foomaticdb - Adds support for the  
foomatic printing driver database
   $

However I have recently learned to use `euse -i foo` instead. This is  
much more convienient than grepping because one can use the Bash  
history: up-arrow, ctrl-w to delete the last word & type in or paste  
the name of the next USE to check it. However this is clumsy when you  
have a package (like mplayer) with many USE flags.

What I would like to be able to do is:

   $ $magicusecommand category/package
   doc - Install HTML wxWidgets docs and wxpython API reference.
   examples - Install interactive demo module browser and sample  
applets.
   samba - Adds support for SAMBA (Windows File and Printer sharing)
   $

The command should print out the descriptions for ALL the USE flags  
supported by the category/package, but only for that category/package.  
Ideally it should show if they're currently enabled or not.

I can't be the only person to desire this feature - surely there must  
be a package or command do do this. I can't find this in `man portage`  
as an advanced version of `emerge -pv package`. Can anyone tell me  
what $magicusecommand is called, please?

Thanks in advance,

Stroller.




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

* Re: [gentoo-user] Seeing USE flag descriptions for a package
  2009-05-26  8:43 [gentoo-user] Seeing USE flag descriptions for a package Stroller
@ 2009-05-26  9:11 ` Justin
  2009-05-26  9:57 ` [gentoo-user] " Nikos Chantziaras
  1 sibling, 0 replies; 4+ messages in thread
From: Justin @ 2009-05-26  9:11 UTC (permalink / raw
  To: gentoo-user

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

Stroller schrieb:
> Hi there,
> 
> When I install a new package I run `emerge -pv foo` to look at the USEs
> it supports.  In the past I have looked these up just by grepping, e.g.:
> 
>   $ grep foo /usr/portage/profiles/use.*
>   /usr/portage/profiles/use.desc:foomaticdb - Adds support for the
> foomatic printing driver database
>   $
> 
> However I have recently learned to use `euse -i foo` instead. This is
> much more convienient than grepping because one can use the Bash
> history: up-arrow, ctrl-w to delete the last word & type in or paste the
> name of the next USE to check it. However this is clumsy when you have a
> package (like mplayer) with many USE flags.
> 
> What I would like to be able to do is:
> 
>   $ $magicusecommand category/package
>   doc - Install HTML wxWidgets docs and wxpython API reference.
>   examples - Install interactive demo module browser and sample applets.
>   samba - Adds support for SAMBA (Windows File and Printer sharing)
>   $
> 
> The command should print out the descriptions for ALL the USE flags
> supported by the category/package, but only for that category/package.
> Ideally it should show if they're currently enabled or not.
> 
> I can't be the only person to desire this feature - surely there must be
> a package or command do do this. I can't find this in `man portage` as
> an advanced version of `emerge -pv package`. Can anyone tell me what
> $magicusecommand is called, please?
> 
> Thanks in advance,
> 
> Stroller.
> 
> 
use euse, quse or emeta.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* [gentoo-user]  Re: Seeing USE flag descriptions for a package
  2009-05-26  8:43 [gentoo-user] Seeing USE flag descriptions for a package Stroller
  2009-05-26  9:11 ` Justin
@ 2009-05-26  9:57 ` Nikos Chantziaras
  2009-05-26 10:15   ` Stroller
  1 sibling, 1 reply; 4+ messages in thread
From: Nikos Chantziaras @ 2009-05-26  9:57 UTC (permalink / raw
  To: gentoo-user

Stroller wrote:
> Hi there,
> 
> When I install a new package I run `emerge -pv foo` to look at the USEs 
> it supports.  In the past I have looked these up just by grepping, e.g.:
> 
>   $ grep foo /usr/portage/profiles/use.*
>   /usr/portage/profiles/use.desc:foomaticdb - Adds support for the 
> foomatic printing driver database
>   $
> 
> However I have recently learned to use `euse -i foo` instead. This is 
> much more convienient than grepping because one can use the Bash 
> history: up-arrow, ctrl-w to delete the last word & type in or paste the 
> name of the next USE to check it. However this is clumsy when you have a 
> package (like mplayer) with many USE flags.
> 
> What I would like to be able to do is:
> 
>   $ $magicusecommand category/package
>   doc - Install HTML wxWidgets docs and wxpython API reference.
>   examples - Install interactive demo module browser and sample applets.
>   samba - Adds support for SAMBA (Windows File and Printer sharing)
>   $
> 
> The command should print out the descriptions for ALL the USE flags 
> supported by the category/package, but only for that category/package. 
> Ideally it should show if they're currently enabled or not.
> 
> I can't be the only person to desire this feature - surely there must be 
> a package or command do do this. I can't find this in `man portage` as 
> an advanced version of `emerge -pv package`. Can anyone tell me what 
> $magicusecommand is called, please?

equery uses <package atom>




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

* Re: [gentoo-user]  Re: Seeing USE flag descriptions for a package
  2009-05-26  9:57 ` [gentoo-user] " Nikos Chantziaras
@ 2009-05-26 10:15   ` Stroller
  0 siblings, 0 replies; 4+ messages in thread
From: Stroller @ 2009-05-26 10:15 UTC (permalink / raw
  To: gentoo-user


On 26 May 2009, at 10:57, Nikos Chantziaras wrote:

> Stroller wrote:
>> Hi there,
>> When I install a new package I run `emerge -pv foo` to look at the  
>> USEs it supports.  In the past I have looked these up just by  
>> grepping, e.g.:
>>  $ grep foo /usr/portage/profiles/use.*
>>  /usr/portage/profiles/use.desc:foomaticdb - Adds support for the  
>> foomatic printing driver database
>>  $
>> However I have recently learned to use `euse -i foo` instead. This  
>> is much more convienient than grepping because one can use the Bash  
>> history: up-arrow, ctrl-w to delete the last word & type in or  
>> paste the name of the next USE to check it. However this is clumsy  
>> when you have a package (like mplayer) with many USE flags.
>> What I would like to be able to do is:
>>  $ $magicusecommand category/package
>>  doc - Install HTML wxWidgets docs and wxpython API reference.
>>  examples - Install interactive demo module browser and sample  
>> applets.
>>  samba - Adds support for SAMBA (Windows File and Printer sharing)
>>  $
>> The command should print out the descriptions for ALL the USE flags  
>> supported by the category/package, but only for that category/ 
>> package. Ideally it should show if they're currently enabled or not.
>> I can't be the only person to desire this feature - surely there  
>> must be a package or command do do this. I can't find this in `man  
>> portage` as an advanced version of `emerge -pv package`. Can anyone  
>> tell me what $magicusecommand is called, please?
>
> equery uses <package atom>

Many thanks!

I have been for sometime trying to be able to make something useful of  
Justin's advice. euse & quse are incorrect, but emeta looks like it  
will do the job; emteta is in the genscripts overlay, but layman has  
been frustrating me.

Your suggestion has solved the problem immediately.

Many thanks!

Stroller.
  



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

end of thread, other threads:[~2009-05-26 10:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-26  8:43 [gentoo-user] Seeing USE flag descriptions for a package Stroller
2009-05-26  9:11 ` Justin
2009-05-26  9:57 ` [gentoo-user] " Nikos Chantziaras
2009-05-26 10:15   ` Stroller

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