Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-dev@g.o
From: Thomas de Grenier de Latour <degrenier@...>
Subject: Re: USE Flags
Date: Mon, 21 Mar 2005 09:56:01 +0100
On Mon, 21 Mar 2005 06:11:28 +0100
Marius Mauch <genone@g.o> wrote:

> (no tool support for either solution)

Well, actually i've put some bits of code in the bugreport I've
mentioned above, so there is tool support for the use.local.desc
solution (equery and emerge). That was more to demonstrate how
easy it was to implement tho, and i agree it's not the only point
of the discussion.

> use.local.desc for package-specific short descriptions (like at
> the moment) and metadata.xml for longer detailed descriptions
> if required

That sounds like a good idea. So, to summarize (just to check
i've understood your proposal):

 - users should know when a flag is really a must-have for a
given package, or is at the contrary not advised, things like
that. That kind of quick hints, warnings, and other answers to
obvious questions like "Is DVD support by mplayer better with the
'dvdread' flag?" only require short notes (one sentence) in
general.  But what is important is that they get written whenever
there is something to say about a flag which is not already in
use.desc (because package-specific), and that they are easily
accessible for the user.  Here, use.local.desc seems better,
because there is no such thing as an "echo >>" to drop a quick
note somewhere, and because it doesn't require complex code or
access to multiple files to get optionaly displayed by emerge in
pretend mode.

 - user might sometimes wonder what is the "libfoo" that the "foo"
flag description ("add support for libfoo") talks about. That may
require a long description (one paragraphe), which don't need to
be in use.local.desc.  Metadata.xml is fine here, since anyway
that's the kind of things you write using a text editor. 

That raises on more question tho: if someone wants to write a
long description for a global flag, where does he do it?

gentoo-dev@g.o mailing list

Re: USE Flags
-- Thomas de Grenier de Latour
USE Flags
-- Fabian Zeindl
Re: USE Flags
-- Marius Mauch
Re: USE Flags
-- Paul de Vrieze
Re: USE Flags
-- Thomas de Grenier de Latour
Re: USE Flags
-- Marius Mauch
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: USE Flags
Next by thread:
Re: USE Flags
Previous by date:
mmxext flag
Next by date:
Re: giflib and libungif hell

Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.