Commit Graph

162 Commits

Author SHA1 Message Date
Joe Marcus Clarke
053fdb6a6b Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.
(Part 2)
2004-02-04 05:21:48 +00:00
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
Alexey Zelkin
78155f931b Update license to most recent SCSL license version. 2004-01-28 13:55:23 +00:00
Trevor Johnson
06acd13c21 Use LS macro. 2004-01-23 05:28:50 +00:00
Trevor Johnson
439b8a040c Use the CPIO macro defined in bsd.port.mk. 2004-01-22 12:18:43 +00:00
Trevor Johnson
fbd1108f49 Use the SORT macro from bsd.port.mk. 2004-01-22 11:06:02 +00:00
Greg Lewis
db3bca7b78 . Check the return value of stat(2) when trying to read the javaws
configuration file and behave appropriately if its -1.  Fixes a SEGV
  caused by ignoring the return value and just carrying on.
. Bump PORTREVISION.

PR:		61392
2004-01-17 07:11:12 +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
ae130fdf6b Don't use patch release number while setting up BUILD_DEPENDS for
linux-sun-jdk.
2003-12-16 06:50:59 +00:00
Trevor Johnson
b3ba3ae427 USE_REINPLACE need be defined only when REINPLACE_CMD is used. 2003-11-17 12:29:10 +00:00
Alexey Zelkin
1db29d0ac9 Fix path to patched file.
Reported by:	Nelis Lamprecht <nelis@brabys.co.za>
2003-11-12 14:11:39 +00:00
Alexey Zelkin
be57f40929 Fix bootstrap jdk detection process, so it work in case if no valid jdk
installed.  Previously BUILD_DEPENDS was not set correctly.

Add all possible choices for 1.4.1/1.4.2 JDKs while auto-detecting.
2003-11-12 12:38:03 +00:00
Alexey Zelkin
37eb6bfcea Add patch to fix build problems on 5.x system reported by many people.
It was last minute change and since this tool (unpack) is not used while
building jdk14 port, I did not paid enough attention to test this change
at -CURRENT system.  Sorry.
2003-11-12 12:13:35 +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
d5087e4a45 Don't redefine ECHO_MSG to echo explicitly. It b0rked IGNORE messages.
PR:		java/58902
Reported by:	Linh Pham <question@closedsrc.org>
2003-11-10 12:18:05 +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
1fecbe771d . Sort PTHREAD_FILES.
. Add j2se/ext/plugin/build/solaris/GNUmakefile to PTHREAD_FILES.  Should
  fix plugin compilation on -CURRENT.  Mea culpa.

PR:		58269
Submitted by:	Scott Dodson <sdodson@sdodson.com>
2003-10-21 00:10:04 +00:00
Greg Lewis
e2a7da4b51 . Add a missing BUILD_DEPENDS on NSPR so the plugin builds.
Forgotten by:	glewis
2003-10-13 20:57:50 +00:00
Greg Lewis
dcee19701b . Override PKGINSTALL to place it in WRKDIR, which is writeable, rather
than PORTSDIR, which may not be.

Submitted by:	kris
2003-10-13 03:31:42 +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
Greg Lewis
97c3e77bbb . Unset -Werror when compiling the NIO stuff. GCC 3.3.1 tends to generate
warnings that 2.95 doesn't and breaks the build on -CURRENT.
2003-10-11 05:13:11 +00:00
Greg Lewis
d30646a29b . Sync with the change to linux-sun-jdk14 (it now installs in
/usr/local/linux-sun-jdk1.4.2) so this port will bootstrap.
2003-10-01 16:14:20 +00:00
Alexey Zelkin
3d5acfd493 Update linux jdk location after recent linux-sun-jdk update to 1.4.2_01 2003-09-08 08:55:20 +00:00
Alexey Zelkin
2e706dd4da Warn users about requirement of having linprocfs mounted in order to
start native JDK port build.  linprocfs mounted become pre-requisite of
build after Linux SUN JDK port was updated to 1.4.2.

Add run-time (pre-build) check for linprocfs mounted as well.

Bump space requirements note about disk space required for build of
whole JDK 1.4.1 port and package to more appropriate value (as reported
by many people).
2003-08-04 08:53:42 +00:00
Ernst de Haan
f0cfc36175 Now expects bootstrap JDK in ${LOCALBASE}/linux-sun-jdk1.4.2.
Approved by:	MAINTAINER
2003-07-21 07:31:05 +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
Greg Lewis
118f931690 . Add $FreeBSD$
. Put the MD JNI headers in include/freebsd _not_ include/bsd.  This
  brings the 1.4 port in line with 1.1, 1.2 and 1.3, and arguably inline
  with Solaris and Linux.

Not-objected-to by:	phantom
2003-05-02 15:49:02 +00:00
Alexey Zelkin
e051920066 Fix checking of libc_r capabilities at FreeBSD version which
don't have pthread_attr_get_np() at all (early 4.7-STABLE and previous
versions).

Reported by:	Phillip Oleson <poleson@verio.net>
2003-03-15 09:57:58 +00:00
Alexey Zelkin
ccb8609092 Add runtime test to check of required libc_r functionality. I.e. warn
people about requirement of libc_r updates as early as possible.

Bump PORTREVISION

Approved by:	portmgr (kris) (implicitly)
2003-03-13 21:43:36 +00:00
Alexey Zelkin
bc117903e8 Add notice about amount of disk space required 2003-03-13 11:24:42 +00:00
Alexey Zelkin
b09d5d2a1e Correct pkg-plist
Submitted by:	olgeni, glewis
2003-03-13 11:17:04 +00:00
Alexey Zelkin
c70b262241 Make sure that demo/jfc/SwingSet2/resources does not exists (it should not,
but sometimes leaves in)
2003-03-13 11:15:24 +00:00
Alexey Zelkin
3b10183596 Fix build on 5.0-RELEASE 2003-03-13 11:13:16 +00:00
Alexey Zelkin
aee82349e8 Bump PORTREVISION 2003-03-11 08:55:41 +00:00
Alexey Zelkin
7cea82075d Since we have problems with running debuging binaries on some machines
(old K6 and some SMP machines) don't use javah_g in build process.

Reported by:	many people
2003-03-11 08:54:30 +00:00
Alexey Zelkin
4b12e892bf Add patch which backouts some of my early compile hacks which now preventing
MulticastSocket.joinGroup() from behaving correctly.

Submitted by:	Stefan Farfeleder <stefan@fafoe.dyndns.org>
2003-03-11 08:13:53 +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
Kris Kennaway
64f263db61 Don't set IGNORE when PACKAGE_BUILDING 2003-03-04 03:07:17 +00:00
Greg Lewis
62afc8936c de-pkg-comment 2003-02-28 17:56:43 +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
Greg Lewis
dcef90030b . Updated version of native threads for FreeBSD. This uses recently
committed enhancements to libc_r and is only suitable for very recent
  versions of FreeBSD.  The big benefit is that it removes almost all
  the previous grovelling about in the pthreads internals.

  The change only comes into effect when WITH_NATIVE_THREADS is set.
  A separate Makefile commit will attempt to enforce appropriate
  OSVERSION settings for using it.

Submitted by:	fjoe
2003-02-28 17:47:38 +00:00
Greg Lewis
f0d4b083fc . Rename our internal gethostby{name,addr}_r functions to avoid collisions.
Currently gethostbyaddr_r collides with the implementation (in libc!) for
  FreeBSD 5.x which both uses a different prototype (as per the Linux
  version) and is marked temporary and not thread safe.  Also, limit the
  scope of these internal implementations to this file.

  This fixes crashes in networked applications for FreeBSD 5.x.

  Some tweaks (making the functions static, naming, BSD ifdefs) by me.

Submitted by:	"Georg-W. Koltermann" <g.w.k@web.de>
2003-02-28 17:33:10 +00:00
Greg Lewis
3ed8e2b166 . Respect LOCALBASE in the DEVTOOLS_PATH setting.
PR:		47668
Submitted by:	Mike Meyer <mwm-dated-1044336154.329122@mired.org>
2003-02-28 17:18:43 +00:00
Greg Lewis
da27056044 . Add missing include of <sys/time.h>, needed by <sys/resource.h> for
FreeBSD 5.x.  This fixes native threads compilation on FreeBSD 5.x.

Submitted by:	Munehiro Matsuda <haro@h4.dion.ne.jp>
2003-02-28 17:16:21 +00:00
Greg Lewis
79371b8e8e . Be consistent about our compiler settings. Using gcc32 here was both
inconsistent with the rest of the code and only relevant on 4.x (since
  5.x has gcc 3.2.x as its default compiler).
2003-02-28 17:12:24 +00:00
Greg Lewis
30ab46c12b . Resurrect patch accidentally removed in last commit. 2003-02-12 19:01:39 +00:00
Greg Lewis
a3d89c1e3c . Update to patchset 8. 2003-02-12 19:00:42 +00:00
Greg Lewis
54fc94c029 Be consistent. If we're going to explicitly use /sbin/sysctl to check
the value, then tell the user to use that to set the value too.
2003-01-30 11:10:10 +00:00
Kris Kennaway
d604e1d6d3 Use the full path to /sbin/sysctl
Noticed by:	'make index' in crontab
2003-01-30 08:23:53 +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
354b48008f . Add optional (default: off) runtime dependencies for the font packages
necessary to support the different font.properties that are installed.
2002-10-31 20:20:37 +00:00
Greg Lewis
e4956ee696 . Fix UDP packet broadcasting.
. Bump PORTREVISION.

Submitted by:	daichi, Tetsuo Suzuki <tetsuo@ss-lab.net>
2002-10-31 17:56:56 +00:00
Greg Lewis
9f087781c0 . Check for open-motif with libXm.so, which we actually use, instead of
libMrm.a, which isn't.
2002-10-29 05:17:59 +00:00
Greg Lewis
71d710d093 . In the informative message regarding downloading the necessary files,
use ${DISTDIR} rather than /usr/ports/distfiles.

Submitted by:	Mike Meyer <mwm@mired.org>
2002-10-29 05:16:16 +00:00
Greg Lewis
bb279e9df7 . echo -> ${ECHO_MSG} 2002-10-25 05:54:09 +00:00
Greg Lewis
be1315e7fd . Catch up with additional font.properties files. 2002-10-25 05:53:27 +00:00
Greg Lewis
b962656ac3 . Chinese font.properties and make glue.
Submitted by:	Huang wen hui <hwh@ns.gddsn.org.cn>
2002-10-25 05:51:52 +00:00
Greg Lewis
daaab4406a . More XIM fixes for Japanese users (and presumably others with similar
character sets).
. Bump PORTREVISION.

Submitted by:	daichi
2002-10-18 21:45:45 +00:00
Greg Lewis
68eb5d0400 . Link the Netscape 4 plugin against libintl to avoid a runtime link
error.  This may allow browsers which use Netscape 4 plugins (e.g.
  Konqueror) to make use of it.

Code change by me, problem report by Dylan Carlson <absinthe@pobox.com>.
2002-10-18 21:44:13 +00:00
Greg Lewis
4d9ad417ed . Russian and Ukrainian font property files and appropriate build changes.
Submitted by:	mi
2002-10-18 21:41:25 +00:00
Greg Lewis
b5b9c33c5f . Make the instructions for downloading the various source bits clearer.
The instructions are based on text submitted in the PR (by grog).

PR:		42942
2002-10-17 16:30:53 +00:00
Ernst de Haan
2c50b3e55f Not using IGNORE anymore to avoid package building.
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= "You can not legally distribute binaries"
.endif

This was superfluous and inhibiting package builds of things that
depend on the port. Having RESTRICTED and NO_CDROM is enough to
ensure that a package will not appear on the FTP site or a CDROM
(it will be built and used as a basis for other packages to build
with, but will be deleted at the end of the build run).

Requested by:	kris
Reviewed by:	portmgr (silence)
PR:		42758
2002-10-10 08:38:39 +00:00
Ernst de Haan
c74d548b1e Unified one-line descriptions for JDK ports. 2002-08-12 11:49:59 +00:00
Ernst de Haan
0050da690f Changed the installation directory of the Sun JDK 1.3.x for Linux to
linux-sun-jdk1.3.1.

PR:		41424
2002-08-10 10:31:09 +00:00
Greg Lewis
db48578b53 . Fix a typo in a message printed out to the user. 2002-08-08 18:41:44 +00:00
Greg Lewis
dca45b0ea4 Add a check in pre-build for a sysctl which will cause an error during
bootstrapping with the Linux JDK.
2002-08-06 16:36:21 +00:00
Greg Lewis
5e9fbe3fad Improved font.properties.ja based on the Kochi fonts rather than the
Watanabe/Wadalab fonts.

Submitted by:	daichi <daichi@ongs.co.jp>
2002-08-05 18:26:16 +00:00
Greg Lewis
cbf8224709 Now that sobomax has updated the system version of tar don't redefine
TAR and add gtar to BUILD_DEPENDS unless the OSVERSION is old enough.

Small tweak by me to note that sobomax has MFC'ed the tar update.

Submitted by:	Mikhail Teterin <mi@aldan.algebra.com>
2002-08-05 18:19:58 +00:00
Greg Lewis
3341a3cd35 Add in a patch from the porting repository that allows people to build
HotSpot if they wish (by hand, not via the port yet).
2002-08-05 18:16:05 +00:00
Greg Lewis
833af3b828 Update to patchset 7. 2002-07-25 18:31:26 +00:00
Greg Lewis
7b57f84935 Remove unintentional dependency on readlink by replacing the call to it
with a piece of sh+awk based on a recent post to freebsd-arch by
Cyrille Lefevre <cyrille.lefevre@laposte.net>.
2002-07-15 07:17:24 +00:00
Greg Lewis
e9d1fccec1 Only depend on the Linux JDK when NATIVE_BOOTSTRAP isn't defined. 2002-07-07 21:38:45 +00:00
Greg Lewis
b9de798e03 Add a pre-build target to check for a setting of WRKDIRPREFIX which will
result in the InvokerGen.java target failing.  The bootstrapping Linux
JDK will confuse itself if WRKDIRPREFIX also exists in /compat/linux
as a symbolic link to the directory in the standard FreeBSD hierarchy.

Much appreciated sleuth work by:	dillon
2002-06-27 05:34:39 +00:00
Greg Lewis
d2ac81835a Add open-motif to RUN_DEPENDS temporarily until we teach the JDK to
statically link with the Motif libraries.

Submitted by:	"Alexander Zagrebin" <alexz@visp.ru>
2002-06-26 05:10:24 +00:00
Greg Lewis
32c919750f . Fix dependencies after recent JDK ports repo copy.
PR:		39231

. Don't use -p with ${MKDIR}, its the default.
. Define (if necessary) and use ${SORT}, ${CPIO} and ${FIND} rather than
  hardwiring them as /usr/bin/sort, etc.

Apologies to sobomax for not asking for a review, I thought it important
to unbreak the port as quickly as possible.

Submitted by:	alane (dependencies), znerd
2002-06-13 16:01:25 +00:00
Greg Lewis
991bc4e41a . Fix compilation on FreeBSD 4.2 by including <sys/param.h>
PR:	36871

. Fix compilation on -CURRENT using gcc 3.1 by including <string.h>
  (for strlen(3))

Reported and tested by:	 John Angelmo <john@veidit.net>

Reviewed by:	sobomax
Approved by:	sobomax
2002-06-11 19:03:47 +00:00
Kris Kennaway
9f5a2bc787 Rename monstrously long patch filenames that were causing tar to exceed
length limitations (100 characters) and fail.
2002-06-05 21:43:14 +00:00
David E. O'Brien
ba0c879959 Use correct Open Motif. 2002-05-28 01:47:45 +00:00
Greg Lewis
35dbc5bb82 Add a NATIVE_BOOTSTRAP knob which allows people to bootstrap with
an already installed native JDK rather than insisting on the
hardcoded Sun Linux JDK as the bootstrapper.  This also means
that one can remove the Sun Linux JDK after the initial build
if so desired.

This may be superseded by a more general method of specifying
the bootstrap compiler from bsd.java.mk at a later date.

Reviewed by:	sobomax
Approved by:	sobomax
2002-05-03 05:36:11 +00:00
Greg Lewis
b2841c8077 Really fix the incompatibilities with gettext 0.11. The previous
bandaid is reverted by this commit and instead patches are added
which will remove duplicate message entries from the .po files for
the plugin.

These are essentially the patches of marius@alchemy.franken.de, with
the first part of each patch removed (the message does actually have
two spaces in the code!).  These patches were verified with the script
submitted by KANOU Hiroki-san and against the patches submitted by
SUGIMURA Takashi-san.  Thanks to all of these people.

Apologies for the increasingly long patch names.

PR:		37087, 37147
Submitted by:	marius@alchemy.franken.de
Reviewed by:	sobomax
Approved by:	sobomax
2002-05-03 05:32:23 +00:00
Maxim Sobolev
b7f44fd50d Correct pkg-plist. 2002-04-23 10:10:07 +00:00
Greg Lewis
4a6fa7fd6f Fix the build of libaudio.so on 5-CURRENT by using <sys/soundcard.h>
rather than <machine/soundcard.h>.  This doesn't affect the build
on 4-STABLE.

PR:		36988
Submitted by:	Motoyuki Konno <motoyuki@bsdclub.org>
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-16 19:34:24 +00:00
Greg Lewis
8716a1907f Add a temporary dependency on gettext-old and use msgfmt-old to process
messages for the browser plugin.

This is a bandaid for the problem expressed in the PR while I evaluate
a number of other proposed patches for the correct fix.  Hence the PR
currently remains open.

PR:	37087
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-16 18:24:44 +00:00
Greg Lewis
d32f0358ba Bump PORTREVISION due to the last two changes to the port.
Approved by:	sobomax
2002-04-16 06:08:42 +00:00
Greg Lewis
3b5594fd6b Fix some crash bugs in the browser plugin code by using
the correct functions to call static Java methods.

Submitted by:	Richard Tobin <richard@cogsci.ed.ac.uk>
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-16 06:07:05 +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
Greg Lewis
7b1fcb8aaa Start my bid for world domination by taking maintainership
of the jdk13 port.

Reviewed by:	sobomax
Approved by:	sobomax
2002-04-15 19:26:24 +00:00
Greg Lewis
51a22b820e A better fix for creating src.jar. Using tar by itself fails because the
argument list is too long.  Hence the first patch invoked tar once for
each file.  This works, but is inefficient.  This version of the patch
uses cpio in pass through mode to copy all the files at once.

PR:		35658
Submitted by:	"Remco van 't Veer" <rwvtveer@xs4all.nl>
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-12 05:00:52 +00:00
Greg Lewis
47b0e09d4c Fix user and group ownership of the installed files when they have been
built by someone other than root.  Instead of moving the files with tar,
move them with cpio and set up ownership.

Note that I have not closed the PR as there are 12 other ports named in
the PR with this problem.

PR:		36411
Submitted by:	Alan Eldridge <ports@geeksrus.net>
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-12 04:34:41 +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
Ernst de Haan
0973110a22 Bumped PORTREVISION. Added a patch earlier today, and the
port should be rebuilt for the patch to be applied. Now
portupgrade should work as expected.

PR:	ports/35658
2002-03-11 17:21:05 +00:00
Ernst de Haan
efdbdc5974 Fixes the problem that the source JAR is too small.
Submitted by:	Greg Lewis
PR:		ports/35658
2002-03-11 10:36:27 +00:00
Maxim Sobolev
48c306fca5 Add urwfonts into RUN_DEPENDS to prevent lot of "missed font" warnings when
starting any Swing app.

PR:             31364
Submitted by:   Jonathan Chen <jonathan.chen@itouch.co.nz>
2002-03-06 10:26:47 +00:00
Chad David
a7453519d9 Corrected the gtk version number at the request of Greg Lewis.
Submitted by:	Greg Lewis
2002-02-20 08:12:38 +00:00
Maxim Sobolev
c16dc69552 Use correct LIB_DEPENDS.
PR:		35120
Submitted by:	Greg Lewis <glewis@eyesbeyond.com>
2002-02-19 18:19:30 +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
a447aed7c4 Fix ampersand entities...
Submitted by: Remco van't Veer
2002-02-14 16:01:23 +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