--- freehep-graphicsio-java-2.1.1.orig/debian/control +++ freehep-graphicsio-java-2.1.1/debian/control @@ -0,0 +1,32 @@ +Source: freehep-graphicsio-java +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-graphicsio-java, libfreehep-graphicsio-tests-java, + junit +Standards-Version: 3.8.4 +Vcs-Git: git://git.debian.org/git/pkg-java/freehep/freehep-graphicsio-java.git +Vcs-Browser: http://git.debian.org/?p=pkg-java/freehep/freehep-graphicsio-java.git +Homepage: http://java.freehep.org/ + +Package: libfreehep-graphicsio-java-java +Architecture: all +Depends: ${misc:Depends}, ${maven:Depends}, openjdk-6-jre | java2-runtime +Recommends: ${maven:OptionalDepends} +Description: FreeHEP Java 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 the java calls made to + Graphics2D as source code, with the associated class, field and method + definitions, resulting in a class which, when run will produce the same + display. Generating such source code may be helpful in setting up test cases + without a lot of machinery around it and in debugging problems for different + formats. + . + FreeHEP is a collection of Java libraries used in High Energy Physics. --- freehep-graphicsio-java-2.1.1.orig/debian/compat +++ freehep-graphicsio-java-2.1.1/debian/compat @@ -0,0 +1 @@ +7 --- freehep-graphicsio-java-2.1.1.orig/debian/maven.rules +++ freehep-graphicsio-java-2.1.1/debian/maven.rules @@ -0,0 +1 @@ +junit junit jar s/.*/3.x/ * --- freehep-graphicsio-java-2.1.1.orig/debian/gbp.conf +++ freehep-graphicsio-java-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-java-2.1.1.orig/debian/copyright +++ freehep-graphicsio-java-2.1.1/debian/copyright @@ -0,0 +1,23 @@ +Format-Specification: http://dep.debian.net/deps/dep5/ +Name: FreeHEP Java 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-java-2.1.1.orig/debian/rules +++ freehep-graphicsio-java-2.1.1/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/maven.mk + +JAVA_HOME := /usr/lib/jvm/default-java + --- freehep-graphicsio-java-2.1.1.orig/debian/maven.properties +++ freehep-graphicsio-java-2.1.1/debian/maven.properties @@ -0,0 +1 @@ +maven.test.skip=false --- freehep-graphicsio-java-2.1.1.orig/debian/README.source +++ freehep-graphicsio-java-2.1.1/debian/README.source @@ -0,0 +1,10 @@ +Information about freehep-graphicsio-java +----------------------------------------- + +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-java-2.1.1.orig/debian/libfreehep-graphicsio-java-java.poms +++ freehep-graphicsio-java-2.1.1/debian/libfreehep-graphicsio-java-java.poms @@ -0,0 +1 @@ +pom.xml --no-parent --- freehep-graphicsio-java-2.1.1.orig/debian/watch +++ freehep-graphicsio-java-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-java/ \ + (\d.*)/ debian debian/orig-tar.sh --- freehep-graphicsio-java-2.1.1.orig/debian/changelog +++ freehep-graphicsio-java-2.1.1/debian/changelog @@ -0,0 +1,5 @@ +freehep-graphicsio-java (2.1.1-1) unstable; urgency=low + + * Initial release (Closes: #572575) + + -- Gabriele Giacone <1o5g4r8o@gmail.com> Tue, 02 Mar 2010 16:33:26 +0100 --- freehep-graphicsio-java-2.1.1.orig/debian/orig-tar.sh +++ freehep-graphicsio-java-2.1.1/debian/orig-tar.sh @@ -0,0 +1,16 @@ +#!/bin/sh -e + +VERSION=$2 +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 + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $TAR $origDir && echo "moved $TAR to $origDir" +fi