Package: bytecode
Version: 0.92.svn.20090106-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu quantal ubuntu-patch openjdk-7-transition
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* 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.
This will ensure automatic transition when the default java implementation
changed (as it has done in Ubuntu quantal).
Thanks for considering the patch.
- -- System Information:
Debian Release: wheezy/sid
APT prefers quantal-updates
APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500,
'quantal')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.5.0-7-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJQGR+aAAoJEL/srsug59jDlYwP/3IWyB1jGtTwEaH1tcLXPm4r
z6RaPwkY2qb9C2pd+ovpC3fl0V1QQUIE6cmFdKMrTobddmzCJpn1w/itXz15pJ/3
Rw7HJOjD6WPSTC4nVoHNdm7zZzfG3/P97pNSdCukjotiqSo5JbKcYZyqxVHkXkCP
XGOCpa+D8r5hDriwPnExTwB7PmTMoR0iH77sEUn2IdzeIwgSt1pceEEqJUTHBpIY
Kb+i+M/HSoBG99m11yOSXlMMEADtLPQyKg8z42tX0qFN2LMLxOqa5+cxD5JudRxd
tHlFHK0GF78/4EY5y7dxmlBpsJmT4dzi3SX5uI0wLUExBMhiHqFgrHW+41AFe+yq
y/WnY++BzrHWhGoBTqfO+ITmob+0R+v8lbrWG/l6N0i+5PFUwBTzs/0yZ11/w4W7
hHyyonuvJlE/ruFkdxHBt/igXfzcqlya+/orGDVR/9x5CxoisNzd5eeNWabzVpBx
TlJv4x7wFddtqDCkNFmE6PpjrMgG3lGjXqbEnOphKJK/WKKstlew0XBmdv4hMnCe
rg2Wu/uFVCAPGB0i7IZKdyHoUJnic5ybTdVumx3uokNx0jwsNt4Jpsku6Physqu5
D9j5BmKuGKabspZDTMqMGOPxbQal4/sqOFtd+hIW5nVtHWm2fTGL1oOFJTf/swJ0
eThYiB7cw9l5tyyG7WeE
=3Ihy
-----END PGP SIGNATURE-----
diff -u bytecode-0.92.svn.20090106/debian/control bytecode-0.92.svn.20090106/debian/control
--- bytecode-0.92.svn.20090106/debian/control
+++ bytecode-0.92.svn.20090106/debian/control
@@ -2,14 +2,14 @@
Section: devel
Priority: optional
Maintainer: Steffen Moeller <[email protected]>
-Build-Depends: debhelper (>= 4.0.0), openjdk-6-jdk|sun-java5-jdk|sun-java6-jdk|java2-compiler, quilt, junit, ant
+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}, openjdk-6-jre|sun-java5-jre|sun-java6-jre|java2-runtime
+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
diff -u bytecode-0.92.svn.20090106/debian/changelog bytecode-0.92.svn.20090106/debian/changelog
diff -u bytecode-0.92.svn.20090106/debian/rules bytecode-0.92.svn.20090106/debian/rules
--- bytecode-0.92.svn.20090106/debian/rules
+++ bytecode-0.92.svn.20090106/debian/rules
@@ -20,7 +20,7 @@
dh_testdir
if [ ! -d demos ]; then mkdir demos; fi
if [ ! -d resources ]; then mkdir resources; fi
- $(MAKE) dist
+ $(MAKE) -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 dist
touch build-stamp
clean: unpatch