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.43) id 1EKEmV-00062S-Bp for garchives@archives.gentoo.org; Tue, 27 Sep 2005 12:41:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j8RCXRkw013694; Tue, 27 Sep 2005 12:33:27 GMT Received: from smtp03.gnvlscdb.sys.nuvox.net (smtp.nuvox.net [64.89.70.9]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j8RCUGmu012637 for ; Tue, 27 Sep 2005 12:30:17 GMT Received: from cgianelloni.nuvox.net (216.215.202.4.nw.nuvox.net [216.215.202.4]) by smtp03.gnvlscdb.sys.nuvox.net (8.12.11/8.12.11) with SMTP id j8RCbH7g017337 for ; Tue, 27 Sep 2005 08:37:17 -0400 Received: by cgianelloni.nuvox.net (sSMTP sendmail emulation); Tue, 27 Sep 2005 08:35:44 -0400 Subject: Re: [gentoo-dev] Dirt: To shove under the rug or not shove under the rug? (aka another round of USE_EXPAND) From: Chris Gianelloni To: gentoo-dev@lists.gentoo.org In-Reply-To: <200509271823.25788.jstubbs@gentoo.org> References: <200509271823.25788.jstubbs@gentoo.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-lvNXOxzabadtx8U4BuMs" Organization: Gentoo Linux Date: Tue, 27 Sep 2005 08:35:43 -0400 Message-Id: <1127824544.31328.11.camel@cgianelloni.nuvox.net> 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 X-Mailer: Evolution 2.2.3 X-Archives-Salt: 06cc9be2-3a23-4691-a299-ec8b6dc6287a X-Archives-Hash: 6386f3c30d4737485bbc96d1e24cce4b --=-lvNXOxzabadtx8U4BuMs Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2005-09-27 at 18:23 +0900, Jason Stubbs wrote: > 1) What to do if nothing is set? Install everything. If everything cannot be installed, due to incompatibilities, then die. > 2) What to do if an invalid value is set? >=20 > a) install everything Install everything. If everything cannot be installed, due to incompatibilities, then die. > 3) How to ebuild behave regarding a USE_EXPAND variable? >=20 > a) install everything chosen that is valid Yes. > b) install only the first that is chosen that is valid >=20 > Of these, 1) and 2) absolutely must be whittled down to one standard.=20 > Preferably, 3) should follow one standard as well. Not following one stan= dard=20 > will simply lead to users thinking, "but that's not what I wanted..!" It = will=20 > also lead portage to do needless recompiles due to the information availa= ble=20 > being limited. >=20 > Next, storing the information of what choices are valid. If it can be=20 > guaranteed that all packages supporting a variable (LINGUAS for example) = have=20 > exactly the same list of choices in all cases, storing the choice list in= a=20 > global file is acceptable. If not, each package absolutely must list what= =20 > choices are available for it. Not doing so means the flow may head into 2= ) in=20 > the above list even when the user has set a valid choice for a different=20 > package. Again, it's against the user's expectations. Let's take an example of this... Neverwinter Nights. Currently, it installs the language packs via LINGUAS. If nothing is selected via LINGUAS, then it installs English, which is considered the default. Unfortunately, even trying to add -linguas_fr to package.use, still results in the French language pack being installed over the English. I honestly do not know how to correct this. I see a couple things that would be needed. For one, things in USE_EXPAND would need to be negate-able in package.use. The problem with NWN is that only one language pack may be installed at any given time due to them providing the same files. You can see where I've been working with this on bug #106789. > Anybody not caring enough to fix this, please don't respond with "wah! wo= rk!?"=20 > You've dug your own hole... I would love to see this fixed. I'm guessing that this would mean defining all of the USE_EXPAND capabilities in IUSE, correct? --=20 Chris Gianelloni Release Engineering - Strategic Lead Games - Developer Gentoo Linux --=-lvNXOxzabadtx8U4BuMs Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDOTyfkT4lNIS36YERAh38AJ9YA1Drln+MfQBOjP6fe4Aequfk7ACfZKtG 3QcNB7EdYgELCWZJUVJcnIs= =Zry5 -----END PGP SIGNATURE----- --=-lvNXOxzabadtx8U4BuMs-- -- gentoo-dev@gentoo.org mailing list