[pkg-java] r6952 - in trunk/pdfsam/debian: . patches

twerner at alioth.debian.org twerner at alioth.debian.org
Fri Aug 29 19:50:35 UTC 2008


Author: twerner
Date: 2008-08-29 19:50:35 +0000 (Fri, 29 Aug 2008)
New Revision: 6952

Added:
   trunk/pdfsam/debian/patches/run.diff
Modified:
   trunk/pdfsam/debian/patches/series
   trunk/pdfsam/debian/rules
Log:
install shell scripts


Added: trunk/pdfsam/debian/patches/run.diff
===================================================================
--- trunk/pdfsam/debian/patches/run.diff	                        (rev 0)
+++ trunk/pdfsam/debian/patches/run.diff	2008-08-29 19:50:35 UTC (rev 6952)
@@ -0,0 +1,40 @@
+Index: pdfsam-1.0.1/pdfsam-maine-br1/bin/run-console.sh
+===================================================================
+--- pdfsam-1.0.1.orig/pdfsam-maine-br1/bin/run-console.sh	2008-08-29 21:46:53.000000000 +0200
++++ pdfsam-1.0.1/pdfsam-maine-br1/bin/run-console.sh	2008-08-29 21:47:01.000000000 +0200
+@@ -15,7 +15,7 @@
+ }
+ 
+ 
+-DIRNAME="../lib/"
++DIRNAME="/usr/share/pdfsam/lib/"
+ CONSOLEJAR="$DIRNAME/pdfsam-console-1.1.5e.jar"
+ 
+ # Setup the classpath
+@@ -53,4 +53,4 @@
+ # Execute the JVM in the foreground
+       "$JAVA" $JAVA_OPTS \
+          -classpath "$CONSOLE_CLASSPATH" \
+-         org.pdfsam.console.ConsoleClient "$@"
+\ No newline at end of file
++         org.pdfsam.console.ConsoleClient "$@"
+Index: pdfsam-1.0.1/pdfsam-maine-br1/bin/run.sh
+===================================================================
+--- pdfsam-1.0.1.orig/pdfsam-maine-br1/bin/run.sh	2008-08-29 21:43:48.000000000 +0200
++++ pdfsam-1.0.1/pdfsam-maine-br1/bin/run.sh	2008-08-29 21:44:01.000000000 +0200
+@@ -15,7 +15,7 @@
+ }
+ 
+ 
+-DIRNAME="../"
++DIRNAME="/usr/share/pdfsam/"
+ PDFSAMJAR="$DIRNAME/pdfsam-1.0.1.jar"
+ 
+ # Setup the classpath
+@@ -53,4 +53,4 @@
+ # Execute the JVM in the foreground
+       "$JAVA" $JAVA_OPTS \
+          -classpath "$PDFSAM_CLASSPATH" \
+-         org.pdfsam.guiclient.GuiClient "$@"
+\ No newline at end of file
++         org.pdfsam.guiclient.GuiClient "$@"

Modified: trunk/pdfsam/debian/patches/series
===================================================================
--- trunk/pdfsam/debian/patches/series	2008-08-29 19:41:05 UTC (rev 6951)
+++ trunk/pdfsam/debian/patches/series	2008-08-29 19:50:35 UTC (rev 6952)
@@ -1 +1,2 @@
 build.diff
+run.diff

Modified: trunk/pdfsam/debian/rules
===================================================================
--- trunk/pdfsam/debian/rules	2008-08-29 19:41:05 UTC (rev 6951)
+++ trunk/pdfsam/debian/rules	2008-08-29 19:50:35 UTC (rev 6952)
@@ -14,6 +14,10 @@
 	for JAR in $(DEB_JARS); do \
 	  dh_link /usr/share/java/$$JAR.jar /usr/share/pdfsam/lib/$$JAR.jar; \
 	done
+	install -D pdfsam-maine-br1/bin/run.sh \
+	  $(DEB_DESTDIR)/usr/bin/pdfsam
+	install -D pdfsam-maine-br1/bin/run-console.sh \
+	  $(DEB_DESTDIR)/usr/bin/pdfsam-console
 
 get-orig-source:
 	-uscan --upstream-version 0 --rename    




More information about the pkg-java-commits mailing list