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/saxon/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/saxon/files')
-rw-r--r--dev-java/saxon/files/9.2-build.xml72
-rw-r--r--dev-java/saxon/files/9.2-edition.properties2
-rw-r--r--dev-java/saxon/files/build-6.5.5.xml69
-rw-r--r--dev-java/saxon/files/build-8.4b.xml123
-rw-r--r--dev-java/saxon/files/saxon-8.4b-jikes.patch14
5 files changed, 280 insertions, 0 deletions
diff --git a/dev-java/saxon/files/9.2-build.xml b/dev-java/saxon/files/9.2-build.xml
new file mode 100644
index 000000000000..3bd9a64d4fe5
--- /dev/null
+++ b/dev-java/saxon/files/9.2-build.xml
@@ -0,0 +1,72 @@
+<!-- simple generic build file -->
+
+<project name="saxon" default="all" basedir=".">
+
+ <!-- Properties -->
+
+ <property name="name" value="saxon"/>
+ <property name="src" value="src"/>
+ <property name="build" value="build"/>
+ <property name="build.classes" value="${build}/classes"/>
+ <property name="build.doc" value="${build}/api"/>
+ <property name="build.lib" value="${build}/lib"/>
+ <property name="j2se.javadoc" value="http://java.sun.com/javase/@JDK@/docs/api"/>
+ <property name="jdom.javadoc" value="/usr/share/jdom-@JDOM@/api"/>
+
+ <!-- Targets -->
+
+ <!-- Prepare build directories -->
+ <target name="prepare">
+ <mkdir dir="${src}"/>
+ <mkdir dir="${build}"/>
+ <mkdir dir="${build.classes}"/>
+ <mkdir dir="${build.lib}"/>
+ <mkdir dir="${build.doc}"/>
+ <copy todir="${src}">
+ <fileset dir="." includes="com/**,org/**,net/**"/>
+ </copy>
+ </target>
+
+ <!-- Kill all the created directories -->
+ <target name="clean">
+ <delete dir="${build}"/>
+ <delete dir="${src}"/>
+ </target>
+
+ <!-- Build classes -->
+ <target name="classes" depends="prepare">
+ <javac srcdir="${src}" destdir="${build.classes}" encoding="ISO-8859-1"/>
+ </target>
+
+ <!-- Build jar archives -->
+
+ <target name="jar" depends="classes">
+ <jar jarfile="${build.lib}/${name}.jar"
+ basedir="${build.classes}">
+ <manifest>
+ <attribute name="Main-Class" value="net.sf.saxon.Transform"/>
+ </manifest>
+ </jar>
+ </target>
+
+ <!-- Build the full JavaDocs -->
+ <target name="javadoc" depends="prepare">
+ <javadoc sourcepath="${src}"
+ destdir="${build.doc}"
+ doctitle="${name} JavaDoc"
+ windowtitle="${name} JavaDoc"
+ package="true"
+ author="true"
+ version="true"
+ packagenames="net.sf.saxon.*,org.w3c.xsl.*"
+ encoding="ISO-8859-1"
+ >
+ <link href="${j2se.javadoc}"/>
+ <link href="${jdom.javadoc}"/>
+ </javadoc>
+ </target>
+
+ <!-- Build everything -->
+ <target name="all" depends="jar,javadoc"/>
+
+</project>
diff --git a/dev-java/saxon/files/9.2-edition.properties b/dev-java/saxon/files/9.2-edition.properties
new file mode 100644
index 000000000000..bb5acee0b19c
--- /dev/null
+++ b/dev-java/saxon/files/9.2-edition.properties
@@ -0,0 +1,2 @@
+config=net.sf.saxon.Configuration
+platform=net.sf.saxon.java.JavaPlatform
diff --git a/dev-java/saxon/files/build-6.5.5.xml b/dev-java/saxon/files/build-6.5.5.xml
new file mode 100644
index 000000000000..bb866d07642a
--- /dev/null
+++ b/dev-java/saxon/files/build-6.5.5.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!---
+ @author: Saleem Abdulrasool <compnerd@gentoo.org>
+ @date: 5/9/2005
+ @revision: 1.0_alpha
+
+ @notes: Call using the following: ant -f build.xml -Dproject.name=${project name} -Dpackage.name=${package name}
+-->
+
+<project name="Gentoo_Builder" default="jar" basedir=".">
+ <property name="src" value="src"/>
+ <property name="build" value="build"/>
+ <property name="dist" value="dist"/>
+
+ <property name="project.name" value="saxon6.5"/>
+ <property name="pkg" value="${package.name}"/>
+ <property name="all.jar" value="${project.name}.jar"/>
+
+ <!-- Override any defined properties -->
+ <property file="build.properties"/>
+ <path id="lib.classpath">
+ <fileset dir="lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ </path>
+
+
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${build}"/>
+ <mkdir dir="${dist}"/>
+ <mkdir dir="${dist}/doc"/>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac srcdir="${src}" destdir="${build}" classpath="${classpath}" classpathref="lib.classpath"/>
+ </target>
+
+ <target name="manifest" depends="init">
+ <move file="${src}/META-INF" tofile="${build}/META-INF"/>
+ <manifest file="${build}/META-INF/MANIFEST.MF" mode="update">
+ <attribute name="Built-By" value="Gentoo Portage"/>
+ </manifest>
+ </target>
+
+ <target name="jar-saxon6.5" depends="compile,manifest">
+ <jar jarfile="${dist}/${all.jar}" manifest="${build}/META-INF/MANIFEST.MF">
+ <fileset dir="${build}">
+ <include name="com/**"/>
+ <include name="javax/**"/>
+ <include name="org/**"/>
+ <include name="META-INF/services/javax.xml.transform.TransformerFactory"/>
+ </fileset>
+ </jar>
+ </target>
+
+ <target name="jar" depends="jar-saxon6.5"/>
+
+ <target name="javadoc" depends="compile">
+ <javadoc destdir="${dist}/doc/api" classpathref="lib.classpath">
+ <fileset dir="${src}"/>
+ </javadoc>
+ </target>
+
+ <target name="clean">
+ <delete dir="${build}"/>
+ <delete dir="${dist}"/>
+ </target>
+</project>
diff --git a/dev-java/saxon/files/build-8.4b.xml b/dev-java/saxon/files/build-8.4b.xml
new file mode 100644
index 000000000000..a3b6ebafbec7
--- /dev/null
+++ b/dev-java/saxon/files/build-8.4b.xml
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!---
+ @author: Saleem Abdulrasool <compnerd@gentoo.org>
+ @date: 5/9/2005
+ @revision: 1.0_alpha
+
+ @notes: Call using the following: ant -f build.xml -Dproject.name=${project name} -Dpackage.name=${package name}
+-->
+
+<project name="Gentoo_Builder" default="jar" basedir=".">
+ <property name="src" value="src"/>
+ <property name="build" value="build"/>
+ <property name="dist" value="dist"/>
+
+ <property name="project.name" value="saxon8"/>
+ <property name="pkg" value="${package.name}"/>
+ <property name="all.jar" value="${project.name}.jar"/>
+ <property name="dom.jar" value="${project.name}-dom.jar"/>
+ <property name="jdom.jar" value="${project.name}-jdom.jar"/>
+ <property name="sql.jar" value="${project.name}-sql.jar"/>
+ <property name="xom.jar" value="${project.name}-xom.jar"/>
+ <property name="xpath.jar" value="${project.name}-xpath.jar"/>
+
+ <!-- Override any defined properties -->
+ <property file="build.properties"/>
+ <path id="lib.classpath">
+ <fileset dir="lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ </path>
+
+
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${build}"/>
+ <mkdir dir="${build}/META-INF/services"/>
+ <mkdir dir="${dist}"/>
+ <mkdir dir="${dist}/doc"/>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac srcdir="${src}" destdir="${build}" classpath="${classpath}" classpathref="lib.classpath"/>
+ </target>
+
+ <target name="manifest" depends="init">
+ <manifest file="${build}/META-INF/MANIFEST.MF" mode="update">
+ <attribute name="Built-By" value="Gentoo Portage"/>
+ </manifest>
+ <echo file="${build}/META-INF/services/javax.xml.xpath.XPathFactory" message="net.sf.saxon.xpath.XPathFactory"/>
+ <echo file="${build}/META-INF/services/javax.xml.transform.TransformerFactory" message="net.sf.saxon.transform.TransformerFactoryImpl"/>
+ </target>
+
+ <target name="jar-saxon8" depends="compile,manifest">
+ <jar jarfile="${dist}/${all.jar}" manifest="${build}/META-INF/MANIFEST.MF">
+ <fileset dir="${build}">
+ <include name="net/sf/saxon/**"/>
+ <include name="META-INF/services/javax.xml.transform.TransformFactory"/>
+ <exclude name="**/dom/**"/>
+ <exclude name="**/jdom/**"/>
+ <exclude name="**/sql/**"/>
+ <exclude name="**/xom/**"/>
+ <exclude name="**/xpath/**"/>
+ </fileset>
+ <manifest>
+ <attribute name="Main-Class" value="net.sf.saxon.Transform" />
+ </manifest>
+ </jar>
+ </target>
+
+ <target name="jar-saxon8-dom" depends="compile,manifest">
+ <jar jarfile="${dist}/${dom.jar}" manifest="${build}/META-INF/MANIFEST.MF">
+ <fileset dir="${build}">
+ <include name="net/sf/saxon/dom/**"/>
+ </fileset>
+ </jar>
+ </target>
+
+ <target name="jar-saxon8-jdom" depends="compile,manifest">
+ <jar jarfile="${dist}/${jdom.jar}" manifest="${build}/META-INF/MANIFEST.MF">
+ <fileset dir="${build}">
+ <include name="net/sf/saxon/jdom/**"/>
+ </fileset>
+ </jar>
+ </target>
+
+ <target name="jar-saxon8-sql" depends="compile,manifest">
+ <jar jarfile="${dist}/${sql.jar}" manifest="${build}/META-INF/MANIFEST.MF">
+ <fileset dir="${build}">
+ <include name="net/sf/saxon/jdom/**"/>
+ </fileset>
+ </jar>
+ </target>
+
+ <target name="jar-saxon8-xom" depends="compile,manifest">
+ <jar jarfile="${dist}/${xom.jar}" manifest="${build}/META-INF/MANIFEST.MF">
+ <fileset dir="${build}">
+ <include name="net/sf/saxon/xom/**"/>
+ </fileset>
+ </jar>
+ </target>
+
+ <target name="jar-saxon8-xpath" depends="compile,manifest">
+ <jar jarfile="${dist}/${xpath.jar}" manifest="${build}/META-INF/MANIFEST.MF">
+ <fileset dir="${build}">
+ <include name="net/sf/saxon/xpath/**"/>
+ <include name="META-INF/services/javax.xml.xpath.XPathFactory"/>
+ </fileset>
+ </jar>
+ </target>
+
+ <target name="jar" depends="jar-saxon8,jar-saxon8-dom,jar-saxon8-jdom,jar-saxon8-sql,jar-saxon8-xom,jar-saxon8-xpath"/>
+
+ <target name="javadoc" depends="compile">
+ <javadoc destdir="${dist}/doc/api" classpathref="lib.classpath">
+ <fileset dir="${src}"/>
+ </javadoc>
+ </target>
+
+ <target name="clean">
+ <delete dir="${build}"/>
+ <delete dir="${dist}"/>
+ </target>
+</project>
diff --git a/dev-java/saxon/files/saxon-8.4b-jikes.patch b/dev-java/saxon/files/saxon-8.4b-jikes.patch
new file mode 100644
index 000000000000..e3d3f2c38043
--- /dev/null
+++ b/dev-java/saxon/files/saxon-8.4b-jikes.patch
@@ -0,0 +1,14 @@
+diff -ru saxon/src/net/sf/saxon/expr/UserFunctionCall.java saxon-patched/src/net/sf/saxon/expr/UserFunctionCall.java
+--- saxon/src/net/sf/saxon/expr/UserFunctionCall.java 2005-03-21 13:46:38.000000000 -0500
++++ saxon-patched/src/net/sf/saxon/expr/UserFunctionCall.java 2005-06-29 20:13:47.000000000 -0400
+@@ -401,8 +401,8 @@
+ */
+
+ public Object map(Item item, XPathContext context) throws XPathException {
+- if (item instanceof FunctionCallPackage) {
+- return (((FunctionCallPackage)item).iterateResults(context));
++ if (item instanceof UserFunctionCall.FunctionCallPackage) {
++ return (((UserFunctionCall.FunctionCallPackage)item).iterateResults(context));
+ } else {
+ return item;
+ }