public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] iuse defaults example
@ 2007-07-10  4:58 William Hubbs
  2007-07-10  5:20 ` Mike Frysinger
  0 siblings, 1 reply; 16+ messages in thread
From: William Hubbs @ 2007-07-10  4:58 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Jul 09, 2007 at 11:26:19PM +0100, Ciaran McCreesh wrote:
> As for IUSE defaults... There were objections against that feature on
> the grounds that it's unnecessary and increased maintenance. Do they
> really offer any benefit over package.use?


Would iuse defaults not be appropriate when a certain use flag is
recommended as the default for most users for a package??

Here is an example, I think, where an iuse default would make sense.
Espeak uses the portaudio library as a way to actually play sounds.
However, it can also be compiled without portaudio in order to just
generate wav files.

The way espeak is currently in the tree, it requires portaudio, and that
is the way I figure most people would want it to compile.

The issue though is that the way we have it right now it is not possible
to build espeak only to create wav files.  There would be 2 ways I can
see to do that.

1)  Use the portaudio use flag, and put it in IUSE as +portaudio so that
a user can turn it off if they desire, or
2) use a use flag something like "noportaudio", which would turn it off
if the user enables it, but I don't like that because of the reverse
logic -- If a flag is in use, it should enable support for something,
not disable it.

Is there another option that I'm missing, or is something like this a
good case for iuse defaults?

- -- 
William Hubbs
gentoo accessibility team lead
williamh@gentoo.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGkxHwblQW9DDEZTgRAirDAJ4y50ul/NbtMM+nyTHH7y7Y7N3NdQCeMVEW
8rY3UNew30RgEFqW42sMwzE=
=Um4Q
-----END PGP SIGNATURE-----
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2007-07-16 11:42 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-10  4:58 [gentoo-dev] iuse defaults example William Hubbs
2007-07-10  5:20 ` Mike Frysinger
2007-07-10  8:31   ` Petteri Räty
2007-07-10  9:04     ` Mike Frysinger
2007-07-10 16:12   ` Thilo Bangert
2007-07-10 19:44     ` Thomas de Grenier de Latour
2007-07-10 20:30       ` Mike Frysinger
2007-07-10 20:47         ` Thomas de Grenier de Latour
2007-07-10 21:32           ` Mike Frysinger
2007-07-15  9:53             ` Thomas de Grenier de Latour
2007-07-15 11:57               ` Marius Mauch
2007-07-15 12:53                 ` Thomas de Grenier de Latour
2007-07-15 19:22               ` Mike Frysinger
2007-07-15 20:24                 ` Arfrever Frehtes Taifersar Arahesis
2007-07-15 21:21                   ` Mike Frysinger
2007-07-16 11:42                 ` [gentoo-dev] " Steve Long

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox