Commit Graph

1570 Commits

Author SHA1 Message Date
e3656ab3f6 Do not print warning on windows 2024-06-07 15:36:58 +02:00
cd04a895fb Bump base_deps_meta_version 2024-06-07 15:36:58 +02:00
bea72574b0 Use python to update failure logs. 2024-06-07 15:36:58 +02:00
bdda21f7c7 Use paramiko module to upload archives. 2024-06-07 15:36:58 +02:00
1f4409d2ac Correctly get temp dir on Windows. 2024-06-07 15:36:58 +02:00
0e0ac010bb Build icu4c using meson on Windows. 2024-06-07 15:36:58 +02:00
93a8c89996 Do not set permission to 0 for extracted file. 2024-06-07 15:36:58 +02:00
ca3d90d793 Use the correct path separator on Windows 2024-06-07 15:36:58 +02:00
baa4470ebb Use setup command in meson. 2024-06-07 15:36:58 +02:00
3b0532b395 Update zstd 2024-06-07 15:36:58 +02:00
45255078f9 Build lzma using meson build system. 2024-06-07 15:36:58 +02:00
04942020d7 Fix extracting of several archives.
- Archive already existing must not stop download of other archives.
- Use copytree instead of rename to use second archive as patch on existing
  directory. (No need to remove tmpdir, as it is a temporary directory)
2024-06-07 15:36:58 +02:00
941cbc8310 Build zlib using meson.
Use the wrap coming from meson's wrapdb.
2024-06-07 15:36:58 +02:00
62dc698fad Build only libzim (and dependencies on Windows) 2024-06-07 15:36:54 +02:00
92673f357b Build on Windows with github-actions. 2024-06-07 15:29:55 +02:00
e8f873f106 Merge pull request #705 from kiwix/rebuild_android_libzim_libkiwix r_62 2024-06-05 18:17:10 +02:00
bfb029bd6c Rebuild libzim and libkiwix.
This rebuild is for android arm compilation fix.
2024-06-05 15:43:36 +02:00
9f9c03a1b9 Merge pull request #704 from kiwix/fix_android_compilation 2024-06-05 14:39:18 +02:00
b1f7beef4f Exclude libgcc and libunwind from linked libraries on Android.
As said in [1], unwinder is linked automatically by Clang and shared
library must not re-export it.

ndk after r23 (we are using r21) should be this. Else we must take care to
not re-export it.

From [2], we should pass the flags `Wl,--exclude-libs,libgcc.a` and
`-Wl,--exclude-libs,libunwind.a` to avoid re-export `_Unwind_Resume` methods.

Fix https://github.com/kiwix/kiwix-android/issues/3661

[1] https://android.googlesource.com/platform/ndk/+/master/docs/BuildSystemMaintainers.md#Unwinding
[2] https://github.com/android/ndk/issues/889#issuecomment-464334469
2024-06-04 15:12:40 +02:00
f4e2f0a845 Merge pull request #702 from kiwix/no_bionic 2024-06-03 16:53:39 +02:00
8832888aaa Add almalinux as compatible host for native and aarch config 2024-06-03 10:43:37 +02:00
1534b85c56 Fix indentation of build_definition 2024-06-03 10:43:37 +02:00
683250ca9d Use manylinux container instead of bionic
Alignement of the table in build_definition will be fixed in later commit
to not mix functionnal and cosmetic changes in the same commit.
2024-06-03 10:42:49 +02:00
82500c545b Merge pull request #694 from kiwix/kiwix-desktop-appimage-openssl 2024-05-17 17:51:12 +02:00
dee57f131c libssl is embedded in the kiwix-desktop appimage
libssl.so and libcrypto.so are embedded in the appimage so that it can
work on newer systems having a deceptively backward incompatible
version of OpenSSL.

The fix includes patching the libQt5Network.so library so that aria2's CA
certificate bundle (being included in the appimage before this change)
is used as a fallback if no certificates can be found in various
locations used for certificate stores on different major Linux
distributions. To this end, the AppRun entry point of the AppImage is
changed from a symlink to the kiwix-desktop binary to a small shell
script that creates a temporary symlink at a hardcoded path
(/tmp/cert_bundle_provided_by_kiwix.crt) pointing to the said
certificate bundle within the AppImage filesystem.
2024-05-17 15:33:52 +02:00
5b82252230 Merge pull request #701 from kiwix/zim-tools_3.4.1
Release libzim 3.4.1
r_61
2024-05-16 21:08:05 +02:00
652af505a6 Release libzim 3.4.1 2024-05-16 19:20:45 +02:00
23dd7b367c Merge pull request #693 from kiwix/kiwix-desktop-appimage-libthai_so
Forcefully adding libthai.so to kiwix-desktop appimage
2024-05-02 21:20:31 +02:00
d5333139d9 Adding libthai.so to kiwix-desktop appimage 2024-05-02 21:17:18 +02:00
723fb60d74 Merge pull request #699 from kiwix/libzim_9.2.1
Build libzim 9.2.1 and subsequent projects
r_60
2024-05-02 13:13:11 +02:00
29c7780d4f Build libzim 9.2.1 and subsequent projects 2024-05-02 13:11:35 +02:00
0ebf4c97ed Merge pull request #698 from kiwix/update-actions-for-nodejs20
Update actions relying on old Node.js16
2024-05-02 12:49:13 +02:00
4b33546b77 Update actions relying on old Node.js16 2024-05-02 11:35:59 +02:00
8041938350 Merge pull request #692 from kiwix/libzim_9.2.0 r_59 2024-04-16 19:43:58 +02:00
6aa661a474 New libzim version 9.2.0 2024-04-16 18:28:32 +02:00
a2cb517edb Merge pull request #689 from kiwix/ci-apple-silicon 2024-04-12 13:13:36 +02:00
89802f5e07 Publish deps archive on macos arm64 using mixed config. 2024-04-12 11:54:38 +02:00
a0baee815f Update to python 3.10 2024-04-12 11:52:49 +02:00
145d981328 Merge pull request #688 from kiwix/fix_build_dir 2024-04-12 10:28:50 +02:00
9235f8b048 Do not expect a full working environment when only asking for build dir.
Job `Trigger_Docker` is run in a simple environment not configured.
So tools as `ninja` are not installed. But we don't care as we just want
to trigger a docker build.
But `common` script now start by asking kiwix-build the build dir.
kiwix-build must not fail in this case.
2024-04-11 17:05:45 +02:00
d6285adaf9 Merge pull request #685 from kiwix/build_dir 2024-04-09 11:33:30 +02:00
a93b3c8896 Remove the 2 in base_deps name 2024-04-08 16:53:17 +02:00
0d27cbd8cf Update github's action to download the right deps archive. 2024-04-08 16:50:10 +02:00
b880da6ca2 native_static is compatible with Darwin 2024-04-08 16:50:10 +02:00
6fbe60386e Do not pollute stdout with warning and trace. 2024-04-08 16:50:10 +02:00
afda1f6673 Make CI common script use the correct build dir.
- Add an option to kiwix-build to get it.
2024-04-08 16:50:10 +02:00
0c0eac69c4 Introduce arch_name to name build dir base on arch name instead of config. 2024-04-08 16:50:03 +02:00
734c1ea6fc Update base_deps_version 2024-04-08 16:50:03 +02:00
f0b214681c Properly escape char in progress_chars 2024-04-08 16:50:03 +02:00
f42999199a pj now normalize path. 2024-04-08 16:50:03 +02:00