1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
Alexey Zelkin
ae179afb91 1. Switch 5.x version of jdk14 back to libc_r as default threading library.
We switched FreeBSD-5.x port to libkse as default threading library before
   releasing of patchset 6, but users who has most of stuff linked against
   libc_r and attempted to use jdk linked against libkse got into local hell
   of threading libraries mix.  So, rollback to libc_r by default and add
   PTHREAD_LIBS support for this port.

   IMPORTANT: In order to use libkse as threading library for jdk14 you
   have to use rtld's libmap feature or recompile your ports stuff (like
   mozilla) with libkse.

   NOTE: libkse still has issues with java debug support, so if you're going
   to use debuging (JVMDI) stuff - leave with libc_r for now.

2. Disable IPv6 support by default.  Unfortunatelly due to security reasons
   IPv4-to-IPv6 addresses mapping is disabled by default in FreeBSD-5.x, so
   those who would like to use Java Networking stuff had to manually
   enable it.  To make jdk14 port more user-friendly IPv6 is disabled now
   on compile time.  Those who need this stuff enabled have to use WITH_IPV6
   compile time option.

3. Add MINIMAL compile option.  If this option is used to build
   jdk14 port then plugin, javaws and demos stuff will not be installed
   and/or packaged.  Also (as noted in [5]) X11 runtime dependancy will
   not be registered into built package.

4. Strip runtime depends of jdk14 port.  There's no need to require open-motif
   to be runtime depends since libXm is staticly linked into libawt.so.

5. Make X11 runtime dependancy conditional (via urwfonts) in !WITHOUT_PLUGIN
   case only.  This should affect only prebuilt package users:  there's no
   need to install X11 libraries if you're going to use non-GUI stuff only
   (i.e. tomcat or jboss)

6. Add ${LOCALBASE}/lib to the deafult search path for JNI libraries.

7. Bump PORTVERSION

Reported by:	many [1]
Submitted by:	glewis [6]
Requested by:	marcus [6]
2004-01-28 14:00:27 +00:00
Greg Lewis
df0cd23644 . Update to 1.4.2 patchset 6.
. Install the cacerts file from Sun's 1.4.2_03 release to avoid some
  problems associated with expired root certificates described in:

  http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert%2F57436

Hopefully not objected to by:	phantom
2004-01-14 21:21:53 +00:00
Alexey Zelkin
371e6b4b5c Update to 1.4.2p5.
Important changes since last patchset:

. jdk14 port is now JDK 1.4.2 based!
. JavaWS distributing with jdk
. Runway problem fixed (fork() is no more problem for java apps)
. Sound support updated
. IPv6 support overhauled
. Drag'n'Drop support fixed (require open-motif mods)

As for now there's no more outstanding issues with this port!

FreeBSD port is also got a important of changes:

. optimized setup is now default (to get debuging bins/libs use WITH_DEBUG)

. bootstrap jdk autodetection.  If WITH_LINUX_BOOTSTRAP is not set, then
  it checks all known to work JDKs installed.  If nothing found, forces
  to install of linux-sun-jdk14

. Because of above change there's no NATIVE_BOOTSTRAP option anymore.  If
  native jdk14 is installed, it will be used by default.
2003-11-11 16:16:20 +00:00
Alexey Zelkin
7d2d0599c7 . Add fix for "runaway process" problem. It should fix of stalled
processes problem for people who use Runtime.getRuntime.exec() method
  and related things.  Least five people reported that this patch fixed
  problem for them.

  IMPORTANT: I'd also suggested to all jdk14 users who runs FreeBSD 4.x
  and use libc_r at FreeBSD 5.x to upgrade.

. Stop removing "src.zip" from installation bundle.  Since -p4 it builds
  correctly and there's no reason to forbit people to use it.

. Bump PORTREVISION.
2003-10-29 08:20:59 +00:00
Greg Lewis
4bb0df0d3b . Update to 1.4.1p4.
. Use ${PTHREAD_LIBS} rather than -pthread or -lc_r.
. Install system preferences to avoid annoying and constant error messages.

Approved by:	phantom (the update, anyway)
2003-10-11 05:16:50 +00:00
Alexey Zelkin
3fde793458 Unbreak package build after recent Greg's commit (which changed
include/bsd -> include/freebsd in sources, but not reflected
this change in pkg-plist)

Reported by:	Holger Kipp <Holger.Kipp@alogis.com>,
		Kunihiro Arai <kunihiro-arai@seagreen.ocn.ne.jp>
2003-05-08 23:53:06 +00:00
Alexey Zelkin
b09d5d2a1e Correct pkg-plist
Submitted by:	olgeni, glewis
2003-03-13 11:17:04 +00:00
Alexey Zelkin
6513eda595 I am pleased to announce first public -beta patchset of FreeBSD/Java port
for JDK 1.4.1.  This is complete and close to production quality
native JDK with both working client and server native JVMs.  Local micro
benchmarks shown very little difference between Linux and FreeBSD JVMs in
speed.

One of important points of this patchset that it marks point when we are
very close to passing of Sun TCK tests.  Currently about 20 of >27000 tests
are known to be broken (tests were run at -STABLE).  If testing of this
patchset will be smooth and founding of this work will be continued we
may expect to have binary distribution of JDK 1.4.1 in April or begining
of May.

BUT, don't forget that even TCK tests can't cover all possible problems
and this is -beta patchset.  Keep your eyes open and report your problems
to freebsd-java mailing list or to me directly!

* About supported FreeBSD releases:

Altough 4.8-RELEASE will be first officially supported FreeBSD release,
you may use JDK 1.4.1-p3 at stock post-02-Feb-2003 -STABLE or -CURRENT.

You also may use it at post-07-Jan-2003 -STABLE and -CURRENT (including
5.0-RELEASE), but it's required to apply libc_r patch, distributed with
patchset3 archive, and rebuild libc_r first.

* About compiler:

This port is supposed to be built with stock FreeBSD compiler (3.2.[12]
for -CURRENT and 2.95.4 for -STABLE)!

* Following issues are known, but not yet addressed:

. IPv6 networking.  IPv6 support is disabled in this patchset.
. Asian languages support.  Patches are welcome!
. K6 (586-class) processors support.  There're issues with building on
  old K6 processors.  If you've problems with 586-class machines other than
  K6 - please let me know.
. Mozilla plugin is not yet ported.

* Following areas should be used with increased attention:

. Java Virtual Machine Profiling Interface (JVMPI)
. Java Virtual Machine Debugging Interface (JVMDI)
. Host Porting Interface (HPI)

If you have problems with these interfaces please let me know.

* THANKS!

I would thank very much to FreeBSD Foundation, without which support
and sponsorship JDK 1.4.1 port would not happen in such timeframes (less
than 2 months).

Sponsored by:	FreeBSD Foundation
Approved by:	portmgr
2003-03-06 23:18:24 +00:00
Greg Lewis
16a383eaf4 1. Bump PORTREVISION for this and previous changes.
2. Enable compiling the HotSpot JVM.  This is experimental and there are a
   number of caveats with its use that are reported by the port.  The flag
   to enable this is WITH_HOTSPOT.
3. Try to pick some OSVERSION settings appropriate for the current native
   threads implementation.

PR:		47397 (2)
Submitted by:	Munehiro Matsuda <haro@h4.dion.ne.jp> (2)
2003-02-28 17:54:40 +00:00
Kris Kennaway
063c457172 Don't remove system directories share/java, share/java/classes, and
share/doc
2002-11-10 22:44:03 +00:00
Greg Lewis
be1315e7fd . Catch up with additional font.properties files. 2002-10-25 05:53:27 +00:00
Maxim Sobolev
b7f44fd50d Correct pkg-plist. 2002-04-23 10:10:07 +00:00
Greg Lewis
d33b274b3b Add Taiwan Chinese font properties support (if I understand
the locale correctly).

Submitted by:	Zhenbang Wei <forth@zbwei.net> (via clive)
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-16 06:04:20 +00:00
Ernst de Haan
d0febafa4a Now creating an 'ext' directory as a subdirectory of
the application home directory.

Prompted by:	Marc Recht <recht@contentmedia.de>
2002-04-06 20:41:28 +00:00
Maxim Sobolev
3194d49997 Correct when WITHOUT_PLUGIN is defined.
PR:		35899
Submitted by:	Lev Serebryakov <lev@serebryakov.spb.ru>
2002-03-15 07:33:50 +00:00
Maxim Sobolev
0b5fbf9067 Link Mozilla pligin with libXt to make it working with Mozilla-0.9.9. This
resolves the following error when starting Mozilla:

  LoadPlugin: failed to initialize shared library
  /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so
  [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined
  symbol "XtShellStrings"]

While I'm here add a tweak to prune empty directories before installing
JDK, so that JDK installed from a pre-built package deinstalls properly.

Bump PORTREVISION.
2002-03-13 15:06:16 +00:00
Maxim Sobolev
add3826d6d Correct pkg-plist in the default and NODEBUG cases. 2002-02-18 18:15:30 +00:00
Patrick S. Gardella
5a1fcc3c48 Update to patch set 6
PR: 34923
Submitted by: Greg Lewis
2002-02-14 12:52:08 +00:00
Maxim Sobolev
c42447ab5b Update to patchlevel 4. This release contains many critical bug fixes, so
please make sure that you have upgraded before reporting a bug or problem.

PR:		30481
Submitted by:	Greg Lewis <glewis@eyesbeyond.com>
2001-09-10 11:43:08 +00:00
Maxim Sobolev
630b953d37 Add native port of Sun's Java Devepment Kit, v.1.3.1 (repo-copied from
jdk12-beta).

PR:		29949
Submitted by:	Greg Lewis <glewis@eyesbeyond.com>
2001-08-27 18:58:46 +00:00
Maxim Sobolev
a09d414989 Add jdk12-beta - a "glue" to build a native JDK1.2.2 using source code from
Sun and patchset from FreeBSD Java Project.
2000-10-13 12:41:25 +00:00