[css2xslfo] 08/13: Switch to jarwrapper.

Tristan Seligmann mithrandi at moszumanska.debian.org
Sun Jan 19 14:33:05 UTC 2014


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

mithrandi pushed a commit to branch master
in repository css2xslfo.

commit 6dbb2be612ad9c77e138ba0124411918df3b655b
Author: Tristan Seligmann <mithrandi at mithrandi.net>
Date:   Sun Jan 19 15:59:54 2014 +0200

    Switch to jarwrapper.
---
 debian/bin/css2xslfo     | 8 --------
 debian/control           | 2 +-
 debian/css2xslfo.install | 1 -
 debian/css2xslfo.links   | 1 +
 4 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/debian/bin/css2xslfo b/debian/bin/css2xslfo
deleted file mode 100644
index 3f466e7..0000000
--- a/debian/bin/css2xslfo
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-CSS2XSLFO_JAR=/usr/share/css2xslfo/css2xslfo1_6_2.jar
-
-. /usr/lib/java-wrappers/java-wrappers.sh
-
-find_java_runtime
-run_java -jar $CSS2XSLFO_JAR $extra_args "$@"
diff --git a/debian/control b/debian/control
index f8854c0..80dce16 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Standards-Version: 3.9.5
 
 Package: css2xslfo
 Architecture: all
-Depends: default-jre-headless, java-wrappers, ${misc:Depends}
+Depends: default-jre-headless, jarwrapper, ${java:Depends}, ${misc:Depends}
 Description: XML+CSS2 to XSL-FO converter
  CSSToXSLFO is a utility which can convert an XML document, together with a
  CSS2 style sheet, into an XSL-FO document, which can then be converted into
diff --git a/debian/css2xslfo.install b/debian/css2xslfo.install
index 1cc08fa..8f0c685 100644
--- a/debian/css2xslfo.install
+++ b/debian/css2xslfo.install
@@ -1,2 +1 @@
 bin/css2xslfo*.jar /usr/share/css2xslfo
-debian/bin/css2xslfo /usr/bin
diff --git a/debian/css2xslfo.links b/debian/css2xslfo.links
new file mode 100644
index 0000000..0a516fa
--- /dev/null
+++ b/debian/css2xslfo.links
@@ -0,0 +1 @@
+/usr/share/css2xslfo/css2xslfo*.jar /usr/bin/css2xslfo

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



More information about the pkg-java-commits mailing list