public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-dev] Undocumented and unused USE variables
@ 2012-03-16 12:49 Christoph Niethammer
  2012-03-16 13:01 ` Rich Freeman
  2012-03-16 16:55 ` [gentoo-dev] " Alec Warner
  0 siblings, 2 replies; 4+ messages in thread
From: Christoph Niethammer @ 2012-03-16 12:49 UTC (permalink / raw
  To: gentoo-dev

Hello.

I see. There is more documentation on a per package bases wich has to be considered, too. (Found already the metadata.xml files.)

As with the pango USE they may differe in their description - maybe also in their meaning for different packages. So local USE flags should only be used on a per package basis!

Here the euse command is realy handy. :-)
However the sysfs USE flag is still hiding its documentation.
So lets see if this is a bug or a feature. ;-)

Thx for the clarification so far.

Best regards
Christoph

René Neumann <lists@necoro.eu> schrieb:

>> * Undocumented use flags:
>> ----------
>> pango
>
>
>% euse -i pango
>global use flags (searching: pango)
>************************************************************
>no matching entries found
>
>local use flags (searching: pango)
>************************************************************
>[+  D   ] pango
>    app-i18n/fcitx: Enable support for x11-libs/pango
>              3.6.3 [gentoo]
>              3.6.4 [gentoo]
>        [+  ] 4.0.0 [gentoo]
>        [+  ] 4.0.1 [gentoo]
>        [+  ] 4.2.0-r2 [gentoo]
>        [+  ] 4.2.1 [gentoo]
>
>[+  D   ] pango
>    media-gfx/fontforge: Enable pango font rendering
>        [+  ] 20100501 [gentoo]
>        [+  ] 20110222 [gentoo]
>        [+  ] 20110222-r1 [gentoo]
>
>[+  D   ] pango
>    media-gfx/imagemagick: Enable Pango support using x11-libs/pango
>
>[...]
>

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

* Re: [gentoo-dev] Undocumented and unused USE variables
  2012-03-16 12:49 [gentoo-dev] Undocumented and unused USE variables Christoph Niethammer
@ 2012-03-16 13:01 ` Rich Freeman
  2012-03-16 17:53   ` [gentoo-dev] " Duncan
  2012-03-16 16:55 ` [gentoo-dev] " Alec Warner
  1 sibling, 1 reply; 4+ messages in thread
From: Rich Freeman @ 2012-03-16 13:01 UTC (permalink / raw
  To: gentoo-dev

On Fri, Mar 16, 2012 at 8:49 AM, Christoph Niethammer
<christoph.niethammer@googlemail.com> wrote:
> Here the euse command is realy handy. :-)
> However the sysfs USE flag is still hiding its documentation.
> So lets see if this is a bug or a feature. ;-)

Yup, euse is helpful, or you can grep /usr/portage/profiles/use.*
(including the local version).

I suspect we'll find 3 categories here:

1.  Stuff like amd64 which isn't really a USE flag proper, but which
is required due to how arch support works.  As far as I know amd64 is
the only one in this category.

2.  Stuff like pango which really are documented.

3.  Stuff like sysfs which are neither.  File a bug...  :)

Rich



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

* Re: [gentoo-dev] Undocumented and unused USE variables
  2012-03-16 12:49 [gentoo-dev] Undocumented and unused USE variables Christoph Niethammer
  2012-03-16 13:01 ` Rich Freeman
@ 2012-03-16 16:55 ` Alec Warner
  1 sibling, 0 replies; 4+ messages in thread
From: Alec Warner @ 2012-03-16 16:55 UTC (permalink / raw
  To: gentoo-dev

On Fri, Mar 16, 2012 at 5:49 AM, Christoph Niethammer
<christoph.niethammer@googlemail.com> wrote:
> Hello.
>
> I see. There is more documentation on a per package bases wich has to be considered, too. (Found already the metadata.xml files.)

The metadata.xml files are  used to generate the use.local.desc file.

>
> As with the pango USE they may differe in their description - maybe also in their meaning for different packages. So local USE flags should only be used on a per package basis!

Usage of flags are not so clear cut as this, so I wouldn't make that
kind of generalization on their use.

>
> Here the euse command is realy handy. :-)
> However the sysfs USE flag is still hiding its documentation.
> So lets see if this is a bug or a feature. ;-)
>
> Thx for the clarification so far.
>
> Best regards
> Christoph
>
> René Neumann <lists@necoro.eu> schrieb:
>
>>> * Undocumented use flags:
>>> ----------
>>> pango
>>
>>
>>% euse -i pango
>>global use flags (searching: pango)
>>************************************************************
>>no matching entries found
>>
>>local use flags (searching: pango)
>>************************************************************
>>[+  D   ] pango
>>    app-i18n/fcitx: Enable support for x11-libs/pango
>>              3.6.3 [gentoo]
>>              3.6.4 [gentoo]
>>        [+  ] 4.0.0 [gentoo]
>>        [+  ] 4.0.1 [gentoo]
>>        [+  ] 4.2.0-r2 [gentoo]
>>        [+  ] 4.2.1 [gentoo]
>>
>>[+  D   ] pango
>>    media-gfx/fontforge: Enable pango font rendering
>>        [+  ] 20100501 [gentoo]
>>        [+  ] 20110222 [gentoo]
>>        [+  ] 20110222-r1 [gentoo]
>>
>>[+  D   ] pango
>>    media-gfx/imagemagick: Enable Pango support using x11-libs/pango
>>
>>[...]
>>



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

* [gentoo-dev] Re: Undocumented and unused USE variables
  2012-03-16 13:01 ` Rich Freeman
@ 2012-03-16 17:53   ` Duncan
  0 siblings, 0 replies; 4+ messages in thread
From: Duncan @ 2012-03-16 17:53 UTC (permalink / raw
  To: gentoo-dev

Rich Freeman posted on Fri, 16 Mar 2012 09:01:43 -0400 as excerpted:

> On Fri, Mar 16, 2012 at 8:49 AM, Christoph Niethammer
> <christoph.niethammer@googlemail.com> wrote:
>> Here the euse command is realy handy. :-)
>> However the sysfs USE flag is still hiding its documentation.
>> So lets see if this is a bug or a feature. ;-)
> 
> Yup, euse is helpful, or you can grep /usr/portage/profiles/use.*
> (including the local version).

FWIW, there's also equery uses (or just equery u), part of gentoolkit 
along with euse.  But you run equery uses against a specific package, so 
"equery u portage" for instance.  Where USE flags have a package-specific 
meaning, it's printed, and I've come to prefer equery u's output to euse -
i's.

FWIW(2), I'd suggest reading the equery manpage and getting familiar with 
all of its actions.  At least here, I find it QUITE a useful command. =:^)

There's also portage-utils and I believe a few other alternatives.  
Personally, I prefer equery, but I have portage-utils installed, as I'll 
see an occasional post-install message recommending a query using portage-
utils, and it's easier to just have it installed than it is to figure out 
exactly what the query does and translate it to a equery.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman




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

end of thread, other threads:[~2012-03-16 17:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16 12:49 [gentoo-dev] Undocumented and unused USE variables Christoph Niethammer
2012-03-16 13:01 ` Rich Freeman
2012-03-16 17:53   ` [gentoo-dev] " Duncan
2012-03-16 16:55 ` [gentoo-dev] " Alec Warner

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