Package: picard-tools
Version: 1.46-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 use default java implementation:
    - d/control: BD on default-jdk, switch runtime dependency to
      default-jre | java6-runtime.
    - d/rules: Specify source/target = 1.5 to ensure that 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)

iQIcBAEBCAAGBQJQISINAAoJEL/srsug59jDkAAP/3XyzcuSmvCkq+mjrieKf38q
9lZ2Wr708x2cP0YvrwupsqrsVe+BMvMAzaA7V1pPe8S3bbW0M7evfJQQIrauQbCX
SfjSTzPBbr1nscmnZuG783uxcid7fHD9jtdKifd51+DyYp7QNI0miyGJBS7e3O31
gg9LUii9w1ru9WEXLhF5K6APOQVuK7gOrBVYEkttHvntnaEJSUC/m2VAvU5ybf1F
LI1ScCQ323g0B7h2wv9dXS5C6Z/WW3OWYLRMgdilZSPoaqxwvcxVN/GT4XtOUgz1
Qo9edzhZA89+XN5uFBbDGXWwOtOhEQZoCsHpd2FuwcPtQf2X+c+c5z/+cfxgvcVc
L7EKJAzQkj88QAjVr/6IqXd+N7Q7TjETLGCWfjXA/0cuIoNO6vLmhX1wW5P4QVV3
Fsb6SO7L1yTxTAmhYhoWgLI1otouQPBjVGO0k0ooIG0lmuBHVCYa5M4rj8j4+qrG
RO+on+PrCxpxBKzsoAIdmfQc17jhWm2+HqZID6EcrSyurqzIwdFA9vho+/HHneY0
XCQLnzc7agnfbRMVgY4RcHOYO2rAoulLoiq0+luXoH16nW9cSDTp0D2f5SE/T2UZ
/wtnOBzHt3mdpCO6oagpWxxKWzhDHfWEDfWLWIs8DzQhqorQbiRcKk6CaKfuUntb
apmqc2RFQonvPIy86ub3
=ZeD3
-----END PGP SIGNATURE-----
diff -Nru picard-tools-1.46/debian/changelog picard-tools-1.46/debian/changelog
diff -Nru picard-tools-1.46/debian/control picard-tools-1.46/debian/control
--- picard-tools-1.46/debian/control	2011-06-03 12:49:09.000000000 +0100
+++ picard-tools-1.46/debian/control	2012-08-07 15:09:48.000000000 +0100
@@ -5,7 +5,7 @@
 DM-Upload-Allowed: yes
 Uploaders: Shaun Jackman <[email protected]>,
  Charles Plessy <[email protected]>
-Build-Depends: ant, openjdk-6-jdk|java-compiler, testng,
+Build-Depends: ant, default-jdk, testng,
  debhelper (>= 7.0.50~)
 Standards-Version: 3.9.2
 Homepage: http://picard.sourceforge.net/
@@ -23,7 +23,7 @@
 
 Package: picard-tools
 Architecture: all
-Depends: openjdk-6-jre|java-runtime, ${misc:Depends},
+Depends: default-jre | java6-runtime, ${misc:Depends},
  libsam-java (>= ${source:Version}), ${python:Depends}
 Suggests: python, r-base-core
 Description: Command line tools to manipulate SAM and BAM files
diff -Nru picard-tools-1.46/debian/rules picard-tools-1.46/debian/rules
--- picard-tools-1.46/debian/rules	2011-06-03 12:00:33.000000000 +0100
+++ picard-tools-1.46/debian/rules	2012-08-07 15:06:28.000000000 +0100
@@ -5,6 +5,9 @@
 %:
 	dh  $@
 
+override_dh_auto_build:
+	dh_auto_build -- -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 
+
 override_dh_auto_configure:
 	[ -d lib ] || mkdir lib # This empty directory is lost in the packages's Git clone.
 	dh_auto_configure

Reply via email to