[bytecode] 02/09: Imported Debian patch 0.92.svn.20090106-2
Olivier Sallou
osallou at debian.org
Tue Jun 21 08:49:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
osallou pushed a commit to branch master
in repository bytecode.
commit 542a0abf9b4f4ee670fc7bd16a89cabeb5a7ab95
Author: Andreas Tille <tille at debian.org>
Date: Mon Mar 9 13:12:58 2009 +0100
Imported Debian patch 0.92.svn.20090106-2
---
debian/README.Debian | 23 ++++++++++++
debian/README.source | 9 +++++
debian/bytecode.3 | 14 +++++++
debian/changelog | 59 +++++++++++++++++++++++++++++
debian/compat | 1 +
debian/control | 26 +++++++++++++
debian/copyright | 51 +++++++++++++++++++++++++
debian/dirs | 1 +
debian/docs | 1 +
debian/libbytecode-java-doc.doc-base | 10 +++++
debian/patches/buildxml.patch | 22 +++++++++++
debian/patches/buildxml.tests.patch | 22 +++++++++++
debian/patches/junit.patch | 13 +++++++
debian/patches/series | 4 ++
debian/patches/set_default_java_target | 31 +++++++++++++++
debian/rules | 69 ++++++++++++++++++++++++++++++++++
16 files changed, 356 insertions(+)
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..a075e72
--- /dev/null
+++ b/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 <moeller at debian.org> Tue, 06 Jan 2009 00:50:37 +0100
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..7d3c0bf
--- /dev/null
+++ b/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 <moeller at debian.org> Sun, 14 Sep 2008 14:07:34 +0200
diff --git a/debian/bytecode.3 b/debian/bytecode.3
new file mode 100644
index 0000000..f259521
--- /dev/null
+++ b/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).
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..14dc15d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,59 @@
+bytecode (0.92.svn.20090106-2) UNRELEASED; urgency=low
+
+ * Use Homepage field instead of putting this information into
+ long description.
+ [ Team upload - O. Sallou ]
+ * d/compat, d/patches: Use compat 9 (Closes: #817385).
+
+ -- Andreas Tille <tille at debian.org> Mon, 09 Mar 2009 13:12:58 +0100
+
+bytecode (0.92.svn.20090106-1) unstable; urgency=low
+
+ * Updated copyright information (LGPL version 2.1).
+
+ -- Steffen Moeller <moeller at debian.org> 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 <moeller at debian.org> 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 <moeller at debian.org> 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 <moeller at debian.org> 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 <moeller at debian.org> 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 <steffen_moeller at gmx.de> Wed, 05 Sep 2007 01:13:07 +0200
+
+bytecode (0.92-1) unstable; urgency=low
+
+ * Initial release (Closes: #440816).
+
+ -- Steffen Moeller <moeller at debian.org> Sat, 29 Apr 2006 18:05:18 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d79b374
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: bytecode
+Section: devel
+Priority: optional
+Maintainer: Steffen Moeller <moeller at debian.org>
+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/
+Homepage: http://www.biojava.org
+
+Package: libbytecode-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, default-jre
+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.
+
+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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..52c6ffa
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,51 @@
+This package was debianized by Steffen Moeller <moeller at debian.org> 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 <biojava-l at biojava.org>
+
+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 <moeller at debian.org> 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'.
+
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..13c9f03
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/share/java
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..c5f9db6
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+opcodes.txt
diff --git a/debian/libbytecode-java-doc.doc-base b/debian/libbytecode-java-doc.doc-base
new file mode 100644
index 0000000..c85e125
--- /dev/null
+++ b/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
diff --git a/debian/patches/buildxml.patch b/debian/patches/buildxml.patch
new file mode 100644
index 0000000..093ff2f
--- /dev/null
+++ b/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 @@
+ <target name="init">
+ <tstamp />
+ <property name="name" value="bytecode" />
+- <property name="version" value="0.1" />
++ <property name="version" value="0.92" />
+
+ <property name="build.compiler" value="modern" />
+
+@@ -316,8 +316,10 @@
+ <mkdir dir="${dist.dir}/lib" />
+ <mkdir dir="${dist.dir}/docs" />
+
++ <!-- These files are not existing
+ <copyfile src="${readme}" dest="${dist.dir}" />
+ <copyfile src="${license}" dest="${dist.dir}" />
++ -->
+
+ <copyfile src="${build.dir}/${name}.jar" dest="${dist.dir}/lib/${name}.jar" />
+ <copydir src="${build.javadocs}" dest="${dist.dir}/docs" />
diff --git a/debian/patches/buildxml.tests.patch b/debian/patches/buildxml.tests.patch
new file mode 100644
index 0000000..62bdf0f
--- /dev/null
+++ b/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 @@
+ <property name="readme" value="./README" />
+ <property name="license" value="./LICENSE" />
+ <property name="src.dir" value="./src" />
+- <property name="tests.dir" value="./tests" />
++ <property name="tests.dir" value="./test" />
+ <property name="demos.dir" value="./demos" />
+ <property name="reports.dir" value="./reports" />
+ <property name="manifest.dir" value="./manifest" />
+@@ -310,7 +310,7 @@
+ </target>
+
+ <!-- Creates the distribution -->
+- <target name="dist" depends="init,package,runtests,javadocs">
++ <target name="dist" depends="init,package,javadocs">
+ <mkdir dir="${dist.root}" />
+ <mkdir dir="${dist.dir}" />
+ <mkdir dir="${dist.dir}/lib" />
diff --git a/debian/patches/junit.patch b/debian/patches/junit.patch
new file mode 100644
index 0000000..33b88c8
--- /dev/null
+++ b/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 @@
+ <property name="build.compiler" value="modern" />
+
+ <!-- We are bootstrapping some of the biojava exception handeling code -->
+- <property name="classpath" value="biojava.jar" />
++ <property name="classpath" value="biojava.jar:/usr/share/java/junit.jar" />
+
+ <!-- Save the current system classpath to pass to forked VMs -->
+ <property name="env.classpath" value="${java.class.path}" />
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3142d2e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,4 @@
+buildxml.patch -p0
+junit.patch
+buildxml.tests.patch
+set_default_java_target
diff --git a/debian/patches/set_default_java_target b/debian/patches/set_default_java_target
new file mode 100644
index 0000000..12bcd0a
--- /dev/null
+++ b/debian/patches/set_default_java_target
@@ -0,0 +1,31 @@
+Author: Olivier Sallou <osallou at debian.org>
+Subject: set target to Java 1.6
+Description: set minimal java version
+Last-Updated: 2016-06-20
+Forwarded: no
+--- a/build.xml
++++ b/build.xml
+@@ -166,6 +166,7 @@
+ deprecation="false"
+ depend="no"
+ debug="true"
++ source="1.6" target="1.6"
+ />
+ </target>
+
+@@ -175,6 +176,7 @@
+ srcdir="${build.src.tests}"
+ destdir="${build.dest.tests}"
+ deprecation="true"
++ source="1.6" target="1.6"
+ depend="yes">
+ <classpath>
+ <pathelement path="${classpath}" />
+@@ -189,6 +191,7 @@
+ srcdir="${build.src.demos}"
+ destdir="${build.dest.demos}"
+ deprecation="true"
++ source="1.6" target="1.6"
+ depend="yes">
+ <classpath>
+ <pathelement path="${classpath}" />
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..597b749
--- /dev/null
+++ b/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) 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/bytecode.git
More information about the pkg-java-commits
mailing list