Gentoo Archives: gentoo-dev

From: Steve Dibb <beandog@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [GLEP56] USE flag descriptions in metadata
Date: Sat, 07 Jun 2008 05:23:45
Message-Id: 484A1B72.2030705@gentoo.org
In Reply to: Re: [gentoo-dev] [GLEP56] USE flag descriptions in metadata by Ciaran McCreesh
1 Ciaran McCreesh wrote:
2 > On Thu, 05 Jun 2008 15:42:24 -0400
3 > Doug Goldstein <cardoe@g.o> wrote:
4 >> Here's a GLEP for the addition of USE flag descriptions to package
5 >> metadata. It does not address any future ideas that others may have
6 >> had or suggested. It merely gives developers the necessary "tools" to
7 >> document their USE flag usage it better detail on a per package basis.
8 >
9 > There should also be a way of referring to a use flag owned by either
10 > this or another package. For example:
11 >
12 > <flag name="foo">Enables support for fooing. Ignored unless <flagref
13 > name="bar">plugin</flagref> support is enabled for this package and
14 > <flagref restrict="app-misc/foo" name="bindings">bindings</flagref> is
15 > enabled for <pkg>app-misc/foo</pkg>.</flag>
16 >
17 > But that's rather ugly... There's probably a nicer way of marking it up
18 > using XML.
19 >
20
21 What about just nesting them?
22
23 <flag name foo>
24 <flag name bar>Turns on hawt chicks</flag>
25 <flag name baz>Turns on welp</flag>
26 </flag>
27
28 Of course, you probably couldn't tell that just by looking at them, but
29 it's an idea.
30
31 Steve
32 --
33 gentoo-dev@l.g.o mailing list