SOURCES: nekohtml-filter.sh (NEW), nekohtml-crosslink.patch (NEW), ...
glen
glen at pld-linux.org
Wed May 10 22:59:19 CEST 2006
Author: glen Date: Wed May 10 20:59:19 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- originated from jpackage
---- Files affected:
SOURCES:
nekohtml-filter.sh (NONE -> 1.1) (NEW), nekohtml-crosslink.patch (NONE -> 1.1) (NEW), nekohtml-HTMLScanner.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/nekohtml-filter.sh
diff -u /dev/null SOURCES/nekohtml-filter.sh:1.1
--- /dev/null Wed May 10 22:59:19 2006
+++ SOURCES/nekohtml-filter.sh Wed May 10 22:59:14 2006
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+# nekohtml filter script
+# JPackage Project <http://www.jpackage.org/>
+
+# Source functions library
+if [ -f /usr/share/java-utils/java-functions ] ; then
+ . /usr/share/java-utils/java-functions
+else
+ echo "Can't find functions library, aborting"
+ exit 1
+fi
+
+# Configuration
+MAIN_CLASS=org.cyberneko.html.filters.Writer
+BASE_JARS="nekohtml xerces-j2"
+
+# Set parameters
+set_jvm
+set_classpath $BASE_JARS
+
+# Let's start
+run "$@"
================================================================
Index: SOURCES/nekohtml-crosslink.patch
diff -u /dev/null SOURCES/nekohtml-crosslink.patch:1.1
--- /dev/null Wed May 10 22:59:19 2006
+++ SOURCES/nekohtml-crosslink.patch Wed May 10 22:59:14 2006
@@ -0,0 +1,26 @@
+--- build-html.xml~ 2004-06-30 09:03:39.000000000 +0300
++++ build-html.xml 2004-07-03 19:52:56.973843825 +0300
+@@ -35,6 +35,10 @@
+ <property name='version.dir' value='bin/html/src'/>
+ <property name='version.manifest' value='${version.dir}/MANIFEST_html'/>
+ <property name='version.dir.java' value='${version.dir}/org/cyberneko/html'/>
++ <property name='j2se.javadoc' value='http://java.sun.com/j2se/1.4.2/docs/api/'/>
++ <property name='xni.javadoc' value='http://xml.apache.org/xerces2-j/javadocs/xni/'/>
++ <property name='xerces.javadoc' value='http://xml.apache.org/xerces2-j/javadocs/xerces2/'/>
++
+ <property name='version.java' value='${version.dir.java}/Version.java'/>
+
+ <!-- TARGETS -->
+@@ -101,7 +105,11 @@
+ windowtitle="${Name} Implementation"
+ doctitle="${Name}"
+ bottom="${copyright}"
+- />
++ >
++ <link href="${j2se.javadoc}"/>
++ <link href="${xni.javadoc}"/>
++ <link href="${xerces.javadoc}"/>
++ </javadoc>
+ <property name='docs.done' value='true'/>
+ </target>
+
================================================================
Index: SOURCES/nekohtml-HTMLScanner.patch
diff -u /dev/null SOURCES/nekohtml-HTMLScanner.patch:1.1
--- /dev/null Wed May 10 22:59:19 2006
+++ SOURCES/nekohtml-HTMLScanner.patch Wed May 10 22:59:14 2006
@@ -0,0 +1,26 @@
+--- src/html/org/cyberneko/html/HTMLScanner.java.sav 2005-06-19 06:04:02.000000000 +0200
++++ src/html/org/cyberneko/html/HTMLScanner.java 2005-10-11 07:46:06.000000000 +0200
+@@ -558,6 +558,11 @@
+ // XMLLocator methods
+ //
+
++ /** Returns the xml version. */
++ public String getXMLVersion() {
++ return null;
++ } // getXMLVersion():String
++
+ /** Returns the encoding. */
+ public String getEncoding() {
+ return fCurrentEntity != null ? fCurrentEntity.encoding : null;
+@@ -584,6 +589,11 @@
+ } // getExpandedSystemId():String
+
+ /** Returns the current line number. */
++ public int getCharacterOffset() {
++ return -1;
++ } // getCharacterOffset():int
++
++ /** Returns the current line number. */
+ public int getLineNumber() {
+ return fCurrentEntity != null ? fCurrentEntity.lineNumber : -1;
+ } // getLineNumber():int
================================================================
More information about the pld-cvs-commit
mailing list