From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.77) (envelope-from ) id 1SsHZg-0005Hk-B1 for garchives@archives.gentoo.org; Fri, 20 Jul 2012 18:05:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C9D1E0511; Fri, 20 Jul 2012 18:04:39 +0000 (UTC) Received: from mail-wi0-f195.google.com (mail-wi0-f195.google.com [209.85.212.195]) by pigeon.gentoo.org (Postfix) with ESMTP id B229021C03C for ; Fri, 20 Jul 2012 18:03:35 +0000 (UTC) Received: by wibhq4 with SMTP id hq4so115055wib.10 for ; Fri, 20 Jul 2012 11:03:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; bh=BLh6erdo3i8blQcZ4Nz0KVTahwcl5SGjIXJxd7Glq/Y=; b=C3+skySP/Vv9xT2v4CNdx2AVbjywW+NPeEjaSmyTaQGozTCCn8lOsx9ErWNYUyIXA7 c6aUK6tT8vMVYM8cDkDzo627A94HCNIZifen2euGWuP8ejDDdXJ0GyKOpt7CORNyNuS7 OAITzWzkEe6gLD/BCE32YAjyb1XUNasM30t9ff+JNR2SKnIlayrEHxPv9UPxMeaPC4Ik GXKOYADbx3NntXJ5nrKxMvvjr+ih0XffeuRKEbhLWB8+EdD3YbjC0emwGGMD+iKmy2o/ /fb0oAw0KynQ87iBkA4A8af3GJ0Wk0MjX7Bh7K6h1qYP35fo7EkQGjPsQdGsmDHZQrjO Eojg== Received: by 10.216.93.6 with SMTP id k6mr4551746wef.86.1342807414846; Fri, 20 Jul 2012 11:03:34 -0700 (PDT) Received: from localhost (cpc13-broo7-2-0-cust130.14-2.cable.virginmedia.com. [82.9.16.131]) by mx.google.com with ESMTPS id bc2sm16895439wib.0.2012.07.20.11.03.33 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 Jul 2012 11:03:34 -0700 (PDT) Date: Fri, 20 Jul 2012 19:03:03 +0100 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] RFC: l10n.eclass Message-ID: <20120720190303.48e38db6@googlemail.com> In-Reply-To: References: <20120719151422.1fb9883b@sera-17.lan> <50087884.90006@gentoo.org> <20120720075457.4cccea26@googlemail.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/pbPFtmEtR7A1QKesJhZMtsu"; protocol="application/pgp-signature" X-Archives-Salt: 84b33f17-3813-4f11-b7de-2293e4ef7a5c X-Archives-Hash: 0d5cbec2d8effb252cc9d6a4d55f323a --Sig_/pbPFtmEtR7A1QKesJhZMtsu Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 20 Jul 2012 13:55:46 -0400 Mike Gilbert wrote: > On Fri, Jul 20, 2012 at 2:54 AM, Ciaran McCreesh > wrote: > > On Thu, 19 Jul 2012 18:34:41 -0400 > > Mike Gilbert wrote: > >> On Thu, Jul 19, 2012 at 5:13 PM, Zac Medico > >> wrote: > >> > On 07/19/2012 06:14 AM, Ralph Sennhauser wrote: > >> >> Could be that Portage re-exports a sanitized > >> >> LINGUAS tough, but I doubt it. > >> > > >> > Portage does sanitize it if there are any linguas_* flags in > >> > IUSE, otherwise it lets the variable pass through without > >> > sanitizing it. > >> > >> That's good; we definitely don't want to "sanitize" it if there > >> are no linuguas_* flags in IUSE. This would break LINUGUAS support > >> for many autotools/gettext based packages, where the autotools > >> code parses LINGUAS directly and the ebuild does nothing with it. > > > > If there aren't any linguas_* flags in IUSE, LINGUAS should be > > empty, and will be in future EAPIs. Without that, USE dependencies > > on USE_EXPAND variables don't work. >=20 > Do you mean that LINGUAS will be empty, or unset (undefined) in an > ebuild context? The difference is significant here. For EAPIs before 5, LINGUAS contains *at least* the things in IUSE intersected with the ones the user has enabled, with the linguas_ stripped. It's not just "the environment variable in make.conf", since a user might put linguas_en in package.use. For EAPIs 5 and onwards, LINGUAS contains only those things, and definitely won't contain anything else. --=20 Ciaran McCreesh --Sig_/pbPFtmEtR7A1QKesJhZMtsu Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlAJnVkACgkQ96zL6DUtXhEZ0wCgu9ZCd76w1q6d8y+/dJhP7PKl 43gAoK6kjMXw34gKwUt4FEoQS+S8Tkzx =evjd -----END PGP SIGNATURE----- --Sig_/pbPFtmEtR7A1QKesJhZMtsu--