--- jamvm-1.4.1.orig/debian/jamvm.postinst +++ jamvm-1.4.1/debian/jamvm.postinst @@ -0,0 +1,13 @@ +#!/bin/sh -e + +case "$1" in + configure) + update-alternatives \ + --install /usr/bin/java java /usr/bin/jamvm 10 \ + --slave /usr/share/man/man1/java.1.gz java.1.gz \ + /usr/share/man/man1/jamvm.1.gz + ;; +esac + +#DEBHELPER# + --- jamvm-1.4.1.orig/debian/changelog +++ jamvm-1.4.1/debian/changelog @@ -0,0 +1,130 @@ +jamvm (1.4.1-1) unstable; urgency=low + + * New upstream release + - Removed debian/patches/jamvm-1.3.3-powerpc.patch. Applied upstream. + * Enabled build for kfreebsd-i386 (Closes: #336954). + + -- Michael Koch Thu, 29 Dec 2005 15:48:27 +0000 + +jamvm (1.3.3-2) unstable; urgency=low + + * Build-Depends on libffi4-dev for amd64 (closes: #328416). + * Added debian/patches/jamvm-1.3.3-powerpc.patch to fix. + build failure on powerpc. + + -- Michael Koch Sat, 17 Sep 2005 07:15:25 +0000 + +jamvm (1.3.3-1) unstable; urgency=low + + * New upstream release + - added amd64 architecture + - removed debian/patches/jamvm-classpath-0.18.patch + * Fixed watch file + * Upload sponsored by Petter Reinholdtsen. + + -- Michael Koch Tue, 13 Sep 2005 22:33:53 +0000 + +jamvm (1.3.2-2) unstable; urgency=low + + * Added debian/patches/jamvm-classpath-0.18.patch to work with + GNU classpath 0.18 and higher. Thanks to Mark Wielaard. + * Build-Depends and Depends on classpath >= 2:0.18. + * Upload sponsored by Petter Reinholdtsen. + + -- Michael Koch Tue, 6 Sep 2005 14:46:58 +0000 + +jamvm (1.3.2-1) unstable; urgency=low + + * New upstream release + * (Build)-Depends on classpath 0.17 or higher + * Updated Standards-Version to 3.6.2 + * Fixed address of FSF in debian/copyright + + -- Michael Koch Tue, 30 Aug 2005 08:05:51 +0000 + +jamvm (1.3.0-1) unstable; urgency=low + + * New upstream release + + -- Michael Koch Sat, 2 Apr 2005 12:07:01 +0000 + +jamvm (1.2.5-1) unstable; urgency=low + + * New upstream release + * Removed patches applied upstream: + - debian/patches/jni.patch + - debian/patches/shutdown-hooks.patch + * Updated classpath Depends to use >= 2:0.14 + + -- Michael Koch Wed, 2 Mar 2005 11:58:49 +0000 + +jamvm (1.2.3-3) unstable; urgency=low + + * Added zip dependency to Build-Depends + * Added myself as an uploader with acknowledgment of Michael Koch + + -- Arnaud Vandyck Wed, 12 Jan 2005 10:08:50 +0100 + +jamvm (1.2.3-2) unstable; urgency=low + + * Added jikes and classpath-common to Build-Depends + * Added patch to fix invocation of virtual methods from JNI + + -- Michael Koch Mon, 10 Jan 2005 12:07:16 +0000 + +jamvm (1.2.3-1) unstable; urgency=low + + * New upstream release + * Depend on GNU classpath 0.13 or newer + + -- Michael Koch Sat, 8 Jan 2005 18:37:15 +0000 + +jamvm (1.2.0-3) unstable; urgency=low + + * Added hurd-i386 to Architecture field in debian/control + + -- Michael Koch Mon, 22 Nov 2004 13:47:40 +0000 + +jamvm (1.2.0-2) unstable; urgency=low + + * Build-Depend on zlib1g-dev + + -- Michael Koch Fri, 10 Sep 2004 07:32:30 +0000 + +jamvm (1.2.0-1) unstable; urgency=low + + * New upstream release + * debian/watch: New file + * debian/patches/debian-jni.patch: Updated + * Depend on classpath-common instead of classpath-common-unzipped + * Depend on classpath >= 0.10 tha have working GNU EmbeddedWindow extension + + -- Michael Koch Thu, 9 Sep 2004 15:59:06 +0000 + +jamvm (1.1.4-4) unstable; urgency=low + + * According to debian-java discussion, jamvm does not provide + java2-runtime. + + -- Michael Koch Tue, 27 Jul 2004 22:47:52 +0200 + +jamvm (1.1.4-3) unstable; urgency=low + + * Fixed java alternative (Closes 259394) + Thanks to Roland Mas for reporting again + + -- Michael Koch Thu, 15 Jul 2004 20:25:04 +0200 + +jamvm (1.1.4-2) unstable; urgency=low + + * Fixed typo in jamvm manpage + * Added java alternative for jamvm (Closes: #259394) + + -- Michael Koch Thu, 15 Jul 2004 12:29:05 +0200 + +jamvm (1.1.4-1) unstable; urgency=low + + * Initial Release (Closes: #249623) + + -- Michael Koch Wed, 30 Jun 2004 10:21:16 +0200 + --- jamvm-1.4.1.orig/debian/control +++ jamvm-1.4.1/debian/control @@ -0,0 +1,20 @@ +Source: jamvm +Section: interpreters +Priority: optional +Maintainer: Michael Koch +Uploaders: Arnaud Vandyck +Build-Depends: debhelper (>= 4.0.0), cdbs, zlib1g-dev, jikes, zip, classpath-common (>= 2:0.18), libffi4-dev [amd64] +Standards-Version: 3.6.2 + +Package: jamvm +Architecture: amd64 arm hurd-i386 i386 kfreebsd-i386 powerpc +Depends: ${shlibs:Depends}, java-common, classpath (>= 2:0.18), classpath-common (>= 2:0.18) +Provides: java-virtual-machine, java1-runtime +Description: virtual machine which conforms to JVM specification 2 + JamVM is a new Java Virtual Machine which conforms to the JVM + specification version 2 (blue book). In comparison to most other + VM's (free and commercial) it is extremely small, with a stripped + executable on PowerPC of only ~110K, and Intel 80K. However, unlike + other small VMs (e.g. KVM) it is designed to support the full + specification, and includes support for object finalisation, the + Java Native Interface (JNI) and the Reflection API. --- jamvm-1.4.1.orig/debian/rules +++ jamvm-1.4.1/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2004 Michael Koch + +DEB_BUILD_GNU_TYPE = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) + +# i386 is not supported +ifneq (,$(findstring $(DEB_BUILD_GNU_CPU),i386)) +DEB_BUILD_GNU_TYPE=i486-gnu-linux +endif +ifneq (,$(findstring $(DEB_HOST_GNU_CPU),i386)) +DEB_HOST_GNU_TYPE=i486-gnu-linux +endif + +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +# Clean classes.zip. +clean:: + rm -f $(CURDIR)/lib/classes.zip + +# We dont wanna provide jni.h. +install/jamvm:: + rm -f $(CURDIR)/debian/tmp/usr/include/jni.h + +DEB_CONFIGURE_EXTRA_FLAGS := \ + --with-classpath-install-dir=/usr + +DEB_DESTDIR := "$(CURDIR)/debian/tmp" +DEB_DH_INSTALL_ARGS := --sourcedir=debian/tmp --fail-missing + --- jamvm-1.4.1.orig/debian/jamvm.prerm +++ jamvm-1.4.1/debian/jamvm.prerm @@ -0,0 +1,9 @@ +#!/bin/sh -e + +case "$1" in + upgrade | remove) + update-alternatives --remove javac /usr/bin/jamvm + ;; +esac + +#DEBHELPER# --- jamvm-1.4.1.orig/debian/compat +++ jamvm-1.4.1/debian/compat @@ -0,0 +1 @@ +4 --- jamvm-1.4.1.orig/debian/jamvm.manpages +++ jamvm-1.4.1/debian/jamvm.manpages @@ -0,0 +1 @@ +debian/jamvm.1 --- jamvm-1.4.1.orig/debian/patches/debian-jni.patch +++ jamvm-1.4.1/debian/patches/debian-jni.patch @@ -0,0 +1,19 @@ +--- src/dll.c.orig 2004-09-09 15:48:45.000000000 +0000 ++++ src/dll.c 2004-09-09 15:50:32.000000000 +0000 +@@ -189,6 +189,16 @@ + #ifndef NO_JNI + /* Init hash table, and create lock */ + initHashTable(hash_table, HASHTABSZE, TRUE); ++ ++ /* XXX: Add Debian JNI directory. */ ++ char* path = getenv("LTDL_LIBRARY_PATH"); ++ ++ if (path != NULL) ++ path = strcat(path, ":/usr/lib/jni"); ++ else ++ path = "/usr/lib/jni"; ++ ++ setenv("LTDL_LIBRARY_PATH", path, 1); + #endif + } + --- jamvm-1.4.1.orig/debian/copyright +++ jamvm-1.4.1/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Michael Koch on +Tue, 18 May 2004 18:16:40 +0200. + +It was downloaded from http://jamvm.sourceforge.net/ + +Upstream Authors: Robert Lougher + +Copyright: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; 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 General + Public License can be found in `/usr/share/common-licenses/GPL'. + --- jamvm-1.4.1.orig/debian/jamvm.install +++ jamvm-1.4.1/debian/jamvm.install @@ -0,0 +1,2 @@ +usr/bin/jamvm +usr/share/jamvm/classes.zip --- jamvm-1.4.1.orig/debian/jamvm.1 +++ jamvm-1.4.1/debian/jamvm.1 @@ -0,0 +1,49 @@ +.TH JamVM 1 +.SH NAME +JamVM \- a Java Virtual Machines +.SH SYNOPSIS +.B jamvm [options] class [arg1 arg2 ...] +.SH OPTIONS +.IP "\fB-help\fP " 10 +print out this message +.IP "\fB-version\fP " 10 +print out version number and copyright information +.IP "\fB-cp -classpath\fP " 10 + +locations where to find application classes +.IP "\fB-bootclasspath\fP " 10 + +locations where to find the system classes +.IP "\fB-bootclasspath/a\fP " 10 + +locations are appended to the bootstrap class path +.IP "\fB-bootclasspath/p\fP " 10 + +locations are prepended to the bootstrap class path +.IP "\fB-verbose\fP " 10 +print out information about class loading, etc. +.IP "\fB-verbosegc\fP " 10 +print out results of garbage collection +.IP "\fB-noasyncgc\fP " 10 +turn off asynchronous garbage collection +.IP "\fB-D=\fP " 10 +set a system property +.IP "\fB-ms\fP " 10 +set the initial size of the heap (default = 1024K) +.IP "\fB-mx\fP " 10 +set the maximum size of the heap (default = 16M) +.IP "\fB-ss\fP " 10 +set the Java stack size for each thread (default = 64K) +size may be followed by K,k or M,m (e.g. 2M) +.SH "DESCRIPTION" +.BR JamVM +is a new Java Virtual Machine which conforms to the JVM +specification version 2 (blue book). In comparison to most other +VM's (free and commercial) it is extremely small, with a stripped +executable on PowerPC of only ~110K, and Intel 80K. However, unlike +other small VMs (e.g. KVM) it is designed to support the full +specification, and includes support for object finalisation, the +Java Native Interface (JNI) and the Reflection API. +.SH AUTHOR +This manual page was written by Michael Koch , +for the Debian GNU/Linux system (but may be used by others). --- jamvm-1.4.1.orig/debian/docs +++ jamvm-1.4.1/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- jamvm-1.4.1.orig/debian/watch +++ jamvm-1.4.1/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://heanet.dl.sourceforge.net/sourceforge/jamvm/jamvm-([\d\.]*)\.tar.\gz debian uupdate