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 1EKFug-0005vR-D2 for garchives@archives.gentoo.org; Tue, 27 Sep 2005 13:54:30 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j8RDknrT010153; Tue, 27 Sep 2005 13:46:49 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 j8RDj9fd028562 for ; Tue, 27 Sep 2005 13:45:09 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 j8RDq834018230 for ; Tue, 27 Sep 2005 09:52:08 -0400 Received: by cgianelloni.nuvox.net (sSMTP sendmail emulation); Tue, 27 Sep 2005 09:50:35 -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: <20050927150701.49592bf5@eusebe> References: <200509271823.25788.jstubbs@gentoo.org> <1127824544.31328.11.camel@cgianelloni.nuvox.net> <20050927150701.49592bf5@eusebe> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-FyHpMnU6D3mP2fj0Cr1Q" Organization: Gentoo Linux Date: Tue, 27 Sep 2005 09:50:34 -0400 Message-Id: <1127829035.31328.32.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: a00e5248-a2d4-4d3e-b8d5-b65ce13ade1c X-Archives-Hash: d92fb2cdc222091554b6173f0511bce5 --=-FyHpMnU6D3mP2fj0Cr1Q Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2005-09-27 at 15:07 +0200, Thomas de Grenier de Latour wrote: > On Tue, 27 Sep 2005 08:35:43 -0400 > Chris Gianelloni wrote: >=20 > > Unfortunately, even trying to add -linguas_fr to package.use, > > still results in the French language pack being installed over > > the English. =20 >=20 > This reminds me bug #104573: it was the same problem where some > LINGUAS=3D"fr" users didn't want to have manpages-fr installed. The > workaround used there was to add the "nls" USE flag. This way you > separate the "do you want some translations?" question from the > "what translations do you want?" question. Actually, I like this idea. It isn't perfect, but it allows one to add -nls for the package in package.use to turn off translations. It still doesn't completely solve the problem, however. The user in question has LINGUAS=3D"en_US fr" but wants the English translation. This would be fine for this user, but what if the user had wanted the French translation and not English? > But sure, it's more a workaround than an ideal solution. >=20 > > For one, things in USE_EXPAND would need to be negate-able in > > package.use. =20 >=20 > It may be a problem if an ebuild relies on the USE flags being > coherent with the env var itself. I don't have example of such > ebuilds in mind though, but i guess it could happen that, for > instance, on one hand the LINGUAS var is used by autotools to > choose the locales to install, and on the other hand the linguas_* > flags are used to add some help files or spell dicts: this could > result in some kind of half-translated apps, maybe even broken > apps, i don't know... I hadn't considered this situation, as I was stuck thinking of binary apps (nwn and civ-ctp). --=20 Chris Gianelloni Release Engineering - Strategic Lead Games - Developer Gentoo Linux --=-FyHpMnU6D3mP2fj0Cr1Q 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) iD4DBQBDOU4qkT4lNIS36YERArPBAJ9FTecRH9aZaqmE0q1iYqVN/3VrxACY2zBo +TvGRekI2C/eS7qKLCtrqA== =4fWs -----END PGP SIGNATURE----- --=-FyHpMnU6D3mP2fj0Cr1Q-- -- gentoo-dev@gentoo.org mailing list