Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2000 08:03:01 +0930 (CST)
From:      Greg Lewis <glewis@trc.adelaide.edu.au>
To:        Maxim Sobolev <sobomax@FreeBSD.ORG>
Cc:        java@FreeBSD.ORG, ports@FreeBSD.ORG, Kees Jan Koster <K.J.Koster@kpn.com>, nate@FreeBSD.ORG
Subject:   Re: Native JDK1.2.2 port
Message-ID:  <200010132233.IAA31033@ares.trc.adelaide.edu.au>
In-Reply-To: <39E73443.848834FE@FreeBSD.org> from Maxim Sobolev at "Oct 13, 2000 07:11:48 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010132233.IAA31033>