debian/0000755000000000000000000000000012155447130007170 5ustar debian/watch0000644000000000000000000000012612155447101010216 0ustar version=3 http://www.sable.mcgill.ca/soot/soot_download.html .*/jasminsrc-(.*).tar.gz debian/source/0000755000000000000000000000000012155447101010466 5ustar debian/source/format0000644000000000000000000000001412155447101011674 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000112112155447101010241 0ustar #!/usr/bin/make -f ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) export ANT_OPTS=-Dcompile.debug=true -Dcompile.optimize=false else export ANT_OPTS=-Dcompile.debug=true -Dcompile.optimize=true endif %: dh $@ override_dh_auto_build: mkdir -p classes ant build_parser jasmin-jar override_dh_auto_clean: ant clean rm -rf lib/*.jar dh_auto_clean override_dh_auto_install: cp -v lib/jasminclasses-*.jar debian/jasmin-sable/usr/share/java cd debian/jasmin-sable/usr/share/java/; ln -v -s *.jar jasmin-sable.jar cp -v bin/jasmin debian/jasmin-sable/usr/bin dh_auto_install debian/patches/0000755000000000000000000000000012155447101010615 5ustar debian/patches/series0000644000000000000000000000014212155447101012027 0ustar 01-ant-settings.diff 02-jasmin-executable.diff 03-cup-0-11-support.diff 04-fix-field-support.diff debian/patches/04-fix-field-support.diff0000644000000000000000000000455612155447101015263 0ustar * Fixes parsing of field definitions (Closes: #538861) -- Chris Lamb Thu, 30 Jul 2009 15:28:41 +0200 diff -urNad /tmp/bp-build/jasmin-sable.orig/src/jasmin/parser.cup /tmp/bp-build/jasmin-sable/src/jasmin/parser.cup --- jasmin-sable.orig/src/jasmin/parser.cup 2009-07-30 15:18:09.000000000 +0200 +++ jasmin-sable/src/jasmin/parser.cup 2009-07-30 15:18:41.000000000 +0200 @@ -298,22 +298,22 @@ field_item ::= field_spec field_attrs | field_spec; field_spec ::= - DFIELD access:a Str:name Word:sig optional_default:v SEP deprecated_attr:dep_attr signature_attr:sig_attr annotation_attr_opt:vis_annot_attr + DFIELD access:a Word:name Word:sig optional_default:v SEP deprecated_attr:dep_attr signature_attr:sig_attr annotation_attr_opt:vis_annot_attr {: classFile.addField((short)a.intValue(), name, sig, v, dep_attr, sig_attr, vis_annot_attr, null); :} | - DFIELD access:a Str:name Word:sig optional_default:v DSYNTHETIC SEP deprecated_attr:dep_attr signature_attr:sig_attr annotation_attr_opt:vis_annot_attr + DFIELD access:a Word:name Word:sig optional_default:v DSYNTHETIC SEP deprecated_attr:dep_attr signature_attr:sig_attr annotation_attr_opt:vis_annot_attr {: classFile.addField((short)a.intValue(), name, sig, v, "synth", dep_attr, sig_attr, vis_annot_attr, null); :} | - DFIELD access:a Str:name Word:sig optional_default:v SEP deprecated_attr:dep_attr signature_attr:sig_attr annotation_attr:vis_annot_attr1 annotation_attr:vis_annot_attr2 + DFIELD access:a Word:name Word:sig optional_default:v SEP deprecated_attr:dep_attr signature_attr:sig_attr annotation_attr:vis_annot_attr1 annotation_attr:vis_annot_attr2 {: classFile.addField((short)a.intValue(), name, sig, v, dep_attr, sig_attr, vis_annot_attr1, vis_annot_attr2); :} | - DFIELD access:a Str:name Word:sig optional_default:v DSYNTHETIC SEP deprecated_attr:dep_attr signature_attr:sig_attr annotation_attr:vis_annot_attr1 annotation_attr:vis_annot_attr2 + DFIELD access:a Word:name Word:sig optional_default:v DSYNTHETIC SEP deprecated_attr:dep_attr signature_attr:sig_attr annotation_attr:vis_annot_attr1 annotation_attr:vis_annot_attr2 {: classFile.addField((short)a.intValue(), name, sig, v, "synth", dep_attr, sig_attr, vis_annot_attr1, vis_annot_attr2); :} debian/patches/03-cup-0-11-support.diff0000644000000000000000000000112012155447101014536 0ustar Don't pass (ClassFile, Scanner) to a (Scanner, SymbolFactory) constructor. -- Chris Lamb Mon, 27 Jul 2009 18:57:32 +0200 diff -urNad /tmp/bp-build/jasmin-sable.orig/src/jasmin/parser.cup /tmp/bp-build/jasmin-sable/src/jasmin/parser.cup --- jasmin-sable.orig/src/jasmin/parser.cup 2009-07-30 15:25:28.000000000 +0200 +++ jasmin-sable/src/jasmin/parser.cup 2009-07-30 15:25:44.000000000 +0200 @@ -57,7 +57,7 @@ } parser(ClassFile classFile, Scanner scanner) { - super(); + super(scanner); this.scanner = scanner; this.classFile = classFile; debian/patches/02-jasmin-executable.diff0000644000000000000000000000104712155447101015270 0ustar * Use jasmin-sable.jar and cup.jar from their respective packages * Pass arguments using "$@" instead of $*. -- Chris Lamb Tue, 15 Jul 2008 22:10:37 +0100 diff -urNad jasmin-sable-2.2.4.orig/bin/jasmin jasmin-sable-2.2.4/bin/jasmin --- jasmin-sable-2.2.4.orig/bin/jasmin 2008-02-10 16:41:47.000000000 +0000 +++ jasmin-sable-2.2.4/bin/jasmin 2008-02-10 16:41:59.000000000 +0000 @@ -1,3 +1,3 @@ #!/bin/sh -java jasmin.Main $* +exec java -cp /usr/share/java/jasmin-sable.jar:/usr/share/java/cup.jar jasmin.Main "$@" debian/patches/01-ant-settings.diff0000644000000000000000000000122212155447101014302 0ustar * Use cup.jar from Debian's "cup" package. -- Chris Lamb Sun, 10 Feb 2008 16:19:10 +0000 diff -urNad jasmin-sable-2.2.4.orig/ant.settings jasmin-sable-2.2.4/ant.settings --- jasmin-sable-2.2.4.orig/ant.settings 2008-02-10 16:18:16.000000000 +0000 +++ jasmin-sable-2.2.4/ant.settings 2008-02-10 16:18:31.000000000 +0000 @@ -1,6 +1,6 @@ ## Location of Java Cup classes jar file to link Jasmin against # either classes dir or jar - note polyglot comes with cup-classes -java_cup.jar=../polyglot/lib/java_cup.jar +java_cup.jar=/usr/share/java/cup.jar # Location in which to generate Jasmin release tarballs release.loc=lib debian/jasmin.10000644000000000000000000000205212155447101010530 0ustar .TH JASMIN-SABLE 1 "February 10, 2008" .SH NAME jasmin \- Java assembler compiler .SH SYNOPSIS .B jasmin .RI jasmin [\-d ] [\-version] [ ...] .SH DESCRIPTION \fBjasmin\fP is a Java ASseMbler INterface. It takes ASCII descriptions of Java classes, written in the Java Virtual Machine instruction set in an assembler-like syntax. .PP Jasmin converts these input files into binary Java class files (.class) suitable for executing on an Java Virtual Machine. .SH OPTIONS .TP .B \-d Destination directory where the resulting files are to be placed. .TP .B \-version Show version of program. .TP .B ... Source .j (Jasmin Java assembler format) file(s) to be compiled. .SH SEE ALSO The /usr/share/doc/jasmin-sable/examples directory should contain some example assembly files. .SH AUTHOR This manual page was written by Grzegorz Prokopski (Debian Developer) and Chris Lamb for the Debian project (but may be used by others). It is available under the GNU Lesser General Public License. debian/jasmin-sable.manpages0000644000000000000000000000002012155447101013240 0ustar debian/jasmin.1 debian/jasmin-sable.examples0000644000000000000000000000001312155447101013265 0ustar examples/* debian/dirs0000644000000000000000000000002712155447101010051 0ustar usr/bin usr/share/java debian/copyright0000644000000000000000000000304312155447101011121 0ustar This package was debianized by Grzegorz Prokopski (Debian Developer) on Wed, 21 Jan 2004 03:33:28 -0500. It was downloaded from . Upstream Author: Jonathan Meyer Copyright: Copyright (C) 1996 Jonathan Meyer Copyright (C) 1999 Raja Vallee-Rai Copyright (C) 2000 Patrice Pominville Copyright (C) 2000 Feng Qian Copyright (C) 1998 Kevin Kelley Copyright (C) 1996 Scott Hudson Copyright (C) 1996 C. Scott Ananian Copyright (C) 1996 Frank Flannery This package is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; version 2 of the License. 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 General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 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-2'. debian/control0000644000000000000000000000151212155447101010570 0ustar Source: jasmin-sable Section: devel Priority: optional Maintainer: Chris Lamb Build-Depends: debhelper (>= 7.0.50~), quilt, ant Build-Depends-Indep: cup (>= 0.11a+20060608), default-jdk Standards-Version: 3.9.2 Homepage: http://jasmin.sourceforge.net/ Vcs-Git: git://github.com/lamby/pkg-jasmin-sable.git Vcs-Browser: https://github.com/lamby/pkg-jasmin-sable Package: jasmin-sable Architecture: all Depends: default-jre | java2-runtime, cup (>= 0.11a+20060608), ${misc:Depends} Description: Java class (.class) file assembler Jasmin is a Java ASseMbler INterface. It takes ASCII descriptions of Java classes, written in the Java Virtual Machine instruction set in an assembler-like syntax. . Jasmin converts these input files into binary Java class files (.class) suitable for executing on an Java Virtual Machine. debian/compat0000644000000000000000000000000212155447101010364 0ustar 7 debian/changelog0000644000000000000000000001155212155447101011044 0ustar jasmin-sable (2.4.0-3) unstable; urgency=low * ``mkdir -p`` over ``mkdir``. (Closes: #711582) -- Chris Lamb Mon, 10 Jun 2013 23:07:59 +0100 jasmin-sable (2.4.0-2) unstable; urgency=low * Update Vcs-{Browser,Git}. * Bump Standards-Version to 3.9.2. * Fix "Transition package to default java implementation" - apply patch from Ubuntu / James Page. Thanks to gregor herrmann . (Closes: #683543) * Need to create "classes" dir. -- Chris Lamb Wed, 22 May 2013 23:46:37 +0100 jasmin-sable (2.4.0-1) unstable; urgency=low * New upstream release. * Update debian/patches/01-ant-settings.diff to reflect upstream changes. * Bump Standards-Version to 3.9.1. * Move to '3.0 (quilt)' format. * Specify examples and manpages in debina/jasmin-sable.{manpages,examples} instead of as arguments in debian/rules. * Move to minimal debhelper 7 rules file. -- Chris Lamb Sun, 01 Aug 2010 17:01:50 -0400 jasmin-sable (2.3.0-6) unstable; urgency=low * Don't specify a JAVA_HOME pointing to gcj; causes FTBFS when gcj is not installed. (Closes: #573675) -- Chris Lamb Tue, 16 Mar 2010 10:08:40 +0000 jasmin-sable (2.3.0-5) unstable; urgency=low * Depend on java2-runtime instead of java-virtual-machine so we can be satisfied by openjdk-6-jre. (Closes: #572058) * Bump Standards-Version. * Build-Depend on openjdk-6-jdk instead of java-gcj-compat-dev. * Switch to dpkg-source 3.0 (quilt) format. -- Chris Lamb Mon, 01 Mar 2010 17:43:56 +0000 jasmin-sable (2.3.0-4) unstable; urgency=low * Update 03-cup-11-support.diff to modify parser.cup instead of the generated parser.java. * Ensure parser.java is rebuilt from parser.cup. * Add 04-fix-field-support.diff to fix parsing of field definitions (Closes: #538861) -- Chris Lamb Thu, 30 Jul 2009 16:09:08 +0200 jasmin-sable (2.3.0-3) unstable; urgency=low * Support most recent "cup" package (Closes: #538860, #538861) - Add 03-cup-0-11-support.diff to support newest CUP package. - Bump dependencies on this cup version. * Bump Standards-Version to 3.8.2. -- Chris Lamb Mon, 27 Jul 2009 19:05:11 +0200 jasmin-sable (2.3.0-2) unstable; urgency=low * New maintainer email address. * Move ant to Build-Depends so it is satisfied in the clean target. * Bump debhelper compatibility level to 7; no changes. * Update location of Git repository. -- Chris Lamb Mon, 16 Feb 2009 02:02:22 +0000 jasmin-sable (2.3.0-1) unstable; urgency=low * New upstream release. * Fix formatting error in jasmin(1) manpage. * Pass arguments to JVM using "$@" instead of $*. * Bump Standards-Version to 3.8.0. -- Chris Lamb Tue, 15 Jul 2008 20:31:55 +0100 jasmin-sable (2.2.5-2) unstable; urgency=medium * Add missing Depends on 'cup' package (Closes: #477459) * Modify '02-jasmin-executable.diff' to ensure cup.jar is used when using executable wrapper. -- Chris Lamb Wed, 23 Apr 2008 14:23:37 +0100 jasmin-sable (2.2.5-1) unstable; urgency=low * New upstream release. - Update '01-ant-settings.diff' patch -- Chris Lamb Fri, 18 Apr 2008 16:25:56 +0100 jasmin-sable (2.2.4-1) unstable; urgency=low * New upstream release (Closes: #400603, #296926). * New maintainer. * Bump Standards-Version to 3.7.3. * Bump Debhelper compatibility version. * Add debian/watch. * debian/control: + Update Build-Depends and Depends to use java-gcj-compat-dev instead of sablevm. + Add Build-Depends on 'cup' LALR parser generator. + Update package description. + Add Homepage: field. + Add Vcs-* fields. * debian/rules: + Don't ignore clean target errors. + Remove useless dh_ calls. + Actually install examples. * debian/copyright: + Add all copyright holders to copyright notice. + Update FSF address. * debian/patches: + Move patches from Debian .diff.gz to Quilt. + Remove custom build system now that upstream provides Ant script. + Added patches to ensure: - Build system uses Debian version of CUP. - /usr/bin/jasmin uses package-provided jasmin-sable.jar. * debian/jasmin.1: + Rephrase wording and layout. + Fix Groff error related to character encoding. -- Chris Lamb Fri, 08 Feb 2008 19:09:59 +0000 jasmin-sable (1.2-2) unstable; urgency=low * Larning to read bugreports with comprehension. Added 'fastjar' to Build-deps. Closes: #232987 -- Grzegorz Prokopski (Debian Developer) Sat, 3 Apr 2004 20:15:16 -0500 jasmin-sable (1.2-1) unstable; urgency=low * Initial Release. Lintian clean. Closes: #228843. -- Grzegorz Prokopski (Debian Developer) Wed, 21 Jan 2004 03:33:28 -0500