--- liblayout-0.2.8.dfsg.orig/debian/copyright
+++ liblayout-0.2.8.dfsg/debian/copyright
@@ -0,0 +1,23 @@
+This package was debianized by Rene Engelhard <rene@debian.org>
+Mon, 27 Aug 2007 19:59:16 +0200
+
+It was downloaded from <http://sourceforge.net/projects/jfreereport/>
+
+Upstream Authors: Thomas Morgner, David Gilbert and others
+
+Copyright:
+
+ (C) Copyright 2006, by Pentaho Corporation and Contributors.
+
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This package 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.
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
--- liblayout-0.2.8.dfsg.orig/debian/libloader-java-doc.docs
+++ liblayout-0.2.8.dfsg/debian/libloader-java-doc.docs
@@ -0,0 +1 @@
+doc/*
--- liblayout-0.2.8.dfsg.orig/debian/docs
+++ liblayout-0.2.8.dfsg/debian/docs
@@ -0,0 +1 @@
+README.txt
--- liblayout-0.2.8.dfsg.orig/debian/control
+++ liblayout-0.2.8.dfsg/debian/control
@@ -0,0 +1,29 @@
+Source: liblayout
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
+Uploaders: Rene Engelhard <rene@debian.org>
+Build-Depends: debhelper (>= 5), cdbs, java-gcj-compat-dev, ant, libjcommon-java (>= 1.0.10-1), libitext-java, libjakarta-poi-java, libflute-1.3-jfree-java, junit, libfonts-java (>= 0.3.2-1), libloader-java, libxml-java, libsac-java, librepository-java
+Build-Conflicts: liboscache-java
+Standards-Version: 3.6.2
+
+Package: liblayout-java
+Section: libs
+Architecture: all
+Depends: java-gcj-compat | java1-runtime | java2-runtime, libjcommon-java (>= 1.0.10-1), libitext-java, libjakarta-poi-java, libflute-1.3-jfree-java, libfonts-java (>= 0.3.2-1), libloader-java, libxml-java, libsac-java, librepository-java
+Suggests: liblayout-java-doc
+Description: Java layouting framework
+ LibLayout is a layouting framework. It is based on the Cascading StyleSheets
+ standard (in the upcoming version 3). The layouting expects to receive its
+ content as a DOM structure (although it does not rely on the W3C-DOM API).
+
+Package: liblayout-java-doc
+Section: doc
+Architecture: all
+Description: Java layouting framework -- documentation
+ LibLayout is a layouting framework. It is based on the Cascading StyleSheets
+ standard (in the upcoming version 3). The layouting expects to receive its
+ content as a DOM structure (although it does not rely on the W3C-DOM API).
+ .
+ This package contains the Javadoc.
+
--- liblayout-0.2.8.dfsg.orig/debian/patches/libdir.diff
+++ liblayout-0.2.8.dfsg/debian/patches/libdir.diff
@@ -0,0 +1,13 @@
+--- build.properties-old 2007-12-28 16:30:58.000000000 +0100
++++ build.properties 2007-12-28 16:31:15.000000000 +0100
+@@ -22,8 +22,8 @@
+ # All path settings are relative to the project root directory
+ # (..)
+ #
+-libdir=lib
+-junit-dir=lib
++libdir=/usr/share/java
++junit-dir=/usr/share/java
+
+ #
+ # If you specify a non-empty string, then dont forget the
--- liblayout-0.2.8.dfsg.orig/debian/patches/jarnames.diff
+++ liblayout-0.2.8.dfsg/debian/patches/jarnames.diff
@@ -0,0 +1,36 @@
+--- build.properties-old 2007-12-28 16:28:38.000000000 +0100
++++ build.properties 2007-12-28 16:30:17.000000000 +0100
+@@ -37,15 +37,15 @@
+ # Used libraries ...
+
+ # JFree.org/JFreeReport libraries
+-jcommon-jar-file=jcommon-1.0.10.jar
+-flute-jar-file=flute-1.3-jfree-20061107.jar
+-libloader-jar-file=libloader-0.3.5.jar
+-librepository-jar-file=librepository-0.1.3.jar
++jcommon-jar-file=jcommon.jar
++flute-jar-file=flute-1.3-jfree.jar
++libloader-jar-file=libloader.jar
++librepository-jar-file=librepository.jar
+ #
+ # One of these is required.
+-libfonts-core-jar-file=libfonts-core-0.3.3.jar
+-libfonts-jar-file=libfonts-0.3.2.jar
+-libxml-jar-file=libxml-0.9.8.jar
++libfonts-core-jar-file=libfonts.jar
++libfonts-jar-file=libfonts.jar
++libxml-jar-file=libxml.jar
+
+ # 3rd party libraries ..
+
+@@ -54,8 +54,8 @@
+ # Needed for CSS-API/Flute
+ sac-jar-file=sac.jar
+ # For PDF export.
+-itext-jar-file=itext-1.5.2.jar
+-libfonts-itext-jar-file=libfonts-itext-0.3.3.jar
++itext-jar-file=itext.jar
++libfonts-itext-jar-file=libfonts.jar
+
+ # Needed for XML parser. Not needed it JDK 1.4 or newer is used.
+ jaxp-jar-file=gnujaxp.jar
--- liblayout-0.2.8.dfsg.orig/debian/patches/no_gnujaxp.diff
+++ liblayout-0.2.8.dfsg/debian/patches/no_gnujaxp.diff
@@ -0,0 +1,56 @@
+--- build.xml-old 2007-12-28 16:42:56.000000000 +0100
++++ build.xml 2007-12-28 16:43:10.000000000 +0100
+@@ -55,13 +55,11 @@
+ <isClassAvailableEx class-name="org.jfree.xmlns.LibXmlInfo"
+ property-name="lib.xmlns.present">
+ <test-classpath>
+- <pathelement location="${libdir}/${jaxp-jar-file}"/>
+ <pathelement location="${libdir}/${libxml-jar-file}"/>
+ <pathelement location="${libdir}/${jcommon-jar-file}"/>
+ <pathelement location="${libdir}/${libloader-jar-file}"/>
+ </test-classpath>
+ <additional-tests>
+- <available file="${libdir}/${jaxp-jar-file}"/>
+ <available file="${libdir}/${libxml-jar-file}"/>
+ <available file="${libdir}/${jcommon-jar-file}"/>
+ </additional-tests>
+@@ -128,7 +126,6 @@
+ <pathelement location="${libdir}/${junit-jar-file}"/>
+ <pathelement location="${libdir}/${librepository-jar-file}"/>
+ <pathelement location="${libdir}/${itext-jar-file}"/>
+- <pathelement location="${libdir}/${jaxp-jar-file}"/>
+ <pathelement location="${libdir}/${libxml-jar-file}"/>
+ </all-classpath>
+ <all-resources>
+@@ -155,7 +152,6 @@
+ <pathelement location="${libdir}/${sac-jar-file}"/>
+ <pathelement location="${libdir}/${flute-jar-file}"/>
+ <pathelement location="${libdir}/${librepository-jar-file}"/>
+- <pathelement location="${libdir}/${jaxp-jar-file}"/>
+ <pathelement location="${libdir}/${libxml-jar-file}"/>
+ </core-classpath>
+ <core-resources>
+@@ -182,7 +178,6 @@
+ <pathelement location="${libdir}/${sac-jar-file}"/>
+ <pathelement location="${libdir}/${flute-jar-file}"/>
+ <pathelement location="${libdir}/${librepository-jar-file}"/>
+- <pathelement location="${libdir}/${jaxp-jar-file}"/>
+ <pathelement location="${libdir}/${itext-jar-file}"/>
+ <pathelement location="${liblayout-core-jar-file}"/>
+ </module-classpath>
+@@ -209,7 +204,6 @@
+ <pathelement location="${libdir}/${junit-jar-file}"/>
+ <pathelement location="${libdir}/${librepository-jar-file}"/>
+ <pathelement location="${libdir}/${itext-jar-file}"/>
+- <pathelement location="${libdir}/${jaxp-jar-file}"/>
+ </all-classpath>
+ <all-resources>
+ <include name="*.properties"/>
+@@ -236,7 +230,6 @@
+ <pathelement location="${libdir}/${flute-jar-file}"/>
+ <pathelement location="${libdir}/${librepository-jar-file}"/>
+ <pathelement location="${libdir}/${itext-jar-file}"/>
+- <pathelement location="${libdir}/${jaxp-jar-file}"/>
+ </classpath>
+ <packageset dir="source" defaultexcludes="yes">
+ <include name="org/jfree/layouting"/>
--- liblayout-0.2.8.dfsg.orig/debian/patches/target-source-1.3.diff
+++ liblayout-0.2.8.dfsg/debian/patches/target-source-1.3.diff
@@ -0,0 +1,13 @@
+--- build.properties-old 2007-12-28 16:31:45.000000000 +0100
++++ build.properties 2007-12-28 16:31:54.000000000 +0100
+@@ -14,8 +14,8 @@
+
+ #
+ # Make sure that JDK 1.2 compatible class files are generated
+-build.target=1.2
+-build.source=1.2
++build.target=1.3
++build.source=1.3
+ build.retro.jdk=/opt/jdk1.2.2
+
+ #
--- liblayout-0.2.8.dfsg.orig/debian/compat
+++ liblayout-0.2.8.dfsg/debian/compat
@@ -0,0 +1 @@
+5
--- liblayout-0.2.8.dfsg.orig/debian/changelog
+++ liblayout-0.2.8.dfsg/debian/changelog
@@ -0,0 +1,47 @@
+liblayout (0.2.8.dfsg-1) unstable; urgency=low
+
+ * remove resource/rfc1345.txt again (closes: #466859)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 25 Feb 2008 18:58:11 +0100
+
+liblayout (0.2.8-2) unstable; urgency=low
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Thu, 14 Feb 2008 23:54:48 +0100
+
+liblayout (0.2.8-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Fri, 28 Dec 2007 16:24:41 +0100
+
+liblayout (0.2.6.dfsg-3) unstable; urgency=low
+
+ * correctly version libfonts-java builddep, thanks Chris Cheney
+
+ -- Rene Engelhard <rene@debian.org> Sat, 01 Dec 2007 19:32:28 +0100
+
+liblayout (0.2.6.dfsg-2) unstable; urgency=low
+
+ * fix description
+
+ -- Rene Engelhard <rene@debian.org> Tue, 27 Nov 2007 10:01:44 +0100
+
+liblayout (0.2.6.dfsg-1) unstable; urgency=low
+
+ * remove resource/rfc1345.txt from .orig.tar.gz (closes: #451215)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 23 Nov 2007 15:51:44 +0100
+
+liblayout (0.2.6-2) unstable; urgency=low
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Mon, 05 Nov 2007 01:14:47 +0100
+
+liblayout (0.2.6-1) experimental; urgency=low
+
+ * Initial release
+
+ -- Rene Engelhard <rene@debian.org> Sun, 28 Oct 2007 00:45:58 +0200
--- liblayout-0.2.8.dfsg.orig/debian/dirs
+++ liblayout-0.2.8.dfsg/debian/dirs
@@ -0,0 +1 @@
+usr/share/java
--- liblayout-0.2.8.dfsg.orig/debian/rules
+++ liblayout-0.2.8.dfsg/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+# debian/rules file for libfonts-java (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
+
+JAVA_HOME := /usr/lib/jvm/java-gcj
+ANT_HOME := /usr/share/ant
+
+DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar jcommon itext jakarta-poi libxml libfonts libloader sac librepository
+DEB_ANT_BUILDFILE := build.xml
+DEB_ANT_BUILD_TARGET := compile javadoc
+
+VERSION := 0.2.8
+
+clean::
+ -rm -rf build
+ -rm -rf javadoc
+ -rm -f liblayout*-$(VERSION).jar
+ # don't use them, go sure
+ -rm -f lib/* lib/optional/*
+
+install/liblayout-java::
+ install -m 644 liblayout-$(VERSION).jar debian/liblayout-java/usr/share/java/liblayout-$(VERSION).jar
+ ln -s liblayout-$(VERSION).jar debian/liblayout-java/usr/share/java/liblayout.jar
+