Bug#271846: java-package: Add support for Sun's J2SDK1.4 for ia64

Pawel Pesz Pawel Pesz <debian@insert.com.pl>, 271846@bugs.debian.org
Wed Sep 15 10:39:01 2004


This is a multi-part MIME message sent by reportbug.

--===============0463084249990018122==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: java-package
Version: 0.13
Severity: normal
Tags: patch

The attached patch adds support for Sun's J2SDK1.4 running
on Intel's Itanium/ItaniumII (ia64). I tested it with the
current available runtime: j2sdk-1_4_2_05-linux-ia64.bin.
The expected minimum installation size I used may be a
little too high but I hadn't been able to determine the
exact method it is calculated with (I just took the reading
from "du" after running the original binary installer).

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ia64
Kernel: Linux 2.6.8-1-mckinley
Locale: LANG=C, LC_CTYPE=C

Versions of packages java-package depends on:
ii  debhelper                     4.2.20     helper programs for debian/rules

-- no debconf information

--===============0463084249990018122==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="sun-j2sdk-ia64.diff"

--- sun-j2sdk.sh.orig	2004-09-15 17:02:57.598982639 +0200
+++ sun-j2sdk.sh	2004-09-15 17:54:08.766913767 +0200
@@ -22,6 +22,11 @@
 	    j2se_expected_min_size=87 # 89281 kB
 	    found=true
 	    ;;
+	"j2sdk-1_4_2_"[0-9][0-9]"-linux-ia64.bin")
+	    j2se_version="1.4.2+${archive_name:12:2}"
+	    j2se_expected_min_size=107 # 109256 kB
+	    found=true
+	    ;;
 	"jdk-1_5_0-beta2-linux-i586.bin")
 	    j2se_version=1.5.0+beta2
 	    j2se_expected_min_size=122 # 125899 kB

--===============0463084249990018122==--