r1925 - in trunk: . xom xom/debian xom/debian/patches

Stephan Michels tashiro-guest at costa.debian.org
Sat Feb 18 17:21:38 UTC 2006


Author: tashiro-guest
Date: 2006-02-18 17:21:37 +0000 (Sat, 18 Feb 2006)
New Revision: 1925

Added:
   trunk/xom/
   trunk/xom/debian/
   trunk/xom/debian/changelog
   trunk/xom/debian/compat
   trunk/xom/debian/control
   trunk/xom/debian/copyright
   trunk/xom/debian/patches/
   trunk/xom/debian/patches/01xom-remove-jaxen.patch
   trunk/xom/debian/patches/02xom-clean-dist.patch
   trunk/xom/debian/rules
Log:
Initial version for libxom-java. Closes: #330238


Added: trunk/xom/debian/changelog
===================================================================
--- trunk/xom/debian/changelog	2006-02-18 14:13:00 UTC (rev 1924)
+++ trunk/xom/debian/changelog	2006-02-18 17:21:37 UTC (rev 1925)
@@ -0,0 +1,6 @@
+xom (1.1-1) unstable; urgency=low
+
+  * Initial version. Closes: #330238
+
+ -- Stephan Michels <stephan at apache.org>  Mon,  9 Jan 2006 11:40:09 +0100
+

Added: trunk/xom/debian/compat
===================================================================
--- trunk/xom/debian/compat	2006-02-18 14:13:00 UTC (rev 1924)
+++ trunk/xom/debian/compat	2006-02-18 17:21:37 UTC (rev 1925)
@@ -0,0 +1 @@
+4

Added: trunk/xom/debian/control
===================================================================
--- trunk/xom/debian/control	2006-02-18 14:13:00 UTC (rev 1924)
+++ trunk/xom/debian/control	2006-02-18 17:21:37 UTC (rev 1925)
@@ -0,0 +1,55 @@
+Source: xom
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Stephan Michels <stephan at apache.org>
+Priority: optional
+Build-Depends-Indep: debhelper (>> 4.0.0), cdbs, kaffe (>= 2:1.1.5), ant, junit (>= 3.8.1), libxerces2-java, libxalan2-java, libjaxen-java (>=1.1.beta8), ecj-bootstrap
+Standards-Version: 3.6.1
+
+Package: libxom-java
+Architecture: all
+Section: libs
+Suggests: libxom-java-doc
+Depends:  kaffe (>= 2:1.1.5) | java1-runtime | java2-runtime, libjaxen-java (>=1.1.beta8)
+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
+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.

Added: trunk/xom/debian/copyright
===================================================================
--- trunk/xom/debian/copyright	2006-02-18 14:13:00 UTC (rev 1924)
+++ trunk/xom/debian/copyright	2006-02-18 17:21:37 UTC (rev 1925)
@@ -0,0 +1,28 @@
+This package was debianized by Stephan Michels <stephan at apache.org> on
+Sa,  18 Feb 2006 17:04:27 +0200.
+
+It was downloaded from http://www.xom.nu/
+
+Copyright:
+
+XOM is a dual streaming/tree-based API for processing XML with Java.
+Copyright 2004, 2005 Elliotte Rusty Harold
+
+   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 Lesser General Public
+   License along with this library; if not, write to the
+   Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+   Boston, MA 02111-1307  USA
+
+You can contact Elliotte Rusty Harold by sending e-mail to
+elharo at metalab.unc.edu. Please include the word "XOM" in the
+subject line. For more information see http://www.xom.nu/
+or ask a question on the xom-interest mailing list.

Added: trunk/xom/debian/patches/01xom-remove-jaxen.patch
===================================================================
--- trunk/xom/debian/patches/01xom-remove-jaxen.patch	2006-02-18 14:13:00 UTC (rev 1924)
+++ trunk/xom/debian/patches/01xom-remove-jaxen.patch	2006-02-18 17:21:37 UTC (rev 1925)
@@ -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 @@
+     <property name="dist.dir"        value="./dist"/>    
+     <property name="clover.dir"      value="./clover"/>
+     <property name="testreports.dir" value="./testreports" />
+-    <property name="jaxen.dir"       value="${build.dir}/jaxen-classes"/>
+ 
+     <property name="xml-apis.jar"   value="${lib.dir}/xml-apis.jar"/>
+     <property name="parser.jar"     value="${lib.dir}/xercesImpl.jar"/>
+@@ -93,7 +92,6 @@
+       <pathelement location="${xml-apis.jar}"/>
+       <pathelement location="${parser.jar}"/>
+       <pathelement location="${junit.jar}"/>
+-      <pathelement location="${jaxen.dir}"/>
+       <pathelement location="${servlet.jar}"/>
+     </path>
+ 
+@@ -101,7 +99,6 @@
+       <pathelement location="${xml-apis.jar}"/>
+       <pathelement location="${parser.jar}"/>
+       <pathelement location="${xom-core}"/>
+-      <pathelement location="${jaxen.dir}"/>
+       <pathelement location="${xslt.jar}"/>
+       <pathelement location="${serializer.jar}"/>
+     </path>
+@@ -171,8 +168,6 @@
+     <mkdir dir="${dist.dir}"/>
+     <mkdir dir="${testoutput.dir}"/>
+     <mkdir dir="${build.dir}"/>
+-    <mkdir dir="${build.dir}/jaxen"/>
+-    <mkdir dir="${build.dir}/jaxen-classes"/>
+     <mkdir dir="${build15.dir}"/>
+     <mkdir dir="${build.src}"/>
+     <mkdir dir="${build.dest}"/>
+@@ -193,7 +188,7 @@
+   </target>
+ 
+ 
+-  <target name="compile-core" depends="prepare, compile-jaxen" 
++  <target name="compile-core" depends="prepare" 
+           description="Compile the source code">
+     <javac srcdir="${build.src}"
+            destdir="${build.dest}"
+@@ -301,10 +296,6 @@
+          includes="nu/xom/* nu/xom/xslt/* nu/xom/xinclude/* nu/xom/converters/* nu/xom/canonical/* nu/xom/tests/XOMTestCase.class"
+          excludes="nu/xom/samples/* nu/xom/benchmarks/* nu/xom/pantry/* nu/xom/tools/*">
+ 
+-    <fileset dir="${jaxen.dir}"
+-         excludes="**Demo.class **/package.html org/jaxen/xom/** org/jaxen/XPathTestBase.class org/jaxen/jdom/** org/jaxen/dom4j/** org/jaxen/javabean/** org/jaxen/dom/** org/jaxen/**Test.class org/jaxen/saxpath/base/**Test.class org/jaxen/saxpath/helpers/**Test.class org/jaxen/saxpath/helpers/**Test.class org/jaxen/pattern/** org/jaxen/saxpath/SAXPathParseException.class org/jaxen/pattern/PriorityTest.class">
+-    </fileset> 
+-
+       <manifest>
+         <attribute name="Built-By" value="${user.name}"/>
+         <attribute name="Specification-Title"    value="XOM"/>
+@@ -321,12 +312,6 @@
+         <attribute name="Implementation-Version" value="${version}"/>
+         <attribute name="Implementation-Vendor"  value="Elliotte Rusty Harold"/>          
+        </section>
+-        <section name="org/jaxen/">
+-          <attribute name="Specification-Title"   value="Jaxen XPath engine"/>
+-          <attribute name="Implementation-Title"  value="org.jaxen"/>
+-          <attribute name="Implementation-Version" value="1.1d4"/>
+-          <attribute name="Implementation-Vendor"  value="CodeHaus"/>
+-        </section>
+         <section name="nu/xom/xslt/">
+           <attribute name="Sealed" value="true"/>
+           <attribute name="Specification-Title"   value="XOM XSLT interface"/>
+@@ -698,42 +683,6 @@
+     </jar>
+   </target>
+ 
+-  <target name="compile-jaxen" description="Compile Jaxen" depends="get-jaxen">
+-    <javac srcdir="${build.dir}/jaxen/src/java/main"
+-           destdir="${build.dir}/jaxen-classes"
+-           debug="${debug}"
+-           optimize="${optimize}"
+-           deprecation="${deprecation}"
+-           target="1.2"
+-           source="1.3"
+-           encoding="UTF-8"
+-           includeAntRuntime="no"
+-           excludes="org/jaxen/dom/** 
+-                     org/jaxen/jdom/** 
+-                     org/jaxen/dom4j/** 
+-                     org/jaxen/pattern/** 
+-                     org/jaxen/javabean/** 
+-                     org/jaxen/xom/**
+-                     org/jaxen/function/xslt/**
+-                     org/jaxen/function/ext/**
+-                     org/jaxen/saxpath/expr/DefaultPredicated.java
+-                     org/jaxen/saxpath/helpers/DefaultXPathHandler.java
+-                     org/jaxen/util/StackedIterator.java
+-                     org/jaxen/util/XPath2XMLVisitor.java
+-                     org/jaxen/util/LinkedIterator.java
+-                     org/jaxen/util/SelfAxisIterator.java
+-                     ">
+-       <classpath refid="compile.class.path"/>
+-    </javac>  
+-  </target>
+-  
+-  <target name="get-jaxen" description="Download Jaxen source code" depends="prepare">
+-      <cvs cvsRoot=":pserver:anonymous at cvs.jaxen.codehaus.org:/home/projects/jaxen/scm"
+-       package="jaxen"
+-       dest="${build.dir}"
+-  />
+-  </target>
+-
+   <target name="debug" depends="init" description="Print various Ant properties">
+     <echoproperties/>
+     <java classname="org.apache.xalan.Version" fork="yes">

Added: trunk/xom/debian/patches/02xom-clean-dist.patch
===================================================================
--- trunk/xom/debian/patches/02xom-clean-dist.patch	2006-02-18 14:13:00 UTC (rev 1924)
+++ trunk/xom/debian/patches/02xom-clean-dist.patch	2006-02-18 17:21:37 UTC (rev 1925)
@@ -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 @@
+     <delete>
+       <fileset dir="." includes="junit*properties"/>
+     </delete>
++    <delete dir="${dist.dir}"/>
+   </target>
+ 
+   

Added: trunk/xom/debian/rules
===================================================================
--- trunk/xom/debian/rules	2006-02-18 14:13:00 UTC (rev 1924)
+++ trunk/xom/debian/rules	2006-02-18 17:21:37 UTC (rev 1925)
@@ -0,0 +1,28 @@
+#!/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/kaffe
+ANT_HOME             := /usr/share/ant
+DEB_JARS             := xercesImpl xalan xml-apis jaxen saxpath ant-optional junit ecj $(ANT_HOME)/lib/ant-launcher.jar
+DEB_ANT_BUILD_TARGET := javadoc dist
+DEB_ANT_COMPILER     := org.eclipse.jdt.core.JDTCompilerAdapter
+
+# Additional command-line arguments for Ant
+#ANT_ARGS             := -verbose
+
+ANT_ARGS             := -Dbuild.sysclasspath=only
+ANT_OPTS             := -Xss4m
+
+LIBRARY_PACKAGE      := xom
+API_VERSION          := 1.1
+
+install/lib$(LIBRARY_PACKAGE)-java:: 
+	dh_installdirs -plib$(LIBRARY_PACKAGE)-java usr/share/java
+	dh_install -plib$(LIBRARY_PACKAGE)-java build/$(LIBRARY_PACKAGE)-$(API_VERSION).jar usr/share/java
+	dh_link -plib$(LIBRARY_PACKAGE)-java usr/share/java/$(LIBRARY_PACKAGE)-$(API_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE).jar
+
+install/lib$(LIBRARY_PACKAGE)-java-doc::
+	dh_installdocs -plib$(LIBRARY_PACKAGE)-java-doc build/apidocs


Property changes on: trunk/xom/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the pkg-java-commits mailing list