Kaydet (Commit) 725eba73 authored tarafından David Tardon's avatar David Tardon

remove all traces of saxon

Change-Id: I33ca2c27d557d24e3900d7ebf8f3ea2d99b3cfb0
üst bfc71eb0
...@@ -142,7 +142,6 @@ sal\ ...@@ -142,7 +142,6 @@ sal\
salhelper\ salhelper\
sane\ sane\
sax\ sax\
saxon\
sc\ sc\
scaddins\ scaddins\
sccomp\ sccomp\
...@@ -245,7 +244,6 @@ postprocess\ ...@@ -245,7 +244,6 @@ postprocess\
python\ python\
redland\ redland\
setup_native\ setup_native\
stax\
stlport\ stlport\
sysui\ sysui\
xpdf\ xpdf\
......
...@@ -131,7 +131,6 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\ ...@@ -131,7 +131,6 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\
salhelper \ salhelper \
sane \ sane \
sax \ sax \
$(call gb_Helper_optional,SAXON,saxon) \
sc \ sc \
scaddins \ scaddins \
sccomp \ sccomp \
......
...@@ -2268,23 +2268,6 @@ endef ...@@ -2268,23 +2268,6 @@ endef
endif # SYSTEM_HSQLDB endif # SYSTEM_HSQLDB
ifeq ($(SYSTEM_SAXON),YES)
define gb_Jar__use_saxon
$(call gb_Jar_use_system_jar,$(1),$(SAXON_JAR))
endef
else # !SYSTEM_SAXON
$(eval $(call gb_Helper_register_jars,OOO,\
saxon9 \
))
define gb_Jar__use_saxon
$(call gb_Jar_use_jar,$(1),saxon9)
endef
endif # SYSTEM_SAXON
ifeq ($(SYSTEM_BSH),YES) ifeq ($(SYSTEM_BSH),YES)
......
...@@ -143,7 +143,6 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\ ...@@ -143,7 +143,6 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
salhelper \ salhelper \
sane \ sane \
sax \ sax \
$(call gb_Helper_optional,SAXON,saxon) \
sc \ sc \
scaddins \ scaddins \
sccomp \ sccomp \
......
...@@ -43,7 +43,6 @@ export BUILD_MOZAB=@BUILD_MOZAB@ ...@@ -43,7 +43,6 @@ export BUILD_MOZAB=@BUILD_MOZAB@
export BUILD_NCPUS=@BUILD_NCPUS@ export BUILD_NCPUS=@BUILD_NCPUS@
export BUILD_PLATFORM=@build@ export BUILD_PLATFORM=@build@
export BUILD_POSTGRESQL_SDBC=@BUILD_POSTGRESQL_SDBC@ export BUILD_POSTGRESQL_SDBC=@BUILD_POSTGRESQL_SDBC@
export BUILD_STAX=@BUILD_STAX@
export BUILD_TYPE=@BUILD_TYPE@ export BUILD_TYPE=@BUILD_TYPE@
export BUILD_UNOWINREG=@BUILD_UNOWINREG@ export BUILD_UNOWINREG=@BUILD_UNOWINREG@
export BUILD_VER_STRING=@BUILD_VER_STRING@ export BUILD_VER_STRING=@BUILD_VER_STRING@
...@@ -525,8 +524,6 @@ export JFREEREPORT_LIBSERIALIZER_TARBALL=@JFREEREPORT_LIBSERIALIZER_TARBALL@ ...@@ -525,8 +524,6 @@ export JFREEREPORT_LIBSERIALIZER_TARBALL=@JFREEREPORT_LIBSERIALIZER_TARBALL@
export JFREEREPORT_FLOW_ENGINE_TARBALL=@JFREEREPORT_FLOW_ENGINE_TARBALL@ export JFREEREPORT_FLOW_ENGINE_TARBALL=@JFREEREPORT_FLOW_ENGINE_TARBALL@
export JFREEREPORT_LIBLAYOUT_TARBALL=@JFREEREPORT_LIBLAYOUT_TARBALL@ export JFREEREPORT_LIBLAYOUT_TARBALL=@JFREEREPORT_LIBLAYOUT_TARBALL@
export SAL_ENABLE_FILE_LOCKING=1 export SAL_ENABLE_FILE_LOCKING=1
export SAXON_JAR=@SAXON_JAR@
export SAXON_TARBALL=@SAXON_TARBALL@
export SCPDEFS=@SCPDEFS@ export SCPDEFS=@SCPDEFS@
export SERVLETAPI_JAR=@SERVLETAPI_JAR@ export SERVLETAPI_JAR=@SERVLETAPI_JAR@
export SHOWINCLUDES_PREFIX=@SHOWINCLUDES_PREFIX@ export SHOWINCLUDES_PREFIX=@SHOWINCLUDES_PREFIX@
...@@ -625,7 +622,6 @@ export SYSTEM_POSTGRESQL=@SYSTEM_POSTGRESQL@ ...@@ -625,7 +622,6 @@ export SYSTEM_POSTGRESQL=@SYSTEM_POSTGRESQL@
export SYSTEM_PYTHON=@SYSTEM_PYTHON@ export SYSTEM_PYTHON=@SYSTEM_PYTHON@
export SYSTEM_REDLAND=@SYSTEM_REDLAND@ export SYSTEM_REDLAND=@SYSTEM_REDLAND@
export SYSTEM_RHINO=@SYSTEM_RHINO@ export SYSTEM_RHINO=@SYSTEM_RHINO@
export SYSTEM_SAXON=@SYSTEM_SAXON@
export SYSTEM_SERVLETAPI=@SYSTEM_SERVLETAPI@ export SYSTEM_SERVLETAPI=@SYSTEM_SERVLETAPI@
export SYSTEM_STDLIBS=@SYSTEM_STDLIBS@ export SYSTEM_STDLIBS=@SYSTEM_STDLIBS@
export SYSTEM_VIGRA=@SYSTEM_VIGRA@ export SYSTEM_VIGRA=@SYSTEM_VIGRA@
......
...@@ -1580,15 +1580,6 @@ AC_ARG_WITH(libbase-jar, ...@@ -1580,15 +1580,6 @@ AC_ARG_WITH(libbase-jar,
[Specify path to jarfile manually.]), [Specify path to jarfile manually.]),
LIBBASE_JAR=$withval) LIBBASE_JAR=$withval)
AC_ARG_WITH(system-saxon,
AS_HELP_STRING([--with-system-saxon],
[Use saxon already on system.]))
AC_ARG_WITH(saxon-jar,
AS_HELP_STRING([--with-saxon-jar=JARFILE],
[Specify path to jarfile manually.]),
SAXON_JAR=$withval)
AC_ARG_WITH(system-odbc, AC_ARG_WITH(system-odbc,
AS_HELP_STRING([--with-system-odbc], AS_HELP_STRING([--with-system-odbc],
[Use the odbc headers already on system.]),, [Use the odbc headers already on system.]),,
...@@ -7840,131 +7831,6 @@ AC_SUBST(POSTGRESQL_INC) ...@@ -7840,131 +7831,6 @@ AC_SUBST(POSTGRESQL_INC)
AC_SUBST(POSTGRESQL_LIB) AC_SUBST(POSTGRESQL_LIB)
AC_SUBST(POSTGRESQL_TARBALL) AC_SUBST(POSTGRESQL_TARBALL)
dnl ===================================================================
dnl Check for system saxon
dnl ===================================================================
if test "$with_java" != "no"; then
AC_MSG_CHECKING([which saxon to use])
if test "$with_system_saxon" = "yes"; then
AC_MSG_RESULT([external])
SYSTEM_SAXON=YES
if test -z $SAXON_JAR; then
AC_CHECK_FILE(/usr/share/java/saxon9.jar,
[ SAXON_JAR=/usr/share/java/saxon9.jar ],
[
AC_CHECK_FILE(/usr/share/java/saxon.jar,
[ SAXON_JAR=/usr/share/java/saxon.jar ],
[ AC_CHECK_FILE(/usr/share/java/saxon9.jar,
[ SAXON_JAR=/usr/share/java/saxon9.jar ],
[ AC_MSG_ERROR(saxon.jar replacement not found)]
)
]
)
]
)
else
AC_CHECK_FILE($SAXON_JAR, [],
[AC_MSG_ERROR(saxon.jar replacement not found.)], [])
fi
dnl Saxon comes in two practically available versions, the out-of-date saxonb which
dnl supports the Java extensions that LibreOffice uses, and the up-to-date saxon he
dnl "home edition" version, which is crippled to not support those Java extensions.
dnl And as an aside the he one also needs to be tweaked to include
dnl a META-INF/services to broadcast that it supports the jaxp transform factory
AC_MSG_CHECKING([if saxon works])
cat > saxontest.java <<_ACEOF
[import javax.xml.transform.TransformerFactory;
import javax.xml.transform.Transformer;
import javax.xml.transform.stream.StreamSource;
import java.io.*;
import net.sf.saxon.FeatureKeys;
class saxontest {
public static void main(String[] args) {
System.setProperty("javax.xml.transform.TransformerFactory",
"net.sf.saxon.TransformerFactoryImpl");
try {
TransformerFactory tfactory = TransformerFactory.newInstance();
// some external saxons (Debian, Ubuntu, ...) have this disabled
// per default
tfactory.setAttribute(FeatureKeys.ALLOW_EXTERNAL_FUNCTIONS, new Boolean(true));
System.out.println("TransformerFactory is" +
tfactory.getClass().getName());
Transformer transformer = tfactory.newTransformer(
new StreamSource(new File(args[0])));
} catch(Exception e){
e.printStackTrace(System.err);
System.exit(-1);
}
System.exit(0);
}
}
]
_ACEOF
cat > saxontest.xsl<<_ACEOF
[<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:value-of select="math:sqrt(1)" xmlns:math="java:java.lang.Math"/>
</xsl:template>
</xsl:stylesheet>
]
_ACEOF
javac_cmd="$JAVACOMPILER -cp $SAXON_JAR saxontest.java 1>&2"
AC_TRY_EVAL(javac_cmd)
if test $? = 0 -a -f ./saxontest.class; then
java_cmd="$JAVAINTERPRETER -cp $SAXON_JAR:. saxontest saxontest.xsl 1>&2"
AC_TRY_EVAL(java_cmd)
if test $? = 0; then
AC_MSG_RESULT([yes])
else
cat saxontest.java >&5
AC_MSG_RESULT([no])
AC_MSG_ERROR([Non-functional saxon jar, e.g. crippled saxon-he instead of saxonb])
fi
else
AC_MSG_RESULT([no])
cat saxontest.java >&5
AC_MSG_ERROR([saxontest could not be compiled, non-functional saxon jar])
fi
else
AC_MSG_RESULT([internal])
SYSTEM_SAXON=NO
NEED_SAXON=TRUE
SAXON_TARBALL=ada24d37d8d638b3d8a9985e80bc2978-source-9.0.0.7-bj.zip
fi
fi
AC_SUBST(SYSTEM_SAXON)
AC_SUBST(SAXON_TARBALL)
AC_SUBST(SAXON_JAR)
if test -n "$NEED_SAXON"; then
BUILD_TYPE="$BUILD_TYPE SAXON"
fi
# ===================================================================
# Check whether to build stax
# ===================================================================
AC_MSG_CHECKING([whether building the stax is required])
BUILD_STAX=NO
if test -z "$SOLAR_JAVA"; then
AC_MSG_RESULT([no (java disabled)])
elif test "$SYSTEM_SAXON" = "YES"; then
AC_MSG_RESULT([no (already provided by system saxon)])
elif test -f "./stax/download/jsr173_1.0_api.jar"; then
AC_MSG_RESULT([no (will use the prebuilt stax/download/jsr173_1.0_api.jar)])
else
BUILD_STAX=YES
AC_MSG_RESULT([yes (no system saxon and no prebuilt copy)])
fi
AC_SUBST(BUILD_STAX)
dnl =================================================================== dnl ===================================================================
dnl Check for system curl dnl Check for system curl
dnl =================================================================== dnl ===================================================================
......
fl filter : TRANSLATIONS:translations svtools unotools xmloff cppu tools cppuhelper sal salhelper svx javaunohelper XPDF:xpdf jvmaccess canvas SAXON:saxon LIBXSLT:libxslt basegfx package PYTHON:python NULL fl filter : TRANSLATIONS:translations svtools unotools xmloff cppu tools cppuhelper sal salhelper svx javaunohelper XPDF:xpdf jvmaccess canvas LIBXSLT:libxslt basegfx package PYTHON:python NULL
fl filter\prj nmake - all fl_prj NULL fl filter\prj nmake - all fl_prj NULL
...@@ -6,21 +6,17 @@ c63f411b3ad147db2bcce1bf262a0e02-pixman-0.24.4.tar.bz2 ...@@ -6,21 +6,17 @@ c63f411b3ad147db2bcce1bf262a0e02-pixman-0.24.4.tar.bz2
17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
18f577b374d60b3c760a3a3350407632-STLport-4.5.tar.gz 18f577b374d60b3c760a3a3350407632-STLport-4.5.tar.gz
1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz 1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz
24be19595acad0a2cae931af77a0148a-LICENSE_source-9.0.0.7-bj.html
26b3e95ddf3d9c077c480ea45874b3b8-lp_solve_5.5.tar.gz 26b3e95ddf3d9c077c480ea45874b3b8-lp_solve_5.5.tar.gz
284e768eeda0e2898b0d5bf7e26a016e-raptor-1.4.18.tar.gz 284e768eeda0e2898b0d5bf7e26a016e-raptor-1.4.18.tar.gz
35c94d2df8893241173de1d16b6034c0-swingExSrc.zip 35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
3ade8cfe7e59ca8e65052644fed9fca4-epm-3.7.tar.gz 3ade8cfe7e59ca8e65052644fed9fca4-epm-3.7.tar.gz
48470d662650c3c074e1c3fabbc67bbd-README_source-9.0.0.7-bj.txt
4a660ce8466c9df01f19036435425c3a-glibc-2.1.3-stub.tar.gz 4a660ce8466c9df01f19036435425c3a-glibc-2.1.3-stub.tar.gz
f101a9e88b783337b20b2e26dfd26d5f-cairo-1.10.2.tar.gz f101a9e88b783337b20b2e26dfd26d5f-cairo-1.10.2.tar.gz
599dc4cc65a07ee868cf92a667a913d2-xpdf-3.02.tar.gz 599dc4cc65a07ee868cf92a667a913d2-xpdf-3.02.tar.gz
7740a8ec23878a2f50120e1faa2730f2-libxml2-2.7.6.tar.gz 7740a8ec23878a2f50120e1faa2730f2-libxml2-2.7.6.tar.gz
7376930b0d3f3d77a685d94c4a3acda8-STLport-4.5-0119.tar.gz 7376930b0d3f3d77a685d94c4a3acda8-STLport-4.5-0119.tar.gz
3fa4d5236f2a36ca5c3af6715e837691-curl-7.26.0.tar.gz 3fa4d5236f2a36ca5c3af6715e837691-curl-7.26.0.tar.gz
8294d6c42e3553229af9934c5c0ed997-stax-api-1.0-2-sources.jar
fa9aa839145cdf860bf596532bb8af97-cppunit-1.13.1.tar.gz fa9aa839145cdf860bf596532bb8af97-cppunit-1.13.1.tar.gz
a4d9b30810a434a3ed39fc0003bbd637-LICENSE_stax-api-1.0-2-sources.html
bc702168a2af16869201dbe91e46ae48-LICENSE_Python-2.6.1 bc702168a2af16869201dbe91e46ae48-LICENSE_Python-2.6.1
c441926f3a552ed3e5b274b62e86af16-STLport-4.0.tar.gz c441926f3a552ed3e5b274b62e86af16-STLport-4.0.tar.gz
ca66e26082cab8bb817185a116db809b-redland-1.0.8.tar.gz ca66e26082cab8bb817185a116db809b-redland-1.0.8.tar.gz
...@@ -30,7 +26,6 @@ e0707ff896045731ff99e99799606441-README_db-4.7.25.NC-custom.txt ...@@ -30,7 +26,6 @@ e0707ff896045731ff99e99799606441-README_db-4.7.25.NC-custom.txt
e81c2f0953aa60f8062c05a4673f2be0-Python-2.6.1.tar.bz2 e81c2f0953aa60f8062c05a4673f2be0-Python-2.6.1.tar.bz2
e61d0364a30146aaa3001296f853b2b9-libxslt-1.1.26.tar.gz e61d0364a30146aaa3001296f853b2b9-libxslt-1.1.26.tar.gz
dd7dab7a5fea97d2a6a43f511449b7cd-expat-2.1.0.tar.gz dd7dab7a5fea97d2a6a43f511449b7cd-expat-2.1.0.tar.gz
fb7ba5c2182be4e73748859967455455-README_stax-api-1.0-2-sources.txt
fca8706f2c4619e2fa3f8f42f8fc1e9d-rasqal-0.9.16.tar.gz fca8706f2c4619e2fa3f8f42f8fc1e9d-rasqal-0.9.16.tar.gz
0981bda6548a8c8233ffce2b6e4b2a23-mysql-connector-c++-1.1.0.tar.gz 0981bda6548a8c8233ffce2b6e4b2a23-mysql-connector-c++-1.1.0.tar.gz
@POSTGRESQL_TARBALL@ @POSTGRESQL_TARBALL@
...@@ -91,7 +86,6 @@ fa6a2f85bd28baab035b2c95e722713f-liblangtag-0.2.tar.bz2 ...@@ -91,7 +86,6 @@ fa6a2f85bd28baab035b2c95e722713f-liblangtag-0.2.tar.bz2
@ORCUS_TARBALL@ @ORCUS_TARBALL@
@PNG_TARBALL@ @PNG_TARBALL@
@RHINO_TARBALL@ @RHINO_TARBALL@
@SAXON_TARBALL@
@TOMCAT_TARBALL@ @TOMCAT_TARBALL@
@VIGRA_TARBALL@ @VIGRA_TARBALL@
@VISIO_TARBALL@ @VISIO_TARBALL@
......
...@@ -2110,18 +2110,6 @@ FITNESS FOR A PARTICULAR PURPOSE.</P> ...@@ -2110,18 +2110,6 @@ FITNESS FOR A PARTICULAR PURPOSE.</P>
<P CLASS="western" STYLE="margin-top: 0.3cm; margin-bottom: 0.3cm">This <P CLASS="western" STYLE="margin-top: 0.3cm; margin-bottom: 0.3cm">This
file declares SANE application interface. See the SANE standard for a file declares SANE application interface. See the SANE standard for a
detailed explanation of the interface.</P> detailed explanation of the interface.</P>
<H2 CLASS="western">Saxon (B)</H2>
<P CLASS="western" STYLE="margin-top: 0.3cm; margin-bottom: 0.3cm">The
following software may be included in this product: Saxon (B). Use of
any of this software is governed by the terms of the license below:</P>
<P CLASS="western" STYLE="margin-top: 0.3cm; margin-bottom: 0.3cm"><A HREF="#10.Mozilla Public License Version 1.1|outline">Jump
to MPL Version 1.1</A></P>
<H2 CLASS="western">Stax</H2>
<P CLASS="western" STYLE="margin-top: 0.3cm; margin-bottom: 0.3cm">The
following software may be included in this product: Stax API. Use of
any of this software is governed by the terms of the license below:</P>
<P CLASS="western" STYLE="margin-top: 0.3cm; margin-bottom: 0.3cm"><A HREF="#11.Apache License|outline">Jump
to Apache License Version 2.0</A></P>
<H2 CLASS="western">STLPort</H2> <H2 CLASS="western">STLPort</H2>
<P CLASS="western" STYLE="margin-top: 0.3cm; margin-bottom: 0.3cm">The <P CLASS="western" STYLE="margin-top: 0.3cm; margin-bottom: 0.3cm">The
following software may be included in this product:STLport. Use of following software may be included in this product:STLport. Use of
...@@ -9471,4 +9459,4 @@ this trademark restriction does not form part of the License.</P> ...@@ -9471,4 +9459,4 @@ this trademark restriction does not form part of the License.</P>
<P CLASS="western" STYLE="margin-top: 0.3cm; margin-bottom: 0.3cm">Creative <P CLASS="western" STYLE="margin-top: 0.3cm; margin-bottom: 0.3cm">Creative
Commons may be contacted at <A HREF="http://creativecommons.org/">http://creativecommons.org/</A>.</P> Commons may be contacted at <A HREF="http://creativecommons.org/">http://creativecommons.org/</A>.</P>
</BODY> </BODY>
</HTML> </HTML>
\ No newline at end of file
...@@ -139,7 +139,6 @@ As part of the base system this product also includes code from the following ...@@ -139,7 +139,6 @@ As part of the base system this product also includes code from the following
projects which are licensed under the Apache license: projects which are licensed under the Apache license:
- serf - serf
- redland - redland
- StAX
The notices from these projects are following: The notices from these projects are following:
...@@ -153,10 +152,6 @@ This product includes Redland software (http://librdf.org/) ...@@ -153,10 +152,6 @@ This product includes Redland software (http://librdf.org/)
developed at the Institute for Learning and Research Technology, developed at the Institute for Learning and Research Technology,
University of Bristol, UK (http://www.bristol.ac.uk/). University of Bristol, UK (http://www.bristol.ac.uk/).
StAX
[no notices]
____ ____
This product includes software developed by the OpenSSL Project This product includes software developed by the OpenSSL Project
......
...@@ -2057,20 +2057,6 @@ SANE ...@@ -2057,20 +2057,6 @@ SANE
This file declares SANE application interface. See the SANE standard This file declares SANE application interface. See the SANE standard
for a detailed explanation of the interface. for a detailed explanation of the interface.
Saxon (B)
The following software may be included in this product: Saxon (B). Use
of any of this software is governed by the terms of the license below:
See MPL Version 1.1 below
Stax
The following software may be included in this product: Stax API. Use
of any of this software is governed by the terms of the license below:
See Apache License Version 2.0 below
STLPort STLPort
The following software may be included in this product:STLport. Use of The following software may be included in this product:STLport. Use of
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_ExternalProject_ExternalProject,saxon))
$(eval $(call gb_ExternalProject_use_unpacked,saxon,saxon))
$(eval $(call gb_ExternalProject_register_targets,saxon,\
build \
))
$(call gb_ExternalProject_get_state_target,saxon,build) :
cd "$(call gb_UnpackedTarball_get_dir,saxon)" && \
ANT_OPTS="$$ANT_OPTS -Dfile.encoding=ISO-8859-1" \
$(ICECREAM_RUN) "$(ANT)" \
-q \
-f build.xml \
-Dbuild.label="build-libreoffice" \
$(if $(filter YES,$(SYSTEM_TOMCAT))\
,-Dservletapi.jar=$(SERVLETAPI_JAR) \
,-Dservletapi.jar=$(SOLARVER)/$(INPATH)/bin/servlet-api.jar \
)\
$(if $(filter yes,$(JAVACISGCJ))\
,-Dbuild.compiler=gcj \
) \
-Dant.build.javac.target=$(JAVA_TARGET_VER) \
$(if $(debug),-Dbuild.debug="on") \
-Dsolarbindir=$(OUTDIR)/bin jar-bj && \
touch $@
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
include $(module_directory)/../solenv/gbuild/partial_build.mk
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Module_Module,saxon))
ifneq ($(SOLAR_JAVA),)
ifneq ($(filter SAXON,$(BUILD_TYPE)),)
$(eval $(call gb_Module_add_targets,saxon,\
ExternalProject_saxon \
Package_saxon \
UnpackedTarball_saxon \
))
endif
endif
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Package_Package,saxon_inc,$(call gb_UnpackedTarball_get_dir,saxon)))
$(eval $(call gb_Package_use_external_project,saxon_inc,saxon))
$(eval $(call gb_Package_add_file,saxon_inc,bin/saxon9.jar,saxon-build/9.0.0.7/bj/saxon9.jar))
# vim: set noet sw=4 ts=4:
XSLT and XQuery Processor from [[http://saxon.sourceforge.net/]]
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_UnpackedTarball_UnpackedTarball,saxon))
$(eval $(call gb_UnpackedTarball_set_tarball,saxon,$(SAXON_TARBALL)))
$(eval $(call gb_UnpackedTarball_add_file,saxon,build.xml,saxon/build.xml))
# vim: set noet sw=4 ts=4:
This diff is collapsed.
xx saxon : solenv stax NULL
xx saxon\prj nmake - all xx_saxon NULL
Library implementing the Streaming API for XML. (CH: Which one, probably the one by Sun???)
#*************************************************************************
#
# 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=stax
TARGET=stax
USE_JAVAVER=TRUE
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
.INCLUDE : antsettings.mk
.IF "$(SOLAR_JAVA)" != ""
.IF "$(JAVANUMVER:s/.//)" >= "000100060000" || "$(JDK)"=="gcj"
all:
@echo "Your java version already contains StAX"
.ENDIF # "$(JAVANUMVER:s/.//)" >= "000100060000"
.IF "$(SYSTEM_SAXON)" == "YES"
all:
@echo "An already available installation of saxon should exist on your system."
@echo "Therefore the files provided here does not need to be built in addition."
.ENDIF
.IF "$(BUILD_STAX)" != "YES"
$(OUT)$/class$/jsr173_1.0_api.jar : $(PRJ)$/download$/jsr173_1.0_api.jar
+$(COPY) $< $@
.ELSE # "$(BUILD_STAX)" != "YES"
# --- Files --------------------------------------------------------
TARFILE_NAME=stax-api-1.0-2-sources
TARFILE_MD5=8294d6c42e3553229af9934c5c0ed997
TARFILE_ROOTDIR=src
BUILD_ACTION=$(JAVAC) javax$/xml$/stream$/*.java && jar -cf jsr173_1.0_api.jar javax$/xml$/stream$/*.class javax$/xml$/stream$/events$/*.class javax$/xml$/stream$/util$/*.class
OUT2CLASS=jsr173_1.0_api.jar
.ENDIF # "$(BUILD_STAX)" != "YES"
.ELSE # $(SOLAR_JAVA)!= ""
nojava:
@echo "Not building $(PRJNAME) because Java is disabled"
.ENDIF # $(SOLAR_JAVA)!= ""
# --- Targets ------------------------------------------------------
.INCLUDE : set_ext.mk
.INCLUDE : target.mk
.IF "$(SOLAR_JAVA)" != ""
.INCLUDE : tg_ext.mk
.ENDIF
tx stax : solenv NULL
tx stax nmake - all tx_stax NULL
..\%__SRC%\class\jsr*.jar %_DEST%\bin
tb tail_build : BERKELEYDB:berkeleydb BOOST:boost CAIRO:cairo CPPUNIT:cppunit CURL:curl EXPAT:expat GETTEXT:gettext GLIB:glib GDK_PIXBUF:gdk-pixbuf PANGO:pango LIBCROCO:libcroco LIBGSF:libgsf GRAPHITE:graphite HUNSPELL:hunspell HYPHEN:hyphen ICU:icu JPEG:jpeg LCMS2:lcms2 LIBEXTTEXTCAT:libexttextcat LIBLANGTAG:liblangtag LIBXML2:libxml2 libxmlsec LIBXSLT:libxslt LPSOLVE:lpsolve MOZ:moz MYTHES:mythes NSS:nss OPENLDAP:openldap OPENSSL:openssl PYTHON:python REDLAND:redland stax XPDF:xpdf ZLIB:zlib external sal solenv soltools NULL tb tail_build : BERKELEYDB:berkeleydb BOOST:boost CAIRO:cairo CPPUNIT:cppunit CURL:curl EXPAT:expat GETTEXT:gettext GLIB:glib GDK_PIXBUF:gdk-pixbuf PANGO:pango LIBCROCO:libcroco LIBGSF:libgsf GRAPHITE:graphite HUNSPELL:hunspell HYPHEN:hyphen ICU:icu JPEG:jpeg LCMS2:lcms2 LIBEXTTEXTCAT:libexttextcat LIBLANGTAG:liblangtag LIBXML2:libxml2 libxmlsec LIBXSLT:libxslt LPSOLVE:lpsolve MOZ:moz MYTHES:mythes NSS:nss OPENLDAP:openldap OPENSSL:openssl PYTHON:python REDLAND:redland XPDF:xpdf ZLIB:zlib external sal solenv soltools NULL
tb tail_build\prj nmake - all tb_prj NULL tb tail_build\prj nmake - all tb_prj NULL
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment