Re: [gentoo-dev] global USE flag overrides in metadata.xml (bug 235708)

2008-09-05 Thread Donnie Berkholz
On 00:19 Wed 03 Sep , Peter Volkov wrote:
 Personally I think that this is good idea to specialize global USE flags
 description in metadata.xml. In such case global USE flag description
 still correct, and we just adjust their meaning for specific package.
 What others think?

Yes, an override is OK iff it remains consistent with the global 
description.

-- 
Thanks,
Donnie

Donnie Berkholz
Developer, Gentoo Linux
Blog: http://dberkholz.wordpress.com


pgpQ1qSVxXJys.pgp
Description: PGP signature


[gentoo-dev] global USE flag overrides in metadata.xml (bug 235708)

2008-09-02 Thread Peter Volkov
Hello.

Is it allowed (good idea) to override global USE flags in metadata.xml?

GLEP 56 in Motivation part give us such examples and media-libs/xine-lib
already uses this possibility but before GLEP 56 was implemented having
USE flag both in local.use.desc and use.desc was not allowed.

We already discussed this issue on -dev in USE flag documentation
thread(s) and although general opinion was that this is good idea (I
have not found objections) we still have documented that this is not
allowed. Cite from devmanual[1]:

All USE flags must be described in either use.desc or use.local.desc in
the profiles/ directory.

Personally I think that this is good idea to specialize global USE flags
description in metadata.xml. In such case global USE flag description
still correct, and we just adjust their meaning for specific package.
What others think?


P.S. After I wrote this e-mail I found bug 235708 [1] which discusses
same issue but I still think -dev is better place for such discussion.

[1] http://devmanual.gentoo.org/general-concepts/use-flags/index.html
[2] http://bugs.gentoo.org/show_bug.cgi?id=235708
-- 
Peter.




Re: [gentoo-dev] global USE flag overrides in metadata.xml (bug 235708)

2008-09-02 Thread Doug Goldstein
Peter Volkov wrote:
 Hello.

 Is it allowed (good idea) to override global USE flags in metadata.xml?


   
Yes. That was the whole point of this. That's why I started it because
Halc0yn said we could not override global USE flags (use.desc) in local
USE flag (use.local.desc).

The devmanual has not been updated to reflect the acceptance of GLEP 56
by the council nor it's subsequent implementation.