app-office/lyx: Remove linguas_* from IUSE.
authorUlrich Müller <ulm@gentoo.org>
Sat, 6 Jan 2018 20:20:58 +0000 (21:20 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sat, 6 Jan 2018 20:22:57 +0000 (21:22 +0100)
Migrate support for Hebrew (which requires an additional dependency)
from linguas_he to l10n_he.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-office/lyx/lyx-2.0.8.1-r1.ebuild
app-office/lyx/lyx-2.1.5-r1.ebuild
app-office/lyx/lyx-2.2.2-r1.ebuild
app-office/lyx/lyx-2.2.3-r1.ebuild
app-office/lyx/lyx-2.2.3-r2.ebuild
app-office/lyx/lyx-2.2.3.ebuild

index 6d3194d8af99260dd521819d4a64f93f9e503eec..3e87c826bd1cdf06a1ba5a25b8c6b54832f8ec7d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,14 +19,7 @@ SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/${MY_P}.tar.xz
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 sparc x86 ~x64-macos ~x86-macos"
-IUSE="cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant"
-
-LANGS="ar ca cs de da el en es eu fi fr gl he hu ia id it ja nb nn pl pt ro ru sk sr sv tr uk zh_CN zh_TW"
-
-for X in ${LANGS}; do
-       IUSE="${IUSE} linguas_${X}"
-done
-
+IUSE="cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant l10n_he"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DOCS=( ANNOUNCE NEWS README RELEASE-NOTES UPGRADING )
@@ -66,7 +59,7 @@ RDEPEND="${COMMONDEPEND}
                        app-text/unrtf
                        dev-tex/html2latex
                )
-       linguas_he? ( dev-tex/culmus-latex )
+       l10n_he? ( dev-tex/culmus-latex )
        docbook? ( app-text/sgmltools-lite )
        dot? ( media-gfx/graphviz )
        dia? ( app-office/dia )
@@ -112,7 +105,7 @@ src_configure() {
 src_install() {
        default
 
-       if use linguas_he ; then
+       if use l10n_he ; then
                echo "\bind_file cua" > "${T}"/hebrew.bind
                echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind
 
@@ -156,7 +149,7 @@ pkg_postinst() {
        fi
 
        # instructions for RTL support. See also bug 168331.
-       if use linguas_he || use linguas_ar; then
+       if use l10n_he || has he ${LINGUAS} || has ar ${LINGUAS} ; then
                elog
                elog "Enabling RTL support in LyX:"
                elog "If you intend to use a RTL language (such as Hebrew or Arabic)"
index 3e4ad476655192d654a02f8bb16d60f4bc24d8c0..13dd28fd8d63889513955fb2898630d3736ad7b7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,14 +19,7 @@ SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/${MY_P}.tar.xz
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 sparc x86 ~x64-macos ~x86-macos"
-IUSE="cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant"
-
-LANGS="ar ca cs de da el en es eu fi fr gl he hu ia id it ja nb nn pl pt ro ru sk sr sv tr uk zh_CN zh_TW"
-
-for X in ${LANGS}; do
-       IUSE="${IUSE} linguas_${X}"
-done
-
+IUSE="cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant l10n_he"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DOCS=( ANNOUNCE NEWS README RELEASE-NOTES UPGRADING )
@@ -66,7 +59,7 @@ RDEPEND="${COMMONDEPEND}
                        app-text/unrtf
                        dev-tex/html2latex
                )
-       linguas_he? ( dev-tex/culmus-latex )
+       l10n_he? ( dev-tex/culmus-latex )
        docbook? ( app-text/sgmltools-lite )
        dot? ( media-gfx/graphviz )
        dia? ( app-office/dia )
@@ -112,7 +105,7 @@ src_configure() {
 src_install() {
        default
 
-       if use linguas_he ; then
+       if use l10n_he ; then
                echo "\bind_file cua" > "${T}"/hebrew.bind
                echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind
 
@@ -155,7 +148,7 @@ pkg_postinst() {
        fi
 
        # instructions for RTL support. See also bug 168331.
-       if use linguas_he || use linguas_ar; then
+       if use l10n_he || has he ${LINGUAS} || has ar ${LINGUAS} ; then
                elog
                elog "Enabling RTL support in LyX:"
                elog "If you intend to use a RTL language (such as Hebrew or Arabic)"
index fdc8702116dc40c0ba008679b564f385ecfde4d5..8463d9662259f69c24d4cfce7bb7cf55cf48c311 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,14 +19,7 @@ SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/${MY_P}.tar.xz
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos"
-IUSE="cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant +qt4 qt5"
-
-LANGS="ar ca cs da de el en es eu fi fr gl he hu ia id it ja nb nn pl pt_BR pt_PT ro ru sk sr sv tr uk zh_CN zh_TW"
-
-for X in ${LANGS}; do
-       IUSE="${IUSE} linguas_${X}"
-done
-
+IUSE="cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant +qt4 qt5 l10n_he"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
        qt4? ( !qt5 )
        qt5? ( !qt4 )"
@@ -68,7 +61,7 @@ RDEPEND="${COMMONDEPEND}
                        app-text/unrtf
                        dev-tex/html2latex
                )
-       linguas_he? ( dev-tex/culmus-latex )
+       l10n_he? ( dev-tex/culmus-latex )
        docbook? ( app-text/sgmltools-lite )
        dot? ( media-gfx/graphviz )
        dia? ( app-office/dia )
@@ -126,7 +119,7 @@ src_configure() {
 src_install() {
        default
 
-       if use linguas_he ; then
+       if use l10n_he ; then
                echo "\bind_file cua" > "${T}"/hebrew.bind
                echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind
 
@@ -169,7 +162,7 @@ pkg_postinst() {
        fi
 
        # instructions for RTL support. See also bug 168331.
-       if use linguas_he || use linguas_ar; then
+       if use l10n_he || has he ${LINGUAS} || has ar ${LINGUAS} ; then
                elog
                elog "Enabling RTL support in LyX:"
                elog "If you intend to use a RTL language (such as Hebrew or Arabic)"
index 80ff95ca394203a2443e4b27b5bfb56399bdbc2e..62965b98bfc2cb32d5341f0edf8fecc08aa2793f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,14 +19,7 @@ SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/${MY_P}.tar.xz
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 ~sparc x86 ~x64-macos ~x86-macos"
-IUSE="aspell cups debug docbook dia dot enchant gnumeric html +hunspell +latex monolithic-build nls +qt5 rcs rtf subversion svg"
-
-LANGS="ar ca cs da de el en es eu fi fr gl he hu ia id it ja nb nn pl pt_BR pt_PT ro ru sk sr sv tr uk zh_CN zh_TW"
-
-for X in ${LANGS}; do
-       IUSE="${IUSE} linguas_${X}"
-done
-
+IUSE="aspell cups debug docbook dia dot enchant gnumeric html +hunspell +latex monolithic-build nls +qt5 rcs rtf subversion svg l10n_he"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
@@ -64,7 +57,7 @@ RDEPEND="${PYTHON_DEPS}
                        dev-tex/tth
                )
        )
-       linguas_he? ( dev-tex/culmus-latex )
+       l10n_he? ( dev-tex/culmus-latex )
        !qt5? (
                dev-qt/qtcore:4
                dev-qt/qtgui:4
@@ -130,7 +123,7 @@ src_configure() {
 src_install() {
        default
 
-       if use linguas_he ; then
+       if use l10n_he ; then
                echo "\bind_file cua" > "${T}"/hebrew.bind
                echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind
 
@@ -173,7 +166,7 @@ pkg_postinst() {
        fi
 
        # instructions for RTL support. See also bug 168331.
-       if use linguas_he || use linguas_ar; then
+       if use l10n_he || has he ${LINGUAS} || has ar ${LINGUAS} ; then
                elog
                elog "Enabling RTL support in LyX:"
                elog "If you intend to use a RTL language (such as Hebrew or Arabic)"
index d1fbcd95e5348a19b49eba53a32e187fe3751200..edd854b92386044058b81983b5b52cc1f1e109e7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,14 +19,7 @@ SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/${MY_P}.tar.xz
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos"
-IUSE="aspell cups debug docbook dia dot enchant gnumeric html +hunspell +latex monolithic-build nls +qt5 rcs rtf subversion svg"
-
-LANGS="ar ca cs da de el en es eu fi fr gl he hu ia id it ja nb nn pl pt_BR pt_PT ro ru sk sr sv tr uk zh_CN zh_TW"
-
-for X in ${LANGS}; do
-       IUSE="${IUSE} linguas_${X}"
-done
-
+IUSE="aspell cups debug docbook dia dot enchant gnumeric html +hunspell +latex monolithic-build nls +qt5 rcs rtf subversion svg l10n_he"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
@@ -64,7 +57,7 @@ RDEPEND="${PYTHON_DEPS}
                        dev-tex/tth
                )
        )
-       linguas_he? ( dev-tex/culmus-latex )
+       l10n_he? ( dev-tex/culmus-latex )
        !qt5? (
                dev-qt/qtcore:4
                dev-qt/qtgui:4
@@ -130,7 +123,7 @@ src_configure() {
 src_install() {
        default
 
-       if use linguas_he ; then
+       if use l10n_he ; then
                echo "\bind_file cua" > "${T}"/hebrew.bind
                echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind
 
@@ -173,7 +166,7 @@ pkg_postinst() {
        fi
 
        # instructions for RTL support. See also bug 168331.
-       if use linguas_he || use linguas_ar; then
+       if use l10n_he || has he ${LINGUAS} || has ar ${LINGUAS} ; then
                elog
                elog "Enabling RTL support in LyX:"
                elog "If you intend to use a RTL language (such as Hebrew or Arabic)"
index fdc8702116dc40c0ba008679b564f385ecfde4d5..8463d9662259f69c24d4cfce7bb7cf55cf48c311 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,14 +19,7 @@ SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/${MY_P}.tar.xz
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos"
-IUSE="cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant +qt4 qt5"
-
-LANGS="ar ca cs da de el en es eu fi fr gl he hu ia id it ja nb nn pl pt_BR pt_PT ro ru sk sr sv tr uk zh_CN zh_TW"
-
-for X in ${LANGS}; do
-       IUSE="${IUSE} linguas_${X}"
-done
-
+IUSE="cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant +qt4 qt5 l10n_he"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
        qt4? ( !qt5 )
        qt5? ( !qt4 )"
@@ -68,7 +61,7 @@ RDEPEND="${COMMONDEPEND}
                        app-text/unrtf
                        dev-tex/html2latex
                )
-       linguas_he? ( dev-tex/culmus-latex )
+       l10n_he? ( dev-tex/culmus-latex )
        docbook? ( app-text/sgmltools-lite )
        dot? ( media-gfx/graphviz )
        dia? ( app-office/dia )
@@ -126,7 +119,7 @@ src_configure() {
 src_install() {
        default
 
-       if use linguas_he ; then
+       if use l10n_he ; then
                echo "\bind_file cua" > "${T}"/hebrew.bind
                echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind
 
@@ -169,7 +162,7 @@ pkg_postinst() {
        fi
 
        # instructions for RTL support. See also bug 168331.
-       if use linguas_he || use linguas_ar; then
+       if use l10n_he || has he ${LINGUAS} || has ar ${LINGUAS} ; then
                elog
                elog "Enabling RTL support in LyX:"
                elog "If you intend to use a RTL language (such as Hebrew or Arabic)"