Hello community, here is the log from the commit of package OpenOffice_org-LanguageTool for openSUSE:Factory checked in at Fri Aug 7 16:25:46 CEST 2009. -------- --- OpenOffice_org-LanguageTool/OpenOffice_org-LanguageTool.changes 2009-07-22 14:31:09.000000000 +0200 +++ OpenOffice_org-LanguageTool/OpenOffice_org-LanguageTool.changes 2009-08-06 15:14:08.000000000 +0200 @@ -1,0 +2,17 @@ +Thu Aug 6 13:51:51 CEST 2009 - pmladek@suse.cz + +- updated to version 0.9.9: + * bugs with pairing brackets + * paragraph-level rules crasher (sf#2787814) + * new sentence tokenizer that uses SRX format + * support sentences written in different languages + * truncated suggested replacements for false friends + * disallowed using rules that were turned off by default + * recognize mistyped lowercase words that should be uppercase + * update of morfologik-stemming library to version 1.1.4 (sf#2613574) + * more grammar rules and updated translations +- removed the unsupported Czech dictionary; was packaged by mistake +- fixed dependency of dictionaries; they should require exact version + of the framework + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- JLanguageTool-0.9.3-find-junit-jar.diff JLanguageTool-0.9.7-copy-filter-encoding.diff JLanguageTool-0.9.7-package-dicts-separately.diff JLanguageTool-0.9.7.tar.bz2 New: ---- JLanguageTool-0.9.9-find-junit-jar.diff JLanguageTool-0.9.9-jdk-1.5-system-stuff.diff JLanguageTool-0.9.9-package-dicts-separately.diff JLanguageTool-0.9.9.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ OpenOffice_org-LanguageTool.spec ++++++ --- /var/tmp/diff_new_pack.KwOSKL/_old 2009-08-07 16:25:00.000000000 +0200 +++ /var/tmp/diff_new_pack.KwOSKL/_new 2009-08-07 16:25:00.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package OpenOffice_org-LanguageTool (Version 0.9.7) +# spec file for package OpenOffice_org-LanguageTool (Version 0.9.9) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,27 +19,34 @@ Name: OpenOffice_org-LanguageTool -Version: 0.9.7 -Release: 4 +Version: 0.9.9 +Release: 1 BuildRequires: OpenOffice_org-ure ant java-devel #!BuildIgnore: OpenOffice_org %define ooo_prefix %_libdir %define ooo_home ooo3 # ignore cs because of an unlclear license; also unsupported -# ignore ru (empty dictionary, unsupported) +# ignore sk unknown license; almost empty dictionary # ignore uk (unsupported) -%define langtool_langs cs de en es fr it nl pl ro ru sv +%define langtool_langs de en es fr it pl nl ro ru sv License: BSD 3-clause (or similar) ; BSD 4-clause (or similar) ; LGPL v2.1 only ; Other uncritical OpenSource License ; Public Domain, Freeware ; Apache Software License .. Group: Productivity/Office/Suite AutoReqProv: on PreReq: OpenOffice_org >= 3.0.99 Requires: OpenOffice_org >= 3.0.99 Requires: jre >= 1.5 +# the Czech stuff newer worked; the package was created by mistake +Obsoletes: OpenOffice_org-LanguageTool-cs < 0.9.9 Summary: Language Checker for OpenOffice.org Url: http://www.languagetool.org/ -# cvs -z3 -d:pserver:anonymous@languagetool.cvs.sourceforge.net:/cvsroot/languagetool co -r V_0_9_3 -P JLanguageTool +# cvs -z3 -d:pserver:anonymous@languagetool.cvs.sourceforge.net:/cvsroot/languagetool co -r V_0_9_9 -P JLanguageTool # rm src/resource/cs/{*.dict,*.info} because of unclear licese; also it is not longer supported (only a bachelor's thesis) -# the missing src/resource/en/english_synth.dict taken from the prebuilt LanguageTool-0.9.3.oxt (was not tagged in cvs or so) +# rm libs/{activation.jar,commons-lang-2.4.jar,commons-logging-1.1.1.jar,jaxb-api.jar,jaxb-impl.jar,jsr173_1.0_api.jar}: +# + part of JDK 1.6 => not needed +# + under CDDL or GPL => remove them to avoid necessity to include the related sources +# rm libs/bliki-3.0.3.jar: +# + needed only to run the project wiki page => not needed for the plugin +# + GPL => remove it to avoid necessity to include the related sources Source0: JLanguageTool-%version.tar.bz2 # the Jaminid and jdic sources are unused during build but they should be in # the package sources according to LGPL (bnc#487807) @@ -52,11 +59,10 @@ # helper script and data file to create pieces of the spec file Source100: ooo-LanguageTool-data Source101: ooo-LanguageTool-gen-spec -Patch0: JLanguageTool-0.9.7-package-dicts-separately.diff +Patch0: JLanguageTool-0.9.9-package-dicts-separately.diff Patch1: JLanguageTool-0.9.3-system-ooo-jars.diff -Patch2: JLanguageTool-0.9.3-find-junit-jar.diff -# set correct encoding of the filtered files (bnc#501037) -Patch3: JLanguageTool-0.9.7-copy-filter-encoding.diff +Patch2: JLanguageTool-0.9.9-find-junit-jar.diff +Patch3: JLanguageTool-0.9.9-jdk-1.5-system-stuff.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -71,27 +77,13 @@ -%package -n OpenOffice_org-LanguageTool-cs -License: LGPL v2.1 only -Summary: Czech Dictionary for OpenOffice.org Language Tool -Group: Productivity/Office/Dictionary -Provides: locale(OpenOffice_org-LanguageTool:cs) -PreReq: OpenOffice_org-ure >= 2.99 -Requires: OpenOffice_org-LanguageTool - -%description -n OpenOffice_org-LanguageTool-cs -The Czech dictionary that can be used to check grammar and other more -complex mistakes using the OpenOffice.org language tool extension. - - - %package -n OpenOffice_org-LanguageTool-de License: Other uncritical OpenSource License Summary: German Dictionary for OpenOffice.org Language Tool Group: Productivity/Office/Dictionary Provides: locale(OpenOffice_org-LanguageTool:de) PreReq: OpenOffice_org-ure >= 2.99 -Requires: OpenOffice_org-LanguageTool +Requires: OpenOffice_org-LanguageTool = %version %description -n OpenOffice_org-LanguageTool-de The German dictionary that can be used to check grammar and other more @@ -105,7 +97,7 @@ Group: Productivity/Office/Dictionary Provides: locale(OpenOffice_org-LanguageTool:en) PreReq: OpenOffice_org-ure >= 2.99 -Requires: OpenOffice_org-LanguageTool +Requires: OpenOffice_org-LanguageTool = %version %description -n OpenOffice_org-LanguageTool-en The English dictionary that can be used to check grammar and other more @@ -119,7 +111,7 @@ Group: Productivity/Office/Dictionary Provides: locale(OpenOffice_org-LanguageTool:es) PreReq: OpenOffice_org-ure >= 2.99 -Requires: OpenOffice_org-LanguageTool +Requires: OpenOffice_org-LanguageTool = %version %description -n OpenOffice_org-LanguageTool-es The Spanish dictionary that can be used to check grammar and other more @@ -133,7 +125,7 @@ Group: Productivity/Office/Dictionary Provides: locale(OpenOffice_org-LanguageTool:fr) PreReq: OpenOffice_org-ure >= 2.99 -Requires: OpenOffice_org-LanguageTool +Requires: OpenOffice_org-LanguageTool = %version %description -n OpenOffice_org-LanguageTool-fr The French dictionary that can be used to check grammar and other more @@ -147,7 +139,7 @@ Group: Productivity/Office/Dictionary Provides: locale(OpenOffice_org-LanguageTool:it) PreReq: OpenOffice_org-ure >= 2.99 -Requires: OpenOffice_org-LanguageTool +Requires: OpenOffice_org-LanguageTool = %version %description -n OpenOffice_org-LanguageTool-it The Italian dictionary that can be used to check grammar and other more @@ -161,7 +153,7 @@ Group: Productivity/Office/Dictionary Provides: locale(OpenOffice_org-LanguageTool:nl) PreReq: OpenOffice_org-ure >= 2.99 -Requires: OpenOffice_org-LanguageTool +Requires: OpenOffice_org-LanguageTool = %version %description -n OpenOffice_org-LanguageTool-nl The Dutch dictionary that can be used to check grammar and other more @@ -175,7 +167,7 @@ Group: Productivity/Office/Dictionary Provides: locale(OpenOffice_org-LanguageTool:pl) PreReq: OpenOffice_org-ure >= 2.99 -Requires: OpenOffice_org-LanguageTool +Requires: OpenOffice_org-LanguageTool = %version %description -n OpenOffice_org-LanguageTool-pl The Polish dictionary that can be used to check grammar and other more @@ -189,7 +181,7 @@ Group: Productivity/Office/Dictionary Provides: locale(OpenOffice_org-LanguageTool:ro) PreReq: OpenOffice_org-ure >= 2.99 -Requires: OpenOffice_org-LanguageTool +Requires: OpenOffice_org-LanguageTool = %version %description -n OpenOffice_org-LanguageTool-ro The Romanian dictionary that can be used to check grammar and other @@ -203,7 +195,7 @@ Group: Productivity/Office/Dictionary Provides: locale(OpenOffice_org-LanguageTool:ru) PreReq: OpenOffice_org-ure >= 2.99 -Requires: OpenOffice_org-LanguageTool +Requires: OpenOffice_org-LanguageTool = %version %description -n OpenOffice_org-LanguageTool-ru The Russian dictionary that can be used to check grammar and other more @@ -217,7 +209,7 @@ Group: Productivity/Office/Dictionary Provides: locale(OpenOffice_org-LanguageTool:sv) PreReq: OpenOffice_org-ure >= 2.99 -Requires: OpenOffice_org-LanguageTool +Requires: OpenOffice_org-LanguageTool = %version %description -n OpenOffice_org-LanguageTool-sv The Swedish dictionary that can be used to check grammar and other more @@ -301,13 +293,6 @@ # # langtool dictionaries # -# cs - -%posttrans -n OpenOffice_org-LanguageTool-cs -%_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-langtool-cs.txt || true - -%preun -n OpenOffice_org-LanguageTool-cs -test "$1" = "0" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-langtool-cs.txt || true # de %posttrans -n OpenOffice_org-LanguageTool-de @@ -382,9 +367,6 @@ # langtool dictionaries # -%files -f files-langtool-cs.txt -n OpenOffice_org-LanguageTool-cs -%defattr(-,root,root) - %files -f files-langtool-de.txt -n OpenOffice_org-LanguageTool-de %defattr(-,root,root) %doc src/resource/de/{errors.txt,tagset.txt} ++++++ JLanguageTool-0.9.3-find-junit-jar.diff -> JLanguageTool-0.9.9-find-junit-jar.diff ++++++ --- OpenOffice_org-LanguageTool/JLanguageTool-0.9.3-find-junit-jar.diff 2008-09-27 04:25:33.000000000 +0200 +++ OpenOffice_org-LanguageTool/JLanguageTool-0.9.9-find-junit-jar.diff 2009-08-06 15:14:01.000000000 +0200 @@ -1,11 +1,11 @@ --- build.xml +++ build.xml -@@ -18,6 +18,8 @@ - <pathelement location="${ext.jaminid.lib}"/> - <pathelement location="${ext.jwordsplitter.lib}"/> - <!-- --> -+ <pathelement location="${ext.junit.lib}"/> -+ <!-- --> - <pathelement location="${ext.ooo.juh.lib}"/> - <pathelement location="${ext.ooo.unoil.lib}"/> - <pathelement location="${ext.ooo.ridl.lib}"/> +@@ -21,6 +21,8 @@ + <pathelement location="${ext.loomchild.util.lib}" /> + <pathelement location="${ext.segment.lib}" /> + <!-- --> ++ <pathelement location="${ext.junit.lib}"/> ++ <!-- --> + <pathelement location="${ext.ooo.juh.lib}" /> + <pathelement location="${ext.ooo.unoil.lib}" /> + <pathelement location="${ext.ooo.ridl.lib}" /> ++++++ JLanguageTool-0.9.9-jdk-1.5-system-stuff.diff ++++++ --- build.xml.old 2009-08-05 21:28:29.000000000 +0200 +++ build.xml 2009-08-05 21:34:37.000000000 +0200 @@ -377,13 +377,7 @@ <copy file="${ext.jwordsplitter.lib}" todir="${dist.dir}" /> <copy file="${ext.segment.lib}" todir="${dist.dir}" /> <copy file="${ext.loomchild.util.lib}" todir="${dist.dir}" /> -<copy file="${ext.logging.lib}" todir="${dist.dir}" /> <copy file="${ext.junit.lib}" todir="${dist.dir}" /> -<!-- JAXB jars for Java 1.5 --> -<copy file="${ext.jaxb-api.lib}" todir="${dist.dir}" /> -<copy file="${ext.jaxb-impl.lib}" todir="${dist.dir}" /> -<copy file="${ext.jsr.lib}" todir="${dist.dir}" /> -<copy file="${ext.activation.lib}" todir="${dist.dir}" /> <copy todir="${dist.dir}/linux"> ++++++ JLanguageTool-0.9.7-package-dicts-separately.diff -> JLanguageTool-0.9.9-package-dicts-separately.diff ++++++ --- OpenOffice_org-LanguageTool/JLanguageTool-0.9.7-package-dicts-separately.diff 2009-07-03 18:12:19.000000000 +0200 +++ OpenOffice_org-LanguageTool/JLanguageTool-0.9.9-package-dicts-separately.diff 2009-08-06 15:14:02.000000000 +0200 @@ -1,59 +1,66 @@ ---- build.xml -+++ build.xml -@@ -481,51 +481,23 @@ - <copy file="${resource.dir}/api-output.dtd" todir="${dist.dir}/resource" /> - <copy file="${resource.dir}/disambiguation.dtd" todir="${dist.dir}/resource" /> - <copy file="${resource.dir}/en/tagset.txt" todir="${dist.dir}/resource/en" /> -- <copy file="${resource.dir}/en/english.dict" todir="${dist.dir}/resource/en" /> -- <copy file="${resource.dir}/en/english.info" todir="${dist.dir}/resource/en" /> -- <copy file="${resource.dir}/en/english_synth.dict" todir="${dist.dir}/resource/en" /> -- <copy file="${resource.dir}/en/english_synth.info" todir="${dist.dir}/resource/en" /> - <copy file="${resource.dir}/en/english_tags.txt" todir="${dist.dir}/resource/en" /> - <copy file="${resource.dir}/en/disambiguation.xml" todir="${dist.dir}/resource/en" /> - <copy file="${resource.dir}/en/compounds.txt" todir="${dist.dir}/resource/en" /> -- <copy file="${resource.dir}/it/italian.dict" todir="${dist.dir}/resource/it" /> -- <copy file="${resource.dir}/it/italian.info" todir="${dist.dir}/resource/it" /> - <copy file="${resource.dir}/it/readme-morph-it.txt" todir="${dist.dir}/resource/it" /> -- <copy file="${resource.dir}/fr/french.dict" todir="${dist.dir}/resource/fr" /> -- <copy file="${resource.dir}/fr/french.info" todir="${dist.dir}/resource/fr" /> - <copy file="${resource.dir}/fr/readme.txt" todir="${dist.dir}/resource/fr" /> - <copy file="${resource.dir}/fr/disambiguation.xml" todir="${dist.dir}/resource/fr" /> -- <copy file="${resource.dir}/es/spanish.dict" todir="${dist.dir}/resource/es" /> -- <copy file="${resource.dir}/es/spanish.info" todir="${dist.dir}/resource/es" /> - <copy file="${resource.dir}/es/etiquetas-eagles.txt" todir="${dist.dir}/resource/es" /> -- <copy file="${resource.dir}/de/german.dict" todir="${dist.dir}/resource/de" /> -- <copy file="${resource.dir}/de/german.info" todir="${dist.dir}/resource/de" /> - <copy file="${resource.dir}/de/compounds.txt" todir="${dist.dir}/resource/de" /> - <copy file="${resource.dir}/de/added.txt" todir="${dist.dir}/resource/de" /> -- <copy file="${resource.dir}/pl/polish.dict" todir="${dist.dir}/resource/pl" /> -- <copy file="${resource.dir}/pl/polish.info" todir="${dist.dir}/resource/pl" /> -- <copy file="${resource.dir}/pl/polish_synth.dict" todir="${dist.dir}/resource/pl" /> -- <copy file="${resource.dir}/pl/polish_synth.info" todir="${dist.dir}/resource/pl" /> - <copy file="${resource.dir}/pl/polish_tags.txt" todir="${dist.dir}/resource/pl" /> - <copy file="${resource.dir}/pl/compounds.txt" todir="${dist.dir}/resource/pl" /> - <copy file="${resource.dir}/pl/disambiguation.xml" todir="${dist.dir}/resource/pl" /> -- <copy file="${resource.dir}/nl/dutch.dict" todir="${dist.dir}/resource/nl" /> -- <copy file="${resource.dir}/nl/dutch.info" todir="${dist.dir}/resource/nl" /> -- <copy file="${resource.dir}/nl/dutch_synth.dict" todir="${dist.dir}/resource/nl" /> -- <copy file="${resource.dir}/nl/dutch_synth.info" todir="${dist.dir}/resource/nl" /> - <copy file="${resource.dir}/nl/dutch_tags.txt" todir="${dist.dir}/resource/nl" /> - <copy file="${resource.dir}/nl/disambiguation.xml" todir="${dist.dir}/resource/nl" /> -- <copy file="${resource.dir}/sv/swedish.info" todir="${dist.dir}/resource/sv" /> -- <copy file="${resource.dir}/sv/swedish.dict" todir="${dist.dir}/resource/sv" /> - <copy file="${resource.dir}/sv/compounds.txt" todir="${dist.dir}/resource/sv" /> -- <copy file="${resource.dir}/uk/ukrainian.dict" todir="${dist.dir}/resource/uk" /> -- <copy file="${resource.dir}/ru/russian.dict" todir="${dist.dir}/resource/ru" /> -- <copy file="${resource.dir}/ru/russian.info" todir="${dist.dir}/resource/ru" /> - <copy file="${resource.dir}/ru/russian_tags.txt" todir="${dist.dir}/resource/ru" /> - <copy file="${resource.dir}/ru/compounds_ru.txt" todir="${dist.dir}/resource/ru" /> -- <copy file="${resource.dir}/ro/romanian.dict" todir="${dist.dir}/resource/ro" /> -- <copy file="${resource.dir}/ro/romanian.info" todir="${dist.dir}/resource/ro" /> -- <copy file="${resource.dir}/xx/dummy.dict" tofile="${dist.dir}/resource/cs/czech.dict" /> - </target> +--- build.xml.old 2009-08-03 19:26:36.000000000 +0200 ++++ build.xml 2009-08-03 19:43:09.000000000 +0200 +@@ -405,58 +405,26 @@ + <copy file="${resource.dir}/disambiguation.dtd" todir="${dist.dir}/resource" /> + <copy file="${resource.dir}/segment.srx" todir="${dist.dir}/resource" /> + <copy file="${resource.dir}/en/tagset.txt" todir="${dist.dir}/resource/en" /> +-<copy file="${resource.dir}/en/english.dict" todir="${dist.dir}/resource/en" /> +-<copy file="${resource.dir}/en/english.info" todir="${dist.dir}/resource/en" /> +-<copy file="${resource.dir}/en/english_synth.dict" todir="${dist.dir}/resource/en" /> +-<copy file="${resource.dir}/en/english_synth.info" todir="${dist.dir}/resource/en" /> + <copy file="${resource.dir}/en/english_tags.txt" todir="${dist.dir}/resource/en" /> + <copy file="${resource.dir}/en/disambiguation.xml" todir="${dist.dir}/resource/en" /> + <copy file="${resource.dir}/en/compounds.txt" todir="${dist.dir}/resource/en" /> +-<copy file="${resource.dir}/it/italian.dict" todir="${dist.dir}/resource/it" /> +-<copy file="${resource.dir}/it/italian.info" todir="${dist.dir}/resource/it" /> + <copy file="${resource.dir}/it/readme-morph-it.txt" todir="${dist.dir}/resource/it" /> +-<copy file="${resource.dir}/fr/french.dict" todir="${dist.dir}/resource/fr" /> +-<copy file="${resource.dir}/fr/french.info" todir="${dist.dir}/resource/fr" /> + <copy file="${resource.dir}/fr/readme.txt" todir="${dist.dir}/resource/fr" /> + <copy file="${resource.dir}/fr/disambiguation.xml" todir="${dist.dir}/resource/fr" /> +-<copy file="${resource.dir}/es/spanish.dict" todir="${dist.dir}/resource/es" /> +-<copy file="${resource.dir}/es/spanish.info" todir="${dist.dir}/resource/es" /> + <copy file="${resource.dir}/es/etiquetas-eagles.txt" todir="${dist.dir}/resource/es" /> +-<copy file="${resource.dir}/de/german.dict" todir="${dist.dir}/resource/de" /> +-<copy file="${resource.dir}/de/german.info" todir="${dist.dir}/resource/de" /> + <copy file="${resource.dir}/de/compounds.txt" todir="${dist.dir}/resource/de" /> + <copy file="${resource.dir}/de/added.txt" todir="${dist.dir}/resource/de" /> +-<copy file="${resource.dir}/pl/polish.dict" todir="${dist.dir}/resource/pl" /> +-<copy file="${resource.dir}/pl/polish.info" todir="${dist.dir}/resource/pl" /> +-<copy file="${resource.dir}/pl/polish_synth.dict" todir="${dist.dir}/resource/pl" /> +-<copy file="${resource.dir}/pl/polish_synth.info" todir="${dist.dir}/resource/pl" /> + <copy file="${resource.dir}/pl/polish_tags.txt" todir="${dist.dir}/resource/pl" /> + <copy file="${resource.dir}/pl/compounds.txt" todir="${dist.dir}/resource/pl" /> + <copy file="${resource.dir}/pl/disambiguation.xml" todir="${dist.dir}/resource/pl" /> +-<copy file="${resource.dir}/nl/dutch.dict" todir="${dist.dir}/resource/nl" /> +-<copy file="${resource.dir}/nl/dutch.info" todir="${dist.dir}/resource/nl" /> +-<copy file="${resource.dir}/nl/dutch_synth.dict" todir="${dist.dir}/resource/nl" /> +-<copy file="${resource.dir}/nl/dutch_synth.info" todir="${dist.dir}/resource/nl" /> + <copy file="${resource.dir}/nl/dutch_tags.txt" todir="${dist.dir}/resource/nl" /> + <copy file="${resource.dir}/nl/disambiguation.xml" todir="${dist.dir}/resource/nl" /> +-<copy file="${resource.dir}/sv/swedish.info" todir="${dist.dir}/resource/sv" /> +-<copy file="${resource.dir}/sv/swedish.dict" todir="${dist.dir}/resource/sv" /> + <copy file="${resource.dir}/sv/compounds.txt" todir="${dist.dir}/resource/sv" /> +-<copy file="${resource.dir}/uk/ukrainian.dict" todir="${dist.dir}/resource/uk" /> +-<copy file="${resource.dir}/ru/russian.dict" todir="${dist.dir}/resource/ru" /> +-<copy file="${resource.dir}/ru/russian.info" todir="${dist.dir}/resource/ru" /> + <copy file="${resource.dir}/ru/russian_tags.txt" todir="${dist.dir}/resource/ru" /> + <copy file="${resource.dir}/ru/compounds_ru.txt" todir="${dist.dir}/resource/ru" /> +-<copy file="${resource.dir}/ro/romanian.dict" todir="${dist.dir}/resource/ro" /> +-<copy file="${resource.dir}/ro/romanian.info" todir="${dist.dir}/resource/ro" /> +-<copy file="${resource.dir}/ro/romanian_synth.dict" todir="${dist.dir}/resource/ro" /> +-<copy file="${resource.dir}/ro/romanian_synth.info" todir="${dist.dir}/resource/ro" /> + <copy file="${resource.dir}/ro/romanian_tags.txt" todir="${dist.dir}/resource/ro" /> + <copy file="${resource.dir}/ro/disambiguation.xml" todir="${dist.dir}/resource/ro" /> +-<copy file="${resource.dir}/sk/slovak.dict" todir="${dist.dir}/resource/sk" /> +-<copy file="${resource.dir}/sk/slovak.info" todir="${dist.dir}/resource/sk" /> + <copy file="${resource.dir}/sk/compounds.txt" todir="${dist.dir}/resource/sk" /> +-<copy file="${resource.dir}/xx/dummy.dict" tofile="${dist.dir}/resource/cs/czech.dict" /> - <target name="dict-de" description="Build the German tagger dictionary from Morphy data"> ---- src/java/de/danielnaber/languagetool/openoffice/Main.java.old 2009-02-05 13:38:49.000000000 +0100 -+++ src/java/de/danielnaber/languagetool/openoffice/Main.java 2009-07-03 17:29:14.000000000 +0200 + <!-- prepare properties file automatically --> + <javac encoding="${encoding}" srcdir="${src.dir}/dev" includes="de/danielnaber/languagetool/dev/PrintLocales.java" destdir="${build.classes}" target="${target}" debug="${debug}"> +--- src/java/de/danielnaber/languagetool/openoffice/Main.java.old 2009-08-03 19:26:39.000000000 +0200 ++++ src/java/de/danielnaber/languagetool/openoffice/Main.java 2009-08-03 20:43:05.000000000 +0200 @@ -23,6 +23,7 @@ package de.danielnaber.languagetool.open * * @author Marcin Miłkowski @@ -62,22 +69,23 @@ import java.io.File; import java.util.ArrayList; import java.util.Arrays; -@@ -379,8 +380,17 @@ public class Main extends WeakBase imple +@@ -481,9 +482,18 @@ public class Main extends WeakBase imple * The Locale to check. */ public final boolean hasLocale(final Locale locale) { + List<String> dummyList = new ArrayList<String>(); - for (final Language element : Language.LANGUAGES) { -- if (element.getShortName().equals(locale.Language)) { -+ // FIXME: dirty hack that checks whether the dictionary is really installed -+ // it is better to have dictionaries in optional packages -+ boolean dictionaryExists = true; -+ try { + try { + for (final Language element : Language.LANGUAGES) { +- if (element.getShortName().equals(locale.Language)) { ++ // FIXME: dirty hack that checks whether the dictionary is really installed ++ // it is better to have dictionaries in optional packages ++ boolean dictionaryExists = true; ++ try { + element.getTagger().tag(dummyList); -+ } catch (IOException e) { -+ dictionaryExists = false; -+ } -+ if (dictionaryExists && element.getShortName().equals(locale.Language)) { - return true; ++ } catch (IOException e) { ++ dictionaryExists = false; ++ } ++ if (dictionaryExists && element.getShortName().equals(locale.Language)) { + return true; + } } - } ++++++ JLanguageTool-0.9.7.tar.bz2 -> JLanguageTool-0.9.9.tar.bz2 ++++++ OpenOffice_org-LanguageTool/JLanguageTool-0.9.7.tar.bz2 OpenOffice_org-LanguageTool/JLanguageTool-0.9.9.tar.bz2 differ: char 11, line 1 ++++++ ooo-LanguageTool-data ++++++ --- /var/tmp/diff_new_pack.KwOSKL/_old 2009-08-07 16:25:01.000000000 +0200 +++ /var/tmp/diff_new_pack.KwOSKL/_new 2009-08-07 16:25:01.000000000 +0200 @@ -1,5 +1,3 @@ -%lang cs Czech 0 - %lang de German 0 %files %doc src/resource/de/{errors.txt,tagset.txt} ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org