1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-18 12:48:53 +00:00
Commit Graph

43 Commits

Author SHA1 Message Date
Tee KOBAYASHI
6d988a71f9 openjdk-17: Recommend ca-certificates-java, resolv-conf
Strictly needs revbump, but for now:

%ci:no-build
2023-01-08 06:53:28 +09:00
Tee KOBAYASHI
d5ae1f527e openjdk-17: Separate openjdk-17-x as a subpackage
still very experimental though.
2022-11-08 19:48:15 +00:00
Tee KOBAYASHI
d4f0faff66 openjdk-17: Separate openjdk-17-source
as a platform-independent subpackage.
2022-11-08 19:48:15 +00:00
Tee KOBAYASHI
15e5cef6ae openjdk-17: Remove unneeded symlinks
after commit 1b5f744199.
2022-11-08 19:48:15 +00:00
Chongyun Lee
aa0225be21 fix(main/openjdk-17): crash on aarch64 2022-10-14 13:22:09 +08:00
Tee KOBAYASHI
0531e0cf55 openjdk-17: Add patch for CVE-2022-34169 2022-10-13 03:11:28 +09:00
Henrik Grimler
971d64e01b
chore(main/openjdk-17): mark as un-safe for on device builds
Since some files in $PREFIX are removed.

%ci:no-build
2022-08-29 09:13:02 +02:00
Henrik Grimler
1b5f744199
openjdk-17: add $PREFIX/lib to runpath as well
So that system dependencies like libgif are found as well.

Fixes https://github.com/termux/termux-packages/issues/10705.
2022-05-17 14:39:01 +02:00
Tee KOBAYASHI
9e61c8dbfa openjdk-17: Fix hardcoded paths 2022-05-07 09:02:01 +09:00
Tee KOBAYASHI
a3fdaf3316 openjdk-17: Add workaround for tagged pointers
on Android 12.

Co-authored-by: dev-bz <32380878+dev-bz@users.noreply.github.com>
2022-05-04 15:12:52 +09:00
Tee KOBAYASHI
5b46eadf36 openjdk-17: Add patch for CVE-2022-21449 2022-04-22 03:01:00 +09:00
Henrik Grimler
6586f5bcbf
openjdk-17: bump package after zlib update
Running java{,c} currently gives

CANNOT LINK EXECUTABLE "java": library "libz.so.1" not found: needed by main executable

For some reason other packages that link against zlib do not seem to
be affected.

Fixes https://github.com/termux/termux-packages/issues/9717.
2022-03-31 17:26:36 +02:00
Tee KOBAYASHI
b160cd7973 openjdk-17: Build libsplashscreen 2021-12-23 11:20:50 +02:00
Henrik Grimler
88cbb2f09d openjdk: pass some of the build tools as configure args
openjdk ignores the environmental variables, and tries to use
<triple>-{ar,nm,objcopy,..}, but with ndk-r23 the name of the tools
are llvm-{ar,nm,objcopy,..}.
2021-10-24 13:22:40 +02:00
Henrik Grimler
022378bb9c
openjdk: bump after ndk update 2021-10-24 07:52:12 +02:00
Leonid Pliushch
e1441e6a6a
openjdk-17: gzip manpages
Fixes errors like

 ~ $ man javac
 man: ERROR: /data/data/com.termux/files/usr/share/man/man1/javac.1.gz: No such file or directory
2021-09-07 23:18:52 +03:00
Leonid Pliushch
754893a42b
openjdk-17: symlink manpages to prefix/share/man/*
Fixes https://github.com/termux/termux-packages/issues/7482
2021-09-07 19:52:39 +03:00
w4123
4e7861fc0b Bump revision 2021-08-26 11:49:26 +02:00
w4123
ffdb1bdc5e Always compile openjdk with pic 2021-08-26 11:49:26 +02:00
Lucinda May Phipps
97f8910906
openjdk17: actually bump 2021-08-25 22:40:19 +01:00
Leonid Pliushch
e2083bd5c0
openjdk-17: bump revision & source url 2021-08-25 23:13:26 +03:00
Leonid Pliushch
0561eb8cbd
openjdk-17: extract libfontmanager patch from repository 2021-08-25 23:09:07 +03:00
Leonid Pliushch
08b1ffd458
openjdk-17: fix crash on arm devices
Closes https://github.com/termux/termux-packages/issues/7214.
2021-08-25 23:00:44 +03:00
Lucy Phipps
aba79ddac8
bump openjdk-17, proot, proot-distro
https://github.com/termux/termux-packages/pull/7335#issuecomment-904202191
2021-08-24 20:13:08 +01:00
Leonid Pliushch
a504ba513f
openjdk-17: build with graphics support 2021-08-22 19:45:20 +03:00
Leonid Pliushch
d087977052
Revert "Move openjdk-17 to x11-packages"
Dependencies of packages from "main" set cannot be moved to
supplementary repositories.

This reverts commit 30356b7e32.
2021-08-22 19:32:00 +03:00
Martin Valba
30356b7e32 Move openjdk-17 to x11-packages
Moved openjdk-17 from termux-packages to x11-packages as of its deps for GUI support.
2021-08-22 18:43:49 +03:00
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