summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-11-14 14:56:27 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-11-14 14:56:27 +0000
commit88f7c4bd7dc7fc90147557c9e71473b027ff52fe (patch)
tree2046449dc73342d1f415c516d347171816248654 /app-text/jing/files
parentinitial import, ebuild submitted by Jan Brinkmann <lucky@the-luckyduck.de> (M... (diff)
downloadgentoo-2-88f7c4bd7dc7fc90147557c9e71473b027ff52fe.tar.gz
gentoo-2-88f7c4bd7dc7fc90147557c9e71473b027ff52fe.tar.bz2
gentoo-2-88f7c4bd7dc7fc90147557c9e71473b027ff52fe.zip
build from source 63240, submitted by Jan Brinkmann <lucky@the-luckyduck.de>
Diffstat (limited to 'app-text/jing/files')
-rw-r--r--app-text/jing/files/build-patch.diff23
-rw-r--r--app-text/jing/files/build.xml32
-rw-r--r--app-text/jing/files/digest-jing-20030619-r11
-rw-r--r--app-text/jing/files/manifest.mf3
4 files changed, 59 insertions, 0 deletions
diff --git a/app-text/jing/files/build-patch.diff b/app-text/jing/files/build-patch.diff
new file mode 100644
index 000000000000..f60d9af34110
--- /dev/null
+++ b/app-text/jing/files/build-patch.diff
@@ -0,0 +1,23 @@
+diff -uprN src.orig/com/thaiopensource/validate/schematron/SaxonSchemaReaderFactory.java src/com/thaiopensource/validate/schematron/SaxonSchemaReaderFactory.java
+--- src.orig/com/thaiopensource/validate/schematron/SaxonSchemaReaderFactory.java 2004-11-07 02:12:02.231733296 +0100
++++ src/com/thaiopensource/validate/schematron/SaxonSchemaReaderFactory.java 2004-11-07 02:11:40.888977888 +0100
+@@ -1,6 +1,6 @@
+ package com.thaiopensource.validate.schematron;
+
+-import com.icl.saxon.TransformerFactoryImpl;
++import net.sf.saxon.TransformerFactoryImpl;
+
+ import javax.xml.transform.TransformerFactory;
+
+diff -uprN src.orig/com/thaiopensource/validate/schematron/SchemaReaderImpl.java src/com/thaiopensource/validate/schematron/SchemaReaderImpl.java
+--- src.orig/com/thaiopensource/validate/schematron/SchemaReaderImpl.java 2004-11-07 02:12:02.230733448 +0100
++++ src/com/thaiopensource/validate/schematron/SchemaReaderImpl.java 2004-11-07 02:11:40.886978192 +0100
+@@ -85,7 +85,7 @@ class SchemaReaderImpl implements Schema
+ private void initTransformerFactory(TransformerFactory factory) {
+ String name = factory.getClass().getName();
+ try {
+- if (name.equals("com.icl.saxon.TransformerFactoryImpl"))
++ if (name.equals("net.sf.saxon.TransformerFactoryImpl"))
+ factory.setAttribute("http://icl.com/saxon/feature/linenumbering",
+ Boolean.TRUE);
+ else if (name.equals("org.apache.xalan.processor.TransformerFactoryImpl")) {
diff --git a/app-text/jing/files/build.xml b/app-text/jing/files/build.xml
new file mode 100644
index 000000000000..1f143474a2ad
--- /dev/null
+++ b/app-text/jing/files/build.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+
+<project name="jing" default="jar">
+ <!-- compiles the sources -->
+ <target name="compile">
+ <mkdir dir="build" />
+
+ <javac srcdir="src"
+ destdir="build"
+ source="1.4">
+ <classpath>
+ <pathelement path="bin/isorelax.jar:bin/saxon.jar:bin/xerces.jar" />
+ </classpath>
+ </javac>
+
+ <!-- we need the *.properties at the correct
+ position in the jar archive! -->
+ <copy todir="build">
+ <fileset dir="src">
+ <include name="**/*.properties" />
+ </fileset>
+ </copy>
+ </target>
+
+ <!-- create the jar archive -->
+ <target name="jar" depends="compile">
+ <jar jarfile="bin/jing.jar"
+ basedir="build"
+ manifest="manifest.mf">
+ </jar>
+ </target>
+</project>
diff --git a/app-text/jing/files/digest-jing-20030619-r1 b/app-text/jing/files/digest-jing-20030619-r1
new file mode 100644
index 000000000000..0527c6689212
--- /dev/null
+++ b/app-text/jing/files/digest-jing-20030619-r1
@@ -0,0 +1 @@
+MD5 f9b0775d8740f16ab3df82ad3707a093 jing-20030619.zip 2523368
diff --git a/app-text/jing/files/manifest.mf b/app-text/jing/files/manifest.mf
new file mode 100644
index 000000000000..bb5c9daf45a1
--- /dev/null
+++ b/app-text/jing/files/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Main-Class: com/thaiopensource/relaxng/util/Driver
+Class-Path: xercesImpl.jar xml-apis.jar saxon.jar isorelax.jar