From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AECAE138262 for ; Fri, 20 May 2016 19:55:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D28C142B3; Fri, 20 May 2016 19:55:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 203C7E07C7 for ; Fri, 20 May 2016 19:55:19 +0000 (UTC) Received: from pomiot (d202-252.icpnet.pl [109.173.202.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id C7F23340B37; Fri, 20 May 2016 19:55:16 +0000 (UTC) Date: Fri, 20 May 2016 21:55:03 +0200 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: "Johannes Huber" Cc: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: eclass/ Message-ID: <20160520215503.633000e1.mgorny@gentoo.org> In-Reply-To: <1463773635.548f4ee19c6b0fe0d5e87e84a5a82c421229e0ce.johu@gentoo> References: <1463773635.548f4ee19c6b0fe0d5e87e84a5a82c421229e0ce.johu@gentoo> Organization: Gentoo X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; 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-sha512; boundary="Sig_/7W8DSP5+JtJswN65gERfw+I"; protocol="application/pgp-signature" X-Archives-Salt: 1634e8d8-c76a-4c04-8480-0fc48261a853 X-Archives-Hash: bc318f13ac9914e2de97bd71229dd69c --Sig_/7W8DSP5+JtJswN65gERfw+I Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 20 May 2016 19:47:55 +0000 (UTC) "Johannes Huber" wrote: > commit: 548f4ee19c6b0fe0d5e87e84a5a82c421229e0ce > Author: Michael Palimaka gentoo org> > AuthorDate: Fri May 20 19:46:11 2016 +0000 > Commit: Johannes Huber gentoo org> > CommitDate: Fri May 20 19:47:15 2016 +0000 > URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3D548f4e= e1 >=20 > kde5.eclass: install all translations when LINGUAS is undefined >=20 > This mirrors the behaviour of the gettext autotools macros. >=20 > Gentoo-bug: 581382 >=20 > Signed-off-by: Johannes Huber gentoo.org> >=20 > eclass/kde5.eclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass > index 377d2c5..eaffb9e 100644 > --- a/eclass/kde5.eclass > +++ b/eclass/kde5.eclass > @@ -397,7 +397,7 @@ kde5_src_prepare() { > =20 > # enable only the requested translations > # when required > - if [[ -d po ]] ; then > + if [[ -d po && -v LINGUAS ]] ; then > pushd po > /dev/null || die > for lang in *; do > if [[ -d ${lang} ]] && ! has ${lang} ${LINGUAS} ; then This doesn't really make any difference since per EAPI 6 all USE_EXPAND variables (incl. LINGUAS) are always defined. The only reason it seems to work for you is due to a Portage bug. --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/7W8DSP5+JtJswN65gERfw+I Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJXP2uXXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOyysQAJgxPHRkqC0vO9PKpZr1GY0W 5nWsmlmTGM9p8DTalQRJXSd2g2evhru6dZtOxDxKbvBPJr5ym948YrNt3b0eEE0l qfD9+wdyuoNvG8v+PrwQf+BvKd3IO1F2LgeYj38Nd0itkIrCMVJwa/+pIB4X06QC AysGuDBL92w30+bFygWw/l4pWEKFNa3BnPdloQ1oS6W6VMUw65/9/BT6OPGRGwYM NILCJDdojP40ns+JvTqdOggwgWQ1/eOjfRPCSHff8jYS9iBFM5ZTjYajTNmmQmxd C75SF0GBYRtbBOQXywxjZiBb/awg7fIPsDMgsUiegAYzCi0pNRrJUry4F7H1B6S4 YZHwdGGIo16/wUJ9spnq+JXZ8pSA8oW0N6X+Z2mZZ8/1dK33rZ3gIhlD3vaE6I87 15XllsOV6RZDs0GMJfv1l7snVKtPfctOVIso+VO4RasPsCez4GlYBti9iwJpC9D/ xCfuprOTqWPeTdGsvZWYKaKP6wBqGoEqgzA8O0zl6r+mC3JAP8aQbnBdTMwJW6Nz e2wcZPitK6EFru2jPTcfSxbj41FcFmMVUF1XwKuLZ5XDmADSP8OX2QEVbGltKckM AXFFA2JxSJrXjD6fkYY/QflkzdVAXBcZj0ahK15qxclkkWrSSezbykOoBLqKTG3v 6CtI5Rm4lTO3tMju1Bzw =1XNv -----END PGP SIGNATURE----- --Sig_/7W8DSP5+JtJswN65gERfw+I--