Package: pcalendar
Version: 3.2.0-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 use default java implementation:
    - d/control: BD on default-jdk.
    - 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)

iQIcBAEBCAAGBQJQIR5oAAoJEL/srsug59jDuYgP/i7D43zuXX12qcrRl6T6CzSY
flg0Mzb8k0M+m6TkV9Ga1ThiK6yzIFigsYnMTSsxKCMYjQJall0CEUJsfnk7FKb7
TF4HSnFNa/vI2MhgESOSmrjaH7GCLLLuQk6GMu6o0iiGGPFk2pHUwuqn8ozHH11R
dw+053eXhMapC3md+ZOb98pNjAW6p3xLHffG+T196oyzmdUlCowTFVDRpK5ybsdi
31v75L5MuePpKMcs22xwWLPnWWmhtep7iMPF9LNdKTV/Q90mV+50PNNAT+ZdqA8O
ZrpTKyMYQN8yWHVMewAyz/y2XctZf8IpC8qNx1o+qzqK0Rv0A61QejWBV3+v8X8h
VYP7SN/FFQx9oyXjt5WBCKii5uWS9m/V7+/+XEda2GR8ZD+1fqYof5URHbtNNIvS
peWJ/Fqb57FvtiGE+VUd9aX4crCUGg6OR8l27f5EGw7IgsfRP/7WI8TwtM6PRITF
vi3OorXdr66cqs8R06Dze93t/1Kh5EHyNcbt9SGCt3DSMMd7PWstD+Om3ExWeIxW
6XuZsX/mqZPRJv2Jny8S+mvbOqpz0nI2Mrv+7A6qhjH+iMStUZ65ETQNi1Uac19t
j2pLYg1hkwRntBuEMxR3EXLqml0xTy8dx9Kr9YTNUQlN13Rm5cDesEdRYfd6ytAN
9D4LhIQt/5uyDhDvonrh
=1i+P
-----END PGP SIGNATURE-----
diff -Nru pcalendar-3.2.0/debian/changelog pcalendar-3.2.0/debian/changelog
diff -Nru pcalendar-3.2.0/debian/control pcalendar-3.2.0/debian/control
--- pcalendar-3.2.0/debian/control	2011-10-04 00:50:11.000000000 +0100
+++ pcalendar-3.2.0/debian/control	2012-08-07 14:54:58.000000000 +0100
@@ -4,7 +4,7 @@
 Maintainer: Debian Med Packaging Team <[email protected]>
 Uploaders: Miriam Ruiz <[email protected]>
 Build-Depends: debhelper (>= 7), dh-buildinfo, quilt,
- openjdk-6-jdk, ant, junit4, libxerces2-java
+ default-jdk, ant, junit4, libxerces2-java
 Standards-Version: 3.9.2
 Homepage: http://linuxorg.sourceforge.net/
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/pcalendar/trunk/
diff -Nru pcalendar-3.2.0/debian/rules pcalendar-3.2.0/debian/rules
--- pcalendar-3.2.0/debian/rules	2011-10-04 00:50:11.000000000 +0100
+++ pcalendar-3.2.0/debian/rules	2012-08-07 14:50:50.000000000 +0100
@@ -12,7 +12,7 @@
 build-indep: build-stamp
 build-stamp: config
 	dh_testdir
-	ant compile
+	ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 compile
 	ant jar
 	touch $@
 

Reply via email to