--- xom-1.1.orig/debian/rules +++ xom-1.1/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +JAVA_HOME := /usr/lib/jvm/default-java +DEB_JARS := xercesImpl xalan xml-apis jaxen saxpath junit +DEB_ANT_BUILD_TARGET := jar samples javadoc + +clean:: + -find -name '*.class' | xargs $(RM) + +install/libxom-java:: + dh_installdirs -plibxom-java usr/share/java + dh_install -plibxom-java build/xom-$(DEB_UPSTREAM_VERSION).jar usr/share/java + dh_link -plibxom-java usr/share/java/xom-$(DEB_UPSTREAM_VERSION).jar usr/share/java/xom.jar + install -m644 build/xom-samples.jar debian/libxom-java/usr/share/java/xom-samples-$(DEB_UPSTREAM_VERSION).jar + dh_link -plibxom-java usr/share/java/xom-samples-$(DEB_UPSTREAM_VERSION).jar usr/share/java/xom-samples.jar + +install/libxom-java-doc:: + dh_installdocs -plibxom-java-doc build/apidocs + +get-orig-source: + -uscan --upstream-version 0 --rename + +DEB_PHONY_RULES += get-orig-source --- xom-1.1.orig/debian/watch +++ xom-1.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.cafeconleche.org/XOM/ xom-(.*)-src\.tar\.gz debian debian/orig-tar.sh --- xom-1.1.orig/debian/control +++ xom-1.1/debian/control @@ -0,0 +1,60 @@ +Source: xom +Section: libs +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Stephan Michels , Varun Hiremath , Kumar Appaiah +Build-Depends: debhelper (>= 5), cdbs +Build-Depends-Indep: ant, default-jdk-builddep, junit (>= 3.8.1), + libxerces2-java, libxalan2-java, libjaxen-java (>= 1.1) +Standards-Version: 3.8.0.0 +Homepage: http://www.xom.nu/ +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/xom +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/xom + +Package: libxom-java +Architecture: all +Section: libs +Suggests: libxom-java-doc +Depends: default-jre-headless | java2-runtime-headless, libjaxen-java (>= 1.1~beta8), ${misc:Depends} +Description: A new XML object model for Java + XOM(tm) is a new XML object model. It is an open source (LGPL), + tree-based API for processing XML with Java that strives for correctness, + simplicity, and performance, in that order. + . + XOM is designed to be easy to learn and easy to use. It works very + straight-forwardly, and has a very shallow learning curve. Assuming + you're already familiar with XML, you should be able to get up and + running with XOM very quickly. + . + XOM is the only XML API that makes no compromises on correctness. + XOM only accepts namespace well-formed XML documents, and only allows + you to create namespace well-formed XML documents. (In fact, it's a + little stricter than that: it actually guarantees that all documents + are round-trippable and have well-defined XML infosets.) XOM manages + your XML so you don't have to. With XOM, you can focus on the unique + value of your application, and trust XOM to get the XML right. + +Package: libxom-java-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Suggests: libxom-java +Description: Documentation for the libxom-java package + XOM(tm) is a new XML object model. It is an open source (LGPL), + tree-based API for processing XML with Java that strives for correctness, + simplicity, and performance, in that order. + . + XOM is designed to be easy to learn and easy to use. It works very + straight-forwardly, and has a very shallow learning curve. Assuming + you're already familiar with XML, you should be able to get up and + running with XOM very quickly. + . + XOM is the only XML API that makes no compromises on correctness. + XOM only accepts namespace well-formed XML documents, and only allows + you to create namespace well-formed XML documents. (In fact, it's a + little stricter than that: it actually guarantees that all documents + are round-trippable and have well-defined XML infosets.) XOM manages + your XML so you don't have to. With XOM, you can focus on the unique + value of your application, and trust XOM to get the XML right. + . + This package includes the api documentation for libxom-java package. --- xom-1.1.orig/debian/changelog +++ xom-1.1/debian/changelog @@ -0,0 +1,62 @@ +xom (1.1-3ubuntu2) jaunty; urgency=low + + * Update default-jdk -> default-jdk-builddep to resolve FTBFS + + -- Chris Cheney Wed, 17 Dec 2008 00:45:00 -0600 + +xom (1.1-3ubuntu1) jaunty; urgency=low + + * Merge from debian unstable, remaining changes: + - default-java transition. + + -- Chris Cheney Wed, 17 Dec 2008 00:15:00 -0600 + +xom (1.1-3) unstable; urgency=low + + * debian/control: + + Use my debian.org e-mail address. + + Standards Version is now 3.7.3 (no changes needed.) + * debian/libxom-java-doc.doc-base: + + Use "Author" field instead of "Authors". + + -- Kumar Appaiah Mon, 21 Apr 2008 10:10:16 +0530 + +xom (1.1-2) unstable; urgency=low + + [ Torsten Werner ] + * Fix Depends: libjaxen-java. + + [ Varun Hiremath ] + * Add 05_build.patch to fix javadoc build + * Add libxom-java-doc.doc-base + * Clean up debian/rules and remove useless stuff. + * debian/rules: remove ecj from Build-Depends - not required. + + -- Varun Hiremath Sun, 25 Nov 2007 15:50:40 +0530 + +xom (1.1-1) unstable; urgency=low + + [ Stephan Michels ] + * Initial version. Closes: #330238 + + [ Varun Hiremath ] + * debian/control: + + Add myself and Kumar to Uploaders + + Switch to java-gcj from kaffe + + Separate out Build-Depends and Indep. + + Replace ecj-bootstrap with ecj + + Add Vcs-{Svn, Browser} and Homepage headers. + * debian/rules: + + Set JAVA_HOME to java-gcj instead of kaffe + + Fix Ant build targets. + + Use cdbs variables. + + Add get-orig-source target. + * debian/patches: + + Add 03_compile15.patch to compile JDK15XML1_0Parser.class + + Add 04_remove_sun_import.patch to fix imports to use xercesImpl.jar + * debian/compat: switch to 5 + * Add debian/orig-tar.sh to create orig.tar.gz + * Add debian/README.Debian-source. + * Add watch file. + + -- Varun Hiremath Tue, 13 Nov 2007 15:41:42 +0530 --- xom-1.1.orig/debian/copyright +++ xom-1.1/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Stephan Michels on +Sa, 18 Feb 2006 17:04:27 +0200. + +It was downloaded from http://www.xom.nu/ + +Upstream Author: Elliotte Rusty Harold + +Copyrights: (C) 2004, 2005 Elliotte Rusty Harold + +License: + + This library is free software; you can redistribute it and/or modify + it under the terms of version 2.1 of the GNU Lesser General Public + License as published by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. --- xom-1.1.orig/debian/libxom-java-doc.doc-base +++ xom-1.1/debian/libxom-java-doc.doc-base @@ -0,0 +1,9 @@ +Document: libxom-java +Title: API for XOM +Author: Elliotte Rusty Harold +Abstract: A new XML object model for Java +Section: Programming + +Format: HTML +Index: /usr/share/doc/libxom-java-doc/apidocs/index.html +Files: /usr/share/doc/libxom-java-doc/apidocs/*.html --- xom-1.1.orig/debian/README.Debian-source +++ xom-1.1/debian/README.Debian-source @@ -0,0 +1,13 @@ +xom for Debian +============== + +The upstream supplied source package contains binary jar files and +classes. Currently no clean source distribution exists. Therefore, the +upstream sources were modified to comply with the Debian Free Software +Guidelines. + +Use the rules/get-orig-source target to create the orig.tar.gz. +For more details on repackaging of upstream sources please see the +debian/orig-tar.sh file. + + -- Varun Hiremath , Tue, 13 Nov 2007 15:53:59 +0530 --- xom-1.1.orig/debian/compat +++ xom-1.1/debian/compat @@ -0,0 +1 @@ +5 --- xom-1.1.orig/debian/orig-tar.sh +++ xom-1.1/debian/orig-tar.sh @@ -0,0 +1,19 @@ +#!/bin/sh -e + +# called by uscan with '--upstream-version' +DIR=xom_$2.orig + +# clean up the upstream tarball +tar zxf $3 +mv XOM $DIR +GZIP=--best tar czf $3 --exclude '*.jar' --exclude '*.class' $DIR +rm -rf $DIR + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $3 $origDir + echo "moved $3 to $origDir" +fi + +exit 0 --- xom-1.1.orig/debian/patches/04_remove_sun_import.patch +++ xom-1.1/debian/patches/04_remove_sun_import.patch @@ -0,0 +1,27 @@ +diff -Nur xom-1.1/src15/nu/xom/JDK15XML1_0Parser.java xom-1.1.new/src15/nu/xom/JDK15XML1_0Parser.java +--- xom-1.1/src15/nu/xom/JDK15XML1_0Parser.java 2004-08-17 19:18:30.000000000 +0530 ++++ xom-1.1.new/src15/nu/xom/JDK15XML1_0Parser.java 2007-11-13 15:25:08.000000000 +0530 +@@ -24,9 +24,9 @@ + + import org.xml.sax.SAXException; + +-import com.sun.org.apache.xerces.internal.parsers.SAXParser; +-import com.sun.org.apache.xerces.internal.parsers.DTDConfiguration; +-import com.sun.org.apache.xerces.internal.impl.Constants ++import org.apache.xerces.parsers.SAXParser; ++import org.apache.xerces.parsers.DTDConfiguration; ++import org.apache.xerces.impl.Constants + ; + /** + *

+@@ -47,8 +47,8 @@ + + super(new DTDConfiguration()); + // workaround for Java 1.5 beta 2 bugs +- com.sun.org.apache.xerces.internal.util.SecurityManager manager +- = new com.sun.org.apache.xerces.internal.util.SecurityManager(); ++ org.apache.xerces.util.SecurityManager manager ++ = new org.apache.xerces.util.SecurityManager(); + setProperty(Constants.XERCES_PROPERTY_PREFIX + Constants.SECURITY_MANAGER_PROPERTY, manager); + + } --- xom-1.1.orig/debian/patches/05_build.patch +++ xom-1.1/debian/patches/05_build.patch @@ -0,0 +1,11 @@ +diff -Nur xom-1.1/build.xml xom-1.1.new/build.xml +--- xom-1.1/build.xml 2007-11-24 03:23:54.000000000 +0530 ++++ xom-1.1.new/build.xml 2007-11-24 03:24:12.000000000 +0530 +@@ -377,7 +377,6 @@ + windowtitle="${Name} ${version} API" + docencoding="UTF-8" + charset="UTF-8" +- link="http://www.junit.org/junit/javadoc/3.8.1" + doctitle="${Name} ${version}" + bottom="Copyright 2002-${year} <a href='http://www.elharo.com/'>Elliotte Rusty Harold</a> + <br /> <a href='mailto:elharo%40metalab%2Eunc%2Eedu?Subject=XOM'>elharo@metalab.unc.edu</a>"> --- xom-1.1.orig/debian/patches/02xom-clean-dist.patch +++ xom-1.1/debian/patches/02xom-clean-dist.patch @@ -0,0 +1,10 @@ +--- build.xml.orig 2006-02-18 15:11:08.000000000 +0100 ++++ build.xml 2006-02-18 15:11:58.000000000 +0100 +@@ -590,6 +590,7 @@ + + + ++ + + + --- xom-1.1.orig/debian/patches/01xom-remove-jaxen.patch +++ xom-1.1/debian/patches/01xom-remove-jaxen.patch @@ -0,0 +1,111 @@ +--- build.xml.orig 2006-02-11 12:19:49.000000000 +0100 ++++ build.xml 2006-02-11 12:21:51.000000000 +0100 +@@ -56,7 +56,6 @@ + + + +- + + + +@@ -93,7 +92,6 @@ + + + +- + + + +@@ -101,7 +99,6 @@ + + + +- + + + +@@ -171,8 +168,6 @@ + + + +- +- + + + +@@ -193,7 +188,7 @@ + + + +- + + +- +- +- + + + +@@ -321,12 +312,6 @@ + + + +-

+- +- +- +- +-
+
+ + +@@ -698,42 +683,6 @@ + + + +- +- +- +- +- +- +- +- +- +- + + + --- xom-1.1.orig/debian/patches/03_compile15.patch +++ xom-1.1/debian/patches/03_compile15.patch @@ -0,0 +1,12 @@ +diff -Nur xom-1.1/build.xml xom-1.1.new/build.xml +--- xom-1.1/build.xml 2007-11-13 15:11:51.000000000 +0530 ++++ xom-1.1.new/build.xml 2007-11-13 15:12:15.000000000 +0530 +@@ -188,7 +188,7 @@ + + + +- +