--- libjibx-java-1.0.1.orig/debian/patches/01_build_xml.patch
+++ libjibx-java-1.0.1/debian/patches/01_build_xml.patch
@@ -0,0 +1,140 @@
+--- jibx-1.0.1/build/build.xml 2006-01-02 19:45:56.000000000 +0000
++++ jibx-1.0.1_COMPILED/build/build.xml 2006-03-05 16:44:08.000000000 +0000
+@@ -15,6 +15,7 @@
+
+
+
++
+
+
+
+@@ -36,9 +37,9 @@
+
+
+
+-
+-
+-
++
++
++
+
+
+
+@@ -58,19 +59,19 @@
+
+
+
+-
++
+
+-
+-
++
++
+
+
+
+
+-
+-
++
++
+
+-
+-
++
++
+
+
+
+@@ -79,53 +80,63 @@
+
+
+
+-
+-
++
++
+
+-
+-
++
++
+
+
+
+
+
+-
+-
++
++
+
+-
+-
++
++
+
+-
+-
++
++
+
+
+
+
+
+-
+-
++
++
+
+
+
+-
+-
++
++
++
++
++
++
++
++
++
++
++
++
+
+
+
+-
++
+
+
+
+
+
+-
++
+
+
+
+
+
+-
++
+
+
+
+@@ -279,7 +290,7 @@
+
+
+
+-
++
+
+
+
--- libjibx-java-1.0.1.orig/debian/control
+++ libjibx-java-1.0.1/debian/control
@@ -0,0 +1,28 @@
+Source: libjibx-java
+Section: contrib/libs
+Priority: optional
+Maintainer: Debian Java Maintainers
+Uploaders: Eric Lavarde
+Build-Depends-Indep: debhelper (>= 4.1.0), cdbs (>= 0.4.8), gjdoc, ibm-j2sdk1.6 | sun-j2sdk1.4, ant, antlr, libbcel-java, libxpp3-java
+Standards-Version: 3.6.2.0
+
+Package: libjibx-java
+Architecture: all
+Depends: sun-j2re1.4 | java2-runtime, libbcel-java, libxpp3-java
+Suggests: java-virtual-machine, libjibx-java-doc
+Description: Framework for binding XML data to Java objects
+ JiBX lets you work with data from XML documents using your own class
+ structures. The JiBX framework handles all the details of converting
+ your data to and from XML based on your instructions. JiBX is designed
+ to perform the translation between internal data structures and XML
+ with very high efficiency, but still allows you a high degree of
+ control over the translation process.
+
+Package: libjibx-java-doc
+Section: contrib/doc
+Architecture: all
+Recommends: mozilla | www-browser
+Suggests: libjibx-java
+Description: Documentation for libjibx-java
+ This package contains documentation, javadocs (or should I say gjdocs) and
+ tutorial code for JiBX.
--- libjibx-java-1.0.1.orig/debian/links
+++ libjibx-java-1.0.1/debian/links
@@ -0,0 +1,3 @@
+usr/share/java/jibx-bind-1.0.1.jar usr/share/java/jibx-bind.jar
+usr/share/java/jibx-run-1.0.1.jar usr/share/java/jibx-run.jar
+usr/share/java/jibx-extras-1.0.1.jar usr/share/java/jibx-extras.jar
--- libjibx-java-1.0.1.orig/debian/dirs
+++ libjibx-java-1.0.1/debian/dirs
@@ -0,0 +1 @@
+usr/share/java
--- libjibx-java-1.0.1.orig/debian/compat
+++ libjibx-java-1.0.1/debian/compat
@@ -0,0 +1 @@
+4
--- libjibx-java-1.0.1.orig/debian/install
+++ libjibx-java-1.0.1/debian/install
@@ -0,0 +1,3 @@
+lib/jibx-bind-1.0.1.jar usr/share/java
+lib/jibx-run-1.0.1.jar usr/share/java
+lib/jibx-extras-1.0.1.jar usr/share/java
--- libjibx-java-1.0.1.orig/debian/libjibx-java-doc.doc-base
+++ libjibx-java-1.0.1/debian/libjibx-java-doc.doc-base
@@ -0,0 +1,10 @@
+Document: libjibx-java-doc
+Title: Programmer API for libjibx-java
+Author: Dennis Sosnoski
+Abstract: The programmer API of JiBX, a framework for
+ binding XML data to Java objects.
+Section: Programming/Java
+
+Format: HTML
+Index: /usr/share/doc/libjibx-java-doc/dev/index.html
+Files: /usr/share/doc/libjibx-java-doc/dev/*
--- libjibx-java-1.0.1.orig/debian/changelog
+++ libjibx-java-1.0.1/debian/changelog
@@ -0,0 +1,5 @@
+libjibx-java (1.0.1-1) unstable; urgency=low
+
+ * Initial Release (closes: Bug#354374).
+
+ -- Eric Lavarde Sat, 4 Mar 2006 15:20:17 +0200
--- libjibx-java-1.0.1.orig/debian/copyright
+++ libjibx-java-1.0.1/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Eric Lavarde on
+Mon, 1 Aug 2005 21:00:17 +0200.
+
+It was downloaded from http://jibx.sf.net/
+
+Copyright Holder: Dennis Sosnoski
+
+License:
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted under the terms of the BSD License.
+
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+On Debian systems, the complete text of the BSD License can be
+found in `/usr/share/common-licenses/BSD'.
+
--- libjibx-java-1.0.1.orig/debian/docs
+++ libjibx-java-1.0.1/debian/docs
@@ -0,0 +1 @@
+readme.html
--- libjibx-java-1.0.1.orig/debian/rules
+++ libjibx-java-1.0.1/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+# debian/rules for Commons Fileupload (uses CDBS)
+
+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
+
+DEB_COMPRESS_EXCLUDE := .class
+JAVA_HOME_DIRS := /usr/lib/j2sdk1.4-sun /usr/lib/j2sdk1.6-ibm
+ANT_HOME := /usr/share/ant
+DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar
+DEB_ANT_BUILD_TARGET := setrelease current devdoc
+DEB_BUILDDIR := build
+DEB_DH_INSTALLCHANGELOGS_ARGS := changes.txt
+
+LIBRARY=jibx
+VERSION=1.0.1
+
+#clean::
+# -rm -fr lib
--- libjibx-java-1.0.1.orig/debian/libjibx-java-doc.docs
+++ libjibx-java-1.0.1/debian/libjibx-java-doc.docs
@@ -0,0 +1,5 @@
+readme.html
+docs/
+tutorial/
+starter/
+build/docs/dev/