[statsvn] 10/37: [statsvn] Builds and runs - still some work to do

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Apr 19 22:55:42 BST 2018


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository statsvn.

commit e5538383c4d85604a6a43712fe7b2620d02b6a6a
Author: Vincent Fourmond <fourmond at debian.org>
Date:   Sat Mar 1 21:33:30 2008 +0000

    [statsvn] Builds and runs - still some work to do
---
 debian/changelog                                  |  3 ++-
 debian/control                                    |  4 +--
 debian/patches/00list                             |  3 ++-
 debian/patches/15-build-xml-build-jar-only.dpatch | 32 +++++++++++++++++++++++
 debian/statsvn.dirs                               |  3 +++
 debian/wrappers/statsvn                           |  6 +++--
 6 files changed, 45 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4ecb0dd..ada1e0c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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
diff --git a/debian/control b/debian/control
index 7747698..9795ce6 100644
--- a/debian/control
+++ b/debian/control
@@ -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
diff --git a/debian/patches/00list b/debian/patches/00list
index 8d65946..3927421 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -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
diff --git a/debian/patches/15-build-xml-build-jar-only.dpatch b/debian/patches/15-build-xml-build-jar-only.dpatch
new file mode 100755
index 0000000..bddf15b
--- /dev/null
+++ b/debian/patches/15-build-xml-build-jar-only.dpatch
@@ -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}" />
diff --git a/debian/statsvn.dirs b/debian/statsvn.dirs
new file mode 100644
index 0000000..d86dc8a
--- /dev/null
+++ b/debian/statsvn.dirs
@@ -0,0 +1,3 @@
+/usr/share/java
+/usr/bin
+
diff --git a/debian/wrappers/statsvn b/debian/wrappers/statsvn
index 92635e3..c657a29 100755
--- a/debian/wrappers/statsvn
+++ b/debian/wrappers/statsvn
@@ -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 "$@"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/statsvn.git



More information about the pkg-java-commits mailing list