Commit Graph

21 Commits

Author SHA1 Message Date
Augustin Cavalier
1a61a2e268 openjdk: Enhance description, fix PROVIDES, update copyright. 2014-07-30 14:59:09 -04:00
Hamish Morrison
0cb945f6cb openjdk: add recipe for 7u80_b00 2014-05-31 20:21:54 +01:00
Oliver Tappe
80bbd70b83 Let all recipes use SHA-256 checksums only. 2014-04-21 19:31:51 +02:00
Adrien Destugues
5e7594c665 OpenJDK: try to make it work on hybrid installs
* Fails because of _get_system_info changes?
2014-03-30 13:23:01 +02:00
Adrien Destugues
d47ea7d656 OpenJDK: remove outdated and broken recipe.
The one Ingo wrote looks lore solid, but needs support for building as
an hybrid.
2014-03-10 16:54:26 +01:00
noryb009
1fa8788a0c Rewrap dev-lang DESCRIPTIONs 2014-01-02 16:40:56 -05:00
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