--- xmlbeans-2.4.0.orig/debian/compat +++ xmlbeans-2.4.0/debian/compat @@ -0,0 +1 @@ +5 --- xmlbeans-2.4.0.orig/debian/rules +++ xmlbeans-2.4.0/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/ant.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +JAVA_HOME := /usr/lib/jvm/default-java +DEB_ANT_BUILD_TARGET := xbean.jar +DEB_ANT_BUILDFILE := build.xml +DEB_JARS := ant-nodeps + +install/libxmlbeans-java:: + install -m 644 -D build/lib/xbean.jar \ + $(DEB_DESTDIR)/usr/share/java/xmlbeans-$(DEB_UPSTREAM_VERSION).jar + dh_link /usr/share/java/xmlbeans-$(DEB_UPSTREAM_VERSION).jar \ + /usr/share/java/xmlbeans.jar + install -m 644 -D build/lib/xbean_xpath.jar \ + $(DEB_DESTDIR)/usr/share/java/xmlbeans_xpath-$(DEB_UPSTREAM_VERSION).jar + dh_link /usr/share/java/xmlbeans_xpath-$(DEB_UPSTREAM_VERSION).jar \ + /usr/share/java/xmlbeans_xpath.jar + install -m 644 -D build/lib/xmlbeans-qname.jar \ + $(DEB_DESTDIR)/usr/share/java/xmlbeans-qname-$(DEB_UPSTREAM_VERSION).jar + dh_link /usr/share/java/xmlbeans-qname-$(DEB_UPSTREAM_VERSION).jar \ + /usr/share/java/xmlbeans-qname.jar + install -m 755 -D bin/scomp \ + $(DEB_DESTDIR)/usr/bin/scomp --- xmlbeans-2.4.0.orig/debian/control +++ xmlbeans-2.4.0/debian/control @@ -0,0 +1,27 @@ +Source: xmlbeans +Section: libs +Priority: optional +Maintainer: Ubuntu MOTU Developers +Build-Depends: cdbs, debhelper (>= 5) +Build-Depends-Indep: ant, ant-optional, default-jdk, + libxmlbeans-java, + libsaxonb-java, + libgeronimo-stax-1.0-spec-java +Homepage: http://xmlbeans.apache.org/ +Standards-Version: 3.8.0 + +Package: libxmlbeans-java +Architecture: all +Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless, + libxml-commons-resolver1.1-java +Description: Java library for accessing XML by binding it to Java types + XMLBeans is a technology for accessing XML by binding it to Java types. + XMLBeans provides several ways to get at the XML, including: + * Through XML schema that has been compiled to generate Java types that + represent schema types. In this way, you can access instances of the + schema through JavaBeans-style accessors after the fashion of "getFoo" + and "setFoo". The XMLBeans API also allows you to reflect into the XML + schema itself through an XML Schema Object model. + * A cursor model through which you can traverse the full XML infoset. + * Support for XML DOM. + --- xmlbeans-2.4.0.orig/debian/copyright +++ xmlbeans-2.4.0/debian/copyright @@ -0,0 +1,70 @@ +This package was debianized by Thierry Carrez on +Tue, 17 Feb 2009 11:03:09 +0000 + +Source tarball was downloaded from http://www.apache.org/dist/xmlbeans/source/ + +Copyright: + + This product includes software developed by + The Apache Software Foundation (http://www.apache.org/). + + Portions of this software were originally based on the following: + - software copyright (c) 2000-2003, BEA Systems, . + + Aside from contributions to the Apache XMLBeans project, this + software also includes: + + - one or more source files from the Apache Xerces-J and Apache Axis + products, Copyright (c) 1999-2003 Apache Software Foundation + + - W3C XML Schema documents Copyright 2001-2003 (c) World Wide Web + Consortium (Massachusetts Institute of Technology, European Research + Consortium for Informatics and Mathematics, Keio University) + + - resolver.jar from Apache Xml Commons project, + Copyright (c) 2001-2003 Apache Software Foundation + + - Piccolo XML Parser for Java from http://piccolo.sourceforge.net/, + Copyright 2002 Yuval Oren under the terms of the Apache Software License 2 +.0 + + - JSR-173 Streaming API for XML from http://sourceforge.net/projects/xmlpull +parser/, + Copyright 2005 BEA under the terms of the Apache Software License 2.0 + +Authors: + + The Apache Software Foundations XMLBeans Committers, including: + Cezar Andrei + David Bau + Patrick Calahan + Jacob Danner + Yana Kadiyska + Ken Kress + Kevin Krouse + Laurence Moroney + Radu Preotiuc + Cliff Schmidt + Dutta Satadip + Eric Vasilik + David Waite + Scott Ziegler + +License: + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +On Debian GNU/Linux and Ubuntu systems, the complete text of the Apache 2.0 +License can be found in the /usr/share/common-licenses/Apache-2.0 file. + +The same license and copyright applies to the Debian packaging. --- xmlbeans-2.4.0.orig/debian/changelog +++ xmlbeans-2.4.0/debian/changelog @@ -0,0 +1,17 @@ +xmlbeans (2.4.0-0ubuntu2~ppa1) jaunty; urgency=low + + * Installs the scomp command line executable + + -- E.L. Willighagen Thu, 13 Mar 2009 19:42:33 +0100 + +xmlbeans (2.4.0-0ubuntu2) jaunty; urgency=low + + * Do not use bundled oldxbean.jar to build, build-dep on itself instead. + + -- Thierry Carrez Thu, 19 Feb 2009 13:06:11 +0000 + +xmlbeans (2.4.0-0ubuntu1) jaunty; urgency=low + + * Initial release + + -- Thierry Carrez Tue, 17 Feb 2009 19:59:55 +0000 --- xmlbeans-2.4.0.orig/debian/patches/scomp.patch +++ xmlbeans-2.4.0/debian/patches/scomp.patch @@ -0,0 +1,20 @@ +--- bin/scomp.orig 2007-05-15 22:41:35.000000000 +0200 ++++ bin/scomp 2009-03-13 20:45:25.432795120 +0100 +@@ -18,14 +18,8 @@ + #Schema compiler + #Builds XBean types from xsd files. + +-if [ -z "$XMLBEANS_LIB" ]; then . `dirname $0`/_setlib; fi ++XMLBEANS_LIB=/usr/share/java + +-cp=$XMLBEANS_LIB/xbean.jar:$XMLBEANS_LIB/xmlbeans-qname.jar:$XMLBEANS_LIB/jsr173_1.0_api.jar:$JAVA_HOME/lib/tools.jar:$XMLBEANS_LIB/resolver.jar ++cp=$XMLBEANS_LIB/xmlbeans.jar:$XMLBEANS_LIB/xmlbeans-qname.jar:$XMLBEANS_LIB/geronimo-stax-1.0-spec.jar:$JAVA_HOME/lib/tools.jar:$XMLBEANS_LIB/xmlbeans_path.jar + +-case "`uname`" in +- CYGWIN*) +- cp=`cygpath -w -p $cp` +- ;; +-esac +- +-java -Xmx256m -classpath "$cp" org.apache.xmlbeans.impl.tool.SchemaCompiler "$@" ++exec /usr/bin/java -Xmx256m -classpath "$cp" org.apache.xmlbeans.impl.tool.SchemaCompiler "$@" --- xmlbeans-2.4.0.orig/debian/patches/build-xml.patch +++ xmlbeans-2.4.0/debian/patches/build-xml.patch @@ -0,0 +1,213 @@ +--- build.xml.orig 2009-02-17 13:11:06.000000000 +0000 ++++ build.xml 2009-02-17 13:13:35.000000000 +0000 +@@ -236,7 +236,7 @@ + + + +- ++ + + + +@@ -448,7 +448,7 @@ + typeimpl.classes, xmlcomp.classes, + store.classes, saaj_api.classes, + marshal.classes, xpath.classes, oldxbean.jar, xsdschema.classes, +- xmlinputstream.classes, resolver.jar, xbean_xpath.jar, ++ xmlinputstream.classes, xbean_xpath.jar, + piccolo.classes, tools.classes, jamsupport.classes"> + + + +- ++ + + + + +- ++ + + + +@@ -546,7 +546,7 @@ + + + +- ++ + + + +@@ -557,11 +557,11 @@ + + + +- ++ + + + +- ++ + + + +@@ -599,7 +599,7 @@ + + ++ configschema.classes, toolschema.classes, jam.classes"> + + + +@@ -615,7 +615,7 @@ + + + +- ++ + + + +@@ -641,7 +641,7 @@ + + + +- ++ + + + +@@ -657,11 +657,11 @@ + + + +- ++ + + + +- ++ + + + +@@ -703,7 +703,7 @@ + + + +- ++ + + + +@@ -722,7 +722,7 @@ + + + +- ++ + + + +@@ -744,13 +744,13 @@ + + + +- ++ + + + + + +- ++ + + + +@@ -794,7 +794,7 @@ + + + +- ++ + + + +@@ -935,7 +935,7 @@ + + + +- ++ + + + +@@ -954,8 +954,8 @@ + + + +- +- ++ ++ + + + +@@ -1016,19 +1016,19 @@ + + + +- ++ + +- ++ + + + + + +- ++ + + + +- ++ + + + +- ++ + + + +@@ -1073,7 +1073,7 @@ + + + +- ++ + + + +@@ -1096,7 +1096,7 @@ + debug="on"> + + +- ++ + + + --- xmlbeans-2.4.0.orig/debian.ubuntu/compat +++ xmlbeans-2.4.0/debian.ubuntu/compat @@ -0,0 +1 @@ +5 --- xmlbeans-2.4.0.orig/debian.ubuntu/rules +++ xmlbeans-2.4.0/debian.ubuntu/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/ant.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +JAVA_HOME := /usr/lib/jvm/default-java +DEB_ANT_BUILD_TARGET := xbean.jar +DEB_ANT_BUILDFILE := build.xml +DEB_JARS := ant-nodeps + +install/libxmlbeans-java:: + install -m 644 -D build/lib/xbean.jar \ + $(DEB_DESTDIR)/usr/share/java/xmlbeans-$(DEB_UPSTREAM_VERSION).jar + dh_link /usr/share/java/xmlbeans-$(DEB_UPSTREAM_VERSION).jar \ + /usr/share/java/xmlbeans.jar + install -m 644 -D build/lib/xbean_xpath.jar \ + $(DEB_DESTDIR)/usr/share/java/xmlbeans_xpath-$(DEB_UPSTREAM_VERSION).jar + dh_link /usr/share/java/xmlbeans_xpath-$(DEB_UPSTREAM_VERSION).jar \ + /usr/share/java/xmlbeans_xpath.jar + install -m 644 -D build/lib/xmlbeans-qname.jar \ + $(DEB_DESTDIR)/usr/share/java/xmlbeans-qname-$(DEB_UPSTREAM_VERSION).jar + dh_link /usr/share/java/xmlbeans-qname-$(DEB_UPSTREAM_VERSION).jar \ + /usr/share/java/xmlbeans-qname.jar --- xmlbeans-2.4.0.orig/debian.ubuntu/control +++ xmlbeans-2.4.0/debian.ubuntu/control @@ -0,0 +1,27 @@ +Source: xmlbeans +Section: libs +Priority: optional +Maintainer: Ubuntu MOTU Developers +Build-Depends: cdbs, debhelper (>= 5) +Build-Depends-Indep: ant, ant-optional, default-jdk, + libxmlbeans-java, + libsaxonb-java, + libgeronimo-stax-1.0-spec-java +Homepage: http://xmlbeans.apache.org/ +Standards-Version: 3.8.0 + +Package: libxmlbeans-java +Architecture: all +Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless, + libxml-commons-resolver1.1-java +Description: Java library for accessing XML by binding it to Java types + XMLBeans is a technology for accessing XML by binding it to Java types. + XMLBeans provides several ways to get at the XML, including: + * Through XML schema that has been compiled to generate Java types that + represent schema types. In this way, you can access instances of the + schema through JavaBeans-style accessors after the fashion of "getFoo" + and "setFoo". The XMLBeans API also allows you to reflect into the XML + schema itself through an XML Schema Object model. + * A cursor model through which you can traverse the full XML infoset. + * Support for XML DOM. + --- xmlbeans-2.4.0.orig/debian.ubuntu/copyright +++ xmlbeans-2.4.0/debian.ubuntu/copyright @@ -0,0 +1,70 @@ +This package was debianized by Thierry Carrez on +Tue, 17 Feb 2009 11:03:09 +0000 + +Source tarball was downloaded from http://www.apache.org/dist/xmlbeans/source/ + +Copyright: + + This product includes software developed by + The Apache Software Foundation (http://www.apache.org/). + + Portions of this software were originally based on the following: + - software copyright (c) 2000-2003, BEA Systems, . + + Aside from contributions to the Apache XMLBeans project, this + software also includes: + + - one or more source files from the Apache Xerces-J and Apache Axis + products, Copyright (c) 1999-2003 Apache Software Foundation + + - W3C XML Schema documents Copyright 2001-2003 (c) World Wide Web + Consortium (Massachusetts Institute of Technology, European Research + Consortium for Informatics and Mathematics, Keio University) + + - resolver.jar from Apache Xml Commons project, + Copyright (c) 2001-2003 Apache Software Foundation + + - Piccolo XML Parser for Java from http://piccolo.sourceforge.net/, + Copyright 2002 Yuval Oren under the terms of the Apache Software License 2 +.0 + + - JSR-173 Streaming API for XML from http://sourceforge.net/projects/xmlpull +parser/, + Copyright 2005 BEA under the terms of the Apache Software License 2.0 + +Authors: + + The Apache Software Foundations XMLBeans Committers, including: + Cezar Andrei + David Bau + Patrick Calahan + Jacob Danner + Yana Kadiyska + Ken Kress + Kevin Krouse + Laurence Moroney + Radu Preotiuc + Cliff Schmidt + Dutta Satadip + Eric Vasilik + David Waite + Scott Ziegler + +License: + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +On Debian GNU/Linux and Ubuntu systems, the complete text of the Apache 2.0 +License can be found in the /usr/share/common-licenses/Apache-2.0 file. + +The same license and copyright applies to the Debian packaging. --- xmlbeans-2.4.0.orig/debian.ubuntu/changelog +++ xmlbeans-2.4.0/debian.ubuntu/changelog @@ -0,0 +1,11 @@ +xmlbeans (2.4.0-0ubuntu2) jaunty; urgency=low + + * Do not use bundled oldxbean.jar to build, build-dep on itself instead. + + -- Thierry Carrez Thu, 19 Feb 2009 13:06:11 +0000 + +xmlbeans (2.4.0-0ubuntu1) jaunty; urgency=low + + * Initial release + + -- Thierry Carrez Tue, 17 Feb 2009 19:59:55 +0000 --- xmlbeans-2.4.0.orig/debian.ubuntu/patches/build-xml.patch +++ xmlbeans-2.4.0/debian.ubuntu/patches/build-xml.patch @@ -0,0 +1,213 @@ +--- build.xml.orig 2009-02-17 13:11:06.000000000 +0000 ++++ build.xml 2009-02-17 13:13:35.000000000 +0000 +@@ -236,7 +236,7 @@ + + + +- ++ + + + +@@ -448,7 +448,7 @@ + typeimpl.classes, xmlcomp.classes, + store.classes, saaj_api.classes, + marshal.classes, xpath.classes, oldxbean.jar, xsdschema.classes, +- xmlinputstream.classes, resolver.jar, xbean_xpath.jar, ++ xmlinputstream.classes, xbean_xpath.jar, + piccolo.classes, tools.classes, jamsupport.classes"> + + + +- ++ + + + + +- ++ + + + +@@ -546,7 +546,7 @@ + + + +- ++ + + + +@@ -557,11 +557,11 @@ + + + +- ++ + + + +- ++ + + + +@@ -599,7 +599,7 @@ + + ++ configschema.classes, toolschema.classes, jam.classes"> + + + +@@ -615,7 +615,7 @@ + + + +- ++ + + + +@@ -641,7 +641,7 @@ + + + +- ++ + + + +@@ -657,11 +657,11 @@ + + + +- ++ + + + +- ++ + + + +@@ -703,7 +703,7 @@ + + + +- ++ + + + +@@ -722,7 +722,7 @@ + + + +- ++ + + + +@@ -744,13 +744,13 @@ + + + +- ++ + + + + + +- ++ + + + +@@ -794,7 +794,7 @@ + + + +- ++ + + + +@@ -935,7 +935,7 @@ + + + +- ++ + + + +@@ -954,8 +954,8 @@ + + + +- +- ++ ++ + + + +@@ -1016,19 +1016,19 @@ + + + +- ++ + +- ++ + + + + + +- ++ + + + +- ++ + + + +- ++ + + + +@@ -1073,7 +1073,7 @@ + + + +- ++ + + + +@@ -1096,7 +1096,7 @@ + debug="on"> + + +- ++ + + +