[med-svn] [beast-mcmc] 01/01: Build tracer.jar as well

Andreas Tille tille at debian.org
Wed Jan 27 17:48:25 UTC 2016


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

tille pushed a commit to branch master
in repository beast-mcmc.

commit b64656e03a866ef6026b955da619c25d9acf26da
Author: Andreas Tille <tille at debian.org>
Date:   Wed Jan 27 18:47:56 2016 +0100

    Build tracer.jar as well
---
 debian/beast-mcmc.install | 1 +
 debian/bin/tracer         | 5 +++++
 debian/changelog          | 1 +
 debian/rules              | 2 +-
 4 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/beast-mcmc.install b/debian/beast-mcmc.install
index a96efd0..c030e5b 100644
--- a/debian/beast-mcmc.install
+++ b/debian/beast-mcmc.install
@@ -1,3 +1,4 @@
 debian/bin 		usr
 debian/*.xpm		usr/share/pixmaps
 build/dist/*.jar	usr/share/beast-mcmc
+dist/*.jar		usr/share/beast-mcmc
diff --git a/debian/bin/tracer b/debian/bin/tracer
new file mode 100644
index 0000000..df86524
--- /dev/null
+++ b/debian/bin/tracer
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+BEAST_LIB="/usr/share/beast-mcmc"
+java -Xms64m -Xmx1024m -Djava.library.path="$BEAST_LIB" -jar "$BEAST_LIB/tracer.jar" $*
+
diff --git a/debian/changelog b/debian/changelog
index 8560b8b..a0e03a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ beast-mcmc (1.8.2~754b844-2) UNRELEASED; urgency=medium
   * Depends: libnetlib-java
   * Force exact version match with libnucleotidelikelihoodcore0
   * Add mtj.jar explicitly to classpath in wrapper script
+  * Build tracer.jar as well
 
  -- Andreas Tille <tille at debian.org>  Mon, 31 Aug 2015 14:09:14 +0200
 
diff --git a/debian/rules b/debian/rules
index 2b73fa4..a44fc8a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -44,7 +44,7 @@ override_dh_auto_build:
 	# CLASSPATH=$(CLASS_PATH)
 	mkdir -p lib
 	ant build
-	ant -buildfile build_tracer.xml all
+	ant -buildfile build_tracer.xml dist
 	# native/compileNativeLinux.sh does not create dynamic libraries
 	cd native ; $(MAKE) -f Makefile.linux JAVA_HOME=$(JAVA_HOME)
 #		gcc $(CFLAGS) $(LDFLAGS) -Wall -funroll-loops -ffast-math -fstrict-aliasing -c -I/usr/lib/jvm/default-java/include/ NucleotideLikelihoodCore.c -o libNucleotideLikelihoodCore.o ; \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/beast-mcmc.git



More information about the debian-med-commit mailing list