--- libloader-0.3.4.orig/debian/patches/jarnames.diff +++ libloader-0.3.4/debian/patches/jarnames.diff @@ -0,0 +1,28 @@ +--- ant/build.properties-old 2007-08-21 00:48:46.000000000 +0200 ++++ ant/build.properties 2007-08-21 00:50:49.000000000 +0200 +@@ -36,20 +36,20 @@ + # Used libraries ... + + # Used by: core libraries +-jcommon-jar-file=jcommon-1.0.10.jar ++jcommon-jar-file=jcommon.jar + + + # Used by: module-cache-oscache, module-cache-ehcache +-commons-logging-jar-file=optional/commons-logging-1.0.4.jar ++commons-logging-jar-file=commons-logging.jar + + # Used by: module-cache-oscache +-oscache-jar-file=optional/oscache-2.3-compat.jar ++oscache-jar-file=oscache.jar + + # Used by: module-cache-ehcache +-ehcache-jar-file=optional/ehcache-1.2.4.jar ++ehcache-jar-file=ehcache.jar + + # Used by: module-factory-wmf +-pixie-jar-file=optional/pixie-0.8.6.jar ++pixie-jar-file=pixie.jar + + ############################################################## + # --- libloader-0.3.4.orig/debian/patches/libdir.diff +++ libloader-0.3.4/debian/patches/libdir.diff @@ -0,0 +1,11 @@ +--- ant/uild.properties-old 2007-08-21 00:46:55.000000000 +0200 ++++ ant/build.properties 2007-08-21 00:47:10.000000000 +0200 +@@ -21,7 +21,7 @@ + # All path settings are relative to the project root directory + # (..) + # +-libdir=lib ++libdir=/usr/share/java + junit-dir=lib + + # --- libloader-0.3.4.orig/debian/patches/target-source-1.3.diff +++ libloader-0.3.4/debian/patches/target-source-1.3.diff @@ -0,0 +1,13 @@ +--- ant/build.properties-old 2007-08-27 15:52:08.000000000 +0200 ++++ ant/build.properties 2007-08-27 15:52:18.000000000 +0200 +@@ -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 + + # + # All path settings are relative to the project root directory --- libloader-0.3.4.orig/debian/rules +++ libloader-0.3.4/debian/rules @@ -0,0 +1,31 @@ +#!/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 pixie +DEB_ANT_BUILDFILE := ant/build.xml +DEB_ANT_BUILD_TARGET := compile javadoc + +clean:: + -rm -rf build + -rm -rf javadoc + -rm -f libloader*-$(DEB_UPSTREAM_VERSION).jar + # don't use them, go sure + -rm -f lib/* lib/optional/* + +install/libloader-java:: + install -m 644 libloader-$(DEB_UPSTREAM_VERSION).jar debian/libloader-java/usr/share/java/libloader-$(DEB_UPSTREAM_VERSION).jar + ln -s libloader-$(DEB_UPSTREAM_VERSION).jar debian/libloader-java/usr/share/java/libloader.jar + install -m 644 libloader-core-$(DEB_UPSTREAM_VERSION).jar debian/libloader-java/usr/share/java/libloader-core-$(DEB_UPSTREAM_VERSION).jar + ln -s libloader-core-$(DEB_UPSTREAM_VERSION).jar debian/libloader-java/usr/share/java/libloader-core.jar + install -m 644 libloader-cache-ehcache-$(DEB_UPSTREAM_VERSION).jar debian/libloader-java/usr/share/java/libloader-cache-ehcache-$(DEB_UPSTREAM_VERSION).jar + ln -s libloader-cache-ehcache-$(DEB_UPSTREAM_VERSION).jar debian/libloader-java/usr/share/java/libloader-cache-ehcache.jar + install -m 644 libloader-factory-wmf-$(DEB_UPSTREAM_VERSION).jar debian/libloader-java/usr/share/java/libloader-factory-wmf-$(DEB_UPSTREAM_VERSION).jar + ln -s libloader-factory-wmf-$(DEB_UPSTREAM_VERSION).jar debian/libloader-java/usr/share/java/libloader-factory-wmf.jar + --- libloader-0.3.4.orig/debian/changelog +++ libloader-0.3.4/debian/changelog @@ -0,0 +1,5 @@ +libloader (0.3.4-1) unstable; urgency=low + + * Initial release + + -- Rene Engelhard Sat, 06 Oct 2007 14:33:10 +0200 --- libloader-0.3.4.orig/debian/control +++ libloader-0.3.4/debian/control @@ -0,0 +1,31 @@ +Source: libloader +Section: libs +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Rene Engelhard +Build-Depends: debhelper (>= 4.2.30), cdbs, java-gcj-compat-dev, ant, libjcommon-java (>= 1.0.10-1), libehcache-java, libpixie-java (>= 0.8.6) +Build-Conflicts: liboscache-java +Standards-Version: 3.6.2 + +Package: libloader-java +Section: libs +Architecture: all +Depends: java-gcj-compat | java1-runtime | java2-runtime, libjcommon-java (>= 1.0.10-1) +Recommends: libehcache-java, libpixie-java (>= 0.8.6-1) +Description: Java general purpose resource loading framework + LibLoader is a general purpose resource loading framework. It has been + designed to allow to load resources from any physical location and to + allow the processing of that content data in a generic way, totally + transparent to the user of that library. + +Package: libloader-java-doc +Section: doc +Architecture: all +Description: Java general purpose resource loading framework -- documentation + LibLoader is a general purpose resource loading framework. It has been + designed to allow to load resources from any physical location and to + allow the processing of that content data in a generic way, totally + transparent to the user of that library. + . + This package contains the Javadoc. + --- libloader-0.3.4.orig/debian/copyright +++ libloader-0.3.4/debian/copyright @@ -0,0 +1,23 @@ +This package was debianized by Rene Engelhard +Tue, 21 Aug 2007 00:15:54 +0200 + +It was downloaded from + +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'. --- libloader-0.3.4.orig/debian/compat +++ libloader-0.3.4/debian/compat @@ -0,0 +1 @@ +4 --- libloader-0.3.4.orig/debian/dirs +++ libloader-0.3.4/debian/dirs @@ -0,0 +1 @@ +usr/share/java --- libloader-0.3.4.orig/debian/docs +++ libloader-0.3.4/debian/docs @@ -0,0 +1 @@ +README.txt --- libloader-0.3.4.orig/debian/watch +++ libloader-0.3.4/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/jfreereport/libloader-(.+)\.tar\.gz --- libloader-0.3.4.orig/debian/libloader-java-doc.docs +++ libloader-0.3.4/debian/libloader-java-doc.docs @@ -0,0 +1 @@ +javadoc/*