debian/0000755000000000000000000000000011744106550007171 5ustar debian/libjiu-java-doc.dirs0000644000000000000000000000003211040753516013006 0ustar usr/share/doc/libjiu-java debian/libjiu-java-doc.doc-base.api0000644000000000000000000000064711260233171014300 0ustar Document: java-imaging-utilities-apidoc Title: API Documentation for JIU Java Imaging Utilities Library Author: Marco Schmidt Abstract: Javadoc API documentation for the java-imaging-utilities libraries for manipulating raster images in Java. Section: Programming/Java Format: HTML Index: /usr/share/doc/libjiu-java-doc/api/index.html Files: /usr/share/doc/libjiu-java-doc/api/*.html debian/libjiu-java.install0000644000000000000000000000005610646522544012764 0ustar net.sourceforge.jiu-0.14.2.jar usr/share/java debian/watch0000644000000000000000000000032711570540265010226 0ustar # upstream website has disappeared version=3 #opts="dversionmangle=s/\+\d+$//" \ #http://schmidt.devlib.org/jiu/download.html \ # java-imaging-utilities-(.*)\.tar\.bz2 \ # debian \ # debian/repackage debian/libjiu-java-doc.examples0000644000000000000000000000003611041203301013646 0ustar debian/jiuawt debian/jiuawt.1 debian/README.Debian-source0000644000000000000000000000261511172736546012545 0ustar Repackaging of original source for java-imaging-utilities --------------------------------------------------------------------- java-imaging-utilities version 0.14.2+3. Downloaded file: java-imaging-utilities-0.14.2.tar.bz2 From: http://schmidt.devlib.org/jiu Path: java-imaging-utilities-0.14.2.tar.bz2 $ md5sum --binary java-imaging-utilities-0.14.2.tar.bz2 1b2e162344dac0ed219822f8ed8b658f *java-imaging-utilities-0.14.2.tar.bz2 The following commands were used to repackage the original source (the 'touch' commands ensure that the md5sum of the archives stays the same): $ mkdir java-imaging-utilities-0.14.2+3.orig $ tar -C java-imaging-utilities-0.14.2+3.orig -jxf java-imaging-utilities-0.14.2.tar.bz2 $ touch -t 199001010000.00 java-imaging-utilities-0.14.2+3.orig $ tar cf java-imaging-utilities_0.14.2+3.orig.tar --owner 0 --group 0 --numeric-owner --exclude=*.class --exclude=*.jar --exclude=*doc/api* --exclude=*.pdf java-imaging-utilities-0.14.2+3.orig $ touch -t 199001010000.00 java-imaging-utilities_0.14.2+3.orig.tar $ gzip -9 java-imaging-utilities_0.14.2+3.orig.tar $ md5sum --binary java-imaging-utilities_0.14.2+3.orig.tar.gz 814d36fe5f6443fb7910973c132d870e *java-imaging-utilities_0.14.2+3.orig.tar.gz -- Stuart Prescott Mon, 20 Apr 2009 01:10:13 +0100 --------------------------------------------------------------------- debian/libjiu-java.docs0000644000000000000000000000005411031271426012231 0ustar README debian/README.Debian-source doc/TODO debian/build.xml0000644000000000000000000000227511176435765011034 0ustar debian/source/0000755000000000000000000000000011744106170010467 5ustar debian/source/format0000644000000000000000000000001411373100543011671 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211570746105010372 0ustar 7 debian/repackagerc0000644000000000000000000000035111153620517011360 0ustar # Settings for repackaging the upstream source code # of the java-imaging-utilities package PACKAGE=java-imaging-utilities UPSTREAM=http://schmidt.devlib.org/jiu UNARCHIVE=do_untarbz2 EXCLUDE_LIST=" *.class *.jar *doc/api* *.pdf " debian/jiuawt.10000644000000000000000000000201010646522374010555 0ustar .TH JIUAWT 1 "July 5, 2007" .SH NAME jiuawt \- simple Java image manipulation program .SH SYNOPSIS .B jiuawt .RI [ options ] " file" .SH DESCRIPTION The Java Imaging Utilities is a Java library for display and manipulation of images within the AWT Java toolkit. The .B jiuawt application is provided with this library as an example program but it provides a useful image manipulation utility. .PP .SH OPTIONS If specified, .I file is opened after jiuawt start-up. .TP \fB \-\-dir\fR DIRECTORY Set the initial working directory to DIRECTORY .TP \fB \-\-lang\fR LANGCODE Set the language to LANGCODE (de=German, en=English, es=Spanish) .TP .B \-\-system Show some details of the operating system and Java Virtual Machine and then exit. .TP .B \-\-version Show version of program and exit. .TP .B \-\-help Print a short help message and exit. .SH AUTHOR jiuawt was written by Marco Schmidt. .PP This manual page was written by Stuart Prescott , for the Debian project (but may be used by others). debian/libjiu-java-doc.docs0000644000000000000000000000006111041117610012765 0ustar doc/manual/java-imaging-utilities-manual.pdf api debian/jiuawt0000644000000000000000000000013511041203364010405 0ustar #!/bin/sh # jiu wrapper script exec java -jar /usr/share/java/net.sourceforge.jiu.jar "$@" debian/repackage0000755000000000000000000001646411173202141011041 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/libjiu-java-doc.doc-base.manual0000644000000000000000000000057111260233155015002 0ustar Document: java-imaging-utilities-manual Title: Manual for JIU Java Imaging Utilities Library Author: Marco Schmidt Abstract: Programmer guide for the java-imaging-utilities libraries for manipulating raster images in Java. Section: Programming/Java Format: PDF Files: /usr/share/doc/libjiu-java-doc/java-imaging-utilities-manual.pdf.gz debian/changelog0000644000000000000000000001047711744105307011053 0ustar java-imaging-utilities (0.14.2+3-4) unstable; urgency=low * Add build-depends on texlive-latex-extra (Closes: #669532). * Bump standards to 3.9.3 (no changes). * Update copyright file format. -- Stuart Prescott Thu, 19 Apr 2012 22:59:31 +0100 java-imaging-utilities (0.14.2+3-3) unstable; urgency=low * Fix typo in description (Closes: #609248). * Extract upstream package version correctly for jar link (Closes: #612295). * Split doc-base entry as HTML and PDF data were not just different formats for the same information. * Add ${misc:Depends}. * Switch to dpkg-source 3.0 (quilt) format. * Switch to debhelper short forms for debian/rules. * Disable watch file as upstream website has disappeared. * Bump standards to 3.9.2 (no changes). * Set DM-Upload-Allowed: yes -- Stuart Prescott Tue, 31 May 2011 08:48:39 +0100 java-imaging-utilities (0.14.2+3-2) unstable; urgency=low * Bump standards to 3.8.3 (no changes). * Fix bashism in debian/rules (Closes: #535384). -- Stuart Prescott Tue, 15 Sep 2009 15:35:24 +0100 java-imaging-utilities (0.14.2+3-1) unstable; urgency=low * new source package from updated repackaging script. * copyright: update years, add note about Resample.java. * repackaging: new version of repackager maintains consistent md5 for tarball * get-orig-source and watch file now linked and repackage source. * remove tetex packages as options for build-deps now that lenny is released (remove lintian override for this). * bump standards version to 3.8.1 (no changes required) * move build.xml into debian directory * make sure clean target cleans up correctly -- Stuart Prescott Mon, 20 Apr 2009 01:14:05 +0100 java-imaging-utilities (0.14.2+2-1) unstable; urgency=low * Remove PDF from source package. * Add (pdf)latex tools to build-depends. * Add lintian source override so that it doesn't complain about the optional build-dep on the obsolete tetex packages. * Rebuild PDF from latex source from debian/rules. * Don't include .tex version of manual as well as PDF version in binary package. * Remove unneeded "jiu" script from debian diff. * Move "jiuawt" into the debian directory. * Convert debian/copyright into machine-readable form. -- Stuart Prescott Mon, 21 Jul 2008 15:26:04 +0100 java-imaging-utilities (0.14.2+1-3) unstable; urgency=low * Set JAVA_HOME in debian/rules only if it is not already set in the environment. * Remove unneeded targets from debian/rules -- Stuart Prescott Sat, 19 Jul 2008 00:37:33 +0100 java-imaging-utilities (0.14.2+1-2) unstable; urgency=low * Explicitly set JAVA_HOME in debian/rules to prevent FTBFS when there is an installed JRE that is not compatible with the JDK from the Build-Depends. * Fix years in debian/copyright. * Include statement from upstream's README in debian/copyright to the effect that it is released under the GPLv2. * Remove java-imaging-utilities binary package and move example script into libjiu-java-doc package. -- Stuart Prescott Sat, 19 Jul 2008 00:03:35 +0100 java-imaging-utilities (0.14.2+1-1) unstable; urgency=low * Add Debian revision to the upstream tarball version * Strip out autogenerated documentation from the upstream tarball * Fix GPL link in copyright (explicitly GPL-2 not just GPL) * Change API doc location as per upcoming java policy * Automatically version the jar using the changelog version -- Stuart Prescott Tue, 01 Jul 2008 00:27:48 +0100 java-imaging-utilities (0.14.2-2) unstable; urgency=low * Bump standards version to 3.8.0 (no changes required) * Rename doc package to libjiu-java-doc -- Stuart Prescott Mon, 23 Jun 2008 23:11:19 +0100 java-imaging-utilities (0.14.2-1) unstable; urgency=low * Initial release (Closes: #431907) * New upstream release -- Stuart Prescott Tue, 7 Jul 2007 00:17:36 +0100 java-imaging-utilities (0.14.1-1) unstable; urgency=low * Initial packaging efforts. -- Stuart Prescott Wed, 11 Apr 2007 18:14:04 +0100 debian/copyright0000644000000000000000000000203311744106117011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Java Imaging Utilities Upstream-Contact: Marco Schmidt Source: http://schmidt.devlib.org/jiu/ Comment: 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: © 2000-2007, Marco Schmidt License: GPL-2 Files: net/sourceforge/jiu/geometry/Resample.java Copyright: © 2001-2007, Marco Schmidt License: GPL-2 Comment: Algorithm attributed to other Delphi and C code; Java implementation contains headers from older code out of courtesy not necessity. Files: debian/* Copyright: © 2007-2009, 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/libjiu-java.dirs0000644000000000000000000000003511031277324012244 0ustar usr/share/java usr/share/doc debian/control0000644000000000000000000000251111744077437010606 0ustar Source: java-imaging-utilities Section: java Priority: optional Maintainer: Stuart Prescott Build-Depends: debhelper (>= 7.0.50~) Build-Depends-Indep: java-gcj-compat-dev, ant, texlive-base-bin, texlive-latex-recommended, texlive-latex-extra Standards-Version: 3.9.3 DM-Upload-Allowed: yes Package: libjiu-java Architecture: all Depends: ${misc:Depends} Suggests: libjiu-java-doc Description: library to load, analyze, process and save pixel images JIU, the Java Imaging Utilities, is a library which offers functionality to load, analyze, process and save pixel images. . It can handle a variety of different image formats (PBM, PNG, GIF, TIFF, PSD etc) and perform a number of sophisticated transformations to the images including color adjustments, analysis and image filtering. Package: libjiu-java-doc Architecture: all Section: doc Depends: default-jdk-doc, libjiu-java, ${misc:Depends} Description: API documentation for jiu java library for pixel images JIU, the Java Imaging Utilities, is a library which offers functionality to load, analyze, process and save pixel images. . This package contains the API documentation for the library. . See the package libjiu-java for further information. debian/rules0000755000000000000000000000175611570775311010266 0ustar #!/usr/bin/make -f # 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 %: dh $@ override_dh_auto_build: ant -DVERSION=$(VERSION) -Dbasedir=. -f debian/build.xml jar doc cd doc/manual ; \ pdflatex java-imaging-utilities-manual ; \ pdflatex java-imaging-utilities-manual override_dh_auto_clean: find . -name \*.jar -exec rm -f {} \; find . -name \*.class -exec rm -f {} \; rm -f doc/manual/*.aux doc/manual/*.log doc/manual/*.out doc/manual/*.pdf doc/manual/*.toc rm -rf api override_dh_installdocs: dh_installdocs --link-doc libjiu-java override_dh_link: dh_link -p libjiu-java usr/share/java/net.sourceforge.jiu-$(VERSION).jar usr/share/java/net.sourceforge.jiu.jar