Hello community,
here is the log from the commit of package dita-ot
checked in at Mon Oct 9 17:26:20 CEST 2006.
--------
--- dita-ot/dita-ot.changes 2006-01-25 21:46:07.000000000 +0100
+++ /mounts/work_src_done/NOARCH/dita-ot/dita-ot.changes 2006-10-04 17:29:31.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Oct 4 17:28:59 CEST 2006 - dbornkessel@suse.de
+
+- fixes necessary to compile with Java 1.5.0
+ - set source="1.4" and target="1.4" for ant "javac" tasks
+- use xalan for xslt transformation
+
+-------------------------------------------------------------------
New:
----
java150_build.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dita-ot.spec ++++++
--- /var/tmp/diff_new_pack.ikxfBO/_old 2006-10-09 17:25:58.000000000 +0200
+++ /var/tmp/diff_new_pack.ikxfBO/_new 2006-10-09 17:25:58.000000000 +0200
@@ -1,24 +1,25 @@
#
# spec file for package dita-ot (Version 1.1.2.1)
#
-# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
-# Please submit bugfixes or comments via http://bugs.opensuse.org
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: dita-ot
-BuildRequires: ant-trax dita fop java2-devel-packages saxon xml-commons-apis xorg-x11-libs
+BuildRequires: ant-trax dita fop java2-devel-packages xalan-j2 xml-commons-apis xorg-x11-libs
URL: http://dita-ot.sourceforge.net/
Group: Productivity/Publishing/XML
License: Other uncritical OpenSource License, Other License(s), see package
Summary: DITA Open Toolkit
Version: 1.1.2.1
-Release: 2
+Release: 21
Source0: http://mesh.dl.sourceforge.net/sourceforge/dita-ot/DITA-OT1.1.2.1_src.tar.gz
+Patch150: java150_build.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArchitectures: noarch
Requires: jpackage-utils >= 0:1.5
@@ -33,13 +34,14 @@
%define xml_pack_dir %{xml_dir}/dita
%prep
%setup -q -n DITA-OT%{version}-src
+%patch150 -p1
%build
-ant -buildfile buildPackage.xml
export ANT_OPTS=-Xmx256M
-export ANT_OPTS="${ANT_OPTS} -Djavax.xml.transform.TransformerFactory=com.icl.saxon.TransformerFactoryImpl"
-export CLASSPATH=/usr/share/fop-0.20.5/build/fop.jar:/usr/share/fop/lib/batik.jar:/usr/share/fop/lib/avalon-framework-cvs-20020806.jar:/usr/share/saxon/saxon.jar
-ant all
+#export ANT_OPTS="${ANT_OPTS} -Djavax.xml.transform.TransformerFactory=org.apache.xalan.transformer.TransformerImpl"
+#export CLASSPATH=/usr/share/fop-0.20.5/build/fop.jar:/usr/share/fop/lib/batik.jar:/usr/share/fop/lib/avalon-framework-cvs-20020806.jar:$(build-classpath xalan-j2 xalan-j2-serializer)
+CLASSPATH="$CLASSPATH:$(build-classpath java/xerces-j2 xalan-j2 xalan-j2-serializer)" ant -buildfile buildPackage.xml
+CLASSPATH="$CLASSPATH:$(build-classpath java/xerces-j2 xalan-j2 xalan-j2-serializer)" ant all
tar xf build/DITA-OT%{version}_bin.tar.gz
%install
@@ -91,6 +93,10 @@
%{xml_dir}/dita/stylesheet
%changelog -n dita-ot
+* Wed Oct 04 2006 - dbornkessel@suse.de
+- fixes necessary to compile with Java 1.5.0
+- set source="1.4" and target="1.4" for ant "javac" tasks
+- use xalan for xslt transformation
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Nov 28 2005 - ke@suse.de
++++++ java150_build.patch ++++++
Index: DITA-OT1.1.2.1-src/buildPackage.xml
===================================================================
--- DITA-OT1.1.2.1-src.orig/buildPackage.xml
+++ DITA-OT1.1.2.1-src/buildPackage.xml
@@ -53,7 +53,9 @@
</target>
<target name="build-java" depends="init-java">
-
participants (1)
-
root@suse.de