debian/0000755000000000000000000000000011715535475007203 5ustar debian/changelog0000644000000000000000000000132611715534577011061 0ustar freehep-graphicsio (2.1.1-3) unstable; urgency=low * Apply patch from GeoGebra repository (that fixes JLaTeXMath to PDF export). * Add real watch file * Fix my email address. * Bump Standards-Version to 3.9.2 (no change required). * Fix some lintian warnings. -- Giovanni Mascellani Sat, 11 Feb 2012 17:39:36 +0100 freehep-graphicsio (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:43:14 +0100 freehep-graphicsio (2.1.1-1) unstable; urgency=low * Initial release (Closes: #564756) -- Giovanni Mascellani Tue, 02 Feb 2010 16:49:03 +0100 debian/copyright0000644000000000000000000001175011715534577011144 0ustar Format: http://dep.debian.net/deps/dep5/ Upstream-Name: FreeHEP GraphicsIO Base Library Upstream-Contact: 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: src/main/java/org/freehep/graphicsio/ppm/ImageEncoder.java src/main/java/org/freehep/graphicsio/ppm/PPMEncoder.java src/main/java/org/freehep/graphicsio/ImageEncoder.java src/main/java/org/freehep/graphicsio/gif/ImageEncoder.java src/main/java/org/freehep/graphicsio/gif/GIFEncoder.java Copyright: 1996-1998, Jef Poskanzer License: other Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: src/main/java/org/freehep/graphicsio/png/PNGEncoder.java Copyright: 2000, J. David Eisenberg License: LGPL-2.1+ On Debian GNU/Linux systems you can find the complete text of the LGPL-2.1 license in '/usr/share/common-licenses/LGPL-2.1'. Files: src/main/java/org/freehep/graphicsio/gif/Quantize.java Copyright: 1998, E. I. du Pont de Nemours and Company 2000, Adam Doppelt License: other Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files ("ImageMagick"), to deal in ImageMagick without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of ImageMagick, and to permit persons to whom the ImageMagick is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of ImageMagick. . The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall E. I. du Pont de Nemours and Company be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with ImageMagick or the use or other dealings in ImageMagick. . Except as contained in this notice, the name of the E. I. du Pont de Nemours and Company shall not be used in advertising or otherwise to promote the sale, use or other dealings in ImageMagick without prior written authorization from the E. I. du Pont de Nemours and Company. Files: src/main/java/org/freehep/graphicsio/gif/NeuQuant.java Copyright: 1994, Anthony Dekker License: other Any party obtaining a copy of these files from the author, directly or indirectly, is granted, free of charge, a full and unrestricted irrevocable, world-wide, paid up, royalty-free, nonexclusive right and license to deal in this software and documentation files (the "Software"), including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons who receive copies from any such party to do so, with the only requirement being that this copyright notice remain intact. Files: debian/* Copyright: 2010-2012, 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' debian/control0000644000000000000000000000222011715534577010604 0ustar Source: freehep-graphicsio 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 Build-Depends-Indep: libfreehep-export-java, libfreehep-graphics2d-java, libfreehep-io-java, libmaven-exec-plugin-java Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/git/pkg-java/freehep/freehep-graphicsio.git Vcs-Browser: http://git.debian.org/?p=pkg-java/freehep/freehep-graphicsio.git Homepage: http://java.freehep.org/ Package: libfreehep-graphicsio-java Architecture: all Depends: ${misc:Depends}, ${maven:Depends} Recommends: ${maven:OptionalDepends} Description: FreeHEP GraphicsIO Base 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. . FreeHEP is a collection of Java libraries used in High Energy Physics. debian/source/0000755000000000000000000000000011715534577010505 5ustar debian/source/format0000644000000000000000000000001411715534577011713 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011715534577010634 5ustar debian/patches/patch/0000755000000000000000000000000011715534577011733 5ustar debian/patches/patch/jlatexmath.diff0000644000000000000000000000311111715534577014722 0ustar From: Giovanni Mascellani Subject: [PATCH] patch/jlatexmath Fix writing JLaTeXMath to PDF. Signed-off-by: Giovanni Mascellani --- .../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 { * Clears any existing transformation and sets the a new one. * The default implementation calls writeTransform using the * inverted affine transform to calculate it. -s * + * + * new version by Calixte Denizet + * fixes eg writing output from JLaTeXMath -> PDF + * * @param transform to be written */ protected void writeSetTransform(AffineTransform transform) throws IOException { try { - AffineTransform deltaTransform = new AffineTransform(transform); - deltaTransform.concatenate(oldTransform.createInverse()); + AffineTransform deltaTransform = new AffineTransform(oldTransform.createInverse()); + deltaTransform.concatenate(transform); writeTransform(deltaTransform); } catch (NoninvertibleTransformException e) { // ignored... -- tg: (5535437..) patch/jlatexmath (depends on: master) debian/patches/series0000644000000000000000000000003211715534577012044 0ustar patch/jlatexmath.diff -p1 debian/README.source0000644000000000000000000000120711715534577011364 0ustar Information about freehep-graphicsio ------------------------------------ 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. debian/maven.properties0000644000000000000000000000002611715534577012427 0ustar maven.test.skip=false debian/gbp.conf0000644000000000000000000000016711715534577010630 0ustar [DEFAULT] cleaner = fakeroot debian/rules clean upstream-branch = upstream debian-branch = build pristine-tar = True debian/maven.rules0000644000000000000000000000007511715534577011371 0ustar org.codehaus.mojo exec-maven-plugin maven-plugin s/.*/1.1.1/ debian/watch0000644000000000000000000000027511715534577010242 0ustar version=3 opts="uversionmangle=s/^.*-SNAPSHOT/~$1/,dversionmangle=s/\+dfsg[0-9]*//" \ http://java.freehep.org/maven2/org/freehep/freehep-graphicsio/ \ (\d.*)/ debian debian/orig-tar.sh debian/rules0000755000000000000000000000027211715534577010266 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/maven.mk -include /usr/share/topgit/tg2quilt.mk JAVA_HOME := /usr/lib/jvm/default-java debian/libfreehep-graphicsio-java.poms0000644000000000000000000000003711715534577015257 0ustar pom.xml --no-parent --java-lib debian/compat0000644000000000000000000000000211715534577010403 0ustar 7 debian/orig-tar.sh0000755000000000000000000000055711715534577011277 0ustar #!/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