summaryrefslogtreecommitdiff
path: root/lucene
diff options
context:
space:
mode:
Diffstat (limited to 'lucene')
-rw-r--r--lucene/lucene.patch12
-rw-r--r--lucene/makefile.mk69
-rw-r--r--lucene/prj/build.lst3
-rw-r--r--lucene/prj/d.lst3
-rw-r--r--lucene/version.mk27
5 files changed, 114 insertions, 0 deletions
diff --git a/lucene/lucene.patch b/lucene/lucene.patch
new file mode 100644
index 000000000000..3acd21e63636
--- /dev/null
+++ b/lucene/lucene.patch
@@ -0,0 +1,12 @@
+--- lucene-2.3.2/common-build.xml 2008-05-01 22:28:56.000000000 +0200
++++ misc/build/lucene-2.3.2/common-build.xml 2008-06-16 16:01:28.812500000 +0200
+@@ -280 +280 @@
+- value="${version} ${svnversion} - ${user.name} - ${DSTAMP} ${TSTAMP}"/>
++ value="${version}"/>
+@@ -297,6 +296,0 @@
+- <!-- If possible, include the svnversion -->
+- <exec dir="." executable="svnversion"
+- outputproperty="svnversion" failifexecutionfails="false">
+- <arg line="."/>
+- </exec>
+-
diff --git a/lucene/makefile.mk b/lucene/makefile.mk
new file mode 100644
index 000000000000..3ce8f058c942
--- /dev/null
+++ b/lucene/makefile.mk
@@ -0,0 +1,69 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# 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=so_lucene
+TARGET=so_lucene
+
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+.INCLUDE : antsettings.mk
+# --- Files --------------------------------------------------------
+
+.IF "$(SOLAR_JAVA)" != ""
+
+LUCENE_MAJOR=2
+LUCENE_MINOR=3
+LUCENE_MICRO=2
+
+LUCENE_NAME=lucene-$(LUCENE_MAJOR).$(LUCENE_MINOR).$(LUCENE_MICRO)
+# NOTE that the jar names do not contain the micro version
+LUCENE_CORE_JAR=lucene-core-$(LUCENE_MAJOR).$(LUCENE_MINOR).jar
+LUCENE_ANALYZERS_JAR=lucene-analyzers-$(LUCENE_MAJOR).$(LUCENE_MINOR).jar
+
+TARFILE_NAME=$(LUCENE_NAME)
+TARFILE_MD5=48d8169acc35f97e05d8dcdfd45be7f2
+PATCH_FILES=lucene.patch
+
+BUILD_DIR=.
+BUILD_ACTION= ${ANT} -buildfile .$/contrib$/analyzers$/build.xml
+
+OUT2BIN=.$/build$/$(LUCENE_CORE_JAR) .$/build$/contrib$/analyzers$/$(LUCENE_ANALYZERS_JAR)
+
+.ENDIF
+
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : set_ext.mk
+.INCLUDE : target.mk
+
+.IF "$(SOLAR_JAVA)" != ""
+.INCLUDE : tg_ext.mk
+.ENDIF
diff --git a/lucene/prj/build.lst b/lucene/prj/build.lst
new file mode 100644
index 000000000000..9f51b60f03c5
--- /dev/null
+++ b/lucene/prj/build.lst
@@ -0,0 +1,3 @@
+xh lucene : soltools EXPAT:expat NULL
+xh lucene usr1 - all xh_mkout NULL
+xh lucene nmake - all xh_lucene NULL
diff --git a/lucene/prj/d.lst b/lucene/prj/d.lst
new file mode 100644
index 000000000000..553fc44cb167
--- /dev/null
+++ b/lucene/prj/d.lst
@@ -0,0 +1,3 @@
+mkdir: %_DEST%\inc%_EXT%\external
+mkdir: %_DEST%\inc%_EXT%\external\lucene
+..\%__SRC%\bin\lucene-*.jar %_DEST%\bin%_EXT%\lucene-*.jar
diff --git a/lucene/version.mk b/lucene/version.mk
new file mode 100644
index 000000000000..fe9f60bcb669
--- /dev/null
+++ b/lucene/version.mk
@@ -0,0 +1,27 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# 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.
+#
+#*************************************************************************
+