debian/0000755000000000000000000000000011655545423007200 5ustar debian/README.Debian-source0000644000000000000000000000226411172723307012534 0ustar Repackaging of original source for jlibeps --------------------------------------------------------------------- jlibeps version 0.1+2. Downloaded file: jlibeps-0.1-src.zip From: sourceforge.net Path: http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/j/jl/jlibeps/jlibeps-0.1-src.zip $ md5sum --binary jlibeps-0.1-src.zip 96e114cf8b5dabcce4922a1175641344 *jlibeps-0.1-src.zip The following commands were used to repackage the original source (the 'touch' commands ensure that the md5sum of the archives stays the same): $ mkdir jlibeps-0.1+2.orig $ unzip -qq -d jlibeps-0.1+2.orig jlibeps-0.1-src.zip $ touch -t 199001010000.00 jlibeps-0.1+2.orig $ tar cf jlibeps_0.1+2.orig.tar --owner 0 --group 0 --numeric-owner --exclude=*.class --exclude=*.jar --exclude=bin --exclude=doc jlibeps-0.1+2.orig $ touch -t 199001010000.00 jlibeps_0.1+2.orig.tar $ gzip -9 jlibeps_0.1+2.orig.tar $ md5sum --binary jlibeps_0.1+2.orig.tar.gz 9e35205bc42aff672d012bd51953307b *jlibeps_0.1+2.orig.tar.gz -- Stuart Prescott Sun, 19 Apr 2009 23:33:42 +0100 --------------------------------------------------------------------- debian/libjlibeps-java-doc.doc-base0000644000000000000000000000065311032026574014372 0ustar Document: jlibeps Title: Java EPS Graphics Manipulation Library Documentation Author: Paul James Mutton , Arnaud BLOUIN Abstract: This manual contains the API documentation for the jlibeps libraries for manipulating EPS images in Java. Section: Graphics Format: HTML Index: /usr/share/doc/libjlibeps-java-doc/api/index.html Files: /usr/share/doc/libjlibeps-java-doc/api/*.html debian/HISTORY0000644000000000000000000000255011041215267010253 0ustar Historical note on this package: jlibeps is a fork of the last GPL'd release of the Java library EPSGraphics2D by Paul James Mutton. This library is available from http://www.jibble.org/files/epsgraphics.jar While this archive is still downloadable from the author's website, the information page for the library requires payment of a licence fee to obtain the code. In 2007, Paul Mutton was approached by a group of Free Software developers seeking cooperation in the continued development of EPSGraphics2D as Free Software. http://jlibeps.sourceforge.net/letter.txt No reply was ever received to this letter and version 0.9.0 of EPSGraphics2D was used as a basis for a GPL fork now known as jlibeps. ---------------------------------------------------------------------------- Information about the original library "EPSGraphics2D" from jibble.org: Upstream Author: paul@jibble.org Copyright: Paul James Mutton, 2001-2006 License: This software is dual-licensed, allowing you to choose between the GNU General Public License (GPL) and the www.jibble.org Commercial License. Since the GPL may be too restrictive for use in a proprietary application, a commercial license is also provided. Full license information can be found at http://www.jibble.org/licenses/ ---------------------------------------------------------------------------- debian/source/0000755000000000000000000000000011655504757010505 5ustar debian/source/format0000644000000000000000000000001411373104463011676 0ustar 3.0 (quilt) debian/libjlibeps-java.docs0000644000000000000000000000005311041215050013061 0ustar debian/README.Debian-source debian/HISTORY debian/build.xml0000644000000000000000000000310511176436153011015 0ustar debian/libjlibeps-java-doc.docs0000644000000000000000000000003711032026231013627 0ustar debian/README.Debian-source apidebian/rules0000755000000000000000000000270711655467416010273 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 # Create versioned jar file; strip off the debian source revision and package revision VERSION=$(shell dpkg-parsechangelog | sed -n 's/Version: \([0-9.]*\).*/\1/p') # If the user has not explicitly set JAVA_HOME, export sensible value # to make sure that the correct compiler is used by ant. JAVA_HOME ?= /usr/lib/jvm/java-gcj export JAVA_HOME PREFIX=debian/libjlibeps-java %: dh $@ override_dh_auto_clean: find . -name \*.jar -exec rm -f {} \; find . -name \*.class -exec rm -f {} \; rm -rf out bin api override_dh_auto_build: mkdir out bin ant -Dbasedir=. -f debian/build.xml compile ant -Dbasedir=. -f debian/build.xml jar doc override_dh_install: cp out/jlibeps.jar $(PREFIX)/usr/share/java/net.sourceforge.jlibeps-$(VERSION).jar override_dh_link: dh_link usr/share/java/net.sourceforge.jlibeps-$(VERSION).jar usr/share/java/net.sourceforge.jlibeps.jar # Be explicit given that there is plenty of confusion about what this target means get-orig-source: get-latest-source get-latest-source: cd $(dir $_).. && \ uscan=$$(uscan --report --dehs --upstream-version 0) && \ uver=$$(echo "$$uscan" | sed -n 's,\(.*\),\1,p') && \ uurl=$$(echo "$$uscan" | sed -n 's,\(.*\),\1,p') && \ echo debian/repackage --upstream-version "$${uver}" "$${uurl}" $(CURDIR) &&\ sh debian/repackage --upstream-version "$${uver}" "$${uurl}" $(CURDIR) debian/repackagerc0000644000000000000000000000034011172717503011361 0ustar # Settings for repackaging the upstream source code # of the jlibeps package PACKAGE=jlibeps UPSTREAM=sourceforge.net UNARCHIVE=do_unzip #RM_LIST="bin,doc" #FIND_LIST="*.jar,*.class" EXCLUDE_LIST=" *.class *.jar bin doc " debian/copyright0000644000000000000000000000136511655471542011140 0ustar Format: http://dep.debian.net/deps/dep5/ Upstream-Name: jlibeps Upstream-Contact: Arnaud BLOUIN Source: http://jlibeps.sourceforge.net/ The compiled java (*.class) and archives (*.jar) were stripped from the downloaded file to create the 'orig' source package. See the file README.Debian-source for full details. Files: * Copyright: © 2001-2006, Paul James Mutton © 2007 Arnaud BLOUIN License: GPL-2+ Files: debian/* Copyright: © 2007-2011, Stuart Prescott License: GPL-2+ License: GPL-2+ On Debian systems, the complete text of the GNU General Public License, version 2, can be found in /usr/share/common-licenses/GPL-2. debian/changelog0000644000000000000000000000362411655501544011053 0ustar jlibeps (0.1+2-2) unstable; urgency=low * Bump standards version to 3.9.2 (no changes required). * Extract upstream package version correctly for jar link. * Switch to dpkg-source 3.0 (quilt) format. * Switch to debhelper short forms for debian/rules. * Depend on default-jdk-doc rather than classpath-doc. * Set DM-Upload-Allowed: yes -- Stuart Prescott Sun, 06 Nov 2011 12:53:50 +0000 jlibeps (0.1+2-1) unstable; urgency=low * New source package from repackaging script. * Bump standards to 3.8.1 (no changes). * Move package to java section. * Move build.xml into debian directory. * Make sure clean target properly cleans up. -- Stuart Prescott Sun, 19 Apr 2009 23:43:34 +0100 jlibeps (0.1+1-2) unstable; urgency=low * Set JAVA_HOME in debian/rules. * Remove unneeded targets from debian/rules. * Fix copyright years in debian/copyright. * Convert debian/copyright into machine-readable form. * Include a HISTORY file on the background to the project. -- Stuart Prescott Wed, 16 Jul 2008 23:09:16 +0100 jlibeps (0.1+1-1) unstable; urgency=low * Add a debian-revision to the source tarball since it is being repackaged. * Remove pre-built API documentation from source tarball -- Stuart Prescott Tue, 01 Jul 2008 00:25:41 +0100 jlibeps (0.1-2) unstable; urgency=low * Move Homepage field in debian/control * Bump standards version to 3.8.0 * Split out an API documentation pacakge libjlibeps-java-doc * Autoversion the jar file based on the changelog version -- Stuart Prescott Mon, 23 Jun 2008 23:19:32 +0100 jlibeps (0.1-1) unstable; urgency=low * Initial upstream release * Initial release (Closes: #447525) -- Stuart Prescott Sun, 4 Nov 2007 23:03:47 +0000 debian/libjlibeps-java.dirs0000644000000000000000000000001711032026011013067 0ustar usr/share/java debian/repackage0000755000000000000000000001646411173202155011046 0ustar #!/bin/sh set -u set -e # set -x if [ -f ~/.devscripts ] then . ~/.devscripts fi PACKAGE=frobinator UPSTREAM=sourceforge.net UNARCHIVE=do_unzip WRAPDIR=true LOG=README.Debian-source VERBOSE=${VERBOSE:-1} CLEANUP=${CLEANUP:-0} SCRIPTDIR=$(dirname $(readlink -f $0)) NAME=$(basename $0) RCFILE=$SCRIPTDIR/repackagerc EXCLUDE_LIST="" # Originally '197001010000.00' but tar complains about an # "implausibly old time stamp" TOUCHTIME=199001010000.00 # Set a consistent umask for repackaging so that the tarball is reproducible # (overridable in the rc file) umask 002 usage() { cat <&2 Usage: $NAME --upstream-version x.y.z filename.zip [src_package_revision] [target_dir] Where the the version x.y.z is the version number of the new version and filename.zip (or .tar.gz or whatever) is the new source filename for the package $PACKAGE. If filename.zip starts with http:// or ftp:// then wget is used to download the archive first. The file $RCFILE must exist and set the following environment variables (and these are their current versions): PACKAGE=$PACKAGE UPSTREAM=$UPSTREAM UNARCHIVE=$UNARCHIVE EXCLUDE_LIST=$EXCLUDE_LIST (EXCLUDE_LIST is a list of exclusions for tar, one per line. Note that spaces in path names are problematic) It is expected that this utility is run by uscan or and is run in the base directory of the source package. The optional argument 'src_package_revision' can be specified to indicate additional cycles of source package revision that may have been undertaken in addition to the regular packaging activities. If not specified, the debian/changelog is parsed to try to work out what the source revision should be. The optional argument 'target_dir' may be used to specify where the repackaged source should be left. EOT } progress() { if [ "$VERBOSE" != 0 -a -n $VERBOSE ] then echo "$@" fi } logmsg() { echo "$@" >> $LOGFILE } logcmd() { logcmdpieces "$@" "$@" >> $LOGFILE } # This is a truly appalling hack, but the only sensible way to # maintain proper quoting in the log, it seems, unless each command is # double quoted to begin with... which is also an ugly, bug-attracting # hack. logcmdpieces() { printf "\n$ " >> $LOGFILE echo "$@" >> $LOGFILE } carp() { echo "E: ($NAME) $*" exit 1 } do_unzip() { logcmd unzip -qq -d "$1" "$2" } do_untargz() { logcmd tar -C "$1" -zxf "$2" } do_untarbz2() { logcmd tar -C "$1" -jxf "$2" } testarchive() { case "$1" in do_unzip) ALLDIRS=$(zipinfo -1 "$2" | cut -f1 -d/ | sort -u) if [ $(echo "$ALLDIRS" | wc -l) -gt 1 ] then testarchiveerror fi echo "$ALLDIRS" ;; do_untargz) ALLDIRS=$(tar ztf "$2" | cut -f1 -d/ | sort -u) if [ $(echo "$ALLDIRS" | wc -l) -gt 1 ] then testarchiveerror fi echo "$ALLDIRS" ;; do_untarbz2) ALLDIRS=$(tar jtf "$2" | cut -f1 -d/ | sort -u) if [ $(echo "$ALLDIRS" | wc -l) -gt 1 ] then testarchiveerror fi echo "$ALLDIRS" ;; esac } testarchiveerror() { echo "E: More than one directory was found in the unwrapped archive." echo "E: Set WRAPDIR to wrap the contents of the tarball in a directory." exit 1 } make_exclude_list() { echo "$EXCLUDE_LIST" | grep -v -e ^$ | sed 's/^\(.*\)/--exclude=\1/' } next_source_version() { LAST_SRC=$(dpkg-parsechangelog | \ sed -n 's/Version: \(.*\)+[0-9\-]*/\1/p') #echo "LS=$LAST_SRC" if [ $LAST_SRC = $VERSION ] then SRCVERSION=$(dpkg-parsechangelog | \ sed -n 's/Version: [^+]*+\(.*\)-.*/\1/p') SRCVERSION=$(($SRCVERSION+1)) else SRCVERSION=1 fi echo $SRCVERSION } ########################################################################### if [ ! -f $RCFILE ] then cat <&2 $0 Error: No configuration parameters found in file $RCFILE. Exiting. EOT usage exit 1 fi # Read in the user/package settings . $RCFILE if [ $# -lt 3 -o $# -gt 5 ] then usage exit 1 fi ########################################################################### DATE=$(date -R) VERSION=$2 SRCPATH=$3 SRCVERSION="" TARGETDIR=$(pwd) if [ $# -eq 5 ] then SRCVERSION="$4" TARGETDIR="$5" elif [ $# -eq 4 ] then if [ -d $4 ] then TARGETDIR="$4" SRCVERSION=$(next_source_version) else SRCVERSION="$4" fi else SRCVERSION=$(next_source_version) fi VERSION="$VERSION+$SRCVERSION" if [ ! -d "$TARGETDIR" ] then carp "Target directory '$TARGETDIR' doesn't exist!" fi progress "I: Making orig tarball for $VERSION" ########################################################################### LOGFILE=$TARGETDIR/$LOG if [ -f "$LOGFILE" ] then progress "W: Deleting existing log file" rm "$LOGFILE" fi ########################################################################### DIR=${PACKAGE}-$VERSION.orig ARCHIVEFILE=${PACKAGE}_${VERSION}.orig.tar ARCHIVELOCATION="$TARGETDIR" TEMPDIR=$(mktemp -t -d $NAME.XXXXXXXXXX) || carp "Couldn't make temp dir" ########################################################################### progress "I: Locating source $SRCPATH" SRCARCHIVE=$(basename "$SRCPATH") if [ $(expr substr "$SRCPATH" 1 7) = "http://" -o \ $(expr substr "$SRCPATH" 1 6) = "ftp://" ] then UPSTREAMURL="$SRCPATH" wget "$UPSTREAMURL" -O "$TEMPDIR/$SRCARCHIVE" else cp "$SRCPATH" "$TEMPDIR" fi cd $TEMPDIR || carp "Couldn't cd to temp dir $TEMPDIR" ########################################################################### MD5="md5sum --binary" logmsg " Repackaging of original source for $PACKAGE --------------------------------------------------------------------- $PACKAGE version $VERSION. Downloaded file: $SRCARCHIVE From: $UPSTREAM Path: $SRCPATH" logcmd $MD5 $SRCARCHIVE progress "I: Directory: $DIR I: Package name: $PACKAGE I: Version: $VERSION" logmsg " The following commands were used to repackage the original source (the 'touch' commands ensure that the md5sum of the archives stays the same):" # get the source progress "I: Uncompressing source" if $WRAPDIR then logcmd mkdir $DIR $UNARCHIVE $DIR $SRCARCHIVE else INNERDIR=$(testarchive $UNARCHIVE $SRCARCHIVE) $UNARCHIVE . $SRCARCHIVE logcmd mv $INNERDIR $DIR fi # set a consistent time for the top directory logcmd touch -t $TOUCHTIME $DIR # repackage the archive progress "I: Creating 'orig' tar archive" #echo "$(make_exclude_list)" logcmd tar cf $ARCHIVEFILE --owner 0 --group 0 --numeric-owner \ $(make_exclude_list) \ $DIR # Also set a consistent time on the tar archive logcmd touch -t $TOUCHTIME $ARCHIVEFILE #logcmd md5sum $ARCHIVEFILE progress "I: Compressing archive" logcmd gzip -9 $ARCHIVEFILE logcmd md5sum --binary $ARCHIVEFILE.gz logmsg " -- $DEBFULLNAME <$DEBEMAIL> $DATE --------------------------------------------------------------------- " ########################################################################### progress "I: Moving archive $ARCHIVEFILE.gz" #mv $ARCHIVEFILE $ARCHIVELOCATION touch $ARCHIVEFILE.gz mv $ARCHIVEFILE.gz $ARCHIVELOCATION ########################################################################### if [ $CLEANUP != 0 ] then progress "I: Cleaning up $TEMPDIR" rm -rf $TEMPDIR else progress "I: Files left in $TEMPDIR for your inspection" fi ########################################################################### debian/control0000644000000000000000000000221611655504742010603 0ustar Source: jlibeps Section: java Priority: optional Maintainer: Stuart Prescott Build-Depends: debhelper (>= 7.0.50~) Build-Depends-Indep: java-gcj-compat-dev, ant Standards-Version: 3.9.2 Homepage: http://jlibeps.sourceforge.net/ DM-Upload-Allowed: yes Package: libjlibeps-java Architecture: all Depends: ${misc:Depends} Description: Java library to create EPS images The jlibeps classes are a set of Java classes for creating EPS images. . They are suitable for creating high quality EPS graphics for use in documents and papers, and can be used just like a standard Graphics2D object within Java applications that are using AWT. . jlibeps is a fork of the last GPL version of the EpsGraphics2D package from jibble.org. Package: libjlibeps-java-doc Architecture: all Section: doc Depends: default-jdk-doc, ${misc:Depends} Suggests: libjlibeps-java Description: API documentation for jlibeps Java library to create EPS images The jlibeps classes are a set of Java classes for creating EPS images. . This package contains the API documentation for the library. . See the package libjlibeps-java for further information. debian/compat0000644000000000000000000000000211655464530010375 0ustar 7 debian/watch0000644000000000000000000000020211655464554010230 0ustar version=3 opts="dversionmangle=s/\+\d+$//" \ http://sf.net/jlibeps/jlibeps-(.*)-src\.zip \ debian \ debian/repackage