Commit Graph

1585 Commits

Author SHA1 Message Date
cba77fdca6 Merge pull request #709 from kiwix/rebuild_libkiwix r_64 2024-06-28 10:41:54 +02:00
d066655a73 Rebuild libkiwix 13.1.0
When releasing libzim and libkiwix, we use config native_mixed with is a
mix of static and dynamic linking:

- Dependencies are build as static libraries.
- Released projects (libzim/libkiwix) are build as dynamic libraries,
  statically linked to dependencies.

This way, we have only one `.so` file which contain all our needed symbols.

However, this logic is "local" to each project.
This mean that libkiwix is linked **statically** to libzim.
So libkiwix.so is containing libzim symbols.

But on "java-libkiwix", we are both linking to libzim.so and libkiwix.so.
If the version of the (dynamically) used libzim.so is not the same that the
version on which we have (statically) linked libkiwix.so, we end with
symbols of two different versions being loaded and conflicting.

So let's rebuild libkiwix with last version of libzim to avoid this conflict.
2024-06-28 09:50:52 +02:00
289ae6f78a Merge pull request #708 from kiwix/libzim_9.2.2
Release libzim 9.2.2
r_63
2024-06-22 15:52:19 +02:00
35ca7068a1 Bump-up version of base_deps_meta_version 2024-06-22 15:00:08 +02:00
4b6c4a2547 Use version 0.6.0 of ZIM testing suite 2024-06-22 14:55:32 +02:00
2b25f3cfc3 Release libzim 9.2.2 2024-06-22 14:24:20 +02:00
23de94e0ca Merge pull request #707 from kiwix/fix_appveyor_build 2024-06-20 17:49:41 +02:00
2652899781 [AppVeyor] Update url of pkg-config-lite 2024-06-20 17:24:38 +02:00
e31147c7e5 Revert "WIP Use windows branch on windows CI"
This reverts commit 05fc3b409c.

This was a temporary commit to make the PR compile with a dev branch of libzim.
Now PR on libzim is merged. We must remove this commit.
2024-06-17 10:11:03 +02:00
e408b5b1ca Merge pull request #703 from kiwix/libzim_github_ci_windows
Libzim GitHub CI windows
2024-06-15 16:43:10 +02:00
05fc3b409c WIP Use windows branch on windows CI 2024-06-07 18:34:30 +02:00
d2d1f686b1 Build libzim on windows with werror=false
MSVC throw a lot of warning because we also must re-export stl symbols
used in our exported class.

See [1] and [2] (and links inside) for more information.

Especially [3] which seems to say that we should have issue at link time if
it compatibility issue occurs (and so easily catchable).

So I just remove the `werror=true` for now.

[1] https://stackoverflow.com/questions/16419318/one-way-of-eliminating-c4251-warning-when-using-stl-classes-in-the-dll-interface
[2] https://stackoverflow.com/questions/2132747/warning-c4251-when-building-a-dll-that-exports-a-class-containing-an-atlcstrin
2024-06-07 18:33:55 +02:00
703554d556 Correctly strip newline (on Windows) 2024-06-07 15:38:46 +02:00
46e58b763d Don't depend on lzma. 2024-06-07 15:38:45 +02:00
6bfe9ec8b1 Do not build libzim with xapian dependency on Windows. 2024-06-07 15:38:05 +02:00
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