From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1I87qs-0003sV-Cu for garchives@archives.gentoo.org; Tue, 10 Jul 2007 05:01:30 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l6A50RE8006487; Tue, 10 Jul 2007 05:00:27 GMT Received: from mta13.adelphia.net (mta13.mail.adelphia.net [68.168.78.44]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l6A4wQ89002805 for ; Tue, 10 Jul 2007 04:58:27 GMT Received: from linux1.home ([76.186.253.101]) by mta13.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20070710045825.BNWD26351.mta13.adelphia.net@linux1.home> for ; Tue, 10 Jul 2007 00:58:25 -0400 Received: by linux1.home (Postfix, from userid 1000) id ED70180F5; Mon, 9 Jul 2007 23:58:24 -0500 (CDT) Date: Mon, 9 Jul 2007 23:58:24 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] iuse defaults example Message-ID: <20070710045824.GA6673@linux1> Mail-Followup-To: gentoo-dev@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) X-Archives-Salt: 621a8928-12ac-4c6b-b222-b61d0c853cb3 X-Archives-Hash: e842ce770a390d9c15928ca02a453254 -----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