Package: jai-core Version: 1.1.4-3 Severity: wishlist Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu saucy ubuntu-patch
As this package cannot be built with OpenJDK 7 due to certain APIs being removed, would it be possible to build explicitly with OpenJDK 6? Thanks! *** /tmp/tmpaAflNR/bug_body In Ubuntu, the attached patch was applied to achieve the following: * Build with openjdk-6 as the API used is gone in OpenJDK 7 - update debian/control * Update JAVA_HOME to point to the openjdk-6 jvm - update debian/rules Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers precise-updates APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise-proposed'), (500, 'precise'), (100, 'precise-backports') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-39-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
diff -Nru jai-core-1.1.4/debian/changelog jai-core-1.1.4/debian/changelog diff -Nru jai-core-1.1.4/debian/control jai-core-1.1.4/debian/control --- jai-core-1.1.4/debian/control 2012-05-03 10:40:43.000000000 -0500 +++ jai-core-1.1.4/debian/control 2013-07-10 00:59:21.000000000 -0500 @@ -4,8 +4,8 @@ Maintainer: Debian Med Packaging Team <debian-med-packag...@lists.alioth.debian.org> Uploaders: Mathieu Malaterre <ma...@debian.org>, Andreas Tille <ti...@debian.org> -Build-Depends: debhelper (>= 8), javahelper (>=0.25), ant, default-jdk -Build-Depends-Indep: default-jdk-doc +Build-Depends: debhelper (>= 8), javahelper (>=0.25), ant, openjdk-6-jdk +Build-Depends-Indep: openjdk-6-doc Standards-Version: 3.9.3 Homepage: http://java.net/projects/jai-core/ Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/jai-core/trunk/ diff -Nru jai-core-1.1.4/debian/rules jai-core-1.1.4/debian/rules --- jai-core-1.1.4/debian/rules 2011-09-12 05:57:17.000000000 -0500 +++ jai-core-1.1.4/debian/rules 2013-07-10 00:48:03.000000000 -0500 @@ -1,12 +1,13 @@ #!/usr/bin/make -f -JAVA_HOME=/usr/lib/jvm/default-java +DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) +JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-$(DEB_HOST_ARCH) %: dh $@ --with javahelper override_dh_auto_build: - ant -DBUILD_TYPE=fcs -f build.xml all + JAVA_HOME=$(JAVA_HOME) ant -DBUILD_TYPE=fcs -f build.xml all get-orig-source: ./debian/get-orig-source