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 1IA2nb-0005qU-Vl for garchives@archives.gentoo.org; Sun, 15 Jul 2007 12:02:04 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l6FC0O3D002430; Sun, 15 Jul 2007 12:00:24 GMT Received: from mail.genone.homeip.net (dslc-082-082-166-047.pools.arcor-ip.net [82.82.166.47]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l6FBwBXF030889 for ; Sun, 15 Jul 2007 11:58:11 GMT Received: by mail.genone.homeip.net (Postfix, from userid 460) id 9B170281C4; Sun, 15 Jul 2007 13:57:04 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr0-genone_0.7 (2007-02-13) on lyta.genone.homeip.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=7.0 tests=ALL_TRUSTED,BAYES_50 autolearn=ham version=3.1.8-gr0-genone_0.7 Received: from sheridan (sheridan [192.168.0.40]) by mail.genone.homeip.net (Postfix) with SMTP id 806E82819F for ; Sun, 15 Jul 2007 13:57:00 +0200 (CEST) Date: Sun, 15 Jul 2007 13:57:20 +0200 From: Marius Mauch To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] iuse defaults example Message-Id: <20070715135720.689a621b.genone@gentoo.org> In-Reply-To: <20070715115308.71cc8b16@eusebe> References: <20070710045824.GA6673@linux1> <200707101630.42100.vapier@gentoo.org> <20070710224711.2e52dc11@eusebe> <200707101732.18124.vapier@gentoo.org> <20070715115308.71cc8b16@eusebe> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.10.11; i686-pc-mingw32) 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 Content-Transfer-Encoding: 7bit X-Archives-Salt: f0623049-adb5-4079-92f7-3db139659d99 X-Archives-Hash: c4ba6ccb4991fbf56cf2d372de2c0993 On Sun, 15 Jul 2007 11:53:08 +0200 Thomas de Grenier de Latour wrote: > On 2007/07/10, Mike Frysinger wrote: > > > for some flags yes ... for others, i dislike that idea for the exact > > same reason for the other profile-based suggestions: these defaults > > should live in the ebuild, not the profile > > I agree that putting per-package defaults in ebuilds is far more > elegant than putting them in profiles. > > My point is just that it doesn't work that well with the USE_ORDER > that have been chosen. Even keeping the "-* in make.conf" case appart > (obviously my opinion on how it should behave was not widely shared, i > can live with that), there is still a problem with -* in make.defaults > files: the day you switch from IUSE="nocxx" to IUSE="+cxx", will you > remember that, as a consequence, you have to fix hardened/2.6/minimal > profile? Well, it's just like any other renaming of USE flags in that regard. > And also, in bug #61732 there is this comment from Zac about "-foo" > not being supported because pkginternal is at the bottom of the stack. > Imho, that's missing a great opportunity to make users' life a bit > easier... Take the "gtk" flag, which is on by default in usual desktop > profiles, but as the drawback to trigger GTK+-1.2 installation just > for a few CLI programs which comes with an optional obsolete GUI: > wouldn't it be nice if said packages could state IUSE="-gtk", so that > the default behavior would be to install only GTK+-2.x GUIs? I'm > pretty sure it would save a tenth of /etc/portage/package.use entries > for many users. IIRC that has been added a little while ago, but with the current default USE_ORDER it's more or less useless. And while I can see why people would want IUSE defaults to have a higher priority than USE in make.defaults and/or make.conf, I suspect the vast majority of users would get completely lost in finding out where a flag was enabled/disabled (the current system is already confusing to a lot of people until they get a detailed explanation). Marius -- gentoo-dev@gentoo.org mailing list