[med-svn] r19093 - in trunk/packages/mauve/trunk/debian: . bin

Andreas Tille tille at moszumanska.debian.org
Wed Apr 22 09:31:53 UTC 2015


Author: tille
Date: 2015-04-22 09:31:51 +0000 (Wed, 22 Apr 2015)
New Revision: 19093

Modified:
   trunk/packages/mauve/trunk/debian/bin/mauve
   trunk/packages/mauve/trunk/debian/get-orig-source
Log:
Leave wrapper script as example in download archive


Modified: trunk/packages/mauve/trunk/debian/bin/mauve
===================================================================
--- trunk/packages/mauve/trunk/debian/bin/mauve	2015-04-21 21:06:32 UTC (rev 19092)
+++ trunk/packages/mauve/trunk/debian/bin/mauve	2015-04-22 09:31:51 UTC (rev 19093)
@@ -1,7 +1,9 @@
 #!/bin/sh
 
-MAXMEM=3072
+JAVA_CMD=java
+JAVA_ARGS="-Xms200M -Xmx500M"
 
 DEBJAR="/usr/share/java"
-java -Xms64m -Xmx${MAXMEM}m  -classpath "${CLASSPATH}:${DEBJAR}/bytecode.jar:${DEBJAR}/commons-cli.jar:${DEBJAR}/jebl.jar" $(DEBJAR)/Mauve.jar $*
+
+$JAVA_CMD $JAVA_ARGS -DmauveDir=${DEBJAR}/ -classpath "${CLASSPATH}:${DEBJAR}/bytecode.jar:${DEBJAR}/commons-cli.jar:${DEBJAR}/jebl.jar" -jar ${DEBJAR}/Mauve.jar $@
 ## :{DEBJAR}/postgresql-jdbc4.jar 

Modified: trunk/packages/mauve/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/mauve/trunk/debian/get-orig-source	2015-04-21 21:06:32 UTC (rev 19092)
+++ trunk/packages/mauve/trunk/debian/get-orig-source	2015-04-22 09:31:51 UTC (rev 19093)
@@ -27,13 +27,10 @@
 
 cd ${TARDIR}
 rm -rf osx win32 win64
-rm -rf linux-x64/* linux-x86/*
-find . -name "*ant*.jar" -delete
-find . -name "*bytecode*.jar" -delete
-find . -name "*commons-cli*.jar" -delete
-find . -name "*dbus*.jar" -delete
-find . -name "*jebl*.jar" -delete
-find . -name "*postgres*.jar" -delete
+rm -rf linux-x64/mauveAligner linux-x86/mauveAligner linux-x64/progressiveMauve linux-x86/progressiveMauve
+for libjava in ant bytecode commons-cli dbus jebl postgres ; do
+   find . -name "*${libjava}*.jar" -delete
+done
 rm -rf build_support/retroweaver
 rm -rf build_support/[b-z]*
 cd ..




More information about the debian-med-commit mailing list