--- doctorj-5.0.0.orig/bin/doctorj +++ doctorj-5.0.0/bin/doctorj @@ -21,6 +21,8 @@ CLASSPATH="${jarfile}" fi +export CLASSPATH + DRJ_PROPERTIES="-Ddoctorj.dir=$prefix/share/doctorj $DRJ_PROPERTIES" java $DRJ_PROPERTIES org.incava.doctorj.Main "$@" --- doctorj-5.0.0.orig/debian/postrm +++ doctorj-5.0.0/debian/postrm @@ -0,0 +1,38 @@ +#! /bin/sh +# postrm script for doctorj +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm 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 --- doctorj-5.0.0.orig/debian/dirs +++ doctorj-5.0.0/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 --- doctorj-5.0.0.orig/debian/changelog +++ doctorj-5.0.0/debian/changelog @@ -0,0 +1,190 @@ +doctorj (5.0.0-5) unstable; urgency=low + + * Change Java dependancies to default-jdk/java2-runtime to + remove kaffe (closes: #548814) + * Move DH_COMPAT from rules to debian/compat + * Increase debhelper build-dep to version 7 + * Added Homepage tag to control file/desription + * Bump Standards-Version to 3.8.3 + + -- Paul Cupis Sun, 27 Dec 2009 09:05:19 +0000 + +doctorj (5.0.0-4) unstable; urgency=low + + * Change Build-Dep from free-java-sdk to java-gcj-compat-dev + (closes: #401495) + + -- Paul Cupis Sun, 05 Aug 2007 13:21:31 +0100 + +doctorj (5.0.0-3) unstable; urgency=low + + * Package should have been arch:all since version 5 as it is + now a java program itself and so it platform-independant. + Update control file to reflect this. (closes: #355582) + * Bump Standards-Version to 3.7.2. + + -- Paul Cupis Mon, 12 Jun 2006 21:52:54 +0100 + +doctorj (5.0.0-2) unstable; urgency=low + + * Acknowledge NMU. + * Remove Conflict with sablevm as it seems to be overkill. + - doctorj and sablevm should be able to co-exist (closes: #268320) + * doctorj can now be built by sablevm, tested on i386 and alpha + (closes: #285462) + + -- Paul Cupis Sun, 27 Mar 2005 15:48:49 +0100 + +doctorj (5.0.0-1.1) unstable; urgency=low + + * NMU during BSP + * Depend on kaffe | gij | java-virtual-machine but Conflict against + sablevm... (closes: #268320) + * fix clean + + -- Rene Engelhard Sun, 28 Nov 2004 12:39:27 +0100 + +doctorj (5.0.0-1) unstable; urgency=low + + * New upstream release (closes: #262255) + * DoctorJ has been re-written in Java, so change build-dep to + free-java-sdk instead of using build-essential+flex+bison. + * Add "export CLASSPATH" to wrapper script. + + -- Paul Cupis Sun, 15 Aug 2004 18:02:30 +0100 + +doctorj (4.0.2-2) unstable; urgency=low + + * Fix FTBFS in syntj/src/ErrorImproperSequence.h (closes: #239505) + + -- Paul Cupis Sun, 28 Mar 2004 15:29:25 +0100 + +doctorj (4.0.2-1) unstable; urgency=low + + * New upstream version. + * Upstream reports that this release has fixed 64-bit support + (closes: #207172) + + -- Paul Cupis Sun, 31 Aug 2003 11:53:42 +0100 + +doctorj (4.0.1-2) unstable; urgency=low + + * And this time without uploading the CVS directories in the diff. + + -- Paul Cupis Wed, 20 Aug 2003 21:56:42 +0100 + +doctorj (4.0.1-1) unstable; urgency=low + + * New upstream release. + * Bump Standards-Version to 3.6.1 - no changes. + * Upstream manpage is clearer wrt. specifying multiple suppress + options in the config file (closes: #183437) + + -- Paul Cupis Wed, 20 Aug 2003 21:16:27 +0100 + +doctorj (4.0.0-1) unstable; urgency=low + + * New upstream release. + * Remove the --enable-debug option for configure - upstream seems + to have fixed the compile problems encountered with gcc 3.2. + + -- Paul Cupis Thu, 27 Feb 2003 20:20:21 +0000 + +doctorj (3.3.9-2) unstable; urgency=low + + * Rebuild for gcc 3.2 transition. + * Standards-Version: 3.5.8 (no changes) + * removed -n option from dh_installdocs - building and testing + against sid with gcc3.2 + * configure with --enable-debug, as current codebase does not + otherwise compile correctly with gcc3.2 otherwise - upstream + is aware of this + + -- Paul Cupis Sun, 2 Feb 2003 18:32:13 +0000 + +doctorj (3.3.9-1) unstable; urgency=low + + * New upstream release + * Standards-Version 3.5.7 + * debian/rules now turns on all compiler warnings, respects + 'noopt' in DEB_BUILD_OPTIONS, and creates code with debug + information in + * dh_installdocs uses -n for this release - debhelper in testing + still creates /usr/doc symlinks + * Don't set infodir in ./configure, don't run dh_installman + + -- Paul Cupis Sat, 16 Nov 2002 23:30:30 +0000 + +doctorj (3.3.7-2) unstable; urgency=low + + * Applied upstream patch to fix incorrect usage of unsigned 'char' + which prevented usage of doctorj on arm, powerpc, s390. + (closes: #160190) + + -- Paul Cupis Wed, 11 Sep 2002 23:45:22 +0100 + +doctorj (3.3.7-1) unstable; urgency=low + + * New upstream release + * This release has been tested by the upstream author on + multiple platforms, including Debian 3.0 on an alpha processor, + and so should now compile on alpha and ia64 (closes: #155736) + + -- Paul Cupis Sat, 7 Sep 2002 15:43:23 +0100 + +doctorj (3.3.6-1) unstable; urgency=low + + * New upstream release + * This release should include better cross-platform support + and may now build on ia64 (#155736) + * Upstream has added a TODO file, included in docs (#151483) + * Modified bc/src/BcClassfileReader.cpp + - added a suffix of LL to the hex values in this file + The values are 64-bit integers, add gcc 2.95 will not + compile the file without the LL specification. + Upstream is aware of this issue and should include a fix + in the next release. + + -- Paul Cupis Thu, 22 Aug 2002 18:26:15 +0100 + +doctorj (3.3.5-1) unstable; urgency=low + + * New upstream release + * Upstream says that this release fixes gcc3 build errors, and + that is has been tested with gcc 3.0.3 (closes: #151889) + + -- Paul Cupis Wed, 17 Jul 2002 17:47:37 +0100 + +doctorj (3.3.3-1) unstable; urgency=low + + * New upstream release + * This release should fix gcc3 build errors (closes: #151889) + + -- Paul Cupis Thu, 11 Jul 2002 19:31:28 +0100 + +doctorj (3.3.2-3) unstable; urgency=low + + * Moved to debhelper version 4 + * Do not include the unnecessary libraries in package (closes: #151403) + * Thanks to Adrian Bunk for manually closing bug #147302 + + -- Paul Cupis Sat, 29 Jun 2002 23:36:47 +0100 + +doctorj (3.3.2-2) unstable; urgency=low + + * Fixed build-dep's, removing automake1.4 and adding flex and bison. + + -- Paul Cupis Sat, 15 Jun 2002 15:45:06 +0100 + +doctorj (3.3.2-1) unstable; urgency=low + + * New upstream release. + + -- Paul Cupis Thu, 13 Jun 2002 20:05:34 +0100 + +doctorj (3.3.1-1) unstable; urgency=low + + * Initial Release. + + -- Paul Cupis Sun, 2 Jun 2002 20:33:42 +0100 + --- doctorj-5.0.0.orig/debian/rules +++ doctorj-5.0.0/debian/rules @@ -0,0 +1,68 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS += -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +build: build-stamp + +build-stamp: + dh_testdir + + # compile the package. + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + rm -rf classes lib + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_clean + dh_installdirs + + # Install the package into debian/doctorj. + $(MAKE) install prefix=$(CURDIR)/debian/doctorj/usr + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installcron + dh_installchangelogs ChangeLog + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# Nothing to do here. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- doctorj-5.0.0.orig/debian/preinst +++ doctorj-5.0.0/debian/preinst @@ -0,0 +1,44 @@ +#! /bin/sh +# preinst script for oooqs +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) +# if [ "$1" = "upgrade" ] +# then +# start-stop-daemon --stop --quiet --oknodo \ +# --pidfile /var/run/oooqs.pid \ +# --exec /usr/sbin/oooqs 2>/dev/null || true +# fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst 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 + + --- doctorj-5.0.0.orig/debian/docs +++ doctorj-5.0.0/debian/docs @@ -0,0 +1 @@ +AUTHORS --- doctorj-5.0.0.orig/debian/control +++ doctorj-5.0.0/debian/control @@ -0,0 +1,15 @@ +Source: doctorj +Section: devel +Priority: optional +Maintainer: Paul Cupis +Build-Depends: debhelper (>> 7.0.0), default-jdk +Standards-Version: 3.8.3 + +Package: doctorj +Architecture: all +Depends: ${shlibs:Depends}, java2-runtime +Description: A tool to analyze Java code + doctorj analyzes Java code, performing documentation verification, + statistics generation and syntax analysis. + . + Homepage: http://www.incava.org/projects/java/doctorj/index.html --- doctorj-5.0.0.orig/debian/copyright +++ doctorj-5.0.0/debian/copyright @@ -0,0 +1,14 @@ +This package was debianized by Paul Cupis on +Sun, 2 Jun 2002 20:33:42 +0100. + +It was downloaded from http://www.doctorj.org + +Upstream Author: Jeff Pace + +Copyright: + +You are free to distribute this software under the terms of the GNU +Lesser General Public License. + +On Debian systems, the complete text of the GNU Lesser General Public +License can be found in the file '/usr/share/common-licenses/LGPL'. --- doctorj-5.0.0.orig/debian/compat +++ doctorj-5.0.0/debian/compat @@ -0,0 +1 @@ +7 --- doctorj-5.0.0.orig/debian/postinst +++ doctorj-5.0.0/debian/postinst @@ -0,0 +1,48 @@ +#! /bin/sh +# postinst script for doctorj +# +# 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 +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +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 + + --- doctorj-5.0.0.orig/debian/prerm +++ doctorj-5.0.0/debian/prerm @@ -0,0 +1,39 @@ +#! /bin/sh +# prerm script for doctorj +# +# 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) +# install-info --quiet --remove /usr/info/doctorj.info.gz + ;; + 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 + +