--- bytecode-0.92.svn.20090106.orig/debian/rules +++ bytecode-0.92.svn.20090106/debian/rules @@ -0,0 +1,69 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +MAKE=ant + +include /usr/share/quilt/quilt.make + +build: patch build-stamp + +build-stamp: + dh_testdir + if [ ! -d demos ]; then mkdir demos; fi + if [ ! -d resources ]; then mkdir resources; fi + $(MAKE) -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 dist + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + -$(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/bytecode. + cp dist/bytecode*/lib/bytecode*.jar $(CURDIR)/debian/libbytecode-java/usr/share/java/ + [ -d $(CURDIR)/debian/libbytecode-java-doc/usr/share/doc/libbytecode-java-doc/api ] || mkdir -p $(CURDIR)/debian/libbytecode-java-doc/usr/share/doc/libbytecode-java-doc/api + cp -r dist/bytecode-*/docs/* $(CURDIR)/debian/libbytecode-java-doc/usr/share/doc/libbytecode-java-doc/api + +# Build architecture-dependent files here. +binary-arch: +# We have nothing to do by default. + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installman debian/bytecode.3 + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +get-orig-source: + version=0.92 ; \ + today=`date +"%Y%m%d" | tr -d '\n'` ; \ + cd .. ; svn export svn://code.open-bio.org/biojava/bytecode/trunk bytecode-$$version.svn.$$today && GZIP=-9 tar czf bytecode_$$version.svn.$$today.orig.tar.gz bytecode-$$version.svn.$$today + +binary: binary-indep +.PHONY: build clean binary-indep binary-arch binary install configure get-orig-source --- bytecode-0.92.svn.20090106.orig/debian/control +++ bytecode-0.92.svn.20090106/debian/control @@ -0,0 +1,31 @@ +Source: bytecode +Section: devel +Priority: optional +Maintainer: Steffen Moeller +Build-Depends: debhelper (>= 4.0.0), default-jdk, quilt, junit, ant +Standards-Version: 3.8.0 +XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-escience/bytecode/trunk/ +XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-escience/bytecode/ + +Package: libbytecode-java +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, default-jre | java2-runtime +Description: Java bytecode manipulation library + The library presents itself as a collection of routines to manipulate Java + bytecode. It allows for the dynamic creation of Java class files without + using of Javac. Such tailored code can be used, i.e. as for the upstream's + motivation of the BioJava developers, to generate implementations of + Hidden Markov Models. It thus acts much like inline assembly for Java. + . + http://www.biojava.org + +Package: libbytecode-java-doc +Architecture: all +Suggests: lynx|www-browser +Section: doc +Description: Documentation for the API of the Java bytecode library + Javadoc-generated description of the bytecode API in HTML. + . + http://www.biojava.org + + --- bytecode-0.92.svn.20090106.orig/debian/libbytecode-java-doc.doc-base +++ bytecode-0.92.svn.20090106/debian/libbytecode-java-doc.doc-base @@ -0,0 +1,10 @@ +Document: bytecode +Title: API of Java bytecode library +Author: BioJava Developers +Abstract: The API to the bytecode library + HTML files generated by the Javadoc utility. +Section: Programming/Java + +Format: HTML +Index: /usr/share/doc/libbytecode-java-doc/api/index.html +Files: /usr/share/doc/libbytecode-java-doc/api/*.html /usr/share/doc/libbytecode-java-doc/api/org/biojava/utils/bytecode/*.html /usr/share/doc/libbytecode-java-doc/api/org/biojava/utils/bytecode/class-use/*.html --- bytecode-0.92.svn.20090106.orig/debian/README.source +++ bytecode-0.92.svn.20090106/debian/README.source @@ -0,0 +1,9 @@ +The .jar files distributed as binaries were outdated when last tried +and did not allow the compilation of biojava. Consequently, the latest +version on the scm system was used, instead. + +Upstream has since moved from CVS to SVN. The get-orig-source target +of the Makefile will perform the preparation of a .orig.tar.gz +file with a current date specification in as a version number. + + -- Steffen Moeller Sun, 14 Sep 2008 14:07:34 +0200 --- bytecode-0.92.svn.20090106.orig/debian/bytecode.3 +++ bytecode-0.92.svn.20090106/debian/bytecode.3 @@ -0,0 +1,14 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH BYTECODE 3 "April 29, 2006" +.SH NAME +bytecode \- java library for the editing of the language's bytecode +.SH DESCRIPTION +A Java object-model for a Java Bytecode Macro-Assembler. +BioJava requests and distributes it. +.SH SEE ALSO +.BR http://www.biojava.org +.BR /usr/share/doc/libbytecode-java/ +.SH AUTHOR +bytecode was written by the developers of BioJava. +This manual page was written +for the Debian project (but may be used by others). --- bytecode-0.92.svn.20090106.orig/debian/changelog +++ bytecode-0.92.svn.20090106/debian/changelog @@ -0,0 +1,63 @@ +bytecode (0.92.svn.20090106-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix "Transition package to default java implementation" + Transition package to default java implementation: + - d/control: BD on default-java only, switch runtime dependency + to default-jre | java6-runtime. + - d/rules: Set source/target = 1.5 to ensure bytecode is backwards + compatible. + (Closes: #683519) + + -- gregor herrmann Tue, 21 May 2013 21:21:08 +0200 + +bytecode (0.92.svn.20090106-1) unstable; urgency=low + + * Updated copyright information (LGPL version 2.1). + + -- Steffen Moeller Tue, 06 Jan 2009 00:39:15 +0100 + +bytecode (0.92.svn.20090101-1) UNRELEASED; urgency=low + + * Now building with openjdk, just like BioJava. + + -- Steffen Moeller Thu, 01 Jan 2009 23:01:35 +0100 + +bytecode (0.92.svn.20080915-1) unstable; urgency=low + + * Now truly becoming a regular (non-native) package + * Almost lintian-clean + + -- Steffen Moeller Mon, 15 Sep 2008 09:52:25 +0200 + +bytecode (0.92.svn.20080914) unstable; urgency=low + + * fixed missing build dependency to ant (Closes: #498584) + * Updating to latest upstream source + * Correcting erroneous specification as native package + * Added get-orig-source target to debian/rules + * Many thanks got to Onkar Shinde for reporting these issues + and for preparing a smooth transition to Ubuntu. + + -- Steffen Moeller Sun, 14 Sep 2008 12:43:03 +0200 + +bytecode (0.92.cvs.20070925) unstable; urgency=low + + * Moving to CVS snapshot because of "forMethod" + method missing in distributed .tar.gz. + + -- Steffen Moeller Tue, 25 Sep 2007 13:59:57 +0200 + +bytecode (0.92-2) unstable; urgency=low + + * Improved description of package. + * The API is now contained in separate subfolder. + + -- Steffen Moeller Wed, 05 Sep 2007 01:13:07 +0200 + +bytecode (0.92-1) unstable; urgency=low + + * Initial release (Closes: #440816). + + -- Steffen Moeller Sat, 29 Apr 2006 18:05:18 +0200 + --- bytecode-0.92.svn.20090106.orig/debian/compat +++ bytecode-0.92.svn.20090106/debian/compat @@ -0,0 +1 @@ +4 --- bytecode-0.92.svn.20090106.orig/debian/dirs +++ bytecode-0.92.svn.20090106/debian/dirs @@ -0,0 +1 @@ +usr/share/java --- bytecode-0.92.svn.20090106.orig/debian/README.Debian +++ bytecode-0.92.svn.20090106/debian/README.Debian @@ -0,0 +1,23 @@ +bytecode for Debian +------------------- + +The packaging of bytecode was required to fulfill the demands +of the BioJava package, which uses it for instance for the +implementation of the Hidden Markov Models. Feedback on how to +improve the bytecode package further is much appreciated. + +The distributed .tar.gz of bytecode was not found to be incompatible +with BioJava since the method "forMethod" was lacking. This +distribution hence falls back to the CVS snapshot and later to +this SVN snapshot. + +For this reason, I also had to remove the debian/watch file. +It may work in a future version again: + + version=3 + http://www.biojava.org/download/source/bytecode-(.+)\.tar\.gz + +Many thanks are sent to Richard Holland and Matthew Pocock to have +reacted so swiftly in adding license statements into the source code. + + -- Steffen Moeller Tue, 06 Jan 2009 00:50:37 +0100 --- bytecode-0.92.svn.20090106.orig/debian/copyright +++ bytecode-0.92.svn.20090106/debian/copyright @@ -0,0 +1,51 @@ +This package was debianized by Steffen Moeller on +Sat, 29 Apr 2006 18:05:18 +0200. + +It was downloaded from http://www.biojava.org/download/source/ + +Copyright: 1999-2008 Matthew Pocock and Thomas Down + +License: + +The source files are headed by this paragraph: + + /* + * BioJava development code + * + * This code may be freely distributed and modified under the + * terms of the GNU Lesser General Public Licence. This should + * be distributed with the code. If you do not have a copy, + * see: + * + * http://www.gnu.org/copyleft/lesser.html + * + * Copyright for this code is held jointly by the individual + * authors. These should be listed in @author doc comments. + * + * For more information on the BioJava project and its aims, + * or to join the biojava-l mailing list, visit the home page + * at: + * + * http://www.biojava.org/ + * + */ + +No version of the LGPL is specified in that paragraph. At the +moment this Debian package was prepared, the website +http://biojava.org/wiki/BioJava:License indicates version 2.1 +of the LGPL. The Debian packaging work performed by Steffen +Moelle shall be put under the same license +as the version of BioJava that is being packaged. + +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'. + --- bytecode-0.92.svn.20090106.orig/debian/docs +++ bytecode-0.92.svn.20090106/debian/docs @@ -0,0 +1 @@ +opcodes.txt --- bytecode-0.92.svn.20090106.orig/debian/patches/junit.patch +++ bytecode-0.92.svn.20090106/debian/patches/junit.patch @@ -0,0 +1,13 @@ +Index: bytecode-0.92.cvs.20070925/build.xml +=================================================================== +--- bytecode-0.92.cvs.20070925.orig/build.xml 2007-09-25 15:04:55.015388293 +0200 ++++ bytecode-0.92.cvs.20070925/build.xml 2007-09-25 15:05:12.115589321 +0200 +@@ -42,7 +42,7 @@ + + + +- ++ + + + --- bytecode-0.92.svn.20090106.orig/debian/patches/buildxml.patch +++ bytecode-0.92.svn.20090106/debian/patches/buildxml.patch @@ -0,0 +1,22 @@ +--- build.xml 2003-07-07 17:55:08.000000000 +0200 ++++ build.xml 2007-09-04 15:19:31.000000000 +0200 +@@ -37,7 +37,7 @@ + + + +- ++ + + + +@@ -316,8 +316,10 @@ + + + ++ + + + --- bytecode-0.92.svn.20090106.orig/debian/patches/series +++ bytecode-0.92.svn.20090106/debian/patches/series @@ -0,0 +1,3 @@ +buildxml.patch -p0 +junit.patch +buildxml.tests.patch --- bytecode-0.92.svn.20090106.orig/debian/patches/buildxml.tests.patch +++ bytecode-0.92.svn.20090106/debian/patches/buildxml.tests.patch @@ -0,0 +1,22 @@ +Index: bytecode-0.92.svn.20080914/build.xml +=================================================================== +--- bytecode-0.92.svn.20080914.orig/build.xml 2008-09-14 13:40:49.000000000 +0200 ++++ bytecode-0.92.svn.20080914/build.xml 2008-09-14 13:47:25.000000000 +0200 +@@ -65,7 +65,7 @@ + + + +- ++ + + + +@@ -310,7 +310,7 @@ + + + +- ++ + + +