Bug#306800: marked as done (jta: Please allow building with sun-j2sdk1.5 and recognize the JAVA_HOME directories used by java-package)

Debian Bug Tracking System owner at bugs.debian.org
Mon Oct 10 19:33:18 UTC 2005


Your message dated Mon, 10 Oct 2005 21:18:47 +0200
with message-id <434ABE97.5090504 at debian.org>
and subject line jta: Please allow building with sun-j2sdk1.5 and recognize the JAVA_HOME directories used by java-package
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Apr 2005 15:58:16 +0000
>From aj at andaco.de Thu Apr 28 08:58:16 2005
Return-path: <aj at andaco.de>
Received: from c156142.adsl.hansenet.de (localhost.localdomain) [213.39.156.142] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DRBP6-0005x1-00; Thu, 28 Apr 2005 08:58:16 -0700
Received: from aj by localhost.localdomain with local (Exim 4.50)
	id 1DRBPH-0007jA-QH; Thu, 28 Apr 2005 17:58:27 +0200
To: Debian Bug Tracking System <submit at bugs.debian.org>
From: Andreas Jochens <aj at andaco.de>
Subject: jta: Please allow building with sun-j2sdk1.5 and recognize the JAVA_HOME directories used by java-package
Message-Id: <E1DRBPH-0007jA-QH at localhost.localdomain>
Date: Thu, 28 Apr 2005 17:58:27 +0200
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: jta
Version: 2.5-1
Severity: wishlist
Tags: patch

Please change the Build-Depends from 'j2sdk1.4' to 'java2-compiler' to allow
building with sun-2jsdk1.5.

Please also set JAVA_HOME correctly to the directories used by the
{sun,ibm,blackdown}-j2sdk1.x packages which are created by java-package.

Regards
Andreas Jochens

diff -urN ../tmp-orig/jta-2.5/debian/control ./debian/control
--- ../tmp-orig/jta-2.5/debian/control	2005-04-28 17:49:51.881513182 +0200
+++ ./debian/control	2005-04-28 17:47:44.499878134 +0200
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Jaldhar H. Vyas <jaldhar at debian.org>, Arnaud Vandyck <avdyk at debian.org>
-Build-Depends-Indep: debhelper (>= 4.1), j2sdk1.4, libgnu-regexp-java, libcrimson-java, libjdom0-java
+Build-Depends-Indep: debhelper (>= 4.1), java2-compiler, libgnu-regexp-java, libcrimson-java, libjdom0-java
 Standards-Version: 3.6.1
 
 Package: jta
diff -urN ../tmp-orig/jta-2.5/debian/rules ./debian/rules
--- ../tmp-orig/jta-2.5/debian/rules	2005-04-28 17:49:51.881513182 +0200
+++ ./debian/rules	2005-04-28 17:39:02.000000000 +0200
@@ -6,18 +6,9 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), amd64))
-	export JAVA_HOME=/usr/lib/j2sdk1.4-blackdown
-else
-	export JITC_PROCESSOR_TYPE=6
-	export JAVA_HOME=/usr/local/IBMJava2-ppc-142
-endif
-
-JAVA	=	$(JAVA_HOME)/bin/java
-JAR	=	$(JAVA_HOME)/bin/jar
-JAVAC	=	$(JAVA_HOME)/bin/javac
-JAVADOC =	$(JAVA_HOME)/bin/javadoc
-JAVAH 	=	$(JAVA_HOME)/bin/javah
+JAVA_HOME_DIRS=/usr/lib/j2sdk1.5-sun /usr/lib/j2sdk1.4-sun /usr/lib/j2sdk1.4-ibm /usr/lib/j2sdk1.4-blackdown
+export JAVA_HOME ?= $(shell for j in $(JAVA_HOME_DIRS); do [ -d "$$j" ] && echo $$j && exit 0; done)
+
 export CLASSPATH=/usr/share/java/regexp.jar:/usr/share/java/crimson.jar:/usr/share/java/jdom0.jar
 
 configure: configure-stamp

---------------------------------------
Received: (at 306800-done) by bugs.debian.org; 10 Oct 2005 19:19:32 +0000
>From avdyk at debian.org Mon Oct 10 12:19:31 2005
Return-path: <avdyk at debian.org>
Received: from serv54.segi.ulg.ac.be [139.165.32.99] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EP3BL-0001gj-00; Mon, 10 Oct 2005 12:19:31 -0700
Received: (qmail 27612 invoked by uid 510); 10 Oct 2005 21:19:00 +0200
Received: from 139.165.196.83 by serv54.segi.ulg.ac.be (envelope-from <avdyk at debian.org>, uid 501) with qmail-scanner-1.25 
 (clamdscan: 0.87/1124. spamassassin: 3.0.2.  
 Clear:RC:1(139.165.196.83):. 
 Processed in 0.309414 secs); 10 Oct 2005 19:19:00 -0000
Received: from cm-196-083.dialup.ulg.ac.be (HELO oz.fapse.ulg.ac.be) ([139.165.196.83])
          (envelope-sender <avdyk at debian.org>)
          by serv54.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
          for <306800-done at bugs.debian.org>; 10 Oct 2005 21:18:59 +0200
Received: from localhost ([127.0.0.1])
	by oz.fapse.ulg.ac.be with esmtp (Exim 4.50)
	id 1EP3Ad-0001A1-Tw
	for 306800-done at bugs.debian.org; Mon, 10 Oct 2005 21:18:47 +0200
Message-ID: <434ABE97.5090504 at debian.org>
Date: Mon, 10 Oct 2005 21:18:47 +0200
From: Arnaud Vandyck <avdyk at debian.org>
User-Agent: Debian Thunderbird 1.0.2 (X11/20050401)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: 306800-done at bugs.debian.org
Subject: Re: jta: Please allow building with sun-j2sdk1.5 and recognize the
 JAVA_HOME directories used by java-package
X-Enigmail-Version: 0.91.0.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Delivered-To: 306800-done at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-1.4 required=4.0 tests=BAYES_00,UPPERCASE_25_50 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Andreas,

jta is now built with free tools.

- --
  .''`.
 : :' :rnaud
 `. `'
   `-
Java Trap: http://www.gnu.org/philosophy/java-trap.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDSr6X4vzFZu62tMIRAjt9AKC+kwJACedkBHyHbIgZPaJY2Qkp5gCfeQUX
nTAT2nYcDtcf0a02tyYizB8=
=XQ3E
-----END PGP SIGNATURE-----



More information about the pkg-java-maintainers mailing list