Gentoo Archives: gentoo-dev

From: Peter Volkov <pva@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] global USE flag overrides in metadata.xml (bug 235708)
Date: Tue, 02 Sep 2008 20:20:41
Message-Id: 1220386740.6005.112.camel@localhost
1 Hello.
2
3 Is it allowed (good idea) to override global USE flags in metadata.xml?
4
5 GLEP 56 in Motivation part give us such examples and media-libs/xine-lib
6 already uses this possibility but before GLEP 56 was implemented having
7 USE flag both in local.use.desc and use.desc was not allowed.
8
9 We already discussed this issue on -dev in "USE flag documentation"
10 thread(s) and although general opinion was that this is good idea (I
11 have not found objections) we still have documented that this is not
12 allowed. Cite from devmanual[1]:
13
14 "All USE flags must be described in either use.desc or use.local.desc in
15 the profiles/ directory."
16
17 Personally I think that this is good idea to specialize global USE flags
18 description in metadata.xml. In such case global USE flag description
19 still correct, and we just adjust their meaning for specific package.
20 What others think?
21
22
23 P.S. After I wrote this e-mail I found bug 235708 [1] which discusses
24 same issue but I still think -dev is better place for such discussion.
25
26 [1] http://devmanual.gentoo.org/general-concepts/use-flags/index.html
27 [2] http://bugs.gentoo.org/show_bug.cgi?id=235708
28 --
29 Peter.

Replies