--- ow-util-ant-tasks-1.3.orig/debian/patches/00list +++ ow-util-ant-tasks-1.3/debian/patches/00list @@ -0,0 +1,4 @@ +01_upstream_enhance_compile_target +02_upstream_correct_manifest_description +03_upstream_add_javadoc_target +04_DirectoryScannerHelper --- ow-util-ant-tasks-1.3.orig/debian/patches/01_upstream_enhance_compile_target.dpatch +++ ow-util-ant-tasks-1.3/debian/patches/01_upstream_enhance_compile_target.dpatch @@ -0,0 +1,24 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01-upstream_enhance_compile_target.dpatch by Barry Hawkins +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Add directives to enhance the degree of control over javac +## DP: behavior; helpful when building with free runtimes. + +@DPATCH@ + +diff -uNr ow-util-ant-tasks-1.3/build.xml build-01.xml +--- ow-util-ant-tasks-1.3/build.xml 2005-08-30 16:54:36.000000000 -0400 ++++ build-01.xml 2005-08-30 17:06:16.000000000 -0400 +@@ -11,7 +11,10 @@ + + ++ includes="${javac.includes}" ++ deprecation="${javac.deprecation}" ++ debug="${javac.debug}" ++ nowarn="${javac.nowarn}"/> + + + --- ow-util-ant-tasks-1.3.orig/debian/patches/02_upstream_correct_manifest_description.dpatch +++ ow-util-ant-tasks-1.3/debian/patches/02_upstream_correct_manifest_description.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_upstream_correct_manifest_description.dpatch by Barry Hawkins +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: The description of the manifest is grammatically quite off; +## DP: this patch corrects it. + +@DPATCH@ + +diff -uNr ow-util-ant-tasks-1.3/build.xml build-02.xml +--- ow-util-ant-tasks-1.3/build.xml 2005-06-02 08:55:28.000000000 -0400 ++++ build-02.xml 2005-08-26 14:31:08.000000000 -0400 +@@ -20,7 +20,7 @@ + + + +- ++ + + + --- ow-util-ant-tasks-1.3.orig/debian/patches/03_upstream_add_javadoc_target.dpatch +++ ow-util-ant-tasks-1.3/debian/patches/03_upstream_add_javadoc_target.dpatch @@ -0,0 +1,49 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 03_upstream_add_javadoc_target.dpatch by Barry Hawkins +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: The API Javadoc for this library is not being built by default; +## DP: this patch adds it to the build. + +@DPATCH@ + +diff -uNr ow-util-ant-tasks-1.3/build.xml build-03.xml +--- ow-util-ant-tasks-1.3/build.xml 2005-09-01 01:24:35.000000000 -0400 ++++ build-03.xml 2005-09-01 01:22:10.000000000 -0400 +@@ -6,6 +6,8 @@ + + + ++ ++ + + + +@@ -24,6 +26,20 @@ + + + ++ ++ ++ ++ ++ ++ ++
++ ++
++ ++
++
+ + + + + ++ + + --- ow-util-ant-tasks-1.3.orig/debian/patches/04_DirectoryScannerHelper.dpatch +++ ow-util-ant-tasks-1.3/debian/patches/04_DirectoryScannerHelper.dpatch @@ -0,0 +1,37 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_DirectoryScannerHelper.dpatch by Wolfgang Baer +## +## DP: Fixes a dump mistake introduced in upstream 1.3 - submitted upstream +## DP: watch out in new upstream releases if applied + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch ${2:+-d $2}}" + +if [ $# -lt 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ + +diff -u ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/DirectoryScannerHelper.java DirectoryScannerHelper.java +--- ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/DirectoryScannerHelper.java 2005-09-12 22:29:20.000000000 +0200 ++++ DirectoryScannerHelper.java 2005-09-12 22:21:34.000000000 +0200 +@@ -77,7 +77,7 @@ + * @return an array of String corresponding to selected directories + */ + public static String[] getSelectedDirectoriesAsString(DirectoryScanner ds, Project project) { +- return (String[]) getSelectedFiles(ds, project).toArray(new String[0]); ++ return (String[]) getSelectedDirectories(ds, project).toArray(new String[0]); + } + + } --- ow-util-ant-tasks-1.3.orig/debian/.cvsignore +++ ow-util-ant-tasks-1.3/debian/.cvsignore @@ -0,0 +1,6 @@ +files +libow-util-ant-tasks-java +libow-util-ant-tasks-java.postinst.debhelper +libow-util-ant-tasks-java.prerm.debhelper +patched +tmp --- ow-util-ant-tasks-1.3.orig/debian/README.Debian +++ ow-util-ant-tasks-1.3/debian/README.Debian @@ -0,0 +1,8 @@ +ow-util-ant-tasks for Debian +----------------------------- + +The source for this package was downloaded from http://forge.objectweb.org/project/download.php?group_id=41&file_id=4049 + +The original source file is ow_util_ant_tasks_1.3.zip, and it was repackaged as described in README.Debian-source. + + -- Barry Hawkins , Wed, 05 Sep 2005 19:14:43 -0400 --- ow-util-ant-tasks-1.3.orig/debian/README.Debian-source +++ ow-util-ant-tasks-1.3/debian/README.Debian-source @@ -0,0 +1,79 @@ +Repackaging of original source for ow-util-ant-tasks +----------------------------- + +The following steps were taken to repackage the original source +for this library: + +Downloaded ow_util_ant_tasks_1.3.zip from http://forge.objectweb.org/project/download.php?group_id=41&file_id=4049 + +$ md5sum --binary ow_util_ant_tasks_1.3.zip +cfd7fde4b3269f359a3445fb5f8afcad *ow_util_ant_tasks_1.3.zip + +$ unzip ow_util_ant_tasks_1.3.zip -d ow-util-ant-tasks-1.3 +Archive: ow_util_ant_tasks_1.3.zip + creating: ow-util-ant-tasks-1.3/externals/ + creating: ow-util-ant-tasks-1.3/output/ + creating: ow-util-ant-tasks-1.3/output/build/ + creating: ow-util-ant-tasks-1.3/output/build/org/ + creating: ow-util-ant-tasks-1.3/output/build/org/objectweb/ + creating: ow-util-ant-tasks-1.3/output/build/org/objectweb/util/ + creating: ow-util-ant-tasks-1.3/output/build/org/objectweb/util/ant/ + creating: ow-util-ant-tasks-1.3/output/lib/ + creating: ow-util-ant-tasks-1.3/src/ + creating: ow-util-ant-tasks-1.3/src/org/ + creating: ow-util-ant-tasks-1.3/src/org/objectweb/ + creating: ow-util-ant-tasks-1.3/src/org/objectweb/util/ + creating: ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/ + inflating: ow-util-ant-tasks-1.3/.classpath + inflating: ow-util-ant-tasks-1.3/.project + inflating: ow-util-ant-tasks-1.3/build.xml + inflating: ow-util-ant-tasks-1.3/externals/ant.jar + inflating: ow-util-ant-tasks-1.3/output/build/org/objectweb/util/ant/DirectoryScannerHelper.class + inflating: ow-util-ant-tasks-1.3/output/build/org/objectweb/util/ant/Jar2packageList.class + inflating: ow-util-ant-tasks-1.3/output/build/org/objectweb/util/ant/JavadocMultipleLink$FileFilter.class + inflating: ow-util-ant-tasks-1.3/output/build/org/objectweb/util/ant/JavadocMultipleLink.class + inflating: ow-util-ant-tasks-1.3/output/build/org/objectweb/util/ant/Ls.class + inflating: ow-util-ant-tasks-1.3/output/build/org/objectweb/util/ant/MultipleAnt.class + inflating: ow-util-ant-tasks-1.3/output/build/org/objectweb/util/ant/MultipleCopy.class + inflating: ow-util-ant-tasks-1.3/output/build/org/objectweb/util/ant/TokenizedAntCall.class + inflating: ow-util-ant-tasks-1.3/output/build/org/objectweb/util/ant/Xalan2Liaison.class + inflating: ow-util-ant-tasks-1.3/output/build/org/objectweb/util/ant/Zip$MyZipFileSet.class + inflating: ow-util-ant-tasks-1.3/output/build/org/objectweb/util/ant/Zip$ZipGroup$ZipEntries.class + inflating: ow-util-ant-tasks-1.3/output/build/org/objectweb/util/ant/Zip$ZipGroup.class + inflating: ow-util-ant-tasks-1.3/output/build/org/objectweb/util/ant/Zip.class + inflating: ow-util-ant-tasks-1.3/output/lib/ow_util_ant_tasks.jar + inflating: ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/DirectoryScannerHelper.java + inflating: ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/Jar2packageList.java + inflating: ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/JavadocMultipleLink.java + inflating: ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/Ls.java + inflating: ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/MultipleAnt.java + inflating: ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/MultipleCopy.java + inflating: ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/TokenizedAntCall.java + inflating: ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/Xalan2Liaison.java + inflating: ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/Zip.java +$ rm ow-util-ant-tasks-1.3/.classpath +$ rm ow-util-ant-tasks-1.3/.project +$ rm -rf ow-util-ant-tasks-1.3/externals +$ rm -rf ow-util-ant-tasks-1.3/output +$ tar czvf ow-util-ant-tasks_1.3.orig.tar.gz ow-util-ant-tasks-1.3 +ow-util-ant-tasks-1.3/ +ow-util-ant-tasks-1.3/src/ +ow-util-ant-tasks-1.3/src/org/ +ow-util-ant-tasks-1.3/src/org/objectweb/ +ow-util-ant-tasks-1.3/src/org/objectweb/util/ +ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/ +ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/DirectoryScannerHelper.java +ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/Jar2packageList.java +ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/JavadocMultipleLink.java +ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/Ls.java +ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/MultipleAnt.java +ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/MultipleCopy.java +ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/TokenizedAntCall.java +ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/Xalan2Liaison.java +ow-util-ant-tasks-1.3/src/org/objectweb/util/ant/Zip.java +ow-util-ant-tasks-1.3/build.xml + +$ md5sum --binary ow-util-ant-tasks_1.3.orig.tar.gz +1ff171069446d4c24da62e747fbe9c78 *ow-util-ant-tasks_1.3.orig.tar.gz + + -- Barry Hawkins , Mon, 05 Sep 2005 19:14:43 -0400 --- ow-util-ant-tasks-1.3.orig/debian/ant.properties +++ ow-util-ant-tasks-1.3/debian/ant.properties @@ -0,0 +1,14 @@ + +# Directory that needs to contain ant.jar +# for the Ant tasks to compile +prj.externals=/usr/share/ant/lib + +# Compiler selection +build.compiler=jikes + +# javac settings used in compilation +javac.debug=on +javac.deprecation=on +javac.includes=org/**/*.java +javac.nowarn=off +javac.verbose=yes --- ow-util-ant-tasks-1.3.orig/debian/changelog +++ ow-util-ant-tasks-1.3/debian/changelog @@ -0,0 +1,16 @@ +ow-util-ant-tasks (1.3-2) unstable; urgency=low + + * Added patch from Wolfgang Baer to fix an error introduced upstream + to permit build of asm (submitted upstream) + * Fixed kaffe version in depends (added epoch) + * Removed java-compiler build-dep alternative to kaffe - we rely on kaffe + * Fixed description to make linda happy + + -- Barry Hawkins Mon, 12 Sep 2005 22:43:43 +0200 + +ow-util-ant-tasks (1.3-1) unstable; urgency=low + + * Initial release Closes: #325036 + * Upload sponsored by Petter Reinholdtsen + + -- Barry Hawkins Tue, 06 Sep 2005 01:41:07 -0400 --- ow-util-ant-tasks-1.3.orig/debian/compat +++ ow-util-ant-tasks-1.3/debian/compat @@ -0,0 +1 @@ +4 --- ow-util-ant-tasks-1.3.orig/debian/control +++ ow-util-ant-tasks-1.3/debian/control @@ -0,0 +1,16 @@ +Source: ow-util-ant-tasks +Section: libdevel +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Barry Hawkins +Build-Depends: debhelper (>= 4.0.0), dpatch (>= 2.0.14), kaffe (>= 2:1.1.5-3), ant (>= 1.6.5-1), junit, libxalan2-java +Standards-Version: 3.6.2.1 + +Package: libow-util-ant-tasks-java +Architecture: any +Depends: ant (>= 1.6.5-1), kaffe (>= 2:1.1.5-3) | java-runtime +Description: ObjectWeb utility Ant tasks library + This library is used in the build process of several key frameworks + developed by ObjectWeb, among them the ObjectWeb ASM bytecode manipulation + framework, which is a dependency for several key packages within the + Debian Java Packaging project. --- ow-util-ant-tasks-1.3.orig/debian/copyright +++ ow-util-ant-tasks-1.3/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Barry Hawkins on +Tue, 06 Sep 2005 01:41:07 -0400. + +It was downloaded from http://forge.objectweb.org/project/showfiles.php?group_id=41 + +Copyright Holder: France Telecom Research and Development + Sébastien Chassande-Barrioz + +License: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. --- ow-util-ant-tasks-1.3.orig/debian/libow-util-ant-tasks-java.dirs +++ ow-util-ant-tasks-1.3/debian/libow-util-ant-tasks-java.dirs @@ -0,0 +1,2 @@ +usr/share/java +usr/share/doc/libow-util-ant-tasks-java --- ow-util-ant-tasks-1.3.orig/debian/libow-util-ant-tasks-java.doc-base +++ ow-util-ant-tasks-1.3/debian/libow-util-ant-tasks-java.doc-base @@ -0,0 +1,10 @@ +Document: libow-util-ant-tasks-java +Title: API Javadoc for ObjectWeb Utility Ant Tasks Library +Author: ObjectWeb Monolog Project Team +Abstract: This is the API Javadoc for the ObjectWeb utility + Ant tasks library. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libow-util-ant-tasks-java/api/index.html +Files: /usr/share/doc/libow-util-ant-tasks-java/api/*.html --- ow-util-ant-tasks-1.3.orig/debian/libow-util-ant-tasks-java.docs +++ ow-util-ant-tasks-1.3/debian/libow-util-ant-tasks-java.docs @@ -0,0 +1 @@ +debian/README.Debian-source --- ow-util-ant-tasks-1.3.orig/debian/rules +++ ow-util-ant-tasks-1.3/debian/rules @@ -0,0 +1,90 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# debian/rules for ow-util-ant-tasks + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +# Set a locale; currently using default +export LANG=C + +# Include to enable dpatch +include /usr/share/dpatch/dpatch.make + +TEMPDIR=debian/libow-util-ant-tasks-java + +# Set JAVA_HOME to be used for Java commands +JAVA_HOME=/usr/lib/kaffe + +# Set the invocation of the java command; +JAVACMD=$(JAVA_HOME)/bin/java + +# Class path: Ant requires and JAXP-compatible XML parser +# You need to set CLASSPATH here (even if your build.xml assembles its own +# class path) to ensure the same build results in all cases +JAVA_LIB=/usr/share/java +ANT_HOME=/usr/share/ant +ANT_CLASSPATH=$(JAVA_LIB)/gnujaxp.jar:$(ANT_HOME)/lib/ant.jar:$(ANT_HOME)/lib/ant-launcher.jar:$(ANT_HOME)/lib/ant-junit.jar:$(JAVA_LIB)/junit.jar:$(JAVA_LIB)/xalan2.jar + +# Set path to Ant properties file +ANT_PROPS=debian/ant.properties + +# Universal Ant invocation for reliable builds; +# place '-verbose' before -propertyfile to +# obtain detailed build output. +ANT=$(JAVACMD) -classpath $(ANT_CLASSPATH) \ + org.apache.tools.ant.Main -verbose -propertyfile $(ANT_PROPS) + +build: build-stamp + +build-stamp: patch-stamp + dh_testdir + $(ANT) jar + $(ANT) javadoc + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + $(ANT) clean + rm -rf output + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + mkdir -p $(TEMPDIR)/usr/share/java + mkdir -p $(TEMPDIR)/usr/share/doc/libow-util-ant-tasks-java + + install -m 644 output/lib/ow_util_ant_tasks.jar \ + $(TEMPDIR)/usr/share/java + mv output/docs/api $(TEMPDIR)/usr/share/doc/libow-util-ant-tasks-java + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- ow-util-ant-tasks-1.3.orig/debian/libow-util-ant-tasks-java.postinst +++ ow-util-ant-tasks-1.3/debian/libow-util-ant-tasks-java.postinst @@ -0,0 +1,40 @@ +#! /bin/sh +# postinst script for libowanttasks-java +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# + +case "$1" in + configure) + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- ow-util-ant-tasks-1.3.orig/debian/libow-util-ant-tasks-java.prerm +++ ow-util-ant-tasks-1.3/debian/libow-util-ant-tasks-java.prerm @@ -0,0 +1,36 @@ +#! /bin/sh +# prerm script for libowanttasks-java +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- ow-util-ant-tasks-1.3.orig/.cvsignore +++ ow-util-ant-tasks-1.3/.cvsignore @@ -0,0 +1,6 @@ +api +src +patch-stamp +output +build.xml +build-stamp