Package: mtj
Version: 0.9.14~dfsg-2
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-jdk (>= 1:1.6).
- d/rules: Specify source/target = 1.5 to ensure backwards compatible
bytecode is built.
Ubuntu quantal is transitioning default java from openjdk-6 to openjdk-7. This
patch eases the transition and ensures backwards compatible bytecode is built.
Note that this is not a release goal for wheezy.
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-8-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)
iQIcBAEBCAAGBQJQIRbKAAoJEL/srsug59jDofcP/jA0ILKZQYGHJuGwgEmQiieZ
ntaTu11nkdFQxDzgjs5ZigGqtHin/KfygbTBtsP40664iZTvFnbdqkBgigqoaYg9
azCduYujrYB1jv9kfUmYIiBSv92/v2OP7DjG6yvozSG9GlAK2NOAXAkZPznl0t7x
RizN3RXX7uODhrPvXddp5kcyqwHambt3T+jCin1HEY+IKypzorjJj5MS73DYE+rm
MDQ8+/TJdinKW50Y8TWBH/X/18UGio6BIj4hq8FUKoa++7hIr0JxiBcbNrXSTVST
6IlaOkv59NfEsWyySYI2s2fbPPG8XcY/2BtjLbyDar33EZaHoVavptYsUFZxYeXQ
chHS5mLom+IlhEHXZUW9wMGeWWwz8tB+1ZuHYobcodU7eA+IBiIDpqHctgCR3UhY
iOJIDJ9eDsSwnSHDoDzo/WB/9ewRTcU+TcsQ4eRrIgKISYb8BUdrnfJCCNM8nNu3
bB2OWEkeHbboRU29h8Z1ox4mcDDn744x6Z6lfRXkJlo38BHIWJbu1cDlIf7IiXIN
BB7+m+UkFZk1iJPsE+A/hzEGqEUD/zJWNAoyiSMko1Jyn9WOrohBrM0Si5jz0Hcn
mqECYhlMp6ovkkvIBPk5EyIp8NwWM5yK0I55X+F10/IikDxhtCjVArgMPu1kQKsS
HJORUYYjaeRCkDzh1kxo
=Zqjb
-----END PGP SIGNATURE-----
diff -Nru mtj-0.9.14~dfsg/debian/changelog mtj-0.9.14~dfsg/debian/changelog
diff -Nru mtj-0.9.14~dfsg/debian/control mtj-0.9.14~dfsg/debian/control
--- mtj-0.9.14~dfsg/debian/control 2012-06-10 08:22:05.000000000 +0100
+++ mtj-0.9.14~dfsg/debian/control 2012-08-07 14:20:19.000000000 +0100
@@ -4,7 +4,7 @@
Maintainer: Debian Med Packaging Team <[email protected]>
DM-Upload-Allowed: yes
Uploaders: Andreas Tille <[email protected]>
-Build-Depends: debhelper (>= 9), javahelper (>=0.25), openjdk-6-jdk, ant,
+Build-Depends: debhelper (>= 9), javahelper (>=0.25), default-jdk (>= 1:1.6), ant,
libnetlib-java
Standards-Version: 3.9.3
Homepage: http://code.google.com/p/matrix-toolkits-java/
diff -Nru mtj-0.9.14~dfsg/debian/rules mtj-0.9.14~dfsg/debian/rules
--- mtj-0.9.14~dfsg/debian/rules 2012-01-21 14:32:16.000000000 +0000
+++ mtj-0.9.14~dfsg/debian/rules 2012-08-07 14:15:02.000000000 +0100
@@ -5,5 +5,8 @@
%:
dh $@ --with javahelper
+override_dh_auto_build:
+ dh_auto_build -- -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5
+
get-orig-source:
uscan --verbose --force-download