--- libbase-1.1.6.orig/common_build.xml +++ libbase-1.1.6/common_build.xml @@ -1648,4 +1648,4 @@ - \ No newline at end of file + --- libbase-1.1.6.orig/debian/ant.properties +++ libbase-1.1.6/debian/ant.properties @@ -0,0 +1 @@ +antcontrib.build.cache.dir=/usr/share/java --- libbase-1.1.6.orig/debian/watch +++ libbase-1.1.6/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/jfreereport/libfonts-(.+)\.tar\.gz debian uupdate --- libbase-1.1.6.orig/debian/copyright +++ libbase-1.1.6/debian/copyright @@ -0,0 +1,23 @@ +This package was debianized by Wolfgang Baer +Thu, 02 Feb 2006 15:48:42 +0100 + +It was downloaded from + +Upstream Authors: Thomas Morgner, David Gilbert and others + +Copyright: + + Copyright 2005, by Object Refinery Limited 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'. --- libbase-1.1.6.orig/debian/rules +++ libbase-1.1.6/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f +# debian/rules file for libbase-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/default-java +ANT_HOME := /usr/share/ant + +DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar commons-logging junit ant-contrib ant-junit +DEB_ANT_BUILDFILE := build.xml +DEB_ANT_BUILD_TARGET := jar javadoc +DEB_ANT_CHECK_TARGET := test + +DEB_UPSTREAM_VERSION := 1.1-SNAPSHOT + +clean:: + if [ ! -d lib ]; then mkdir lib; fi + rm -f test-lib/* + +install/libbase-java:: + install -D -m 644 ./dist/libbase-$(DEB_UPSTREAM_VERSION).jar debian/libbase-java/usr/share/java/libbase-$(DEB_UPSTREAM_VERSION).jar + ln -s libbase-$(DEB_UPSTREAM_VERSION).jar debian/libbase-java/usr/share/java/libbase.jar + jh_classpath -plibbase-java --classpath=/usr/share/java/commons-logging.jar debian/libbase-java/usr/share/java/libbase-$(DEB_UPSTREAM_VERSION).jar + jh_depends + --- libbase-1.1.6.orig/debian/compat +++ libbase-1.1.6/debian/compat @@ -0,0 +1 @@ +5 --- libbase-1.1.6.orig/debian/changelog +++ libbase-1.1.6/debian/changelog @@ -0,0 +1,38 @@ +libbase (1.1.6-2) unstable; urgency=low + + * merge from Ubuntu: + - Fix FTBFS in Ubuntu due to download of ant-contrib from sourceforge: + + d/control: Add ant-contrib to Build-Depends. + + d/ant.properties: set ant-contrib jar directory to /usr/share/java so + that ant build.xml thinks its already downloaded. + + d/rules: include ant-contrib in DEB_JARS. + - Use standard DEB_ANT_CHECK_TARGET to execute unit testing: + + d/rules: include ant-junit in DEB_JARS, uncomment DEB_ANT_CHECK_TARGET + and remove bespoke target to execute tests. + + -- Rene Engelhard Tue, 01 Nov 2011 14:42:00 +0100 + +libbase (1.1.6-1) unstable; urgency=low + + * new upstream release + * stop depending on JRE + * move to Section: java + * change Maintainer to Debian LibreOffice Maintainers + * add classpath to jar using jh_classpath + * use jh_depends / ${java:Depends} + * build-depend on junit; prepare to and run ant test + * build with default-jdk + + -- Rene Engelhard Tue, 27 Sep 2011 21:56:50 +0000 + +libbase-openoffice.org (1.0.0-OOo31-2) unstable; urgency=low + + * upload to unstable + + -- Rene Engelhard Wed, 06 May 2009 01:18:59 +0200 + +libbase-openoffice.org (1.0.0-OOo31-1) experimental; urgency=low + + * initial release. + + -- Rene Engelhard Thu, 19 Mar 2009 23:32:39 +0100 --- libbase-1.1.6.orig/debian/control +++ libbase-1.1.6/debian/control @@ -0,0 +1,19 @@ +Source: libbase +Section: java +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Rene Engelhard +Build-Depends: debhelper (>= 5), cdbs, default-jdk, ant, libcommons-logging-java, javahelper, ant-optional, junit, + ant-contrib +Standards-Version: 3.7.3 +Homepage: http://jfreereport.sourceforge.net/ + +Package: libbase-java +Architecture: all +Depends: ${java:Depends}, ${misc:Depends} +Description: A general purpose base service library (OOo 3.1 branch) + LibBase is a library developed to provide base services like + logging, configuration and initialization to all other libraries + and applications. The library is the root library for all other + Pentaho-Reporting projects. +