447 Commits

Author SHA1 Message Date
github-actions
c8f90f5f58 Fix(iOS): fix freetype build
It looks like latest Xcode has removed typedef Byte, causing freetype to fail compilation. Freetype also internally define it only if it's not Apple platform. A hack define is added to make it compile again.
2024-11-30 14:03:17 +00:00
khanhduytran0
a3d27d75f4 Fix(iOS): apply script changes from jre17-21 branch 2024-11-30 13:44:02 +00:00
Duy Tran Khanh
c62cba0541
Build[CI]: use boot jdk 8 2024-08-02 13:07:07 +07:00
Duy Tran Khanh
30c346a078
Build[ios]: define boot jdk distribution 2024-08-02 09:56:47 +07:00
eval Nya
65bd51bf8e
workaround: libnet: ipv6_support: skip /proc/net/ & socket() check ifdef __ANDROID__ (#27)
see ae218d9bdc%5E%21

this commit is subset of the changes mentioned above and should get
further tests before merge into JDK.
2024-07-27 20:21:21 +02:00
Duy Tran Khanh
29af9b03da
Build: update ios ci actions ver 2024-07-22 10:12:28 +07:00
Duy Tran Khanh
fc16e1dc89
Fix[tarjdk]: force-copy instead of using sudo 2024-07-22 09:49:00 +07:00
Duy Tran Khanh
ccc0091274
Fix[ios build]: remove unexpected check 2024-07-22 08:32:25 +07:00
khanhduytran0
45892bf4e9 Build: adjustment for iOS CI 2024-07-22 01:59:40 +01:00
Duy Tran Khanh
90b332788a Feat: use corretto-8 for iOS 2024-07-22 00:58:41 +01:00
fukiame
a753e0e862
buildjre8: improvements (#19)
* .github: move apt commands to workflow

the scripts are capable of running on other distros, so "let the host cook"
also explicitly use Python 3 here as the build env do not use Python 2

* treewide: use bash [[

./buildlibs.sh: line 18: [: : integer expression expected
...
./buildjdk.sh: line 53: [: : integer expression expected
...

all scripts has bash shebang anyways,
replace all single brackets [ with bash's double brackets [[

* [hack] tarjdk: force termux-elf-cleaner v2.2.0

g++: error: unrecognized command line option ‘-std=c++20’; did you mean ‘-std=c++2a’?

caused by a mix of our outdated toolchains and an upstream commit [1]
downgrade the version of termux-elf-cleaner we use to the latest stable tag to workaround the issue

[1]: 9578f2c4bc

Test: presubmit
Signed-off-by: fukiame <fukiame@proton.me>

* .github: update actions

The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-java@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

* .github: actions runner: update to ubuntu-22.04

a bit of future-proofing wont hurt... right?

* fixup! .github: java setup: its 7 not 1.7

i retartded

---------

Signed-off-by: fukiame <fukiame@proton.me>
2024-01-16 19:33:23 +03:00
Duy Tran Khanh
11a8b4b1b5
Schedule build 2023-11-17 05:42:51 +07:00
Boulay Mathias
438cd12185
Refactor: use patch instead of fork 2023-08-13 23:14:39 +02:00
Boulay Mathias
072f195a5f
Chore[clone]: change upstream repository 2023-08-13 20:43:54 +02:00
ArtDev
c92ce2a737
Fix libfreetype paths for x86 2023-07-20 16:07:38 +03:00
Boulay Mathias
b2217873d7
Feat: Reduce JRE 8 size by around 3 MB (#15)
* Feat: trim .so files

* Build: update ndk version

* workaround, Switch to old strip bins

* Fix:typo
2023-05-04 13:38:31 +03:00
ArtDev
58b97dd988
Update setdevkitpath.sh 2023-05-01 14:57:00 +03:00
ArtDev
38b4cebdaa
Update setdevkitpath.sh 2023-05-01 14:54:41 +03:00
Boulay Mathias
c99a8b8d9c
Fix: debug only on failure 2023-05-01 10:51:30 +02:00
Boulay Mathias
c27fe84471
allow to debug the container when it fails 2023-05-01 09:53:06 +02:00
ArtDev
6d6dddb811
Update buildjdk.sh 2023-04-16 09:40:49 +03:00
ArtDev
6cbc57072e
Uplaod the page trap fix patch 2023-04-16 09:37:48 +03:00
Duy Tran Khanh
4797b35771
Enable generating debug symbols again 2023-04-16 05:52:35 +07:00
ArtDev
e058dd4a87
Build client JVM for x86 2023-04-15 16:03:11 +03:00
ArtDev
2a6e4a0e07
Nvm 2023-04-15 16:01:06 +03:00
ArtDev
3705aadf96
Build client JVM variant for x86 2023-04-15 15:41:55 +03:00
artdeell
8886444557 Final(?) patch fix 2023-02-25 13:06:25 +03:00
artdeell
1c68e6e2ba Whoops! Forgot to check full history! 2023-02-25 13:06:25 +03:00
artdeell
7039d84be4 Add patch for AWT_OnLoad path
This patch makes the runtime work properly on devices with old Android versions - originally it doesn't work due to a dlinfo bug in Android < 7
2023-02-25 13:06:25 +03:00
ArtDev
17e0a04f4d Fix aarch32 patches 2023-02-25 13:06:25 +03:00
artdeell
65cfcff6a1 Add aarch32 patches 2023-02-25 13:06:25 +03:00
ArtDev
6367c7524e Add nedline at the end of patch
Otherwise git complains about corruption
2023-02-25 13:06:25 +03:00
ArtDev
09606a9f79 Update buildjdk.sh 2023-02-25 13:06:25 +03:00
artdeell
1a5ab53056 Fix missing semicolon 2023-02-25 13:06:25 +03:00
artdeell
90d461f705 Separate universal and main non universal patches 2023-02-25 13:06:25 +03:00
ArtDev
4a07e97efe Use aarch32 port for aarch32 and base jdk8u otherwise 2023-02-25 13:06:25 +03:00
ArtDev
b3042ae7b2 Forcefully define __ANDROID__ 2023-02-25 13:06:25 +03:00
ArtDev
ab0aec8252 Fix forgotten bracket in architecture matrix 2023-02-25 13:06:25 +03:00
Duy Tran Khanh
14f2981ab3 Build for aarch32 using its repo 2023-02-25 13:06:25 +03:00
khanhduytran0
817fc68835 Patch: skip building demo/libwaiters.so
undefined reference to __gxx_personality_v0

Also:
- Perform unsafe git applying of patches
- Comment out freemarker stuff, not needed here
2023-02-25 13:06:25 +03:00
Duy Tran Khanh
c7407f6561 Update buildjdk.sh 2023-02-25 13:06:25 +03:00
Duy Tran Khanh
f32176a7cb Fix patch location 2023-02-25 13:06:25 +03:00
Duy Tran Khanh
edf2022254 Add needed flags for git apply 2023-02-25 13:06:25 +03:00
khanhduytran0
51be07de5d (Test) Live patch latest jdk8u 2023-02-25 13:06:25 +03:00
ArtDev
946b5b4e20
Change XZ compression level to 6 for older devices 2022-11-12 21:15:17 +03:00
Boulay Mathias
fad7a35e89
Update repackjre.sh 2022-09-25 10:10:52 +02:00
Boulay Mathias
4bd9c41149
remove man folder 2022-09-08 23:35:52 +02:00
Duy Tran Khanh
3e1521f25d
Hopefully fix repackjre 2022-09-08 21:03:41 +07:00
Duy Tran Khanh
3c4f9b3903
Update tarjdk.sh 2022-09-01 05:49:09 +07:00
Duy Tran Khanh
fa929ecc63
Update termux-elf-cleaner building process 2022-09-01 05:27:29 +07:00