Gentoo Archives: gentoo-dev

From: Marius Mauch <genone@g.o>
To: gentoo-dev@××××××××××××.org
Subject: Re: [gentoo-dev] USE Flags
Date: Mon, 21 Mar 2005 05:09:24
Message-Id: 20050321061128.6b7f0b64@sven.genone.homeip.net
In Reply to: Re: [gentoo-dev] USE Flags by Thomas de Grenier de Latour
1 On Sun, 20 Mar 2005 23:21:39 +0100
2 Thomas de Grenier de Latour <degrenier@×××××××××××.fr> wrote:
3
4 > On Sun, 20 Mar 2005 22:01:18 +0100
5 > Paul de Vrieze <pauldv@g.o> wrote:
6 >
7 > > I'll add some nice tag to support this.
8 >
9 > I'm sorry to insist, but is there something wrong with using
10 > use.local.desc, as i've proposed in bug #84884? I don't understand
11 > the rational for choosing metadata.xml. In my opinion, it makes
12 > this detailed description less likely to be written (more
13 > complex syntax, whereas the one of .desc file is already
14 > well-known), and less likely to be read (lack of user tools
15 > whereas there are plently for use.local.desc, which would need at
16 > most small trivial changes, if any).
17 >
18 > Also, take the following scenario:
19 >
20 > - use.local.desc has:
21 > "cat/pkgA:foo - adds support for libfoo as a replacement of \
22 > libbar. Do not enable it but if you really know what you do."
23 >
24 > - then comes cat/pkgB, which also support libfoo:
25 > "cat/pkgB:foo - adds support for libfoo, for playing .foo files"
26 >
27 > - And more packages start supporting libfoo, thus "foo" becomes
28 > a global flag:
29 > "foo - adds support for libfoo"
30 > With the "metadata.xml" approach, that will require moving the
31 > existing descriptions from use.local.desc to the various xml
32 > files. At the contrary, with the "keep it in use.local.desc"
33 > approach, no additional work is required...
34 >
35 >
36 > So could someone explain me that choice?
37
38 Well, nothing has been finalised so far (no tool support for either
39 solution), and thinking about it we might even use both solutions:
40 use.local.desc for package-specific short descriptions (like at the
41 moment) and metadata.xml for longer detailed descriptions if required,
42 similar to <longdescription>.
43 Opinions?
44
45 Marius
46
47 --
48 Public Key at http://www.genone.de/info/gpg-key.pub
49
50 In the beginning, there was nothing. And God said, 'Let there be
51 Light.' And there was still nothing, but you could see a bit better.

Replies

Subject Author
Re: [gentoo-dev] USE Flags Thomas de Grenier de Latour <degrenier@×××××××××××.fr>