public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  Find ebuilds that use a flag
@ 2009-03-13 14:36 James
  2009-03-13 14:53 ` Justin
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: James @ 2009-03-13 14:36 UTC (permalink / raw
  To: gentoo-user

Hello,


I need to be able to find which packages use a particular flag.

"gpac" to be specific:

Enable GPAC support when exporting to 3GPP format.


Any simple/global tools to find and list each and every
package available on Gentoo that has this flag as a option?


There is also an ebuild named "gpac"

Kino is one package the has this "gpac" flag.
How so I know it is the only one that requires
this gpac flag?

James







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

* Re: [gentoo-user]  Find ebuilds that use a flag
  2009-03-13 14:36 [gentoo-user] Find ebuilds that use a flag James
@ 2009-03-13 14:53 ` Justin
  2009-03-13 16:13   ` [gentoo-user] " James
  2009-03-13 15:35 ` [gentoo-user] " Mike Kazantsev
  2009-03-13 20:34 ` [gentoo-user] " Nick Fortino
  2 siblings, 1 reply; 9+ messages in thread
From: Justin @ 2009-03-13 14:53 UTC (permalink / raw
  To: gentoo-user

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

James schrieb:
> Hello,
> 
> 
> I need to be able to find which packages use a particular flag.
> 
> "gpac" to be specific:
> 
> Enable GPAC support when exporting to 3GPP format.
> 
> 
> Any simple/global tools to find and list each and every
> package available on Gentoo that has this flag as a option?
> 
> 
> There is also an ebuild named "gpac"
> 
> Kino is one package the has this "gpac" flag.
> How so I know it is the only one that requires
> this gpac flag?
> 
> James
> 
> 
> 
> 
> 
You can use

equery hasuse gpac ==> shows all install packages which have

or

qgrep -v IUSE|grep gpac ==> extensive but should bring you all packages which have it in USE


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

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

* Re: [gentoo-user]  Find ebuilds that use a flag
  2009-03-13 14:36 [gentoo-user] Find ebuilds that use a flag James
  2009-03-13 14:53 ` Justin
@ 2009-03-13 15:35 ` Mike Kazantsev
  2009-03-13 16:17   ` [gentoo-user] " James
  2009-03-13 20:34 ` [gentoo-user] " Nick Fortino
  2 siblings, 1 reply; 9+ messages in thread
From: Mike Kazantsev @ 2009-03-13 15:35 UTC (permalink / raw
  To: gentoo-user

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

On Fri, 13 Mar 2009 14:36:54 +0000 (UTC)
James <wireless@tampabay.rr.com> wrote:

> Any simple/global tools to find and list each and every
> package available on Gentoo that has this flag as a option?

Since it's a local use flag, I suppose 'euse -i gpac' should do the
trick. euse is a part of app-portage/gentoolkit package.

-- 
Mike Kazantsev // fraggod.net

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

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

* [gentoo-user]  Re: Find ebuilds that use a flag
  2009-03-13 14:53 ` Justin
@ 2009-03-13 16:13   ` James
  0 siblings, 0 replies; 9+ messages in thread
From: James @ 2009-03-13 16:13 UTC (permalink / raw
  To: gentoo-user

Justin <justin <at> j-schmitz.net> writes:


> > Any simple/global tools to find and list each and every
> > package available on Gentoo that has this flag as a option?

> equery hasuse gpac ==> shows all install packages which have
> 
> or

> qgrep -v IUSE|grep gpac ==> extensive but should bring you all packages which
have it in USE


This only searches my installed base of software:



[ Searching for USE flag gpac in all categories among: ]
 * installed packages
[I--] [  ] media-video/kino-1.3.1 (0)


How do I search for ebuilds (packages) that have this flag
as an option, for all of the software I do not have installed?


James




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

* [gentoo-user]  Re: Find ebuilds that use a flag
  2009-03-13 15:35 ` [gentoo-user] " Mike Kazantsev
@ 2009-03-13 16:17   ` James
  2009-03-13 16:25     ` Mike Kazantsev
  0 siblings, 1 reply; 9+ messages in thread
From: James @ 2009-03-13 16:17 UTC (permalink / raw
  To: gentoo-user

Mike Kazantsev <mike_kazantsev <at> fraggod.net> writes:


> Since it's a local use flag, I suppose 'euse -i gpac' should do the
> trick. euse is a part of app-portage/gentoolkit package.


euse -i gpac
global use flags (searching: gpac)
************************************************************
no matching entries found

local use flags (searching: gpac)
************************************************************
[-    ] gpac (media-video/kino):
Enable GPAC support when exporting to 3GPP format

OK, how do I know this is an exhaustive search of both packages installed
and other packages I do not have install on the system it is ran on?



James




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

* Re: [gentoo-user]  Re: Find ebuilds that use a flag
  2009-03-13 16:17   ` [gentoo-user] " James
@ 2009-03-13 16:25     ` Mike Kazantsev
  2009-03-13 16:48       ` Justin
  0 siblings, 1 reply; 9+ messages in thread
From: Mike Kazantsev @ 2009-03-13 16:25 UTC (permalink / raw
  To: gentoo-user

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

On Fri, 13 Mar 2009 16:17:46 +0000 (UTC)
James <wireless@tampabay.rr.com> wrote:

> OK, how do I know this is an exhaustive search of both packages installed
> and other packages I do not have install on the system it is ran on?

Simple: you have to trust in euse :)

Also, I've noticed that there's q-analog of euse in
app-portage/portage-utils package: quse

'quse -e gpac' should give you pretty much what you need and should
work for both global and local use flags.

-- 
Mike Kazantsev // fraggod.net

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

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

* Re: [gentoo-user]  Re: Find ebuilds that use a flag
  2009-03-13 16:25     ` Mike Kazantsev
@ 2009-03-13 16:48       ` Justin
  0 siblings, 0 replies; 9+ messages in thread
From: Justin @ 2009-03-13 16:48 UTC (permalink / raw
  To: gentoo-user

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

Mike Kazantsev schrieb:
> On Fri, 13 Mar 2009 16:17:46 +0000 (UTC)
> James <wireless@tampabay.rr.com> wrote:
> 
>> OK, how do I know this is an exhaustive search of both packages installed
>> and other packages I do not have install on the system it is ran on?
> 
> Simple: you have to trust in euse :)
> 
> Also, I've noticed that there's q-analog of euse in
> app-portage/portage-utils package: quse
> 
> 'quse -e gpac' should give you pretty much what you need and should
> work for both global and local use flags.
> 
euse is often not correct in its output!!!


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

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

* Re: [gentoo-user]  Find ebuilds that use a flag
  2009-03-13 14:36 [gentoo-user] Find ebuilds that use a flag James
  2009-03-13 14:53 ` Justin
  2009-03-13 15:35 ` [gentoo-user] " Mike Kazantsev
@ 2009-03-13 20:34 ` Nick Fortino
  2009-03-14 16:53   ` [gentoo-user] " James
  2 siblings, 1 reply; 9+ messages in thread
From: Nick Fortino @ 2009-03-13 20:34 UTC (permalink / raw
  To: gentoo-user

James wrote:
> Hello,
>
>
> I need to be able to find which packages use a particular flag.
>
> "gpac" to be specific:
>
> Enable GPAC support when exporting to 3GPP format.
>
>
> Any simple/global tools to find and list each and every
> package available on Gentoo that has this flag as a option?
>
>
> There is also an ebuild named "gpac"
>
> Kino is one package the has this "gpac" flag.
> How so I know it is the only one that requires
> this gpac flag?
>
> James
>
>
>
>
>
>   
Using eix (emerge eix; update-eix):
eix -e -U gpac

Using equery:
equery hasuse -p -o gpac

-p meaning search portage tree
-o meaning search any overlays you might have

Listening to your hard drive grind away should convince you it's doing 
what you want. It should also convince you to use eix.


Either way you do it, media-video/keno is the only one

Nick



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

* [gentoo-user]  Re: Find ebuilds that use a flag
  2009-03-13 20:34 ` [gentoo-user] " Nick Fortino
@ 2009-03-14 16:53   ` James
  0 siblings, 0 replies; 9+ messages in thread
From: James @ 2009-03-14 16:53 UTC (permalink / raw
  To: gentoo-user

Nick Fortino <nfortino <at> gmail.com> writes:



> eix -e -U gpac

> equery hasuse -p -o gpac

> Either way you do it, media-video/keno is the only one


OK,

cool.
Got it.


James






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

end of thread, other threads:[~2009-03-14 16:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-13 14:36 [gentoo-user] Find ebuilds that use a flag James
2009-03-13 14:53 ` Justin
2009-03-13 16:13   ` [gentoo-user] " James
2009-03-13 15:35 ` [gentoo-user] " Mike Kazantsev
2009-03-13 16:17   ` [gentoo-user] " James
2009-03-13 16:25     ` Mike Kazantsev
2009-03-13 16:48       ` Justin
2009-03-13 20:34 ` [gentoo-user] " Nick Fortino
2009-03-14 16:53   ` [gentoo-user] " James

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