1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
|
From: Jakub Adam <jakub.adam@ktknet.cz>
Date: Thu, 8 Dec 2011 23:38:09 +0100
Subject: debian-custom-build
- don't build binary zip package
- use icu4j.jar from distribution
- exclude various license and relnotes files from package
- generate documentation only in xhtml format
---
buildPackage.xml | 38 ++++++++++++++++++++++++++++----------
demo/fo/buildPackage.xml | 2 +-
2 files changed, 29 insertions(+), 11 deletions(-)
--- a/buildPackage.xml
+++ b/buildPackage.xml
@@ -120,6 +120,17 @@
<exclude name="demo/java/**"/>
<exclude name="buildSourceForge.xml"/>
<exclude name="doc/sourceforge/**"/>
+ <exclude name="APACHE-LICENSE-2_0.html"/>
+ <exclude name="license.txt"/>
+ <exclude name="NOTICES.txt"/>
+ <exclude name="relnotes.txt"/>
+ <exclude name="EvaluateOT.html"/>
+ <exclude name="CommonPublicLicense-v10.html"/>
+ <exclude name="lib/APACHE-LICENSE-2_0.html"/>
+ <exclude name="demo/fo/src"/>
+ <exclude name="demo/fo/fop"/>
+ <exclude name="demo/fo/fop/LICENSE"/>
+ <exclude name="demo/tocjs/license.txt"/>
<exclude name="doc/userguide-orig/**"/>
<exclude name="doc/ot-userguide/**"/>
<exclude name="doc/archive/**"/>
@@ -134,6 +145,7 @@
<patternset id="pattern.package.minimum">
<patternset refid="pattern.global.excludes"/>
+ <exclude name="demo/fo/bin/"/>
<exclude name="demo/fo/fop/build/"/>
<exclude name="demo/fo/fop/conf/"/>
<exclude name="demo/fo/fop/lib/"/>
@@ -278,9 +290,9 @@
</copy>
<!-- no documentation -->
<ant antfile="${temp.dist.dir}/integrator.xml"/>
- <zip destfile="${package.output.dir}/${param.out.file}${win32.zip.suffix}">
+ <!--zip destfile="${package.output.dir}/${param.out.file}${win32.zip.suffix}">
<fileset dir="${work.dir}/${param.out.file}"/>
- </zip>
+ </zip-->
<tar destfile="${package.output.dir}/${param.out.file}${linux.zip.suffix}" compression="gzip" longfile="gnu">
<tarfileset dir="${work.dir}/${param.out.file}"/>
</tar>
@@ -401,12 +413,12 @@
<property name="base.temp.dir" location="${work.dir}"/>
</ant>
- <ant antfile="${basedir}/build.xml">
+ <!--ant antfile="${basedir}/build.xml">
<property name="args.input" location="${doc.dir}/userguide.ditamap"/>
<property name="output.dir" location="${work.dir}/htmlhelp"/>
<property name="transtype" value="htmlhelp"/>
<property name="base.temp.dir" location="${work.dir}"/>
- </ant>
+ </ant-->
<copy todir="${doc.out.dir}" failonerror="no">
<fileset dir="${work.dir}/htmlhelp">
<include name="*.chm"/>
@@ -429,7 +441,13 @@
<property name="args.csspath" value="resource"/>
<property name="transtype" value="xhtml"/>
<property name="base.temp.dir" location="${work.dir}"/>
- </ant>
+ </ant-->
+ <!--ant antfile="${basedir}/build.xml">
+ <property name="args.input" location="${doc.dir}/quickstartguide.ditamap"/>
+ <property name="output.dir" location="${doc.out.dir}"/>
+ <property name="transtype" value="xhtml"/>
+ <property name="base.temp.dir" location="${work.dir}"/>
+ </ant-->
<copy file="${work.dir}/relnotes/rel1.5.4.html" tofile="${out.dir}/relnotes.html"/>
<delete failonerror="yes" includeemptydirs="true">
@@ -448,4 +466,4 @@
</copy>
</target>
-</project>
\ No newline at end of file
+</project>
--- a/demo/fo/buildPackage.xml
+++ b/demo/fo/buildPackage.xml
@@ -14,7 +14,7 @@
<property name="fo.jar" location="${lib.dir}/fo.jar" />
<property name="ant.jar" location="${classpath.dir}/ant162.jar" />
<property name="resolver.jar" location="${lib.dir}/resolver.jar" />
- <property name="icu4j.jar" location="${lib.dir}/icu4j.jar" />
+ <property name="icu4j.jar" location="/usr/share/java/com.ibm.icu-4.4.jar" />
<property name="xep.jar" location="${lib.dir}/xep/lib/xep.jar" />
<path id="build.class.path">
|