Package: libiscwt-java
Version: 5.3.20100629-2
Followup-For: Bug #678032
User: ubuntu-de...@lists.ubuntu.com
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:

  * Fix FTBFS with openjdk-7 as default-jdk (LP: #888963):
    - d/patches/java7-compat.patch: Update usage of FontManager for
      Java 7.

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-10-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)

iQIcBAEBCAAGBQJQKjJhAAoJEL/srsug59jD+T0P/0oBeBI+V/0iBPLyIB6O7T56
wA9BujPIX5et1fO45vnSdw2z8On29ECXq2qtTqqGENJ3wd5hQo9GglwHo+MH6gJo
+TWihFwR+JuZjTzD4Rks1YYdsVqawCv7/dEU/PfNMeaMrFC2K+dTnZWzYT7kFLJ1
KWhl+/Md/uceAY7T+6n64Ykt8bey/w4Y+cn5k7XDWOJqb6W/CSfYmip5UAO90B/P
OMXJQXRoDn4NMOL69+k/PI4SB6xr83Mx9DIIE+ofix/TDrROiMFMfX+TzwLBieCL
Lu2ybDZ5XgVcUAuE7TXHWAnxLZoCg24R8byhbthAwDTp5XMyVNV5+fzKKgCrHf9w
YCToiPy3cyr82K7hgk0KtaKyLBzCtyKJaY9f2eq1/+8hCKbnWwpuvMBDPYNBb23o
UK9qTewVRt7qjjZViK3Qmar5rBpIlAEK4F78a9x0u8ndgMCyaX8xwhbKgYk1AxZO
0gOilMQ9kQBuJlQ+lS3KCPfOtusb9BBOUBFzTyHiBWmFCq/mbOXvOzWXW0bKZ6wL
qtxF8Zk9/9xnZ/McRN94LJb2QosGSchnS9d1Ookpicu2T2SytkYpJLYsSfK+aTJ3
CjFt+l/1a6DCa5zN5WUp3VPvlZftWe5FSHDu8MQetS8See7zMrAcLykFJKCGYAhS
kvRYV/4KKa0eAHLMXgXO
=+AGw
-----END PGP SIGNATURE-----
diff -Nru libiscwt-java-5.3.20100629/debian/changelog libiscwt-java-5.3.20100629/debian/changelog
diff -Nru libiscwt-java-5.3.20100629/debian/patches/java7-compat.patch libiscwt-java-5.3.20100629/debian/patches/java7-compat.patch
--- libiscwt-java-5.3.20100629/debian/patches/java7-compat.patch	1970-01-01 01:00:00.000000000 +0100
+++ libiscwt-java-5.3.20100629/debian/patches/java7-compat.patch	2012-08-14 12:09:58.000000000 +0100
@@ -0,0 +1,16 @@
+Description: Compatibility patch for Java 7
+Origin: http://sourceforge.net/projects/jpodrenderer/forums/forum/841333/topic/5320298
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/libiscwt-java/+bug/888963
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678032
+
+--- a/src/de/intarsys/cwt/font/FontEnvironment.java
++++ b/src/de/intarsys/cwt/font/FontEnvironment.java
+@@ -102,7 +102,7 @@ public class FontEnvironment {
+ 		String definition = null;
+ 		// force FontManager initialization
+ 		Font.decode("dummy").getFamily(); //$NON-NLS-1$
+-		definition = FontManager.getFontPath(true);
++		definition = sun.font.SunFontManager.getInstance().getPlatformFontPath(true);
+ 		if (definition == null) {
+ 			return new File[0];
+ 		}
diff -Nru libiscwt-java-5.3.20100629/debian/patches/series libiscwt-java-5.3.20100629/debian/patches/series
--- libiscwt-java-5.3.20100629/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ libiscwt-java-5.3.20100629/debian/patches/series	2012-08-14 12:02:38.000000000 +0100
@@ -0,0 +1 @@
+java7-compat.patch
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to