Commit Graph

16 Commits

Author SHA1 Message Date
Leonid Pliushch
58397fde9a
scripts/properties.sh: set java home to openjdk 8
Fix packages like termux-am
2021-08-01 18:39:37 +03:00
Leonid Pliushch
677c7ed45a
openjdk-17: fix linking 2021-08-01 14:47:44 +03:00
Leonid Pliushch
72f4f27b14
openjdk-17: link with libandroid-shmem and libandroid-spawn
Note: it is unknown whether these libraries actually needed during runtime.
Utilities are working fine without linking with these libraries. However
there are chances that certain Java functions may require spawn and shmem
functionality. I'm considering them as runtime dependencies because their
headers are required during compilation.
2021-08-01 12:42:16 +03:00
Leonid Pliushch
bdf1a73dd8
openjdk-17: omit DT_RUNPATH, move soft dependencies to suggests
Do not set DT_RUNPATH for OpenJDK binaries to prevent conflicts between
internal libs with present in $TERMUX_PREFIX/lib, specifically libnet.so

cups, x11 and others are not hard dependencies and shouldn't be necessary
in most cases. Move them to suggests .deb package metadata.
2021-08-01 12:37:34 +03:00
Leonid Pliushch
ea6e15ff2a
openjdk-17: try server variant for arm 2021-07-30 18:29:20 +03:00
Leonid Pliushch
f57980b343
openjdk-17: provide JAVA_HOME 2021-07-30 17:00:43 +03:00
Leonid Pliushch
da13243aa0
openjdk-17: use dlopen
android_mallopt seems not availabke in API 24 libc
2021-07-30 15:25:12 +03:00
Lucy Phipps
4ad7c66215
openjdk17: fix typo in android11.patch 2021-07-30 12:26:43 +01:00
Leonid Pliushch
23b82b8e3b
openjdk-17: include stdbool.h 2021-07-30 13:29:54 +03:00
Leonid Pliushch
0d5011e34a
openjdk-17: try disable tagging 2021-07-30 12:33:56 +03:00
Leonid Pliushch
ddf9dc680d
openjdk-17: remove android11.patch as it doesn't work
Perhaps issue is rather tagged pointers than fdsan.
2021-07-30 12:09:12 +03:00
Leonid Pliushch
26ca235a5d
openjdk-17: another attempt to fix android 11 2021-07-30 10:11:20 +03:00
Leonid Pliushch
7d14fcd6e4
openjdk-17: patches to disable fdsan on android 11 2021-07-30 02:15:18 +03:00
Leonid Pliushch
bfbbce0bbc
new package: openjdk-17 2021-07-30 01:44:41 +03:00
Leonid Pliushch
c6bead3a16
Revert "new package: openjdk-17"
This reverts commit 3660248f29.
2021-07-30 00:16:40 +03:00
Leonid Pliushch
3660248f29
new package: openjdk-17
Testing.

Pull request CI jobs fail for some reason, however I can't reproduce issue
with local builds. Maybe this will not fail, otherwise will revert this
commit.
2021-07-29 23:52:46 +03:00