summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/xerces/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/xerces/files')
-rw-r--r--dev-java/xerces/files/xerces-1.3.1-build.xml64
-rw-r--r--dev-java/xerces/files/xerces-2.11.0-build.xml.patch46
-rw-r--r--dev-java/xerces/files/xerces-2.3.0-gentoo.patch61
-rw-r--r--dev-java/xerces/files/xerces-2.9.0-gentoo.patch21
-rw-r--r--dev-java/xerces/files/xerces-2.9.0-no_dom3.patch20
-rw-r--r--dev-java/xerces/files/xerces-2.9.1-gentoo.patch21
-rw-r--r--dev-java/xerces/files/xerces-2.9.1-no_dom3.patch20
7 files changed, 253 insertions, 0 deletions
diff --git a/dev-java/xerces/files/xerces-1.3.1-build.xml b/dev-java/xerces/files/xerces-1.3.1-build.xml
new file mode 100644
index 000000000000..d688a62057ce
--- /dev/null
+++ b/dev-java/xerces/files/xerces-1.3.1-build.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0"?>
+
+<project name="xerces" default="jar">
+ <!-- some properties -->
+ <property name="src.dir" value="src" />
+ <property name="build.dir" value="build" />
+ <property name="docs.dir" value="docs" />
+ <property name="dist.dir" value="dist" />
+ <property name="jarfile" value="${dist.dir}/xerces.jar" />
+ <property name="target.jdk" value="1.3" />
+
+ <!-- init -->
+ <target name="init">
+ <mkdir dir="${dist.dir}" />
+ <mkdir dir="${build.dir}" />
+ <mkdir dir="${docs.dir}" />
+ </target>
+
+ <!-- compile everything -->
+ <target name="compile" depends="init">
+ <mkdir dir="${build.dir}" />
+ <javac srcdir="${src.dir}"
+ destdir="${build.dir}"
+ source="${target.jdk}"
+ target="${target.jdk}" />
+
+ <copy todir="${build.dir}">
+ <fileset dir="${src.dir}">
+ <exclude name="**/*.java" />
+ </fileset>
+ </copy>
+ </target>
+
+ <!-- build the jar file -->
+ <target name="jar" depends="compile">
+ <jar jarfile="${jarfile}" basedir="${build.dir}" />
+ </target>
+
+ <!-- generate javadocs -->
+ <target name="docs" depends="init">
+ <javadoc sourcepath="${src.dir}"
+ packagenames="org.* , javax.*"
+ destdir="${docs.dir}"
+ author="true"
+ version="true"
+ use="true"
+ windowtitle="${ant.project.name} API" />
+ </target>
+
+ <!-- clean up -->
+ <target name="clean">
+ <delete dir="${build.dir}" />
+ <delete dir="${docs.dir}" />
+ <delete dir="${dist.dir}" />
+ </target>
+
+ <!-- zip the sources -->
+ <target name="sourcezip">
+ <zip destfile="${dist.dir}/${ant.project.name}-src.zip">
+ <zipfileset dir="${src.dir}" />
+ </zip>
+ </target>
+
+</project>
diff --git a/dev-java/xerces/files/xerces-2.11.0-build.xml.patch b/dev-java/xerces/files/xerces-2.11.0-build.xml.patch
new file mode 100644
index 000000000000..61afcddad9a4
--- /dev/null
+++ b/dev-java/xerces/files/xerces-2.11.0-build.xml.patch
@@ -0,0 +1,46 @@
+Author: Ralph Sennhauser <sera@gentoo.org>
+
+Don't reference non existing jar in taskdef. #351394
+Don't let user properties leak into build env.
+Don't bundle stuff from xml-commons-external.
+
+--- a/build.xml
++++ b/build.xml
+@@ -39,18 +39,13 @@ Authors:
+ <property name="tools.dir" value="./tools"/>
+
+ <!-- enable compilation under JDK 1.4 and above -->
+- <taskdef name="xjavac" classname="org.apache.xerces.util.XJavac">
+- <classpath>
+- <pathelement location="${tools.dir}/bin/xjavac.jar"/>
+- </classpath>
+- </taskdef>
++ <taskdef name="xjavac" classname="org.apache.xerces.util.XJavac"/>
+
+ <!-- Allow properties following these statements to be overridden -->
+ <!-- Note that all of these don't have to exist. They've just been defined
+ incase they are used. -->
+ <property file="build.properties"/>
+ <property file=".ant.properties"/>
+- <property file="${user.home}/.ant.properties"/>
+ <property file="default.properties"/>
+
+ <target name="init">
+@@ -247,7 +242,7 @@ Authors:
+ <copy file="${src.dir}/org/apache/xerces/impl/xpath/regex/message.properties"
+ tofile="${build.src}/org/apache/xerces/impl/xpath/regex/message_en.properties"/>
+
+- <!-- now deal with API's: -->
++ <!-- now deal with API's:
+ <unzip src="${src.apis.zip}" dest="${build.src}">
+ <patternset
+ includes="org/xml/sax/**
+@@ -269,7 +264,7 @@ Authors:
+ org/w3c/dom/views/**
+ org/w3c/dom/xpath/**"
+ />
+- </unzip>
++ </unzip> -->
+
+ <!-- substitute tokens as needed -->
+ <replace file="${build.dir}/src/org/apache/xerces/impl/Version.java"
diff --git a/dev-java/xerces/files/xerces-2.3.0-gentoo.patch b/dev-java/xerces/files/xerces-2.3.0-gentoo.patch
new file mode 100644
index 000000000000..08f95ed7a6fa
--- /dev/null
+++ b/dev-java/xerces/files/xerces-2.3.0-gentoo.patch
@@ -0,0 +1,61 @@
+diff -urpN xerces-2_3_0.orig/build.sh xerces-2_3_0/build.sh
+--- xerces-2_3_0.orig/build.sh 2005-01-15 15:14:51.682424232 +0100
++++ xerces-2_3_0/build.sh 2005-01-15 16:22:11.299309120 +0100
+@@ -19,7 +19,7 @@ uname | grep WIN && CLPATHSEP=\;
+
+ # Keep this classpath to the minimum required to run ant
+ # Application dependent classpaths are specified in build.xml
+-LOCALCLASSPATH="$JAVA_HOME/lib/tools.jar${CLPATHSEP}${JAVA_HOME}/lib/classes.zip${CLPATHSEP}./tools/ant.jar${CLPATHSEP}./tools/xercesImpl.jar${CLPATHSEP}./tools/xml-apis.jar${CLPATHSEP}./tools/bin/xjavac.jar"
++LOCALCLASSPATH="$JAVA_HOME/lib/tools.jar${CLPATHSEP}${JAVA_HOME}/lib/classes.zip${CLPATHSEP}./tools/ant.jar${CLPATHSEP}./tools/ant-launcher.jar${CLPATHSEP}./tools/xercesImpl.jar${CLPATHSEP}./tools/xml-apis.jar${CLPATHSEP}./tools/bin/xjavac.jar"
+ ANT_HOME=./tools
+
+ echo Building with classpath \"$LOCALCLASSPATH\"
+diff -urpN xerces-2_3_0.orig/build.xml xerces-2_3_0/build.xml
+--- xerces-2_3_0.orig/build.xml 2005-01-15 15:14:51.682424232 +0100
++++ xerces-2_3_0/build.xml 2005-01-15 16:38:48.751673312 +0100
+@@ -173,7 +173,6 @@ Copyright:
+ <copy file="${src.dir}/org/apache/xerces/parsers/org.apache.xerces.xni.parser.XMLParserConfiguration"
+ tofile="${build.dest}/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration"/>
+
+- <!-- copy src files -->
+ <copy todir="${build.src}">
+ <fileset
+ dir="${src.dir}"
+@@ -187,8 +186,8 @@ Copyright:
+ org/apache/xerces/dom3/ls/**">
+ </fileset>
+ </copy>
+-
+- <!-- now deal with API's: -->
++
++ <!-- now deal with API's:
+ <unzip src="${src.apis.zip}" dest="${build.src}">
+ <patternset
+ includes="org/xml/sax/**
+@@ -200,7 +199,7 @@ Copyright:
+ org/w3c/dom/traversal/**"
+ />
+ </unzip>
+-
++ -->
+ <!-- substitute tokens as needed -->
+ <replace file="${build.dir}/src/org/apache/xerces/impl/Version.java"
+ token="@@VERSION@@" value="${parser.Name} ${parser.Version}"/>
+@@ -221,16 +220,7 @@ Copyright:
+ debug="${debug}"
+ deprecation="${deprecation}"
+ optimize="${optimize}"
+- includeAntRuntime="false"
+- includeJavaRuntime="false"
+- excludes="org/xml/sax/**
+- javax/xml/parsers/**
+- org/w3c/dom/*
+- org/w3c/dom/events/**
+- org/w3c/dom/html/**
+- org/w3c/dom/ranges/**
+- org/w3c/dom/traversal/**"
+- />
++ classpath="tools/xml-apis.jar" />
+ </target>
+
+ <!-- =================================================================== -->
diff --git a/dev-java/xerces/files/xerces-2.9.0-gentoo.patch b/dev-java/xerces/files/xerces-2.9.0-gentoo.patch
new file mode 100644
index 000000000000..61445ea6fe88
--- /dev/null
+++ b/dev-java/xerces/files/xerces-2.9.0-gentoo.patch
@@ -0,0 +1,21 @@
+diff -urpN xerces-2_6_2.old/build.xml xerces-2_6_2/build.xml
+--- xerces-2_6_2.old/build.xml 2004-02-20 19:58:14.000000000 +0100
++++ xerces-2_6_2/build.xml 2005-01-15 14:41:08.603978904 +0100
+@@ -190,7 +190,7 @@ Copyright:
+ </fileset>
+ </copy>
+
+- <!-- now deal with API's: -->
++ <!-- now deal with API's:
+ <unzip src="${src.apis.zip}" dest="${build.src}">
+ <patternset
+ includes="org/xml/sax/**
+@@ -202,7 +202,7 @@ Copyright:
+ org/w3c/dom/traversal/**"
+ />
+ </unzip>
+-
++ -->
+ <!-- substitute tokens as needed -->
+ <replace file="${build.dir}/src/org/apache/xerces/impl/Version.java"
+ token="@@VERSION@@" value="${parser.Name} ${parser.Version}"/>
diff --git a/dev-java/xerces/files/xerces-2.9.0-no_dom3.patch b/dev-java/xerces/files/xerces-2.9.0-no_dom3.patch
new file mode 100644
index 000000000000..8f485adcdbfd
--- /dev/null
+++ b/dev-java/xerces/files/xerces-2.9.0-no_dom3.patch
@@ -0,0 +1,20 @@
+diff -ru xerces-2_7_1/build.xml xerces-2_7_1-patched/build.xml
+--- xerces-2_7_1/build.xml 2005-07-26 16:09:07.000000000 -0400
++++ xerces-2_7_1-patched/build.xml 2005-12-08 23:51:32.000000000 -0500
+@@ -442,16 +442,6 @@
+ additionalparam='${additional.param}'
+ />
+ <mkdir dir='${build.dir}/docs/javadocs/other'/>
+- <javadoc packagenames='org.apache.html.*,
+- org.apache.wml.*,
+- org.apache.xml.serialize.*'
+- locale='en_US'
+- sourcepath='${build.src}' destdir='${build.dir}/docs/javadocs/other'
+- author='true' version='true'
+- windowtitle='Other Classes' doctitle='Other Classes'
+- bottom='${copyright}'
+- additionalparam='${additional.param}'
+- />
+ </target>
+
+ <!-- =================================================================== -->
diff --git a/dev-java/xerces/files/xerces-2.9.1-gentoo.patch b/dev-java/xerces/files/xerces-2.9.1-gentoo.patch
new file mode 100644
index 000000000000..61445ea6fe88
--- /dev/null
+++ b/dev-java/xerces/files/xerces-2.9.1-gentoo.patch
@@ -0,0 +1,21 @@
+diff -urpN xerces-2_6_2.old/build.xml xerces-2_6_2/build.xml
+--- xerces-2_6_2.old/build.xml 2004-02-20 19:58:14.000000000 +0100
++++ xerces-2_6_2/build.xml 2005-01-15 14:41:08.603978904 +0100
+@@ -190,7 +190,7 @@ Copyright:
+ </fileset>
+ </copy>
+
+- <!-- now deal with API's: -->
++ <!-- now deal with API's:
+ <unzip src="${src.apis.zip}" dest="${build.src}">
+ <patternset
+ includes="org/xml/sax/**
+@@ -202,7 +202,7 @@ Copyright:
+ org/w3c/dom/traversal/**"
+ />
+ </unzip>
+-
++ -->
+ <!-- substitute tokens as needed -->
+ <replace file="${build.dir}/src/org/apache/xerces/impl/Version.java"
+ token="@@VERSION@@" value="${parser.Name} ${parser.Version}"/>
diff --git a/dev-java/xerces/files/xerces-2.9.1-no_dom3.patch b/dev-java/xerces/files/xerces-2.9.1-no_dom3.patch
new file mode 100644
index 000000000000..8f485adcdbfd
--- /dev/null
+++ b/dev-java/xerces/files/xerces-2.9.1-no_dom3.patch
@@ -0,0 +1,20 @@
+diff -ru xerces-2_7_1/build.xml xerces-2_7_1-patched/build.xml
+--- xerces-2_7_1/build.xml 2005-07-26 16:09:07.000000000 -0400
++++ xerces-2_7_1-patched/build.xml 2005-12-08 23:51:32.000000000 -0500
+@@ -442,16 +442,6 @@
+ additionalparam='${additional.param}'
+ />
+ <mkdir dir='${build.dir}/docs/javadocs/other'/>
+- <javadoc packagenames='org.apache.html.*,
+- org.apache.wml.*,
+- org.apache.xml.serialize.*'
+- locale='en_US'
+- sourcepath='${build.src}' destdir='${build.dir}/docs/javadocs/other'
+- author='true' version='true'
+- windowtitle='Other Classes' doctitle='Other Classes'
+- bottom='${copyright}'
+- additionalparam='${additional.param}'
+- />
+ </target>
+
+ <!-- =================================================================== -->