[pkg-java] r5922 - in trunk/statsvn/debian: . patches wrappers

fourmond at alioth.debian.org fourmond at alioth.debian.org
Sat Mar 1 21:33:35 UTC 2008


Author: fourmond
Date: 2008-03-01 21:33:30 +0000 (Sat, 01 Mar 2008)
New Revision: 5922

Added:
   trunk/statsvn/debian/patches/15-build-xml-build-jar-only.dpatch
   trunk/statsvn/debian/statsvn.dirs
Modified:
   trunk/statsvn/debian/changelog
   trunk/statsvn/debian/control
   trunk/statsvn/debian/patches/00list
   trunk/statsvn/debian/wrappers/statsvn
Log:
[statsvn] Builds and runs - still some work to do

Modified: trunk/statsvn/debian/changelog
===================================================================
--- trunk/statsvn/debian/changelog	2008-03-01 21:08:36 UTC (rev 5921)
+++ trunk/statsvn/debian/changelog	2008-03-01 21:33:30 UTC (rev 5922)
@@ -1,5 +1,6 @@
 statsvn (0.3.1.dfsg-1) UNRELEASED; urgency=low
 
   * Initial release (Closes: 456250)
+  * 10-build-xml-classpath to get it to build with debian packages
 
- -- Vincent Fourmond <fourmond at debian.org>  Sat, 05 Jan 2008 01:51:53 +0100
\ No newline at end of file
+ -- Vincent Fourmond <fourmond at debian.org>  Sat, 01 Mar 2008 22:15:42 +0100

Modified: trunk/statsvn/debian/control
===================================================================
--- trunk/statsvn/debian/control	2008-03-01 21:08:36 UTC (rev 5921)
+++ trunk/statsvn/debian/control	2008-03-01 21:33:30 UTC (rev 5922)
@@ -1,6 +1,6 @@
 Source: statsvn
-Section: devel
-Priority: contrib/optional
+Section: contrib/devel
+Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Vincent Fourmond <fourmond at debian.org>
 Build-Depends-Indep: java-gcj-compat-dev

Modified: trunk/statsvn/debian/patches/00list
===================================================================
--- trunk/statsvn/debian/patches/00list	2008-03-01 21:08:36 UTC (rev 5921)
+++ trunk/statsvn/debian/patches/00list	2008-03-01 21:33:30 UTC (rev 5922)
@@ -1 +1,2 @@
-10-build-xml-classpath
\ No newline at end of file
+10-build-xml-classpath
+15-build-xml-build-jar-only
\ No newline at end of file

Added: trunk/statsvn/debian/patches/15-build-xml-build-jar-only.dpatch
===================================================================
--- trunk/statsvn/debian/patches/15-build-xml-build-jar-only.dpatch	                        (rev 0)
+++ trunk/statsvn/debian/patches/15-build-xml-build-jar-only.dpatch	2008-03-01 21:33:30 UTC (rev 5922)
@@ -0,0 +1,32 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 15-build-xml-build-jar-only.dpatch by  <fourmond at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad statsvn-0.3.1.dfsg~/build.xml statsvn-0.3.1.dfsg/build.xml
+--- statsvn-0.3.1.dfsg~/build.xml	2008-03-01 22:25:23.000000000 +0100
++++ statsvn-0.3.1.dfsg/build.xml	2008-03-01 22:25:52.000000000 +0100
+@@ -1,6 +1,6 @@
+ <?xml version="1.0" encoding="ISO-8859-1"?>
+ 
+-<project name="statsvn" default="all" basedir=".">
++<project name="statsvn" default="jar" basedir=".">
+ 
+ 	<property file="project.properties" />
+ 	<property name="project" value="statsvn" />
+@@ -93,6 +93,13 @@
+ 		</java>
+ 	</target>
+ 
++	<target name="jar" depends="compile,copyfiles">
++		<!-- Creates an executable jar file for the project -->
++		<mkdir dir="${dist}" />
++		<jar jarfile="${dist}/${project.jar}" basedir="${build}" />
++	</target>
++
++
+ 	<target name="init.tests">
+ 		<!-- Create the build directory structure used by compile.tests -->
+ 		<mkdir dir="${build.tests}" />


Property changes on: trunk/statsvn/debian/patches/15-build-xml-build-jar-only.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/statsvn/debian/statsvn.dirs
===================================================================
--- trunk/statsvn/debian/statsvn.dirs	                        (rev 0)
+++ trunk/statsvn/debian/statsvn.dirs	2008-03-01 21:33:30 UTC (rev 5922)
@@ -0,0 +1,3 @@
+/usr/share/java
+/usr/bin
+

Modified: trunk/statsvn/debian/wrappers/statsvn
===================================================================
--- trunk/statsvn/debian/wrappers/statsvn	2008-03-01 21:08:36 UTC (rev 5921)
+++ trunk/statsvn/debian/wrappers/statsvn	2008-03-01 21:33:30 UTC (rev 5922)
@@ -5,6 +5,8 @@
 
 # We unfortunately need sun's runtime
 find_java_runtime sun
-find_jars jfreechart jcommon statcvs
+find_jars jfreechart jcommon statcvs statsvn
+# # We 
+# find_jars backport-util-concurrent
 
-run_java net.sf.statcvs.Main "$@"
+run_java net.sf.statsvn.Main "$@"




More information about the pkg-java-commits mailing list