Ciaran McCreesh wrote:
On Thu, 05 Jun 2008 15:42:24 -0400
Doug Goldstein <[EMAIL PROTECTED]> wrote:
Here's a GLEP for the addition of USE flag descriptions to package metadata. It does not address any future ideas that others may have had or suggested. It merely gives developers the necessary "tools" to document their USE flag usage it better detail on a per package basis.

There should also be a way of referring to a use flag owned by either
this or another package. For example:

<flag name="foo">Enables support for fooing. Ignored unless <flagref
name="bar">plugin</flagref> support is enabled for this package and
<flagref restrict="app-misc/foo" name="bindings">bindings</flagref> is
enabled for <pkg>app-misc/foo</pkg>.</flag>

But that's rather ugly... There's probably a nicer way of marking it up
using XML.


What about just nesting them?

<flag name foo>
        <flag name bar>Turns on hawt chicks</flag>
        <flag name baz>Turns on welp</flag>
</flag>

Of course, you probably couldn't tell that just by looking at them, but it's an idea.

Steve
--
gentoo-dev@lists.gentoo.org mailing list

Reply via email to