debian/0000755000000000000000000000000012174231361007166 5ustar debian/patches/0000755000000000000000000000000012174215004010611 5ustar debian/patches/0002-Remove-a-directory-during-cleaning.patch0000644000000000000000000000042512174205213020734 0ustar Description: Remove a directory during cleaning Author: Varun Hiremath --- a/build.xml +++ b/build.xml @@ -695,6 +695,7 @@ + debian/patches/0004-Remove-sun-imports.patch0000644000000000000000000000232612174205415015756 0ustar Description: Remove sun imports Author: Varun Hiremath diff --git a/src15/nu/xom/JDK15XML1_0Parser.java b/src15/nu/xom/JDK15XML1_0Parser.java index 389d5d7..9ba6056 100644 --- a/src15/nu/xom/JDK15XML1_0Parser.java +++ b/src15/nu/xom/JDK15XML1_0Parser.java @@ -24,9 +24,9 @@ package nu.xom; 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 @@ class JDK15XML1_0Parser extends SAXParser { 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); } -- debian/patches/0001-Remove-jaxen-from-build.patch0000644000000000000000000000651712174205140016617 0ustar Description: Remove jaxen from build Author: Varun Hiremath --- a/build.xml +++ b/build.xml @@ -68,7 +68,6 @@ - @@ -107,7 +106,6 @@ - @@ -115,7 +113,6 @@ - @@ -192,8 +189,6 @@ - - @@ -214,7 +209,7 @@ - - - - - - @@ -368,12 +357,6 @@ -

- - - - -
debian/patches/0007-Remove-jarjar.patch0000644000000000000000000000172512174215004014727 0ustar Description: Use the regular jar Atn yask instead of jarjar. jarjar is used upstream to relocate the jaxen classes inside the xom jar, but we prefer to keep it separate in Debian. Author: Emmanuel Bourg Forwarded: not-needed --- a/build.xml +++ b/build.xml @@ -317,9 +317,7 @@ - -
- + debian/patches/0006-Compile-with-ant-runtime.patch0000644000000000000000000000072112174214272017025 0ustar Description: Include the Ant runtime when compiling Author: Emmanuel Bourg Forwarded: not-needed --- a/build.xml +++ b/build.xml @@ -220,7 +220,7 @@ source="1.3" encoding="UTF-8" fork="true" - includeAntRuntime="false" + includeAntRuntime="true" excludes="nu/xom/pantry/* nu/xom/tools/* nu/xom/samples/*Servlet.java"> debian/patches/series0000644000000000000000000000034012174214332012026 0ustar 0001-Remove-jaxen-from-build.patch 0002-Remove-a-directory-during-cleaning.patch 0003-Add-compile15-to-compile-core-depends.patch 0005-Remove-external-links.patch 0006-Compile-with-ant-runtime.patch 0007-Remove-jarjar.patch debian/patches/0005-Remove-external-links.patch0000644000000000000000000000114712174205455016423 0ustar Description: Remove external links Author: Varun Hiremath --- a/build.xml +++ b/build.xml @@ -426,7 +426,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%40ibiblio%2Eorg?Subject=XOM'>elharo@ibiblio.org</a>"> debian/patches/0003-Add-compile15-to-compile-core-depends.patch0000644000000000000000000000060712174205325021122 0ustar Description: Add compile15 to compile-core depends Author: Varun Hiremath --- a/build.xml +++ b/build.xml @@ -209,7 +209,7 @@ - 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 debian/changelog0000644000000000000000000000737412174230650011053 0ustar xom (1.2.10-1) unstable; urgency=low * New upstream release * Updated the Maven pom * Refreshed the patches * Added a patch to include the Ant runtime when compiling * Added a patch to replace jarjar with the regular jar Ant task * Removed 0004-Remove-sun-imports.patch since the JDK15XML1_0Parser is really meant to be used with the parser provided by the JDK and not the standalone version of Xerces. * Moved the samples jar in the documentation package * debian/control: - Added the missing runtime dependency on libxerces2-java (Closes: #628142) - Updated Standards-Version to 3.9.4 (no changes) - Use canonical URLs for the Vcs-* fields - Removed the article at the beginning of the short description -- Emmanuel Bourg Thu, 25 Jul 2013 15:37:37 +0200 xom (1.2.1-3) unstable; urgency=low * Team upload. [ Torsten Werner ] * Remove new patch from last version because gcj was broken. [ Damien Raude-Morvan ] * Apply patch from James Pages . Thanks : * Enabled maven artifact deployment (LP: #715684) (Closes: #612592). - debian/control: Build-Depends added maven-repo-helper - debian/rules: install maven artifacts and new target to retrieve original POM file. - debian/poms/xom.pom: localised pom for maven - debian/libxom-java.poms: pom reference locations * Update Standards-Version: 3.9.2: - Rename debian/README.Debian-source to debian/README.source. * Drop Depends on JRE since it's a library (as per Debian Java Policy). -- Damien Raude-Morvan Mon, 25 Apr 2011 14:10:19 +0200 xom (1.2.1-2) unstable; urgency=low * Convert patches to dep3 format. * Add a patch for ant 1.8. (Closes: #571391) * Fine tune build dependencies to default-jdk. * Convert to source format 3.0. * Update Standards-Version: 3.8.4. -- Torsten Werner Thu, 25 Feb 2010 20:16:46 +0100 xom (1.2.1-1) unstable; urgency=low * New upstream release * Convert to default-jdk/jre, thanks to Chris Cheney for the patch (Closes: #508979) * Bump Standards-Version to 3.8.1 * Switch to quilt for managing patches -- Varun Hiremath Tue, 05 May 2009 21:10:47 -0400 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 debian/libxom-java.poms0000644000000000000000000000002412174202105012265 0ustar debian/poms/xom.pom debian/source/0000755000000000000000000000000012174202101010454 5ustar debian/source/format0000644000000000000000000000001412174202101011662 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212174202105010356 0ustar 5 debian/libxom-java-doc.doc-base0000644000000000000000000000043312174202105013533 0ustar 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 debian/copyright0000644000000000000000000000205612174202105011116 0ustar 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'. debian/poms/0000755000000000000000000000000012174202054010141 5ustar debian/poms/xom.pom0000644000000000000000000000363612174226543011502 0ustar 4.0.0 jar XOM 1.2.10 The XOM Dual Streaming/Tree API for Processing XML http://xom.nu The GNU Lesser General Public License, Version 2.1 http://www.gnu.org/licenses/lgpl-2.1.html repo https://xom.dev.java.net/source/browse/xom/ xom xom 2002 XOM Interest Mailing List http://lists.ibiblio.org/pipermail/xom-interest/ Elliotte Rusty Harold elharo elharo@ibiblio.org Cafe au Lait xml-apis xml-apis 1.3.03 jar xerces xercesImpl 2.8.0 jar xalan xalan 2.7.0 jar src debian/README.source0000644000000000000000000000075012174202054011344 0ustar 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 debian/control0000644000000000000000000000546412174220342010577 0ustar Source: xom Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Stephan Michels , Varun Hiremath , Kumar Appaiah , Emmanuel Bourg Build-Depends: debhelper (>= 5), cdbs, maven-repo-helper Build-Depends-Indep: ant, default-jdk, junit (>= 3.8.1), libxerces2-java, libxalan2-java, libjaxen-java (>= 1.1) Standards-Version: 3.9.4 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/xom Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/xom Homepage: http://www.xom.nu Package: libxom-java Architecture: all Suggests: libxom-java-doc Depends: ${misc:Depends}, libjaxen-java (>= 1.1~beta8), libxerces2-java Description: 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.