Author: pere Date: 2006-03-12 20:41:47 +0000 (Sun, 12 Mar 2006) New Revision: 1997
Added: trunk/buoy/ trunk/buoy/debian/ trunk/buoy/debian/README.Debian-source trunk/buoy/debian/changelog trunk/buoy/debian/compat trunk/buoy/debian/control trunk/buoy/debian/copyright trunk/buoy/debian/libbuoy-java.dirs trunk/buoy/debian/libbuoy-java.docs trunk/buoy/debian/patches/ trunk/buoy/debian/patches/01_jarname.patch trunk/buoy/debian/rules Log: Add draft build rules for buoy. Added: trunk/buoy/debian/README.Debian-source =================================================================== --- trunk/buoy/debian/README.Debian-source 2006-03-12 15:43:08 UTC (rev 1996) +++ trunk/buoy/debian/README.Debian-source 2006-03-12 20:41:47 UTC (rev 1997) @@ -0,0 +1,18 @@ +Making a orig.tar.gz for Buoy in Debian +--------------------------------------- + +Upstream provides a zip file with both the source and the compiled jar +file, as well as the generated documentation. To make this into a +sensible orig.tar.gz, the following is done: + + wget http://heanet.dl.sourceforge.net/sourceforge/buoy/Buoy1.6.zip + mkdir buoy-1.6 + cd buoy-1.6 + unzip ../Buoy1.6.zip + mv "Buoy Folder"/* . + rmdir "Buoy Folder" + rm -rf docs Buoy.jar + cd .. + tar zcf buoy_1.6.orig.tar.gz buoy-1.6 + +This produces a tarball with only the source. Added: trunk/buoy/debian/changelog =================================================================== --- trunk/buoy/debian/changelog 2006-03-12 15:43:08 UTC (rev 1996) +++ trunk/buoy/debian/changelog 2006-03-12 20:41:47 UTC (rev 1997) @@ -0,0 +1,6 @@ +buoy (1.6-0.0.dgis.unstable.1) unstable; urgency=low + + * Initial package (Closes: #356355) + + -- Petter Reinholdtsen <[EMAIL PROTECTED]> Tue, 11 Jun 2002 10:52:34 -0400 + Added: trunk/buoy/debian/compat =================================================================== --- trunk/buoy/debian/compat 2006-03-12 15:43:08 UTC (rev 1996) +++ trunk/buoy/debian/compat 2006-03-12 20:41:47 UTC (rev 1997) @@ -0,0 +1 @@ +4 Added: trunk/buoy/debian/control =================================================================== --- trunk/buoy/debian/control 2006-03-12 15:43:08 UTC (rev 1996) +++ trunk/buoy/debian/control 2006-03-12 20:41:47 UTC (rev 1997) @@ -0,0 +1,14 @@ +Source: buoy +Section: contrib/libs +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Petter Reinholdtsen <[EMAIL PROTECTED]> +Standards-Version: 3.6.2 +Build-Depends-Indep: debhelper (>= 4.2.30), kaffe, cdbs, ant + +Package: libbuoy-java +Section: contrib/libs +Architecture: all +Depends: j2re1.4 | java2-runtime +Description: GUI lib + For detailed information, go to http://buoy.sourceforge.net/ Added: trunk/buoy/debian/copyright =================================================================== --- trunk/buoy/debian/copyright 2006-03-12 15:43:08 UTC (rev 1996) +++ trunk/buoy/debian/copyright 2006-03-12 20:41:47 UTC (rev 1997) @@ -0,0 +1,13 @@ +This package was debianized by Petter Reinholdtsen <[EMAIL PROTECTED]> on +Sun, 12 Mar 2006 11:33:41 +0100. + +It was downloaded from <URL:http://buoy.sourceforge.net/> + +Upstream author: + + Peter Eastman <[EMAIL PROTECTED]> + +License (from AboutBuoy.html): + + Buoy 1.6 is hereby released into the public domain. You are + free to use it in any way you want for any purpose. Added: trunk/buoy/debian/libbuoy-java.dirs =================================================================== --- trunk/buoy/debian/libbuoy-java.dirs 2006-03-12 15:43:08 UTC (rev 1996) +++ trunk/buoy/debian/libbuoy-java.dirs 2006-03-12 20:41:47 UTC (rev 1997) @@ -0,0 +1 @@ +usr/share/java Added: trunk/buoy/debian/libbuoy-java.docs =================================================================== --- trunk/buoy/debian/libbuoy-java.docs 2006-03-12 15:43:08 UTC (rev 1996) +++ trunk/buoy/debian/libbuoy-java.docs 2006-03-12 20:41:47 UTC (rev 1997) @@ -0,0 +1,2 @@ +AboutBuoy.html +docs Added: trunk/buoy/debian/patches/01_jarname.patch =================================================================== --- trunk/buoy/debian/patches/01_jarname.patch 2006-03-12 15:43:08 UTC (rev 1996) +++ trunk/buoy/debian/patches/01_jarname.patch 2006-03-12 20:41:47 UTC (rev 1997) @@ -0,0 +1,14 @@ +Make sure the jar file is named with lower case letters. + +--- buoy-1.6.orig/buoy.xml ++++ buoy-1.6/buoy.xml +@@ -24,7 +24,7 @@ + + <target name="dist" depends="compile"> + <!-- Copy all necessary files into ${build}, then create the jar file --> +- <jar jarfile="${dist}/Buoy.jar" basedir="${build}" /> ++ <jar jarfile="${dist}/buoy.jar" basedir="${build}" /> + </target> + + <target name="docs" depends="init"> + Added: trunk/buoy/debian/rules =================================================================== --- trunk/buoy/debian/rules 2006-03-12 15:43:08 UTC (rev 1996) +++ trunk/buoy/debian/rules 2006-03-12 20:41:47 UTC (rev 1997) @@ -0,0 +1,24 @@ +#!/usr/bin/make -f +# debian/rules file for buoy (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/kaffe +ANT_HOME := /usr/share/ant + +DEB_ANT_BUILDFILE := buoy.xml +DEB_ANT_BUILD_TARGET := dist docs +DEB_JARS = $(ANT_HOME)/lib/ant-launcher.jar + +# Use ECJ compiler +DEB_ANT_COMPILER := org.eclipse.jdt.core.JDTCompilerAdapter +DEB_JARS := $(DEB_JARS) ecj + +clean:: + rm -f buoy.jar + +DESTDIR=debian/libbuoy-java +install/libbuoy-java:: buoy.jar + install -m644 buoy.jar $(DESTDIR)/usr/share/java/buoy.jar Property changes on: trunk/buoy/debian/rules ___________________________________________________________________ Name: svn:executable + * _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

