[ooo-build-commit] .: 4 commits - patches/dev300
Fridrich Strba
fridrich at kemper.freedesktop.org
Tue Sep 14 08:19:01 PDT 2010
patches/dev300/apply | 9
patches/dev300/languagetool-jlanguagetool-1-0-0-patch.diff | 140 -------------
patches/dev300/languagetool-makefile-mk.diff | 70 ------
patches/dev300/languagetool-prj-build-lst.diff | 6
patches/dev300/languagetool-prj-d-lst.diff | 4
5 files changed, 229 deletions(-)
New commits:
commit 043d78c7345fa3c8218d52a1c11abfb284c4f63c
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date: Tue Sep 14 17:18:07 2010 +0200
languagetoo-makefile-mk.diff: migrated to git and removed LanguageTool section
diff --git a/patches/dev300/apply b/patches/dev300/apply
index bd803ef..69bde66 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -45,8 +45,6 @@ Binfilter : BFBuildBits, BFFixes, BFShrink
CT2N : CT2NBits
# optional section for NLPSolver extension
NLPSolver : NLPSolverBits
-# optional section for LanguageTool extension
-LanguageTool : LanguageToolBits
# System patches: a special distro; applied only when building with the system tarball unpacked
System : SystemBuildBits
# Sdk patches: a special distro; applied only when building with the sdk tarball unpacked
@@ -2422,10 +2420,6 @@ ct2n-build.diff, pmladek
# Solver for Nonlinear Programming extension build bits (fate#304653)
nlpsolver-build.diff, pmladek
-[ LanguageToolBits ]
-# LanguageTool extension build bits
-languagetool-makefile-mk.diff
-
[ OxygenOfficeDefaultSettings ]
# Always enable extended tips
i27928-extended-tips-on.diff
diff --git a/patches/dev300/languagetool-makefile-mk.diff b/patches/dev300/languagetool-makefile-mk.diff
deleted file mode 100644
index d99502e..0000000
--- a/patches/dev300/languagetool-makefile-mk.diff
+++ /dev/null
@@ -1,70 +0,0 @@
---- /dev/null
-+++ languagetool/makefile.mk
-@@ -0,0 +1,67 @@
-+#*************************************************************************
-+#
-+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-+#
-+# Copyright 2008 by Sun Microsystems, Inc.
-+#
-+# OpenOffice.org - a multi-platform office productivity suite
-+#
-+# $RCSfile: makefile.mk,v $
-+#
-+# $Revision: 1.10 $
-+#
-+# This file is part of OpenOffice.org.
-+#
-+# OpenOffice.org is free software: you can redistribute it and/or modify
-+# it under the terms of the GNU Lesser General Public License version 3
-+# only, as published by the Free Software Foundation.
-+#
-+# OpenOffice.org is distributed in the hope that it will be useful,
-+# but WITHOUT ANY WARRANTY; without even the implied warranty of
-+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+# GNU Lesser General Public License version 3 for more details
-+# (a copy is included in the LICENSE file that accompanied this code).
-+#
-+# You should have received a copy of the GNU Lesser General Public License
-+# version 3 along with OpenOffice.org. If not, see
-+# <http://www.openoffice.org/license.html>
-+# for a copy of the LGPLv3 License.
-+#
-+#*************************************************************************
-+
-+PRJ=.
-+
-+PRJNAME=languagetool
-+TARGET=languagetool
-+
-+.IF "$(SOLAR_JAVA)"!=""
-+# --- Settings -----------------------------------------------------
-+
-+.INCLUDE : settings.mk
-+.INCLUDE : antsettings.mk
-+
-+# --- Files --------------------------------------------------------
-+
-+TARFILE_NAME=JLanguageTool-1.0.0
-+TARFILE_MD5=47e1edaa44269bc537ae8cabebb0f638
-+TARFILE_ROOTDIR=JLanguageTool-1.0.0
-+PATCH_FILES=JLanguageTool-1.0.0.patch
-+
-+.IF "$(JAVACISGCJ)"=="yes"
-+JAVA_HOME=
-+.EXPORT : JAVA_HOME
-+BUILD_ACTION=$(ANT) -v -Dsolver.ooo.dir=$(SOLARVER)$/$(INPATH)$/bin -Dbuild.compiler=gcj dist
-+.ELSE
-+BUILD_ACTION=$(ANT) -v -Dsolver.ooo.dir=$(SOLARVER)$/$(INPATH)$/bin -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) dist
-+.ENDIF
-+
-+# --- Targets ------------------------------------------------------
-+
-+.INCLUDE : set_ext.mk
-+.INCLUDE : target.mk
-+.INCLUDE : tg_ext.mk
-+
-+.ELSE
-+all:
-+ @echo java disabled
-+.ENDIF
commit 236a02bf5b489276e89f10d8472e423a9cb8dc02
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date: Tue Sep 14 17:14:46 2010 +0200
languagetool-jlanguagetool-1-0-0-patch.diff: migrate to git
diff --git a/patches/dev300/apply b/patches/dev300/apply
index e5647aa..bd803ef 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -2424,7 +2424,6 @@ nlpsolver-build.diff, pmladek
[ LanguageToolBits ]
# LanguageTool extension build bits
-languagetool-jlanguagetool-1-0-0-patch.diff
languagetool-makefile-mk.diff
[ OxygenOfficeDefaultSettings ]
diff --git a/patches/dev300/languagetool-jlanguagetool-1-0-0-patch.diff b/patches/dev300/languagetool-jlanguagetool-1-0-0-patch.diff
deleted file mode 100644
index 6439f51..0000000
--- a/patches/dev300/languagetool-jlanguagetool-1-0-0-patch.diff
+++ /dev/null
@@ -1,140 +0,0 @@
---- /dev/null
-+++ languagetool/JLanguageTool-1.0.0.patch
-@@ -0,0 +1,137 @@
-+--- misc/JLanguageTool-1.0.0/build.properties 2009-11-01 17:02:22.000000000 +0100
-++++ misc/build/JLanguageTool-1.0.0/build.properties 2010-03-10 15:33:21.000000000 +0100
-+@@ -54,10 +54,10 @@
-+ ext.log4j.lib = ${ext.dir}/build/cobertura/log4j-1.2.9.jar
-+ ext.jakarta-oro.lib = ${ext.dir}/build/cobertura/jakarta-oro-2.0.8.jar
-+
-+-ext.ooo.juh.lib = ${ext.ooo.dir}/juh.jar
-+-ext.ooo.unoil.lib = ${ext.ooo.dir}/unoil.jar
-+-ext.ooo.ridl.lib = ${ext.ooo.dir}/ridl.jar
-+-ext.ooo.jurt.lib = ${ext.ooo.dir}/jurt.jar
-++ext.ooo.juh.lib = ${solver.ooo.dir}/juh.jar
-++ext.ooo.unoil.lib = ${solver.ooo.dir}/unoil.jar
-++ext.ooo.ridl.lib = ${solver.ooo.dir}/ridl.jar
-++ext.ooo.jurt.lib = ${solver.ooo.dir}/jurt.jar
-+
-+ build.meta-inf = ${build.dir}/META-INF
-+ final.name = LanguageTool
-+--- misc/JLanguageTool-1.0.0/build.xml 2009-10-26 14:28:30.000000000 +0100
-++++ misc/build/JLanguageTool-1.0.0/build.xml 2010-03-10 15:33:21.000000000 +0100
-+@@ -20,6 +20,8 @@
-+ <pathelement location="${ext.logging.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}" />
-+@@ -367,11 +369,11 @@
-+ <!-- ================================================================== -->
-+
-+ <target name="dist" depends="ooo-internal" description="Builds one ZIP for both OpenOffice.org and stand-alone use">
-+-<zip compress="yes" destfile="${dist.dir}/LanguageTool-${version}.oxt" basedir="${dist.dir}" includes="**" excludes="deploy.sh,undeploy.sh,turn.sh,jdic.jar,printlocales.jar,linux/**,windows/**,sunos/**,mac/**" />
-++<zip compress="yes" destfile="${dist.dir}/LanguageTool.oxt" basedir="${dist.dir}" includes="**" excludes="deploy.sh,undeploy.sh,turn.sh,jdic.jar,printlocales.jar,linux/**,windows/**,sunos/**,mac/**" />
-+ </target>
-+
-+ <target name="fast" depends="ooo-internal" description="like dist, but without ZIP compression (for development only)">
-+-<zip compress="no" destfile="${dist.dir}/LanguageTool-${version}.oxt" basedir="${dist.dir}" includes="**" excludes="deploy.sh,undeploy.sh,turn.sh,jdic.jar,printlocales.jar,linux/**,windows/**,sunos/**,mac/**" />
-++<zip compress="no" destfile="${dist.dir}/LanguageTool.oxt" basedir="${dist.dir}" includes="**" excludes="deploy.sh,undeploy.sh,turn.sh,jdic.jar,printlocales.jar,linux/**,windows/**,sunos/**,mac/**" />
-+ </target>
-+
-+ <target name="ooo-internal" depends="clean,init,build,ooo-build">
-+@@ -402,11 +404,6 @@
-+ <copy file="${ext.segment.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">
-+@@ -472,7 +472,6 @@
-+ <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" />
-+@@ -494,7 +493,6 @@
-+ <copy file="${resource.dir}/sk/slovak_synth.dict" todir="${dist.dir}/resource/sk" />
-+ <copy file="${resource.dir}/sk/slovak_synth.info" todir="${dist.dir}/resource/sk" />
-+ <copy file="${resource.dir}/sk/slovak_tags.txt" todir="${dist.dir}/resource/sk" />
-+-<copy file="${resource.dir}/xx/dummy.dict" tofile="${dist.dir}/resource/cs/czech.dict" />
-+
-+ <!-- 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}">
-+--- misc/JLanguageTool-1.0.0/src/java/de/danielnaber/languagetool/gui/Configuration.java 2009-01-01 23:39:30.000000000 +0100
-++++ misc/build/JLanguageTool-1.0.0/src/java/de/danielnaber/languagetool/gui/Configuration.java 2010-03-10 15:33:21.000000000 +0100
-+@@ -23,6 +23,7 @@
-+ import java.io.FileNotFoundException;
-+ import java.io.FileOutputStream;
-+ import java.io.IOException;
-++import java.lang.ClassLoader;
-+ import java.util.HashSet;
-+ import java.util.Iterator;
-+ import java.util.Properties;
-+@@ -154,8 +155,19 @@
-+ final String motherTongueStr = (String) props
-+ .get(MOTHER_TONGUE_CONFIG_KEY);
-+ if (motherTongueStr != null) {
-++ // FIXME: hack to disable the functionality for JRE 1.5
-++ // javax.xml.bind.JAXBException is part of JRE 1.6
-++ boolean isJRE15 = false;
-++ try {
-++ ClassLoader cl = ClassLoader.getSystemClassLoader();
-++ cl.loadClass("javax.xml.bind.JAXBException");
-++ } catch (ClassNotFoundException e) {
-++ isJRE15 = true;
-++ }
-++ if (!isJRE15) {
-+ motherTongue = Language.getLanguageForShortName(motherTongueStr);
-+ }
-++ }
-+ final String runServerString = (String) props.get(SERVER_RUN_CONFIG_KEY);
-+ if (runServerString != null) {
-+ runServer = runServerString.equals("true");
-+--- misc/JLanguageTool-1.0.0/src/java/de/danielnaber/languagetool/openoffice/Main.java 2009-10-24 16:52:03.000000000 +0200
-++++ misc/build/JLanguageTool-1.0.0/src/java/de/danielnaber/languagetool/openoffice/Main.java 2010-03-10 15:33:21.000000000 +0100
-+@@ -24,6 +24,7 @@
-+ * @author Marcin MiÅkowski
-+ */
-+ import java.io.File;
-++import java.lang.ClassLoader;
-+ import java.util.ArrayList;
-+ import java.util.Arrays;
-+ import java.util.Comparator;
-+@@ -455,6 +456,14 @@
-+ * @return An array of Locales supported by LT.
-+ */
-+ public final Locale[] getLocales() {
-++ // FIXME: hack to disable the functionality for JRE 1.5
-++ // javax.xml.bind.JAXBException is part of JRE 1.6
-++ try {
-++ ClassLoader cl = ClassLoader.getSystemClassLoader();
-++ cl.loadClass("javax.xml.bind.JAXBException");
-++ } catch (ClassNotFoundException e) {
-++ return new Locale[0];
-++ }
-+ try {
-+ int dims = 0;
-+ for (final Language element : Language.LANGUAGES) {
-+@@ -609,9 +618,9 @@
-+ if (version != null
-+ && (version.startsWith("1.0") || version.startsWith("1.1")
-+ || version.startsWith("1.2") || version.startsWith("1.3") || version
-+- .startsWith("1.4"))) {
-++ .startsWith("1.4") || version.startsWith("1.5"))) {
-+ final DialogThread dt = new DialogThread(
-+- "Error: LanguageTool requires Java 1.5 or later. Current version: "
-++ "Error: LanguageTool requires Java 1.6 or later. Current version: "
-+ + version);
-+ dt.start();
-+ return false;
commit 633b900ac66dc3f073847654b455192f45fbf132
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date: Tue Sep 14 17:12:56 2010 +0200
languagetool-prj-d-lst.diff: migrate to git
diff --git a/patches/dev300/apply b/patches/dev300/apply
index 7fdf289..e5647aa 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -2426,7 +2426,6 @@ nlpsolver-build.diff, pmladek
# LanguageTool extension build bits
languagetool-jlanguagetool-1-0-0-patch.diff
languagetool-makefile-mk.diff
-languagetool-prj-d-lst.diff
[ OxygenOfficeDefaultSettings ]
# Always enable extended tips
diff --git a/patches/dev300/languagetool-prj-d-lst.diff b/patches/dev300/languagetool-prj-d-lst.diff
deleted file mode 100644
index 1d52ec7..0000000
--- a/patches/dev300/languagetool-prj-d-lst.diff
+++ /dev/null
@@ -1,4 +0,0 @@
---- /dev/null
-+++ languagetool/prj/d.lst
-@@ -0,0 +1 @@
-+..\%__SRC%\misc\build\JLanguageTool*\dist\LanguageTool.oxt %_DEST%\bin%_EXT%\
commit 0633c5b51ede1fc219a9cc308486cccb8616da2d
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date: Tue Sep 14 17:10:55 2010 +0200
languagetool-prj-build-lst.diff: migrate to git.
diff --git a/patches/dev300/apply b/patches/dev300/apply
index 934af8e..7fdf289 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -2426,7 +2426,6 @@ nlpsolver-build.diff, pmladek
# LanguageTool extension build bits
languagetool-jlanguagetool-1-0-0-patch.diff
languagetool-makefile-mk.diff
-languagetool-prj-build-lst.diff
languagetool-prj-d-lst.diff
[ OxygenOfficeDefaultSettings ]
diff --git a/patches/dev300/languagetool-prj-build-lst.diff b/patches/dev300/languagetool-prj-build-lst.diff
deleted file mode 100644
index b5bc520..0000000
--- a/patches/dev300/languagetool-prj-build-lst.diff
+++ /dev/null
@@ -1,6 +0,0 @@
---- /dev/null
-+++ languagetool/prj/build.lst
-@@ -0,0 +1,3 @@
-+lt languagetool : javaunohelper jurt ridljar unoil NULL
-+lt languagetool usr1 - all lt_mkout NULL
-+lt languagatool nmake - all lt_languagetool NULL
More information about the ooo-build-commit
mailing list