--- freehep-graphicsio-tests-2.1.1+dfsg1.orig/debian/control +++ freehep-graphicsio-tests-2.1.1+dfsg1/debian/control @@ -0,0 +1,29 @@ +Source: freehep-graphicsio-tests +Section: java +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Giovanni Mascellani , + Gabriele Giacone <1o5g4r8o@gmail.com> +Build-Depends: debhelper (>= 7), cdbs, maven-debian-helper, quilt, default-jdk +Build-Depends-Indep: libfreehep-export-java, libfreehep-graphicsio-java, + junit, libjas-plotter-java, libmaven-exec-plugin-java +Standards-Version: 3.8.4 +Vcs-Git: git://git.debian.org/git/pkg-java/freehep/freehep-graphicsio-tests.git +Vcs-Browser: http://git.debian.org/?p=pkg-java/freehep/freehep-graphicsio-tests.git +Homepage: http://java.freehep.org/ + +Package: libfreehep-graphicsio-tests-java +Architecture: all +Depends: ${misc:Depends}, ${maven:Depends}, openjdk-6-jre | java2-runtime, junit, + libjas-plotter-java +Recommends: ${maven:OptionalDepends} +Description: FreeHEP GraphicsIO Test Library + The GraphicsIO library offers a base interface for image exporters in many + vector or bitmap image formats. It features direct support for GIF, PNG, PPM + and RAW formats, as well as the ability to manage TrueType fonts. Support + for other file types con be added with plugins. + . + This package contains a series of tests used within GraphicsIO or its + plugins. + . + FreeHEP is a collection of Java libraries used in High Energy Physics. --- freehep-graphicsio-tests-2.1.1+dfsg1.orig/debian/compat +++ freehep-graphicsio-tests-2.1.1+dfsg1/debian/compat @@ -0,0 +1 @@ +7 --- freehep-graphicsio-tests-2.1.1+dfsg1.orig/debian/maven.rules +++ freehep-graphicsio-tests-2.1.1+dfsg1/debian/maven.rules @@ -0,0 +1,2 @@ +junit junit jar s/.*/3.x/ * +org.codehaus.mojo exec-maven-plugin maven-plugin s/.*/1.1.1/ --- freehep-graphicsio-tests-2.1.1+dfsg1.orig/debian/gbp.conf +++ freehep-graphicsio-tests-2.1.1+dfsg1/debian/gbp.conf @@ -0,0 +1,7 @@ + +[DEFAULT] +cleaner = fakeroot debian/rules clean +upstream-branch = upstream +debian-branch = build +pristine-tar = True + --- freehep-graphicsio-tests-2.1.1+dfsg1.orig/debian/copyright +++ freehep-graphicsio-tests-2.1.1+dfsg1/debian/copyright @@ -0,0 +1,23 @@ +Format-Specification: http://dep.debian.net/deps/dep5/ +Name: FreeHEP GraphicsIO Test Library +Maintainer: The FreeHEP team +Source: http://java.freehep.org/ + +Files: * +Copyright: 2000-2007, CERN, Geneva, Switzerland + 2000-2007, SLAC, Stanford, California, U.S.A. + 2000-2007, University of California Santa Cruz, U.S.A. +License: LGPL-2.1+ + On Debian GNU/Linux system you can find the complete text of the + LGPL-2.1 license in '/usr/share/common-licenses/LGPL-2.1' + No license files are included in upstream tarball but copyright holders + list is available at + + and adopted license at + +Files: debian/* +Copyright: 2010, Giovanni Mascellani + 2010, Gabriele Giacone <1o5g4r8o@gmail.com> +License: GPL-3+ + On Debian GNU/Linux system you can find the complete text of the + GPL-3 license in '/usr/share/common-licenses/GPL-3' --- freehep-graphicsio-tests-2.1.1+dfsg1.orig/debian/rules +++ freehep-graphicsio-tests-2.1.1+dfsg1/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/maven.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +-include /usr/share/topgit/tg2quilt.mk + +JAVA_HOME := /usr/lib/jvm/default-java + --- freehep-graphicsio-tests-2.1.1+dfsg1.orig/debian/maven.properties +++ freehep-graphicsio-tests-2.1.1+dfsg1/debian/maven.properties @@ -0,0 +1 @@ +maven.test.skip=false --- freehep-graphicsio-tests-2.1.1+dfsg1.orig/debian/README.source +++ freehep-graphicsio-tests-2.1.1+dfsg1/debian/README.source @@ -0,0 +1,36 @@ +Information about freehep-graphicsio-tests +------------------------------------------ + +DEBIANIZATION + +This package was debianized using the mh_make command +from the maven-debian-helper package. + +The build system uses Maven but prevents it from downloading +anything from the Internet, making the build compliant with +the Debian policy. + + +QUILT + +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. Please see: + + /usr/share/doc/quilt/README.source + +for more information on how to apply the patches, modify patches, or +remove a patch. + + +REPACKAGING + +The original tarball for this package has been modified, because it +included some code with problematic copyright status. The following +files and directories were deleted: + * src/main/java/org/freehep/graphicsio/test/TestCustomStrokes.java + (not DFSG compliant). + +The remaining code has been adapted to work without these problematic +files (see quilt patches). + --- freehep-graphicsio-tests-2.1.1+dfsg1.orig/debian/watch +++ freehep-graphicsio-tests-2.1.1+dfsg1/debian/watch @@ -0,0 +1,2 @@ +# Watch file missing, because upstream releases are available only via +# SVN, but uscan is unable to read in a SVN repository. --- freehep-graphicsio-tests-2.1.1+dfsg1.orig/debian/changelog +++ freehep-graphicsio-tests-2.1.1+dfsg1/debian/changelog @@ -0,0 +1,17 @@ +freehep-graphicsio-tests (2.1.1+dfsg1-3) unstable; urgency=low + + * Moved default-jdk from Build-Depends-Indep to Build-Depends + + -- Gabriele Giacone <1o5g4r8o@gmail.com> Thu, 04 Mar 2010 00:39:22 +0100 + +freehep-graphicsio-tests (2.1.1+dfsg1-2) unstable; urgency=low + + * Added junit and jas-plotter as runtime dependencies waiting for #569189 fix. + + -- Gabriele Giacone <1o5g4r8o@gmail.com> Sat, 20 Feb 2010 00:22:16 +0100 + +freehep-graphicsio-tests (2.1.1+dfsg1-1) unstable; urgency=low + + * Initial release (Closes: #566592) + + -- Giovanni Mascellani Mon, 01 Feb 2010 21:51:52 +0100 --- freehep-graphicsio-tests-2.1.1+dfsg1.orig/debian/libfreehep-graphicsio-tests-java.poms +++ freehep-graphicsio-tests-2.1.1+dfsg1/debian/libfreehep-graphicsio-tests-java.poms @@ -0,0 +1 @@ +pom.xml --no-parent --- freehep-graphicsio-tests-2.1.1+dfsg1.orig/debian/patches/series +++ freehep-graphicsio-tests-2.1.1+dfsg1/debian/patches/series @@ -0,0 +1 @@ +patch/TestCustomStrokes.diff -p1 --- freehep-graphicsio-tests-2.1.1+dfsg1.orig/debian/patches/patch/TestCustomStrokes.diff +++ freehep-graphicsio-tests-2.1.1+dfsg1/debian/patches/patch/TestCustomStrokes.diff @@ -0,0 +1,38 @@ +From: Giovanni Mascellani +Subject: [PATCH] patch/TestCustomStrokes + +Code fixes after TestCustomStrokes.java removal + +Signed-off-by: Giovanni Mascellani + +--- + .../freehep/graphicsio/test/TestApplication.java | 1 - + .../org/freehep/graphicsio/test/TestSuite.java | 1 - + 2 files changed, 0 insertions(+), 2 deletions(-) + +diff --git a/src/main/java/org/freehep/graphicsio/test/TestApplication.java b/src/main/java/org/freehep/graphicsio/test/TestApplication.java +index 3ce50b2..049209b 100644 +--- a/src/main/java/org/freehep/graphicsio/test/TestApplication.java ++++ b/src/main/java/org/freehep/graphicsio/test/TestApplication.java +@@ -18,7 +18,6 @@ public class TestApplication { + frame.addPanel("All", new TestAll(null)); + frame.addPanel("Clip", new TestClip(null)); + frame.addPanel("Colors", new TestColors(null)); +- frame.addPanel("Custom Strokes", new TestCustomStrokes(null)); + frame.addPanel("FontDerivation", new TestFontDerivation(null)); + frame.addPanel("Fonts", new TestFonts(null)); + frame.addPanel("Histogram", new TestHistogram(null)); +diff --git a/src/main/java/org/freehep/graphicsio/test/TestSuite.java b/src/main/java/org/freehep/graphicsio/test/TestSuite.java +index f516196..ff3f0a7 100644 +--- a/src/main/java/org/freehep/graphicsio/test/TestSuite.java ++++ b/src/main/java/org/freehep/graphicsio/test/TestSuite.java +@@ -245,7 +245,6 @@ public class TestSuite extends junit.framework.TestSuite { + tests.add(new Test("TestAll", on)); + tests.add(new Test("TestClip", on)); + tests.add(new Test("TestColors", on)); +- tests.add(new Test("TestCustomStrokes", on)); // && !onMacOSXandJDK15)); + tests.add(new Test("TestFonts", on)); + tests.add(new Test("TestFontDerivation", on)); + tests.add(new Test("TestGraphicsContexts", on)); +-- +tg: (8140c38..) patch/TestCustomStrokes (depends on: master)