--- libpixels-java-2.1.3+svn.42.orig/debian/compat
+++ libpixels-java-2.1.3+svn.42/debian/compat
@@ -0,0 +1 @@
+5
--- libpixels-java-2.1.3+svn.42.orig/debian/rules
+++ libpixels-java-2.1.3+svn.42/debian/rules
@@ -0,0 +1,57 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export JAVA_HOME=/usr/lib/jvm/java-gcj
+
+# Put depended upon jars in here
+# export CLASSPATH=
+
+build: build-arch-stamp build-indep-stamp
+build-arch: build-arch-stamp
+build-arch-stamp:
+ dh_testdir
+ touch $@
+
+build-indep: build-indep-stamp
+build-indep-stamp:
+ dh_testdir
+ jh_build pixels.jar src/main/java
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ jh_build --clean pixels.jar src/main/java
+ dh_clean build-stamp build-indep-stamp build-arch-stamp
+
+install-indep: build-indep
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+binary-arch: build-arch
+
+binary-indep: build-indep install-indep
+ # Create the package here
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_install -i
+ dh_installdocs -i
+ dh_installchangelogs -i
+ dh_javadoc -i --sourcedir=src/main/java com.jhlabs.composite \
+ com.jhlabs.image com.jhlabs.math com.jhlabs.vecmath
+ jh_installlibs -i pixels.jar
+ jh_depends -i
+ dh_compress -i
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+binary: binary-indep binary-arch
+.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install-indep
--- libpixels-java-2.1.3+svn.42.orig/debian/doc-base
+++ libpixels-java-2.1.3+svn.42/debian/doc-base
@@ -0,0 +1,9 @@
+Document: libpixels-java
+Title: API JavaDoc for libpixels-java
+Author: Jerry Huxtable
+Abstract: This the API JavaDoc provided by Jerry Huxtable for libpixels-java
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libpixels-java/api/
+Files: /usr/share/doc/libpixels-java/api/*.html
--- libpixels-java-2.1.3+svn.42.orig/debian/control
+++ libpixels-java-2.1.3+svn.42/debian/control
@@ -0,0 +1,30 @@
+Source: libpixels-java
+Section: java
+Priority: optional
+Maintainer: Martín Ferrari <tincho@debian.org>
+Build-Depends: debhelper (>> 5), javahelper
+Build-Depends-Indep: gcj-jdk, ant
+Standards-Version: 3.9.0.0
+Homepage: https://pixels.dev.java.net/
+Vcs-Browser: http://canterville.mine.nu/wsvn/debian/trunk/libpixels-java
+
+Package: libpixels-java
+Architecture: all
+Depends: ${java:Depends}, ${misc:Depends}
+Description: manipulation and filtering of images in Java
+ A large number of Java Image filters which are all standard Java
+ BufferedImageOps and can be plugged directly into existing programs.
+ .
+ Many of these filters are useful in applications such as games where images
+ need to be generated on the fly, or where it's quicker to generate them rather
+ than downloading them. For instance, it's quicker to download one image and
+ rotate it several times than to download several separate images.
+ .
+ Another use for the filters is in animation. For example animating the Water
+ Ripple filter can produce a nice rippling effect. Some of the filters have a
+ time parameter for this purpose.
+ .
+ All of the filters are designed to work with TYPE_INT_ARGB images.
+ .
+ More info and samples can be found in
+ http://www.jhlabs.com/ip/filters/index.html
--- libpixels-java-2.1.3+svn.42.orig/debian/copyright
+++ libpixels-java-2.1.3+svn.42/debian/copyright
@@ -0,0 +1,35 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Upstream-Author: Jerry Huxtable <jerry@jhlabs.com>
+Debianized-By: Martín Ferrari <tincho@debian.org>
+Debianized-Date: Thu, 24 Apr 2008 01:14:58 +0300.
+Original-Source-Location: https://pixels.dev.java.net/
+Original-Source-Command: uscan --force-download
+Original-Source-Depends: tar, gzip, devscripts, subversion
+
+Please note that the current zipfile provided by upstream lacks source, so the
+code is currently fetched from svn, use `uscan --force-download' to obtain it.
+
+Files: *
+Copyright: © 2006 Jerry Huxtable <jerry@jhlabs.com>
+License: Apache-2.0
+
+Files: debian/*
+Copyright: © 2008 Martín Ferrari <tincho@debian.org>
+License: Apache-2.0
+ Using the same license as upstream.
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the full text of the Apache License, Version 2.0 can be
+ found in the file `/usr/share/common-licenses/Apache-2.0'.
--- libpixels-java-2.1.3+svn.42.orig/debian/repack.sh
+++ libpixels-java-2.1.3+svn.42/debian/repack.sh
@@ -0,0 +1,45 @@
+#!/bin/sh
+# This script overwrites the (bogus) file downloaded by uscan. The upstream
+# author suggested currently to use only svn.
+# Should be called as "repack.sh --upstream-source <ver> <downloaded file>
+# (for example, via uscan)
+
+set -e
+set -u
+
+FILE=$3
+PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'`
+VER=$2
+#VER=`dpkg-parsechangelog|grep ^Version:|sed 's/^Version: //; s/+dfsg-[^-]\+$//'`
+
+printf "\nRepackaging $FILE\n"
+
+DIR=`mktemp -d ./tmpRepackXXXXXX`
+trap "rm -rf $DIR" QUIT INT EXIT
+
+mkdir $DIR/$PKG-$VER
+#unzip $FILE -d $DIR/$PKG-$VER
+
+REPACK=${PKG}_$VER.orig.tar.gz
+
+UP_DIR=$PKG-$VER
+
+(
+ set -e
+ set -u
+
+ cd $DIR
+ REPACK_DIR="$PKG-$VER.orig"
+
+ svn export --no-auth-cache --username guest --password "" \
+ https://pixels.dev.java.net/svn/pixels/trunk \
+ "$REPACK_DIR"
+ #mv $UP_DIR $REPACK_DIR
+ tar -c $REPACK_DIR | gzip -9 > $REPACK
+)
+
+#mv $DIR/$REPACK $FILE
+mv $DIR/$REPACK `dirname $FILE`
+rm $FILE
+
+echo "*** $FILE repackaged"
--- libpixels-java-2.1.3+svn.42.orig/debian/changelog
+++ libpixels-java-2.1.3+svn.42/debian/changelog
@@ -0,0 +1,22 @@
+libpixels-java (2.1.3+svn.42-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/copyright: fixed incorrect uscan invocation and dependency (should
+ be devscripts).
+ * debian/control: fixed Section (should be java); updated Standards-Version
+ to 3.9.0.0. Some changes related:
+ * debian/control: replaced java-gcj-compat-dev dependency with gcj-jdk.
+ Closes: #553573.
+ * debian/copyright: replaced full text of Apache license to a pointer to
+ /usr/share/common-licenses/Apache-2.0.
+
+ -- Martín Ferrari <tincho@debian.org> Tue, 29 Jun 2010 03:50:09 +0200
+
+libpixels-java (2.1.2+svn-1) unstable; urgency=low
+
+ * Initial release. (Closes: #411929)
+ * Source package is a repack from svn, as the distributed zipfile is
+ currently broken. Provided debian/repack.sh to automate the process.
+ debian/watch file provided but it needs manual tweaking.
+
+ -- Martín Ferrari <tincho@debian.org> Mon, 12 May 2008 16:40:55 -0300
--- libpixels-java-2.1.3+svn.42.orig/debian/watch
+++ libpixels-java-2.1.3+svn.42/debian/watch
@@ -0,0 +1,6 @@
+version=3
+# Dummy watch file as upstream doesn't provide version data.
+opts="uversionmangle=s/$/+svn/" \
+ https://pixels.dev.java.net/servlets/ProjectDocumentList \
+ .*/pixels-core-(\d.*?)(?:-SNAPSHOT)?-bin.zip \
+ debian debian/repack.sh