diff options
author | Andrew Shadura <andrewsh@debian.org> | 2016-04-30 13:20:43 +0200 |
---|---|---|
committer | Andrew Shadura <andrewsh@debian.org> | 2016-04-30 13:30:21 +0200 |
commit | e1640c6371d4fbf8e8878701cad36be3931aa87e (patch) | |
tree | 004c2cb56931c31985516f33147c659807f9455f /debian | |
parent | d65285cdc8db5e8b764fde3bd4fcba412e6621ac (diff) |
Support PDF properly.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/control | 9 | ||||
-rw-r--r-- | debian/patches/pdf.patch | 13 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 21 insertions, 2 deletions
diff --git a/debian/control b/debian/control index 6198ca3..9c08377 100644 --- a/debian/control +++ b/debian/control @@ -6,14 +6,19 @@ Build-Depends: ant, ant-contrib, javacc, debhelper (>= 9), - default-jdk + default-jdk, + libfop-java, + libbatik-java Standards-Version: 3.9.6 Homepage: http://plantuml.net/ Package: plantuml Architecture: all Depends: - default-jre | java-runtime, ${misc:Depends} + ${misc:Depends}, + default-jre | java-runtime, + libfop-java, + libbatik-java Recommends: graphviz Description: text-to-UML converter PlantUML is a program allowing to draw UML diagrams, using a simple diff --git a/debian/patches/pdf.patch b/debian/patches/pdf.patch new file mode 100644 index 0000000..4da4f9b --- /dev/null +++ b/debian/patches/pdf.patch @@ -0,0 +1,13 @@ +Subject: Specify Class-Path to the libraries needed to support PDF (#807928). + +--- a/build.xml ++++ b/build.xml +@@ -55,7 +55,7 @@ + <manifest> + <attribute name="Main-Class" value="net.sourceforge.plantuml.Run" /> + <attribute name="SplashScreen-Image" value="net/sourceforge/plantuml/version/logo.png" /> +- <attribute name="Class-Path" value="batik-all-1.7.jar fop.jar" /> ++ <attribute name="Class-Path" value="/usr/share/java/batik-rasterizer.jar /usr/share/java/batik-transcoder.jar /usr/share/java/fop.jar" /> + </manifest> + </jar> + <delete dir="build" />
diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..1e0594a --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +pdf.patch |