Standardise package.
Giovanni Mascellani
7 years ago
0 | Information about freehep-graphicsio | |
1 | ------------------------------------ | |
2 | ||
3 | DEBIANIZATION | |
4 | ||
5 | This package was debianized using the mh_make command | |
6 | from the maven-debian-helper package. | |
7 | ||
8 | The build system uses Maven but prevents it from downloading | |
9 | anything from the Internet, making the build compliant with | |
10 | the Debian policy. | |
11 | ||
12 | ||
13 | QUILT | |
14 | ||
15 | This package uses quilt to manage all modifications to the upstream | |
16 | source. Changes are stored in the source package as diffs in | |
17 | debian/patches and applied during the build. Please see: | |
18 | ||
19 | /usr/share/doc/quilt/README.source | |
20 | ||
21 | for more information on how to apply the patches, modify patches, or | |
22 | remove a patch. | |
23 |
0 | 0 | Source: freehep-graphicsio |
1 | 1 | Section: java |
2 | Priority: optional | |
2 | Priority: extra | |
3 | 3 | Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> |
4 | 4 | Uploaders: Giovanni Mascellani <gio@debian.org>, |
5 | 5 | Gabriele Giacone <1o5g4r8o@gmail.com>, |
6 | 6 | Philipp Huebner <debalance@debian.org> |
7 | Build-Depends: debhelper (>= 9), cdbs, maven-debian-helper, default-jdk | |
7 | Build-Depends: debhelper (>= 9), maven-debian-helper, default-jdk | |
8 | 8 | Build-Depends-Indep: libfreehep-export-java, libfreehep-graphics2d-java, |
9 | 9 | libfreehep-io-java, libmaven-exec-plugin-java |
10 | Standards-Version: 3.9.6 | |
11 | Vcs-Git: git://anonscm.debian.org/pkg-java/freehep/freehep-graphicsio.git | |
12 | Vcs-Browser: http://anonscm.debian.org/cgit/pkg-java/freehep/freehep-graphicsio.git | |
10 | Standards-Version: 3.9.8 | |
11 | Vcs-Git: https://anonscm.debian.org/git/pkg-java/freehep/freehep-graphicsio.git | |
12 | Vcs-Browser: https://anonscm.debian.org/git/pkg-java/freehep/freehep-graphicsio.git | |
13 | 13 | Homepage: http://java.freehep.org/ |
14 | 14 | |
15 | 15 | Package: libfreehep-graphicsio-java |
0 | ||
1 | 0 | [DEFAULT] |
2 | cleaner = fakeroot debian/rules clean | |
3 | upstream-branch = upstream | |
4 | debian-branch = build | |
5 | 1 | pristine-tar = True |
6 |
0 | From: Giovanni Mascellani <gio@debian.org> | |
1 | Subject: [PATCH] patch/jlatexmath | |
2 | ||
3 | Fix writing JLaTeXMath to PDF. | |
4 | ||
5 | Signed-off-by: Giovanni Mascellani <gio@debian.org> | |
6 | ||
7 | --- | |
8 | .../graphicsio/AbstractVectorGraphicsIO.java | 9 ++++++--- | |
9 | 1 files changed, 6 insertions(+), 3 deletions(-) | |
10 | ||
11 | diff --git a/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java b/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java | |
12 | index b68a583..0eb3a1e 100644 | |
13 | --- a/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java | |
14 | +++ b/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java | |
15 | @@ -797,13 +797,16 @@ public abstract class AbstractVectorGraphicsIO extends VectorGraphicsIO { | |
16 | * Clears any existing transformation and sets the a new one. | |
17 | * The default implementation calls writeTransform using the | |
18 | * inverted affine transform to calculate it. | |
19 | -s * | |
20 | + * | |
21 | + * new version by Calixte Denizet | |
22 | + * fixes eg writing output from JLaTeXMath -> PDF | |
23 | + * | |
24 | * @param transform to be written | |
25 | */ | |
26 | protected void writeSetTransform(AffineTransform transform) throws IOException { | |
27 | try { | |
28 | - AffineTransform deltaTransform = new AffineTransform(transform); | |
29 | - deltaTransform.concatenate(oldTransform.createInverse()); | |
30 | + AffineTransform deltaTransform = new AffineTransform(oldTransform.createInverse()); | |
31 | + deltaTransform.concatenate(transform); | |
32 | writeTransform(deltaTransform); | |
33 | } catch (NoninvertibleTransformException e) { | |
34 | // ignored... | |
35 | -- | |
36 | tg: (5535437..) patch/jlatexmath (depends on: master) |
0 | From: Giovanni Mascellani <gio@debian.org> | |
1 | Subject: [PATCH] patch/jlatexmath | |
2 | ||
3 | Fix writing JLaTeXMath to PDF. | |
4 | ||
5 | Signed-off-by: Giovanni Mascellani <gio@debian.org> | |
6 | ||
7 | --- | |
8 | .../graphicsio/AbstractVectorGraphicsIO.java | 9 ++++++--- | |
9 | 1 files changed, 6 insertions(+), 3 deletions(-) | |
10 | ||
11 | diff --git a/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java b/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java | |
12 | index b68a583..0eb3a1e 100644 | |
13 | --- a/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java | |
14 | +++ b/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java | |
15 | @@ -797,13 +797,16 @@ public abstract class AbstractVectorGraphicsIO extends VectorGraphicsIO { | |
16 | * Clears any existing transformation and sets the a new one. | |
17 | * The default implementation calls writeTransform using the | |
18 | * inverted affine transform to calculate it. | |
19 | -s * | |
20 | + * | |
21 | + * new version by Calixte Denizet | |
22 | + * fixes eg writing output from JLaTeXMath -> PDF | |
23 | + * | |
24 | * @param transform to be written | |
25 | */ | |
26 | protected void writeSetTransform(AffineTransform transform) throws IOException { | |
27 | try { | |
28 | - AffineTransform deltaTransform = new AffineTransform(transform); | |
29 | - deltaTransform.concatenate(oldTransform.createInverse()); | |
30 | + AffineTransform deltaTransform = new AffineTransform(oldTransform.createInverse()); | |
31 | + deltaTransform.concatenate(transform); | |
32 | writeTransform(deltaTransform); | |
33 | } catch (NoninvertibleTransformException e) { | |
34 | // ignored... | |
35 | -- | |
36 | tg: (5535437..) patch/jlatexmath (depends on: master) |
0 | 0 | #!/usr/bin/make -f |
1 | # -*- makefile -*- | |
1 | 2 | |
2 | include /usr/share/cdbs/1/rules/debhelper.mk | |
3 | include /usr/share/cdbs/1/class/maven.mk | |
4 | -include /usr/share/topgit/tg2quilt.mk | |
3 | # Uncomment this to turn on verbose mode. | |
4 | #export DH_VERBOSE=1 | |
5 | 5 | |
6 | 6 | JAVA_HOME := /usr/lib/jvm/default-java |
7 | 7 | |
8 | %: | |
9 | dh $@ --buildsystem=maven |