From owner-freebsd-ports Fri Oct 13 15:33:14 2000 Delivered-To: freebsd-ports@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 6EC3337B66D; Fri, 13 Oct 2000 15:33:05 -0700 (PDT) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id IAA31033; Sat, 14 Oct 2000 08:03:01 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200010132233.IAA31033@ares.trc.adelaide.edu.au> Subject: Re: Native JDK1.2.2 port In-Reply-To: <39E73443.848834FE@FreeBSD.org> from Maxim Sobolev at "Oct 13, 2000 07:11:48 pm" To: Maxim Sobolev Date: Sat, 14 Oct 2000 08:03:01 +0930 (CST) Cc: java@FreeBSD.ORG, ports@FreeBSD.ORG, Kees Jan Koster , nate@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I would like to inform you that I created skeleton for building native jdk1.2.2 > and put it into official ports collection (java/jdk12-beta). This port is > expected to make building/installation of jdk significantly easier, so the user > would only need to d/l appropriate files (jdk sources from Sun and FreeBSD > patchset), put it into usual place and do make install. I will appreciate any > comments/patches/suggestions etc. about this port. Also it would be nice if > someone will insert appropriate news entry onto FreeBSD Java pages, as well as > update appropriate building instructions. Great work Maxim! Here are some comments, but please consider them in terms of me not knowing all that much about the ports system though :). 1. There is a mirror for the patchsets (kindly provided by Edward Wolpert) at http://java2.freebsd.methodsystems.com/java/jdk.html 2. In the RUN_DPEENDS you have ${X11BASE}/lib/X11/fonts/URW/fonts.dir:${PORTSDIR}/x11-fonts/urwfonts They are only required if you install the optional font.properties file that come with the patchset (although I think I may have accidentally left it out of patchset 10, let me check that). 3. As further enhancements you might want to add a couple of options: WITH_DPS: This might be complicated since people need at least XFree86-4-libraries installed. However, if they've done this they need to have put stuff in a non-standard place unless they have the whole of XFree86-4 installed. So really the dependency is XFree86-4. You'd then need something like this in MAKE_ENV MAKE_ENV= ALT_BOOTDIR="${JDK12DIR}" \ .if defined(WITH_DPS) HAVE_DPS="yes" \ ALT_DPS_DIR="${X11BASE}" \ .else HAVE_DPS="no" \ .endif WITH_JPDA: If people want the JPDA functionality they can download some extra code. This is needed for things like JBuilder. Let me think how we could do that well. Will get in touch about it. I think I need to do version 2 of the JPDA patches first, or maybe just incorporate it all into the JDK patchset. Hmmm. WITH_LESSTIF: Some people might want to build with Lesstif instead of Open Motif, although that would be a bad choice in general since Lesstif currently exhibits more graphics problems. 4. Should there also be a jre12-beta port which uses this port but installs from the JRE image directory instead of the JDK image directory? 5. Could there be a post-install notice suggesting people may want to consider installing one of the JITs? Do the current JIT ports work with your new JDK 1.2.2 port? This is terrific. Thank you so much! Now, everybody submit your favourite JDK 1.2 based ports! - Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message