--- libjcommon-java-0.8.3.orig/debian/changelog +++ libjcommon-java-0.8.3/debian/changelog @@ -0,0 +1,21 @@ +libjcommon-java (0.8.3-3) unstable; urgency=low + + * Added dependancy on java2-runtime (Closes: #202400) + + -- Christian Bayle Tue, 22 Jul 2003 21:56:51 +0200 + +libjcommon-java (0.8.3-2) unstable; urgency=low + + * Change way of managing external libs + + -- Christian Bayle Thu, 10 Jul 2003 08:54:54 +0200 + +libjcommon-java (0.8.3-1) unstable; urgency=low + + * Initial Release. + + -- Christian Bayle Sat, 5 Jul 2003 15:27:56 +0200 + +Local variables: +mode: debian-changelog +End: --- libjcommon-java-0.8.3.orig/debian/control +++ libjcommon-java-0.8.3/debian/control @@ -0,0 +1,22 @@ +Source: libjcommon-java +Section: contrib/libs +Priority: optional +Maintainer: Christian Bayle +Build-Depends-Indep: debhelper (>> 4.0.0), j2sdk1.4, ant, junit +Standards-Version: 3.5.8 + +Package: libjcommon-java +Section: contrib/libs +Architecture: all +Depends: j2re1.4 | java2-runtime +Description: General Purpose library for Java + JCommon is a free general purpose Java class library that is used in + several projects at The Object Refinery, including JFreeChart and + JFreeReport. + The library includes: + * user interface classes for displaying information about applications + * custom layout managers + * a date chooser panel + * serialization utilities + * XML parser support classes + --- libjcommon-java-0.8.3.orig/debian/copyright +++ libjcommon-java-0.8.3/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Christian Bayle on +Wed, 2 Jul 2003 22:49:43 +0200. + +It was downloaded from http://sourceforge.net/projects/jfreechart/ and http://www.jfree.org + +Upstream Authors: David Gilbert (david.gilbert@object-refinery.com) and others + +Thanks to the following developers who have contributed code to this +class library: Anthony Boulestreau, Jeremy Bowman, J. David +Eisenberg, Paul English, Hans-Jurgen Greiner, Bill Kelemen, Achilleus +Mantzios, Thomas Meier, Krzysztof Paz, Andrzej Porebski, Nabuo +Tamemasa, Mark Watson and Hari. + +Copyright: + + (C)opyright, 2000-2003, by Simba Management 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. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + --- libjcommon-java-0.8.3.orig/debian/README.Debian +++ libjcommon-java-0.8.3/debian/README.Debian @@ -0,0 +1,18 @@ +jcommon-java for Debian +-------------------------- +Web site is http://www.jfree.org + +I took JCommon version as a reference version + +About Object Refinery Limited: + +Since late 1999, Object Refinery Limited has been actively involved in developing free (also referred to as "open source") +software and related products. They make use of the web and open, collaborative development techniques to extend the reach +of one small company to a world-wide audience. At the current time, they are: + + * the principal sponsor of www.jfree.org; + * managers of the JFreeChart project; + * suppliers of documentation and support services for JFreeChart; + * the publisher of a free user guide for GnuCash. + + -- Christian Bayle , Wed, 2 Jul 2003 22:49:43 +0200 --- libjcommon-java-0.8.3.orig/debian/rules +++ libjcommon-java-0.8.3/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Build +export JAVA_HOME=/usr/lib/j2se/1.4 +export JAVA=/usr/lib/j2se/1.4/bin/java +export JAVAC=/usr/lib/j2se/1.4/bin/javac +export CLASSPATH=/usr/lib/j2se/1.4/jre/lib/rt.jar + +export LIBRARY = $(shell head -1 debian/control | sed 's/Source. lib\(.*\)-java/\1/') +export VERSION = $(shell head -1 debian/changelog | sed 's/.*(\(.*\)-.*).*/\1/' ) +export SRCDIR=$(LIBRARY)-$(VERSION) +export CURDIR=$(shell pwd) + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + tar xvzf $(LIBRARY)-$(VERSION).tar.gz + ./debian_patch $(SRCDIR)/ant/build.xml + touch configure-stamp + + +build: configure build-stamp +build-stamp: + dh_testdir + # Use debian jar + [ ! -f $(SRCDIR)/src/jcommon_overview.html ] && cp jcommon_overview.html $(SRCDIR)/src/ || true + # Compile + cd $(SRCDIR)/ant; ant compile + touch build-stamp + +javadoc: + # Remove Empty code + echo $(SRCDIR)/javadoc > debian/libjcommon-java.docs + echo $(SRCDIR)/README >> debian/libjcommon-java.docs + -rm -rf $(SRCDIR)/javadoc + cd $(SRCDIR)/ant; ant javadoc + +clean: + dh_testdir + dh_testroot + -rm -f build-stamp + -rm -f configure-stamp + -rm -rf $(SRCDIR) + dh_clean + +install: build javadoc + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + # + # Package + # + install -m 644 $(SRCDIR)/$(LIBRARY)-$(VERSION).jar \ + debian/tmp/usr/share/java/$(LIBRARY)-$(VERSION).jar + ln -s $(LIBRARY)-$(VERSION).jar debian/tmp/usr/share/java/$(LIBRARY).jar + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples +# dh_installmenu +# dh_installemacsen +# dh_installpam +# dh_installinit +# dh_installcron +# dh_installman +# dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_link + dh_compress + dh_fixperms + dh_installdeb +# dh_perl + dh_gencontrol + dh_md5sums + dh_builddeb + + +binary: binary-indep + +.PHONY: binary binary-indep clean --- libjcommon-java-0.8.3.orig/debian/rules.sos +++ libjcommon-java-0.8.3/debian/rules.sos @@ -0,0 +1,52 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Build with Kaffe +export JAVA_HOME=/usr/lib/kaffe +export JAVA=/usr/lib/kaffe/bin/java +export JAR=fastjar +export CLASSPATH=/usr/share/kaffe:/usr/share/java/libgcj.jar:. +export LIBRARY = $(shell head -1 debian/control | sed 's/Source? lib\(.*\)-java/\1/') +export VERSION = $(shell head -1 debian/changelog | sed 's/.*(\(.*\)).*/\1/' ) +export SRCDIR=$(LIBRARY)-$(VERSION) + + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp +build-stamp: + dh_testdir + (cd $(SRCDIR); jikes -d ../classes -classpath ${CLASSPATH}:. `find . -name "*.java"`) + (cd classes ; ls ;$(JAR) cvf ../../$(LIBRARY)-$(VERSION).jar `find . -name "*.class"`) + touch build-stamp + +clean: + dh_testdir + dh_testroot + -rm -f build-stamp + dh_clean + +binary-indep: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + # + # Package + # + install -m 644 $(SRCDIR)/$(LIBRARY)-$(VERSION).jar \ + debian/libjcommon-java/usr/share/java/$(LIBRARY)-$(VERSION).jar + ln -s $(LIBRARY)-$(VERSION).jar debian/libjcommon-java/usr/share/java/$(LIBRARY).jar + +binary: binary-indep + +.PHONY: binary binary-indep clean --- libjcommon-java-0.8.3.orig/debian/libjcommon-java.dirs +++ libjcommon-java-0.8.3/debian/libjcommon-java.dirs @@ -0,0 +1 @@ +/usr/share/java --- libjcommon-java-0.8.3.orig/debian/libjcommon-java.docs +++ libjcommon-java-0.8.3/debian/libjcommon-java.docs @@ -0,0 +1,2 @@ +jcommon-0.8.3/javadoc +jcommon-0.8.3/README --- libjcommon-java-0.8.3.orig/debian_patch +++ libjcommon-java-0.8.3/debian_patch @@ -0,0 +1,2 @@ +perl -pi -e 's:\${basedir}/lib/gnujaxp.jar:/usr/share/java/gnujaxp.jar:' $1 +perl -pi -e 's:\${basedir}/junit/junit.jar:/usr/share/java/junit.jar:' $1