Matthieu Gautier
dba386a427
Fix wasm workflow configuration.
2022-12-01 22:28:23 +01:00
Matthieu Gautier
fb095d91e6
Retrigger a build for wasm.
...
Other platforms will fail at upload because archives are read only but
the wasm build should be ok.
2022-12-01 22:09:51 +01:00
Matthieu Gautier
91ef647e78
Run releaseNigthly workflow also for wasm
2022-12-01 22:06:43 +01:00
Matthieu Gautier
3be9eca1a9
New version of all projects
...
- libzim 8.1.0
- libkiwix 12.0.0
- zim-tools 3.1.3
- kiwix-tools 3.4.0
- kiwix-desktop 2.3.1
2022-11-30 18:16:21 +01:00
Matthieu Gautier
c99ad0b081
Merge pull request #554 from kiwix/fix_kiwixbuild_linux_packaging
2022-11-30 15:26:15 +01:00
Matthieu Gautier
ab2458c1c4
Add "static" include dir when compiling native_mixed.
2022-11-30 14:22:13 +01:00
Matthieu Gautier
07d1561a87
[CI] Build libkiwix on on native_mixed
2022-11-30 14:22:13 +01:00
Matthieu Gautier
cd0c2da542
Correctly compile libkiwix on native_mixed
2022-11-30 12:20:40 +01:00
Matthieu Gautier
67a20fd576
Merge pull request #553 from kiwix/fix_wasm_packaging
2022-11-30 12:17:06 +01:00
Matthieu Gautier
84eea4a7ed
Package all libzim dependencies on wasm.
...
Fix #552
2022-11-30 11:07:21 +01:00
Matthieu Gautier
23c9ecdbed
Merge pull request #551 from kiwix/fix_wrong_upload
2022-11-24 17:29:41 +01:00
Matthieu Gautier
c27348bde3
Publish the CI only if we are on a dev branch.
...
If we try to publish all the time, we will conflict with `Release&Nigthly`
workflow as we would pulbish in nigthly directory.
Fix #550
2022-11-23 16:06:35 +01:00
Matthieu Gautier
75ca8dcf2a
Merge pull request #548 from kiwix/wasm
2022-11-22 13:49:41 +01:00
Matthieu Gautier
a44531bb8a
Upload generated packages on `tmp/ci` when building on branches.
...
We need to be able to test our generated artefacts before we merge the
branches.
2022-11-16 16:37:05 +01:00
Matthieu Gautier
ab421848c5
Use glob instead of specifying the lib_prefix.
...
There is no need to be specific here, we are already in INSTALL_DIR which
contains only things specific to our platform.
2022-11-16 16:37:05 +01:00
Matthieu Gautier
9881571047
Add packaging of libzim.a
...
Wasm build is creating a static library.
2022-11-16 16:37:05 +01:00
Matthieu Gautier
16fc490ae7
Add build of libzim on wasm in the CI
2022-11-16 16:37:05 +01:00
Matthieu Gautier
9695737ca1
Update meta_version to trigger a build on the CI
2022-11-16 16:37:05 +01:00
Matthieu Gautier
fd8044ba76
Reduce base dependencies to ony what needed on wasm.
2022-11-16 16:37:05 +01:00
Matthieu Gautier
6f8b82ad7d
Fallback to lzma-5.2.6
...
Version 5.2.7 include this commit
https://git.tukaani.org/?p=xz.git;a=commit;h=31d80c6b261b24220776dfaeb8a04f80f80e0a24
With this change, compiling libzim mixed (libzim dynamic and dependencies,
so lzma, statically) fails at libzim linking with a
`src/libzim.so.8.0.1: version node not found for symbol lzma_get_progress@XZ_5.2.2`
error message.
This can be "workaround" by passing `--disable-symbol-versions` to
configure script but then, it is the compilation of kiwix-desktop in
native_dyn which falling with
```
/usr/bin/ld: /usr/lib64/libsystemd.so.0: undefined reference to `lzma_code@XZ_5.0'
/usr/bin/ld: /usr/lib64/libsystemd.so.0: undefined reference to `lzma_end@XZ_5.0'
/usr/bin/ld: /usr/lib64/libsystemd.so.0: undefined reference to `lzma_stream_decoder@XZ_5.0'
/usr/bin/ld: /usr/lib64/libxml2.so.2: undefined reference to `lzma_auto_decoder@XZ_5.0'
/usr/bin/ld: /usr/lib64/libxml2.so.2: undefined reference to `lzma_properties_decode@XZ_5.0'
```
Probably because some native dependencies (Qt ?) use versionned symbols.
This have to be fixed somehow but until then, let's go back to 5.2.6
2022-11-16 16:37:05 +01:00
Matthieu Gautier
180fb249f6
Add a support to compile libzim for wasm.
...
`icu4c_wasm.patch` is build by :
- Copying config.sub from liblzma source as new version of config.sub there
knows about wasm architecture.
- Copying `mh-linux` on `mh-unknown` as specified in (origin) `mh-unknown`.
This is because icu4c configure doesn't detect `emscripten` platform and
"fallback" to `mh-unknown`.
2022-11-16 16:37:05 +01:00
Matthieu Gautier
b8c120b179
Pass the path of the patch in the command line instead of as stdin.
...
This way, we can see the applied patch in the log.
2022-11-16 10:46:06 +01:00
Matthieu Gautier
a7809b33fc
Update lzma version to 5.2.7
...
On top of using a more recent version (which is good it itself),
version 5.2.7 use a autotools version which knows about wasm.
2022-11-16 10:46:06 +01:00
Matthieu Gautier
ce82860b85
Introduce configure and make wrapper.
...
This way, we can use small wrapper tools from sdk to run configure and
make.
2022-11-16 10:45:57 +01:00
Matthieu Gautier
3c445389be
Merge pull request #547 from kiwix/update_android_ndk
2022-10-13 10:46:38 +02:00
Matthieu Gautier
3847844c54
Update android_ndk to version r21e
...
To do this, we need to update the android api to 24.
We lost all users using a android under api 24.
2022-09-29 09:45:15 +02:00
Matthieu Gautier
3c7c6048c9
Merge pull request #546 from kiwix/fix_release_detection
...
Fix release detection
2022-09-28 17:39:35 +02:00
Matthieu Gautier
dc814c626d
Upload read-only archive.
...
By uploading read-only archive, we prevent potential (implicit) re-upload.
A re-upload will always be possible if we remove the archive and rerun
the workflow. But it will be clearly explicit in this case.
2022-09-28 16:08:42 +02:00
Matthieu Gautier
f7706428a2
Make release only if we are running the workflow on a `r_xx` tag.
...
Also check that we are not a scheduled workflow
(But it is more a double check. This shloud not happen)
2022-09-28 15:09:53 +02:00
Matthieu Gautier
754b716a23
Merge pull request #545 from kiwix/build_dir_option
...
Add an option to set the build directory of kiwix-build.
2022-09-23 12:00:43 +02:00
Matthieu Gautier
e21cb8971a
Add an option to set the build directory of kiwix-build.
2022-09-21 16:15:14 +02:00
Matthieu Gautier
6d4aa756b5
New versions of zim-tools (3.1.2) and kiwix-desktop (2.3.0)
2022-09-07 18:53:14 +02:00
Matthieu Gautier
27bdda0bcf
New version 8.0.1 of libzim.
...
This is the minor fix for debian packaging.
No need to rebuild other projects.
2022-09-07 18:53:14 +02:00
Matthieu Gautier
a943388b41
Merge pull request #541 from kiwix/notarytool
...
Use notarytool to notarize on macOS
2022-09-07 17:40:46 +02:00
renaud gaudin
fe92fc5080
Use notarytool to notarize on macOS
...
altool has been deprecated in favor of notarytool
2022-09-06 14:52:15 +00:00
Matthieu Gautier
a8c769ddff
Merge pull request #539 from kiwix/update_certificate
...
Update Windows certificate for kiwix-desktop on appveyor.
2022-08-31 11:03:10 +02:00
Matthieu Gautier
b260b6e5ca
Update Windows certificate for kiwix-desktop on appveyor.
2022-08-31 10:24:03 +02:00
Matthieu Gautier
3ebf005cbb
New version 8.0.0 of libzim
2022-08-11 17:28:02 +02:00
Matthieu Gautier
c548a09f25
Merge pull request #536 from kiwix/ci_for_alpine
2022-07-11 16:19:39 +02:00
Veloman Yunkan
1755044333
Added CI image for Alpine
2022-07-11 17:38:07 +04:00
Matthieu Gautier
fce112d4b1
Merge pull request #535 from kiwix/libzim_android
2022-06-28 14:24:24 +02:00
Matthieu Gautier
33c2ec2c4d
Build and release libzim for android on the CI
2022-06-28 12:24:06 +02:00
Matthieu Gautier
bcbb164d49
Build libzim dynamically on android.
2022-06-28 12:23:35 +02:00
Matthieu Gautier
3764fde97e
We don't need jdk anymore to build on android
2022-06-28 12:23:04 +02:00
Matthieu Gautier
5939865e7c
New version 2.2.2 of kiwix-desktop
2022-06-22 16:08:55 +02:00
Matthieu Gautier
75e9571474
Merge pull request #533 from kiwix/flatpak_version
2022-06-21 17:53:19 +02:00
Matthieu Gautier
a04b989ed5
Update kde and qtwebengine to last Platform version.
2022-06-21 16:47:07 +02:00
Matthieu Gautier
72023a9a09
New version of libkiwix and kiwix-tools
...
Do not rebuild kiwix-desktop has current version is not compatible
with new version of libkiwix. We will do a release of kiwix-desktop soon.
2022-06-15 14:29:36 +02:00
Matthieu Gautier
6a3d3047e0
Do not try to package kiwix-search as it as been removed from kiwix-tools
2022-06-15 14:28:32 +02:00
Matthieu Gautier
2f1418949a
Merge pull request #529 from kiwix/url_fixes
2022-06-15 12:01:11 +02:00