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 0AAE81382BD for ; Fri, 24 Jun 2016 22:02:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A885014217; Fri, 24 Jun 2016 22:02:39 +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 4D07414217 for ; Fri, 24 Jun 2016 22:02:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3B9B0340B19 for ; Fri, 24 Jun 2016 22:02:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5B5CE209C for ; Fri, 24 Jun 2016 22:02:36 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1466805749.4fe8c8d5c8390152e12903d95f3a930d90bd27e3.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/gimp-help/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-doc/gimp-help/gimp-help-2.6.1.ebuild X-VCS-Directories: app-doc/gimp-help/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 4fe8c8d5c8390152e12903d95f3a930d90bd27e3 X-VCS-Branch: master Date: Fri, 24 Jun 2016 22:02:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dfa21924-5713-4b90-9a4c-6a4dbcba85d9 X-Archives-Hash: bb5a8951176c4cf3f17d64a44e869498 commit: 4fe8c8d5c8390152e12903d95f3a930d90bd27e3 Author: Ulrich Müller gentoo org> AuthorDate: Fri Jun 24 22:02:00 2016 +0000 Commit: Ulrich Müller gentoo 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"