Matthieu Gautier
6181d7bb08
Install wasm libraries in `INSTALL/lib` directory.
...
The default detected libdir is based on the build architecture.
On ubuntu, it is `lib/x86_64-linux-gnu` which is obviously not the right
directory.
Let's simply use `lib`.
Fix #556
2023-03-01 14:16:36 +01:00
Matthieu Gautier
45767044f0
Merge pull request #571 from kiwix/libmicrohttp-0.9.76
2023-03-01 14:15:40 +01:00
Emmanuel Engelhart
7e88bf14a2
Bumpup libmicrohttpd to 0.9.76
2023-03-01 10:10:15 +01:00
Kelson
8db9902a0a
Merge pull request #568 from kiwix/no_doc_man
...
Remove `share/doc` and `share/man` from the deps archive.
2023-02-22 18:13:06 +01:00
Matthieu Gautier
5c0d9d87c1
Remove `share/doc` and `share/man` from the deps archive.
...
They are useless and they use precious disk space.
Fix #567
2023-02-22 11:57:47 +01:00
Kelson
3e396f6ed9
Merge pull request #564 from kiwix/fix_ios_macabi
...
Fix the iOsMacABI target in the CI
2023-02-12 07:54:21 +01:00
Matthieu Gautier
d8c9d5c45d
Merge pull request #565 from kiwix/container-doc
2023-02-08 17:22:25 +01:00
Matthieu Gautier
d89f622471
Fix description of which dependencies is in the docker image.
2023-02-07 16:53:15 +01:00
Emmanuel Engelhart
19beb1323f
Internal usage purpose only of CI containers
2023-02-07 16:10:40 +01:00
Emmanuel Engelhart
6f51871cc1
Add env container images documentation
2023-02-07 15:50:26 +01:00
Matthieu Gautier
f6a7f43ece
Fix the iOsMacABI target in the CI
...
It seems that on last version of CI envirronement, ios' clang doesnt
recognize ios13.0.
Moving to ios 14.0
2023-02-07 09:52:37 +01:00
Matthieu Gautier
dc0d0804e4
Merge pull request #563 from kiwix/update-workflow-actions
2023-02-07 09:46:57 +01:00
Emmanuel Engelhart
3138c71b82
Update GitHub actions to latest version
2023-02-05 08:45:47 +01:00
Matthieu Gautier
2564b072f1
Merge pull request #560 from kiwix/main_by_default
...
"main" is now our default branch for all our projects.
2023-01-03 12:01:27 +01:00
Matthieu Gautier
1f8ccde487
"main" is now our default branch for all our projects.
2023-01-03 10:19:52 +01:00
Kelson
9d910ac9c5
Delete move.yml
2022-12-25 16:06:52 +01:00
Kelson
953a0a3816
« main » is the new git default branch
2022-12-25 16:05:41 +01:00
Matthieu Gautier
720209891d
Merge pull request #559 from kiwix/move_to_main
2022-12-22 15:57:48 +01:00
Matthieu Gautier
344b9328c3
libzim and zim-tools are now using "main" for the default branch.
2022-12-22 14:32:13 +01:00
Matthieu Gautier
d76819390e
Do not always fallback to master.
2022-12-22 14:31:20 +01:00
Matthieu Gautier
bcbcbb525f
Trigger a new build of libzim.
...
With the wasm arch fixed, we need to do a new build release.
2022-12-09 10:55:14 +01:00
Matthieu Gautier
536748500b
Remove uneeded patches for flatpak
...
Patches are uneeded for all arch.
But we were trying to copy them on flatpak.
2022-12-09 10:55:14 +01:00
Matthieu Gautier
04db1bafe8
Merge pull request #555 from kiwix/fix_wasm_build
2022-12-07 14:15:40 +01:00
Matthieu Gautier
f6cd94366a
Fix wasm compilation.
...
On wasm, we cannot do mmap. We have to do plain read.
Fix openzim/libzim#751
2022-12-06 19:01:38 +01:00
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