From 96065f91bb73581e3f6e564c9a4ba322f3f3bf04 Mon Sep 17 00:00:00 2001 From: Sergey Torokhov Date: Mon, 16 Dec 2019 02:18:52 +0300 Subject: [PATCH] media-gfx/gimp: 9999. Remove inherit l10n.eclass The using of l10n.eclass is deprecated. Also there is actually no need to handle localization support via it as system LINGUAS env variable is used to determine the localizations that are preferred by user. Signed-off-by: Sergey Torokhov Closes: https://github.com/gentoo/gentoo/pull/13993 Signed-off-by: Joonas Niilola --- media-gfx/gimp/gimp-9999.ebuild | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/media-gfx/gimp/gimp-9999.ebuild b/media-gfx/gimp/gimp-9999.ebuild index fb68f61b9b4d..6155d061b952 100644 --- a/media-gfx/gimp/gimp-9999.ebuild +++ b/media-gfx/gimp/gimp-9999.ebuild @@ -2,15 +2,11 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PLOCALES="am ar ast az be bg br bs ca ca@valencia cs csb da de dz el en_CA en_GB eo - es et eu fa fi fr ga gd gl gu he hi hr hu id is it ja ka kk km kn ko ky - lt lv mk ml mr ms my nb nds ne nl nn oc pa pl pt pt_BR ro ru rw si sk sl - sr sr@latin sv ta te th tr tt uk vi xh yi zh_CN zh_HK zh_TW" PYTHON_COMPAT=( python3_{6,7} ) GNOME2_EAUTORECONF=yes -inherit autotools git-r3 gnome2 l10n python-single-r1 virtualx +inherit autotools git-r3 gnome2 python-single-r1 virtualx DESCRIPTION="GNU Image Manipulation Program" HOMEPAGE="https://www.gimp.org/" @@ -124,10 +120,6 @@ src_prepare() { echo "EXTRA_DIST = missing-gtk-doc" > gtk-doc.make fi - # Remove disabled locales - _rm_locale() { sed -i -e "/${1}/d" po/LINGUAS || die "Failed to remove disabled locales"; } - l10n_for_each_disabled_locale_do _rm_locale - gnome2_src_prepare # calls eautoreconf sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' -i configure || die #615144 -- 2.26.2