[pdfsam] 02/36: various fixes

Markus Koschany apo at moszumanska.debian.org
Tue Feb 21 04:20:13 UTC 2017


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

apo pushed a commit to branch master
in repository pdfsam.

commit 56425037d1623be22dfd29e4e9532c1cba177588
Author: Torsten Werner <twerner at debian.org>
Date:   Tue Aug 26 19:38:08 2008 +0000

    various fixes
---
 debian/ant.properties |  4 ++++
 debian/build.xml      | 14 ++++++++++++++
 debian/control        |  3 +++
 debian/rules          |  6 ++++--
 4 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/debian/ant.properties b/debian/ant.properties
new file mode 100644
index 0000000..2c806c8
--- /dev/null
+++ b/debian/ant.properties
@@ -0,0 +1,4 @@
+libs.dir=/usr/share/java
+log4j.jar.name=log4j-1.2
+dom4j.jar.name=dom4j
+jaxen.jar.name=jaxen
diff --git a/debian/build.xml b/debian/build.xml
new file mode 100644
index 0000000..146561b
--- /dev/null
+++ b/debian/build.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project default="compile" name="pdfsam" basedir="..">
+  <target name="clean" description="Clean up">
+    <delete dir="${build.dir}"/>
+    <ant dir="emp4j/ant" target="clean"/>
+  </target>
+
+  <target name="compile" description="Compile the Java files">
+    <mkdir dir="${build.dir}"/>
+    <ant antfile="ant/build.xml" dir="emp4j" target="compile"/>
+  </target>
+
+</project>
diff --git a/debian/control b/debian/control
index 88f020b..12e47c7 100644
--- a/debian/control
+++ b/debian/control
@@ -13,3 +13,6 @@ Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/pdfsam/
 Package: pdfsam
 Architecture: all
 Description: PDF Split and Merge
+ PDF Split and Merge is a very simple, easy to use, free, open source
+ utility to split and merge pdf files. It has a simple graphical
+ interface to let the user choose pdf files, split or merge them.
diff --git a/debian/rules b/debian/rules
index 06a0e39..1273abc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,8 +3,10 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/ant.mk
 
-JAVA_HOME := /usr/lib/jvm/java-6-default
-DEB_JARS  := jaxen log4j-1.2
+JAVA_HOME            := /usr/lib/jvm/default-java
+DEB_ANT_BUILDFILE    := debian/build.xml
+DEB_JARS             := jaxen log4j-1.2
+DEB_ANT_BUILD_TARGET := -Dbuild.dir=$(CURDIR)/build compile
 
 get-orig-source:
 	-uscan --upstream-version 0 --rename    

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



More information about the pkg-java-commits mailing list