Commit Graph

1588 Commits

Author SHA1 Message Date
Matthieu Gautier d6a2901ff8 Fix typos in build_release_nigthly 2023-06-08 10:15:38 +02:00
Kelson 23fab75d04
Merge pull request #610 from kiwix/fix_publication_macos
Fix packaging of libzim and libkiwix on macOS.
2023-06-07 17:03:54 +02:00
Matthieu Gautier 06d7a26cb4 Fix extraction of major version from version.
Taking the first char is ok only if major version is < 10.
2023-06-07 15:55:59 +02:00
Matthieu Gautier 4602ead6be Fix packaging of libzim and libkiwix on macOS.
On MacOs, libraries are in `.dylib`, not `.so`.

Also package the `.pc` file.
2023-06-07 14:06:07 +02:00
Matthieu Gautier 07d443d96b
Merge pull request #612 from kiwix/better_build_def2 2023-06-07 14:03:33 +02:00
Matthieu Gautier 6fe37ba0de Rename osx to macos. 2023-06-02 16:09:22 +02:00
Matthieu Gautier 7b6ed275ed Remove code for kiwix-desktop workaround.
As we don't use the workaround now, we can remove the code associated to
it.

It simplify our build definition.
2023-06-02 16:09:22 +02:00
Matthieu Gautier 8237adf950 Do not use a specific target `native_desktop`.
`native_desktop` is not a real target_platform. It is workaround to
specify "build only kiwix-desktop on native_dyn".

It was useful, when we need to build kiwix-desktop on a different build
env than the other project (because of packaging constraints).
Now we can build kiwix-desktop and all other projects on the same build
env, we can remove it and build kiwix-desktop with other `native_dyn`.
2023-06-02 16:09:22 +02:00
Matthieu Gautier 7db434ee6d Use the common build definition to specify which deps build.
The build definition update follow what we build in the project's CI,
not what was defined by the replaced python code.
2023-06-02 16:09:22 +02:00
Matthieu Gautier 3defd4eba7 Be explicit about all our combinations. 2023-06-02 16:00:26 +02:00
Matthieu Gautier e59e3698b2 Open build definition system to more complex build definition. 2023-06-02 15:58:53 +02:00
Matthieu Gautier fc81551555 Remove unused import. 2023-06-02 15:58:02 +02:00
Matthieu Gautier fd46c52473 Move the definition of what to build in a table.
This provide a better visual definition (and potential better explicit)
of the previous code base on `if/else`.
2023-06-02 15:58:00 +02:00
Matthieu Gautier 7f7156ece5 New build of libzim, kiwix-tools and zim-tools.
Previous build was broken on arm and aarch64.
With new toolschain, it should be ok, but we need a new build for them.
2023-06-01 15:29:18 +02:00
Kelson c5037e6fd4
Merge pull request #615 from kiwix/better_arm
Switch (again) to new arm cross-compilation toolchain.
2023-05-23 13:39:54 +03:00
Matthieu Gautier e751c1166c Correctly package armv* toolchain in base dependency. 2023-05-23 08:58:17 +03:00
Matthieu Gautier ae4dcac4e5 Update base_deps_meta_version 2023-05-22 19:03:57 +02:00
Matthieu Gautier a302a597e2 Remove `lib_postfix` from CI.
This variable is never used.
2023-05-22 19:03:57 +02:00
Matthieu Gautier c6ea16edd9 Build for armv6 and armv8 on the CI. 2023-05-22 19:03:57 +02:00
Matthieu Gautier 897e7f292c Switch (again) to new arm cross-compilation toolchain.
This introduce a difference between armv6 and armv8.
2023-05-22 19:03:57 +02:00
Kelson 01eda7a44f
Merge pull request #622 from kiwix/custom-scp-cipher
Use a scp cipher which goes faster
2023-05-22 19:57:20 +03:00
Emmanuel Engelhart 3cd20201c1 Use a scp cipher which goes faster 2023-05-21 14:31:33 +03:00
Kelson 46f4ad76af
Merge pull request #621 from kiwix/explicit-outcomes
Add explicit outcomes in README
2023-05-21 14:31:05 +03:00
Emmanuel Engelhart 26116bc8ff
Add explicit outcomes in README 2023-05-21 13:29:23 +02:00
Kelson 4f3d9bc756
Merge pull request #620 from kiwix/macos11
We should build using macos11
2023-05-20 21:01:44 +03:00
Emmanuel Engelhart 7db62390f1
We should build using macos11 2023-05-20 16:15:24 +02:00
Kelson bd9e60f526
Merge pull request #617 from kiwix/libmagic-5.44
Bump-up libmagic to version 5.44
2023-05-20 17:00:30 +03:00
Emmanuel Engelhart 5057444acd
Disable decompression feature in libmagic 2023-05-20 13:23:25 +02:00
Emmanuel Engelhart e0d4eea050
Bump-up libmagic to version 5.44 2023-05-19 15:28:34 +02:00
Matthieu Gautier 147947e886
Merge pull request #616 from kiwix/dev_push_subdir 2023-05-16 16:35:43 +02:00
Matthieu Gautier af29fd5f2e Publish dev preview in `dev_preview` subdirectory in tmp.kiwix.org/ci. 2023-05-16 15:26:24 +02:00
Matthieu Gautier 64c5f20d78
Merge pull request #604 from kiwix/fix_flatpak_publish 2023-05-10 14:38:44 +02:00
Matthieu Gautier 3e712db880 Fix publish of kiwix-desktop flatpak.
We cannot directly push on master. We have to create a pull request.
The CI is adapted to push a new branch. The PR has to be created manually.
2023-05-10 14:12:06 +02:00
Matthieu Gautier 868d82b384
Merge pull request #606 from kiwix/fix-oses-ci 2023-05-09 14:44:17 +02:00
Emmanuel Engelhart a11b813f82
Use always fix version of macOS & Ubuntu 2023-05-04 15:06:52 +02:00
Matthieu Gautier 647304c253 New releaes of libzim, zim-tools and kiwix-tools. 2023-04-28 11:39:29 +02:00
Matthieu Gautier fd53141b9c Use docker image version 38. 2023-04-28 10:00:11 +02:00
Matthieu Gautier 34363684c3
Merge pull request #602 from kiwix/macos_arm64_tools 2023-04-28 09:35:02 +02:00
Matthieu Gautier 8f8ea01aec Do not build binaries on macOS not _dyn.
Tools fails to compile for different reasons:
- Missing dependencies
- Use of invalid options (`-dead_strip_dylibs`/`-bitcode_bundle`)
2023-04-28 08:59:14 +02:00
Matthieu Gautier 02e2598056 Build zim-tools and kiwix-tools and macosOs_arm64. 2023-04-27 19:10:55 +02:00
Matthieu Gautier ab14ce957b Build kiwix-tools on macos (native) 2023-04-27 19:02:23 +02:00
Kelson 826ce1718d
Merge pull request #597 from kiwix/libzim_bionic
Build libzim on bionic
2023-04-27 14:10:24 +02:00
Matthieu Gautier fd85b80b2c Move back to gcc 6.3.0 when compiling to aarch64. 2023-04-26 16:54:35 +02:00
Matthieu Gautier fc3b446c76 Also build libzim mixed for aarch64 on bionic. 2023-04-26 16:54:35 +02:00
Matthieu Gautier fffbd122c9 Make bionic CI create archive containing bionic in the name. 2023-04-26 16:54:35 +02:00
Matthieu Gautier 4aa613c8e6 Update CI build script
Update CI scripts to build only libzim on native_mixed if os name is
bionic.
2023-04-26 16:54:35 +02:00
Matthieu Gautier 7a0f490e00 Update CI workflows
Update CI to build on native_mixed bionic and build the bionic docker
image.
2023-04-26 15:21:17 +02:00
Matthieu Gautier c55a96678e Build a minimalist bionic builder.
Reuse the bionic builder (we should have remove in pr #588) and
remove all deps not needed to build libzim.
2023-04-26 15:21:17 +02:00
Matthieu Gautier bb0e8d6e70
Merge pull request #600 from kiwix/update_xapian 2023-04-26 15:20:56 +02:00
Matthieu Gautier 5ef7e2a017 New version of xapian 1.4.22
Fix #599
2023-04-25 16:54:40 +02:00