[freehep-graphicsio] 02/04: Fix classpath generation and refresh patches.

Giovanni Mascellani gio at moszumanska.debian.org
Sat Jun 11 09:58:23 UTC 2016


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

gio pushed a commit to branch master
in repository freehep-graphicsio.

commit a496f1e43e0ffd9d25e6472f16aa1b670fc5185a
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Sat Jun 11 11:48:16 2016 +0200

    Fix classpath generation and refresh patches.
---
 debian/patches/classpath.diff  | 25 +++++++++++++++++++++++++
 debian/patches/jlatexmath.diff | 23 ++++++-----------------
 debian/patches/series          |  1 +
 3 files changed, 32 insertions(+), 17 deletions(-)

diff --git a/debian/patches/classpath.diff b/debian/patches/classpath.diff
new file mode 100644
index 0000000..faf3de8
--- /dev/null
+++ b/debian/patches/classpath.diff
@@ -0,0 +1,25 @@
+From: Giovanni Mascellani <gio at debian.org>
+Subject: Add classpath to compiled JAR
+Index: freehep-graphicsio/pom.xml
+===================================================================
+--- freehep-graphicsio.orig/pom.xml
++++ freehep-graphicsio/pom.xml
+@@ -33,6 +33,18 @@
+           <mainClass>org.freehep.graphicsio.exportchooser.ImageIOExportFileType</mainClass>
+         </configuration>
+       </plugin>
++      <plugin>
++        <artifactId>maven-jar-plugin</artifactId>
++        <configuration>
++          <archive>
++            <manifest>
++              <addClasspath>true</addClasspath>
++              <classpathLayoutType>repository</classpathLayoutType>
++              <classpathPrefix>/usr/share/maven-repo</classpathPrefix>
++            </manifest>
++          </archive>
++        </configuration>
++      </plugin>
+     </plugins>
+   </build>
+   <dependencies>
diff --git a/debian/patches/jlatexmath.diff b/debian/patches/jlatexmath.diff
index 94a4c7d..cc247c9 100644
--- a/debian/patches/jlatexmath.diff
+++ b/debian/patches/jlatexmath.diff
@@ -1,19 +1,10 @@
 From: Giovanni Mascellani <gio at debian.org>
-Subject: [PATCH] patch/jlatexmath
-
-Fix writing JLaTeXMath to PDF.
-
-Signed-off-by: Giovanni Mascellani <gio at debian.org>
-
----
- .../graphicsio/AbstractVectorGraphicsIO.java       |    9 ++++++---
- 1 files changed, 6 insertions(+), 3 deletions(-)
-
-diff --git a/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java b/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java
-index b68a583..0eb3a1e 100644
---- a/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java
-+++ b/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java
-@@ -797,13 +797,16 @@ public abstract class AbstractVectorGraphicsIO extends VectorGraphicsIO {
+Subject: Fix writing JLaTeXMath to PDF
+Index: freehep-graphicsio/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java
+===================================================================
+--- freehep-graphicsio.orig/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java
++++ freehep-graphicsio/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java
+@@ -797,13 +797,16 @@ public abstract class AbstractVectorGrap
       * Clears any existing transformation and sets the a new one.
       * The default implementation calls writeTransform using the
       * inverted affine transform to calculate it.
@@ -33,5 +24,3 @@ index b68a583..0eb3a1e 100644
  	    	writeTransform(deltaTransform);
      	} catch (NoninvertibleTransformException e) {
      		// ignored...
--- 
-tg: (5535437..) patch/jlatexmath (depends on: master)
diff --git a/debian/patches/series b/debian/patches/series
index 4a65437..d11ff0d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 jlatexmath.diff
+classpath.diff

-- 
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-java/freehep/freehep-graphicsio.git



More information about the pkg-java-commits mailing list