Commit Graph

15 Commits

Author SHA1 Message Date
Ingo Weinhold
c60ef3bce2 openjdk: Build with external zlib
* Patch the build system to allow building with an external zlib
  instead of using the included one. Since the included zlib symbols
  would be visible also to other JNI code (e.g. translators used by the
  SWT libs), this could cause problems where a newer version was
  required (e.g. libpng used by the PNG translator).
* Verified ALT_JDK_IMPORT_PATH as needed to be set.
2013-12-23 01:07:55 +01:00
Ingo Weinhold
cfdced4d7f openjdk: Fix data/profile.d/openjdk.sh
Quoting was missing, so we'd always get an empty JAVA_HOME.
2013-12-08 02:33:17 +01:00
François Revol
72ac1f84c6 Convert some remaining bep syntax to shell syntax 2013-12-07 02:00:02 +01:00
Ingo Weinhold
4de4abc407 openjdk: Add some packaging treats
Add to the package:
* bin/java-config: When invoked with option -H it prints the java home
  directory.
* data/profile.d/openjdk.sh: It is automatically sourced by
  /etc/profile and sets JAVA_HOME.
2013-12-06 02:40:58 +01:00
Ingo Weinhold
c814ab3969 openjdk: Fix missing classes in rt.jar
We invoke make twice to work around a bug in the build system which
causes (some) generated java files not to be picked up and compiled
the first time around.

The issue is in jdk/make/common/Rules.gmk the way $(JAVA_SOURCE_LIST)
is generated. That happens as a side-effect of the */%.class rules
which are triggered due to $(FILES_class) being listed as prerequisites
of $(JAVA_SOURCE_LIST). That means $(FILES_class) -- which ultimately
is based on a shell invocation which finds .java files via find -- is
evaluated in the first pass, i.e. long before the generated source
files are made. Hence they aren't compiled and will be missing from
rt.jar. Running make a second time works around the issue, since the
source files will already be present then.
2013-12-04 03:51:39 +01:00
Ingo Weinhold
2ceacd897f openjdk: Fix for missing java.lang.CharacterData* classes 2013-12-04 03:51:38 +01:00
Ingo Weinhold
10a35d3fa3 openjdk: Update recipe
* Disable source package for the time being.
* Implement INSTALL.
* Add provides for the commands.

The package builds, but due to some missing classes it doesn't really
work yet.
2013-11-26 22:51:03 +01:00
Ingo Weinhold
91dc0dcc7e Make use of $ORIGIN in rpath now supported in Haiku 2013-11-26 22:51:02 +01:00
Ingo Weinhold
bd4216a951 openjdk: Update hard-coded library paths 2013-11-26 22:51:01 +01:00
Ingo Weinhold
587fb33a47 openjdk: Some hotspot build fixes, typo in recipe 2013-11-26 00:12:54 +01:00
Ingo Weinhold
9e27639aac openjdk: WIP recipe
Doesn't fully build yet. The build runs for a while, but eventually,
when building the jaxws/jaf sources, javac hangs. It blocks trying to
write to stderr, a pipe whose other end isn't read from (by Ant). I
haven't determined yet, whether the hang is an Ant bug and the issue
is javac simply encountering too many issues, or whether javac writing
a lot to stderr is just fine (verbose diagnostics?) and the hang is
actually a Haiku (pipe related?) bug, a combination of the two, or
something else entirely.
2013-11-12 03:06:42 +01:00
Scott McCreary
adf174fe32 Added script for setting openjdk environment. Updated openjdk bep to correctly build distro zip.
(cherry picked from commit 1e2de4b85d)
2013-09-17 00:22:07 +02:00
Scott McCreary
739bda9be2 Updated bep for openjdk, from Frédéric Gaillard.
(cherry picked from commit 5875e10c5a)

Conflicts:
	dev-lang/openjdk/openjdk-1.7.bep
2013-09-17 00:21:17 +02:00
Oliver Tappe
60aba35d64 * convert all .bep files to follow shell syntax
* rename all .bep files to .recipe
2013-03-29 16:31:03 +00:00
Oliver Tappe
94cc6aaf85 Merge all changes from trunk 2013-03-29 14:04:07 +00:00