Skip to content

Commit

Permalink
app-office/lyx: Remove linguas_* from IUSE.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ulm committed Jan 6, 2018
1 parent ec223af commit b201a68
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 72 deletions.
17 changes: 5 additions & 12 deletions app-office/lyx/lyx-2.0.8.1-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 )
Expand Down Expand Up @@ -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 )
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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)"
Expand Down
17 changes: 5 additions & 12 deletions app-office/lyx/lyx-2.1.5-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 )
Expand Down Expand Up @@ -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 )
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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)"
Expand Down
17 changes: 5 additions & 12 deletions app-office/lyx/lyx-2.2.2-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 )"
Expand Down Expand Up @@ -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 )
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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)"
Expand Down
17 changes: 5 additions & 12 deletions app-office/lyx/lyx-2.2.3-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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)"
Expand Down
17 changes: 5 additions & 12 deletions app-office/lyx/lyx-2.2.3-r2.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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)"
Expand Down
17 changes: 5 additions & 12 deletions app-office/lyx/lyx-2.2.3.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 )"
Expand Down Expand Up @@ -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 )
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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)"
Expand Down

0 comments on commit b201a68

Please sign in to comment.