diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2009-11-28 20:54:32 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2009-11-28 20:54:32 +0000 |
commit | e3a607ca041b3f968a97884319fcc2a77c808d8b (patch) | |
tree | a07a6638da772fe4e81e61f21f8c9abfd23c6162 /app-office/openoffice | |
parent | Mask kdeenablefinal useflag. (for now in overlay next tuesday in main tree, d... (diff) | |
download | gentoo-2-e3a607ca041b3f968a97884319fcc2a77c808d8b.tar.gz gentoo-2-e3a607ca041b3f968a97884319fcc2a77c808d8b.tar.bz2 gentoo-2-e3a607ca041b3f968a97884319fcc2a77c808d8b.zip |
Automatically depend on myspell dictionaries according to LINGUAS-settings, see bug #292813
(Portage version: 2.2_rc52/cvs/Linux i686)
Diffstat (limited to 'app-office/openoffice')
-rw-r--r-- | app-office/openoffice/ChangeLog | 8 | ||||
-rw-r--r-- | app-office/openoffice/openoffice-3.1.1.ebuild | 16 |
2 files changed, 16 insertions, 8 deletions
diff --git a/app-office/openoffice/ChangeLog b/app-office/openoffice/ChangeLog index 60153dc19f07..affe68115e97 100644 --- a/app-office/openoffice/ChangeLog +++ b/app-office/openoffice/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-office/openoffice # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.503 2009/11/28 20:25:32 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.504 2009/11/28 20:54:32 suka Exp $ + + 28 Nov 2009; Andreas Proschofsky <suka@gentoo.org> + openoffice-3.1.1.ebuild: + Automatically depend on myspell dictionaries according to + LINGUAS-settings, patch by Lars <lars.winterfeld@tu-ilmenau.de> + Closes bug #292813 28 Nov 2009; Andreas Proschofsky <suka@gentoo.org> openoffice-3.1.1.ebuild, files/gentoo-3.1.1.diff, diff --git a/app-office/openoffice/openoffice-3.1.1.ebuild b/app-office/openoffice/openoffice-3.1.1.ebuild index 49c914ac43c1..47b60f7e8394 100644 --- a/app-office/openoffice/openoffice-3.1.1.ebuild +++ b/app-office/openoffice/openoffice-3.1.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-3.1.1.ebuild,v 1.24 2009/11/28 20:25:32 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-3.1.1.ebuild,v 1.25 2009/11/28 20:54:32 suka Exp $ WANT_AUTOMAKE="1.9" EAPI="2" @@ -64,6 +64,13 @@ for X in ${LANGS} ; do IUSE="${IUSE} linguas_${X}" done +# intersection of available linguas and app-dicts/myspell-* dictionaries +SPELL_DIRS="af bg ca cs cy da de el en eo es et fr ga gl he hr hu it ku lt mk nb nl nn pl pt ru sk sl sv tn zu" +SPELL_DIRS_DEPEND="" +for X in ${SPELL_DIRS} ; do + SPELL_DIRS_DEPEND="${SPELL_DIRS_DEPEND} linguas_${X}? ( app-dicts/myspell-${X} )" +done + HOMEPAGE="http://go-oo.org" LICENSE="LGPL-2" @@ -115,6 +122,7 @@ COMMON_DEPEND="!app-office/openoffice-bin >=virtual/poppler-0.8.0" RDEPEND="java? ( >=virtual/jre-1.5 ) + ${SPELL_DIRS_DEPEND} ${COMMON_DEPEND}" DEPEND="${COMMON_DEPEND} @@ -399,12 +407,6 @@ pkg_postinst() { # Add available & useful jars to openoffice classpath use java && /usr/$(get_libdir)/openoffice/${BASIS}/program/java-set-classpath $(java-config --classpath=jdbc-mysql 2>/dev/null) >/dev/null - elog - elog " Spell checking is provided through our own myspell-ebuilds, " - elog " if you want to use it, please install the correct myspell package " - elog " according to your language needs. " - elog - elog " Some aditional functionality can be installed via Extension Manager: " elog " *) PDF Import " elog " *) Presentation Console " |