Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 438510 Details for
Bug 586780
app-text/aspell: Migrate from LINGUAS to L10N
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
app-text/aspell: Migrate from LINGUAS to L10N.
0001-app-text-aspell-Migrate-from-LINGUAS-to-L10N.patch (text/plain), 3.74 KB, created by
Ulrich Müller
on 2016-06-23 08:30:38 UTC
(
hide
)
Description:
app-text/aspell: Migrate from LINGUAS to L10N.
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2016-06-23 08:30:38 UTC
Size:
3.74 KB
patch
obsolete
>From 9175111dc48d6ce5adf8e073aac088e88cb873b7 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org> >Date: Thu, 23 Jun 2016 10:19:28 +0200 >Subject: [PATCH] app-text/aspell: Migrate from LINGUAS to L10N. > >Package-Manager: portage-2.3.0_rc1 >--- > app-text/aspell/aspell-0.60.6.1-r1.ebuild | 32 +++++++++++++++---------------- > app-text/aspell/aspell-0.60.6.1-r3.ebuild | 18 +++++++++-------- > 2 files changed, 25 insertions(+), 25 deletions(-) > >diff --git a/app-text/aspell/aspell-0.60.6.1-r1.ebuild b/app-text/aspell/aspell-0.60.6.1-r1.ebuild >index f99d9406e..41dbd69 100644 >--- a/app-text/aspell/aspell-0.60.6.1-r1.ebuild >+++ b/app-text/aspell/aspell-0.60.6.1-r1.ebuild >@@ -1,4 +1,4 @@ >-# Copyright 1999-2015 Gentoo Foundation >+# Copyright 1999-2016 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Id$ > >@@ -16,22 +16,20 @@ KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~a > IUSE="nls" > > PDEPEND="app-dicts/aspell-en" >-LANGS="af be bg br ca cs cy da de el en eo es et fi fo fr ga gl he hr is it la >-lt nl no pl pt pt_BR ro ru sk sl sr sv uk vi" >+LANGS="af be bg br ca cs cy da de de-1901 el en eo es et fi fo fr ga gl he hr >+is it la lt nl no pl pt pt-BR ro ru sk sl sr sv uk vi" > for lang in ${LANGS}; do >- dep="linguas_${lang}? ( app-dicts/aspell-${lang/pt_BR/pt-br} )" >- if [[ ${lang} == de ]] ; then >- dep="linguas_${lang}? ( >- || ( >- app-dicts/aspell-${lang} >- app-dicts/aspell-${lang}-alt >- ) >- )" >- fi >- PDEPEND+=" ${dep}" >- IUSE+=" linguas_${lang}" >+ IUSE+=" l10n_${lang}" >+ # Need to keep linguas_* for now, since aspell uses gettext >+ IUSE+=" linguas_${lang/-/_}" >+ case ${lang} in >+ de-1901) dict="de-alt" ;; >+ pt-BR) dict="pt-br" ;; >+ *) dict="${lang}" ;; >+ esac >+ PDEPEND+=" l10n_${lang}? ( app-dicts/aspell-${dict} )" > done >-unset dep >+unset dict lang LANGS > > COMMON_DEPEND=" > >=sys-libs/ncurses-5.2:0= >@@ -99,9 +97,9 @@ src_install() { > } > > pkg_postinst() { >- elog "In case LINGUAS was not set correctly you may need to install" >+ elog "In case L10N was not set correctly you may need to install" > elog "dictionaries now. Please choose an aspell-<LANG> dictionary or" >- elog "set LINGUAS correctly and let aspell pull in required packages." >+ elog "set L10N correctly and let aspell pull in required packages." > elog "After installing an aspell dictionary for your language(s)," > elog "You may use the aspell-import utility to import your personal" > elog "dictionaries from ispell, pspell and the older aspell" >diff --git a/app-text/aspell/aspell-0.60.6.1-r3.ebuild b/app-text/aspell/aspell-0.60.6.1-r3.ebuild >index f9548f1..afa7fce 100644 >--- a/app-text/aspell/aspell-0.60.6.1-r3.ebuild >+++ b/app-text/aspell/aspell-0.60.6.1-r3.ebuild >@@ -16,18 +16,20 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~spar > IUSE="nls" > > PDEPEND="app-dicts/aspell-en" >-LANGS="af be bg br ca cs cy da de de_1901 el en eo es et fi fo fr ga gl he hr >-hu hy is it la lt nl no pl pt pt_BR ro ru sk sl sr sv uk vi" >+LANGS="af be bg br ca cs cy da de de-1901 el en eo es et fi fo fr ga gl he hr >+hu hy is it la lt nl no pl pt pt-BR ro ru sk sl sr sv uk vi" > for lang in ${LANGS}; do >+ IUSE+=" l10n_${lang}" >+ # Need to keep linguas_* for now, since aspell uses gettext >+ IUSE+=" linguas_${lang/-/_}" > case ${lang} in >- de_1901) dep="app-dicts/aspell-de-alt" ;; >- pt_BR) dep="app-dicts/aspell-pt-br" ;; >- *) dep="app-dicts/aspell-${lang}" ;; >+ de-1901) dict="de-alt" ;; >+ pt-BR) dict="pt-br" ;; >+ *) dict="${lang}" ;; > esac >- PDEPEND+=" linguas_${lang}? ( ${dep} )" >- IUSE+=" linguas_${lang}" >+ PDEPEND+=" l10n_${lang}? ( app-dicts/aspell-${dict} )" > done >-unset dep >+unset dict lang LANGS > > COMMON_DEPEND=" > >=sys-libs/ncurses-5.2:0= >-- >2.9.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 586780
: 438510