public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/gimp-help/
Date: Fri, 24 Jun 2016 22:02:36 +0000 (UTC)	[thread overview]
Message-ID: <1466805749.4fe8c8d5c8390152e12903d95f3a930d90bd27e3.ulm@gentoo> (raw)

commit:     4fe8c8d5c8390152e12903d95f3a930d90bd27e3
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 24 22:02:00 2016 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Jun 24 22:02:29 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fe8c8d5

app-doc/gimp-help: Migrate from LINGUAS to L10N.

Package-Manager: portage-2.3.0

 app-doc/gimp-help/gimp-help-2.6.1.ebuild | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/app-doc/gimp-help/gimp-help-2.6.1.ebuild b/app-doc/gimp-help/gimp-help-2.6.1.ebuild
index cba7234..2287ea8 100644
--- a/app-doc/gimp-help/gimp-help-2.6.1.ebuild
+++ b/app-doc/gimp-help/gimp-help-2.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,16 +17,16 @@ IUSE=""
 # Only *not* outdated translations (see, configure.ac) are listed.
 # On update do not forgive to check quickreference/Makefile.am for
 # QUICKREFERENCE_ALL_LINGUAS. LANGS should include that langs too.
-LANGS="de en es fr it ja ko nl nn pl ru sv zh_CN"
+LANGS="de en es fr it ja ko nl nn pl ru sv zh-CN"
 
+# Download the english translation if no l10n_* flags are enabled.
+EMPTY_L10N_SRC_URI="mirror://gimp/help/${P}-html-en.tar.bz2"
 for X in ${LANGS} ; do
-	IUSE="${IUSE} linguas_${X}"
-	SRC_URI="${SRC_URI} linguas_${X}? ( mirror://gimp/help/${P}-html-${X}.tar.bz2 )"
-	EMPTY_LINGUAS_SRC_URI="mirror://gimp/help/${P}-html-${X}.tar.bz2 ${EMPTY_LINGUAS_SRC_URI}"
-	EMPTY_LINGUAS_SET="!linguas_${X}? ( ${EMPTY_LINGUAS_SET} "
-	EMPTY_LINGUAS_BRAKETS="${EMPTY_LINGUAS_BRAKETS} )"
+	IUSE+=" l10n_${X}"
+	SRC_URI+=" l10n_${X}? ( mirror://gimp/help/${P}-html-${X/-/_}.tar.bz2 )"
+	EMPTY_L10N_SRC_URI="!l10n_${X}? ( ${EMPTY_L10N_SRC_URI} )"
 done
-SRC_URI="${SRC_URI} ${EMPTY_LINGUAS_SET} ${EMPTY_LINGUAS_SRC_URI} ${EMPTY_LINGUAS_BRAKETS}"
+SRC_URI="${SRC_URI} ${EMPTY_L10N_SRC_URI}"
 
 DEPEND=""
 RDEPEND=">=media-gfx/gimp-2.4"


             reply	other threads:[~2016-06-24 22:02 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-24 22:02 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-06-12  8:58 [gentoo-commits] repo/gentoo:master commit in: app-doc/gimp-help/ Michael Palimaka
2017-06-12  8:58 Michael Palimaka
2018-04-08 22:42 Patrice Clement
2018-04-22 21:04 Matt Turner
2019-01-27 12:13 Sergei Trofimovich
2019-01-27 14:09 Sergei Trofimovich
2019-01-27 14:14 Sergei Trofimovich
2019-01-31 21:24 Tobias Klausmann
2019-02-07 10:35 Mikle Kolyada
2019-02-17 22:58 Patrice Clement
2019-02-18 19:48 Sergei Trofimovich
2019-02-18 21:24 Pacho Ramos
2019-12-07 12:47 Joonas Niilola
2019-12-07 12:47 Joonas Niilola
2020-02-11 10:20 Michał Górny
2020-09-16  8:04 Joonas Niilola
2020-09-16  8:04 Joonas Niilola
2020-09-20 22:40 Thomas Deutschmann
2020-09-22  6:33 Sergei Trofimovich
2020-09-23 10:20 Agostino Sarubbo
2020-09-23 10:24 Agostino Sarubbo
2020-09-23 10:29 Agostino Sarubbo
2020-09-23 11:07 Michał Górny
2021-12-12 14:23 Yixun Lan
2022-02-27  0:54 Sam James
2022-02-27  0:54 Sam James
2022-02-27  0:54 Sam James
2022-06-07  1:15 Sam James
2022-06-07  6:32 Agostino Sarubbo
2022-06-07  6:33 Agostino Sarubbo
2022-06-07  6:33 Agostino Sarubbo
2022-06-07  6:34 Joonas Niilola
2022-06-07  6:34 Joonas Niilola
2022-10-08 16:49 Arthur Zamarin
2022-10-10  7:43 Arthur Zamarin
2022-10-10  7:43 Arthur Zamarin
2022-10-10  7:43 Arthur Zamarin
2023-05-04  6:48 Sam James
2023-05-05 22:38 Sam James
2023-05-07 13:35 Ulrich Müller
2023-05-07 13:35 Ulrich Müller
2023-05-19 23:50 Sam James
2023-08-18  8:32 Sam James
2023-08-18  9:21 Sam James
2023-08-18  9:21 Sam James
2023-08-18 21:50 Sam James
2023-11-30 15:59 Ionen Wolkens
2023-12-23 20:33 Sam James
2023-12-23 20:34 Sam James
2024-03-21  3:16 Sam James
2025-03-18 19:23 Sam James
2025-04-27 17:37 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1466805749.4fe8c8d5c8390152e12903d95f3a930d90bd27e3.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox