--- freehep-graphicsio-svg-2.1.1.orig/debian/control +++ freehep-graphicsio-svg-2.1.1/debian/control @@ -0,0 +1,27 @@ +Source: freehep-graphicsio-svg +Section: java +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Giovanni Mascellani , + Gabriele Giacone <1o5g4r8o@gmail.com> +Build-Depends: debhelper (>= 7), cdbs, maven-debian-helper, default-jdk, quilt +Build-Depends-Indep: libfreehep-xml-java, libfreehep-graphicsio-java, + libfreehep-graphicsio-tests-java, junit +Standards-Version: 3.8.4 +Vcs-Git: git://git.debian.org/git/pkg-java/freehep/freehep-graphicsio-svg.git +Vcs-Browser: http://git.debian.org/?p=pkg-java/freehep/freehep-graphicsio-svg.git +Homepage: http://java.freehep.org/ + +Package: libfreehep-graphicsio-svg-java +Architecture: all +Depends: ${misc:Depends}, ${maven:Depends}, openjdk-6-jre | java2-runtime +Recommends: ${maven:OptionalDepends} +Description: FreeHEP Scalable Vector Graphics Driver + 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 can be added with plugins. + . + This package contains a GraphicsIO plugin to export to SVG format. + . + FreeHEP is a collection of Java libraries used in High Energy Physics. --- freehep-graphicsio-svg-2.1.1.orig/debian/libfreehep-graphicsio-svg-java.poms +++ freehep-graphicsio-svg-2.1.1/debian/libfreehep-graphicsio-svg-java.poms @@ -0,0 +1 @@ +pom.xml --no-parent --- freehep-graphicsio-svg-2.1.1.orig/debian/compat +++ freehep-graphicsio-svg-2.1.1/debian/compat @@ -0,0 +1 @@ +7 --- freehep-graphicsio-svg-2.1.1.orig/debian/maven.rules +++ freehep-graphicsio-svg-2.1.1/debian/maven.rules @@ -0,0 +1 @@ +junit junit jar s/.*/3.x/ * --- freehep-graphicsio-svg-2.1.1.orig/debian/gbp.conf +++ freehep-graphicsio-svg-2.1.1/debian/gbp.conf @@ -0,0 +1,7 @@ + +[DEFAULT] +cleaner = fakeroot debian/rules clean +upstream-branch = upstream +debian-branch = build +pristine-tar = True + --- freehep-graphicsio-svg-2.1.1.orig/debian/copyright +++ freehep-graphicsio-svg-2.1.1/debian/copyright @@ -0,0 +1,23 @@ +Format-Specification: http://dep.debian.net/deps/dep5/ +Name: FreeHEP Scalable Vector Graphics Driver +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-svg-2.1.1.orig/debian/rules +++ freehep-graphicsio-svg-2.1.1/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-svg-2.1.1.orig/debian/maven.properties +++ freehep-graphicsio-svg-2.1.1/debian/maven.properties @@ -0,0 +1 @@ +maven.test.skip=false --- freehep-graphicsio-svg-2.1.1.orig/debian/README.source +++ freehep-graphicsio-svg-2.1.1/debian/README.source @@ -0,0 +1,10 @@ +Information about freehep-graphicsio-svg +---------------------------------------- + +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. + --- freehep-graphicsio-svg-2.1.1.orig/debian/watch +++ freehep-graphicsio-svg-2.1.1/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts="uversionmangle=s/^.*-SNAPSHOT/~$1/,dversionmangle=s/\+dfsg//" \ + http://java.freehep.org/maven2/org/freehep/freehep-graphicsio-svg/ \ + (\d.*)/ debian debian/orig-tar.sh --- freehep-graphicsio-svg-2.1.1.orig/debian/changelog +++ freehep-graphicsio-svg-2.1.1/debian/changelog @@ -0,0 +1,19 @@ +freehep-graphicsio-svg (2.1.1-3) unstable; urgency=low + + * Added geogebra patch: make a SVGGraphics2D filed protected, so it can + be used by extending classes (for example, geogebra package needs it). + * Added watch file + + -- Giovanni Mascellani Sat, 13 Mar 2010 10:06:15 +0100 + +freehep-graphicsio-svg (2.1.1-2) unstable; urgency=low + + * Moved default-jdk from Build-Depends-Indep to Build-Depends + + -- Gabriele Giacone <1o5g4r8o@gmail.com> Thu, 04 Mar 2010 00:12:49 +0100 + +freehep-graphicsio-svg (2.1.1-1) unstable; urgency=low + + * Initial release (Closes: #564949) + + -- Giovanni Mascellani Sun, 28 Feb 2010 11:14:42 +0100 --- freehep-graphicsio-svg-2.1.1.orig/debian/orig-tar.sh +++ freehep-graphicsio-svg-2.1.1/debian/orig-tar.sh @@ -0,0 +1,14 @@ +#!/bin/sh -e + +VERSION=$2 +DOWNLOADED_FILE=$3 +PACKAGE=$(dpkg-parsechangelog | sed -n 's/^Source: //p') +TAR=../${PACKAGE}_${VERSION}.orig.tar.gz +DIR=${PACKAGE}-${VERSION} + +svn export svn://svn.freehep.org/svn/freehep/tags/vectorgraphics-${VERSION}/$PACKAGE $DIR +GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR +rm -rf $DIR + +rm -f $DOWNLOADED_FILE + --- freehep-graphicsio-svg-2.1.1.orig/debian/patches/series +++ freehep-graphicsio-svg-2.1.1/debian/patches/series @@ -0,0 +1 @@ +patch/geogebra.diff -p1 --- freehep-graphicsio-svg-2.1.1.orig/debian/patches/patch/geogebra.diff +++ freehep-graphicsio-svg-2.1.1/debian/patches/patch/geogebra.diff @@ -0,0 +1,27 @@ +From: Giovanni Mascellani +Subject: [PATCH] patch/geogebra + +The visibility of a field is moved from private to protected, so GeoGebra +can extend that class. + +Signed-off-by: Giovanni Mascellani + +--- + .../org/freehep/graphicsio/svg/SVGGraphics2D.java | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/main/java/org/freehep/graphicsio/svg/SVGGraphics2D.java b/src/main/java/org/freehep/graphicsio/svg/SVGGraphics2D.java +index 6c348eb..c9130bb 100644 +--- a/src/main/java/org/freehep/graphicsio/svg/SVGGraphics2D.java ++++ b/src/main/java/org/freehep/graphicsio/svg/SVGGraphics2D.java +@@ -154,7 +154,7 @@ public class SVGGraphics2D extends AbstractVectorGraphicsIO { + // The private writer used for this file. + private OutputStream ros; + +- private PrintWriter os; ++ protected PrintWriter os; + + // table for gradients + Hashtable gradients = new Hashtable(); +-- +tg: (4fbaca4..) patch/geogebra (depends on: master)