Commit Graph

1139 Commits

Author SHA1 Message Date
Matthieu Gautier f632ef8fcc
Merge pull request #444 from kiwix/use_distro 2020-05-25 10:54:49 +02:00
Matthieu Gautier e27fd7b83d Use distro module to detect the distribution name.
`platform.linux_distribution` is deprecated.

This is a recommit of 0fe69e3 now that we moved every thing on github
actions.
2020-05-21 19:55:40 +02:00
Matthieu Gautier 257e4a4987
Merge pull request #443 from kiwix/release_github 2020-05-21 19:31:34 +02:00
Matthieu Gautier cf5b54c58b Remove travis CI. 2020-05-21 12:18:28 +02:00
Matthieu Gautier e020eb35ac [WIP] Move the release process to github actions. 2020-05-21 12:13:36 +02:00
Matthieu Gautier 763fe1432d New release of zim-tools.
Also build kiwix-tools.
2020-05-18 15:54:23 +02:00
Matthieu Gautier 59b0318193 New version of libzim, zim-tools, kiwix-lib, kiwix-tools. 2020-05-18 15:25:45 +02:00
Matthieu Gautier b68236526d Revert "Use distro module to detect the distribution name."
This reverts commit 0fe69e3991.

This break installation of kiwix-build in travis' docker image.
2020-05-18 13:46:19 +02:00
Matthieu Gautier df2491a6a4
Merge pull request #439 from kiwix/use_distro_module 2020-05-17 18:42:46 +02:00
Matthieu Gautier 0fe69e3991 Use distro module to detect the distribution name.
`platform.linux_distribution` is deprecated.

Fix #415
2020-05-17 17:57:24 +02:00
Matthieu Gautier 46bcb17761 New version of libzim and zimwriterfs.
Only rebuild zim-tools and not all other project as the libzim release
is only about writer issues.
2020-05-11 16:38:48 +02:00
Matthieu Gautier 77b57761dc
Merge pull request #441 from kiwix/iOS_remove_32bit_builds 2020-05-11 12:02:41 +02:00
ChrisLi d0677492d1 remove from CI 2020-05-10 19:55:45 -04:00
Chris Li 23a682c52d remove platform info 2020-05-09 09:11:20 -04:00
Matthieu Gautier d3466f32fe
Merge pull request #437 from kiwix/add_docoptcpp_dep 2020-04-27 14:13:23 +02:00
MiguelRocha 3e2df9a8e8 Added docopt cpp dependency to zimtools. It will be needed to the new version of zimdump
Do not build docopt on android and iOS.
2020-04-27 13:39:40 +02:00
Chris Li edc606aed0 remove platform options 2020-04-24 22:20:37 -04:00
Chris Li ddc73181db higher iOS and macOS compatibility version 2020-04-24 22:20:37 -04:00
Matthieu Gautier ce329b6a79
Merge pull request #434 from kiwix/last-moustache-version 2020-04-21 16:31:42 +02:00
Kelson 7f6a8856b7 Remove deprecated Mustache patch 2020-04-21 09:31:21 +02:00
Kelson 5d1f5bda1f Update to Mustache v4.1 2020-04-21 09:31:21 +02:00
Matthieu Gautier 6d47055c89 Add the zstd patches to the flathub git repository. 2020-04-20 17:44:11 +02:00
Matthieu Gautier 6888794ec8 New version of kiwix-lib.
Rebuild kiwix-tools and kiwix-desktop.
2020-04-20 15:43:37 +02:00
Matthieu Gautier c5c4a316b0
Merge pull request #435 from kiwix/flatpak_zstd 2020-04-20 15:37:38 +02:00
Matthieu Gautier 99226e0c6a Build zstd in flatpak.
Revert 10c767e8ce
2020-04-20 15:14:31 +02:00
Matthieu Gautier 161c018702 [WINDOWS CI] Fix version of kiwix-tools 2020-04-20 13:23:24 +02:00
Matthieu Gautier 4b080dd975 New version of kiwix-desktop. 2020-04-20 10:10:45 +02:00
Matthieu Gautier 60e3e755e1 New build of libzim, kiwix-lib and zim-tools.
Do not build kiwix-desktop yet as we will do a new release just after.
2020-04-17 17:46:28 +02:00
Matthieu Gautier 069aab9a35 Do not fail if there is nothing to commit of flathub repository. 2020-04-10 11:35:21 +02:00
Matthieu Gautier af55ffed6d Fix patch of kiwix-desktop makefile for zstd.
- Copy the python script in kiwix-build repository instead of getting i
  from kymeria.fr
- Patch the makefile to change the lib for zstd.
2020-04-10 11:35:00 +02:00
Matthieu Gautier 39771c6481 [CI] Build on windows for all branches/tags.
- We need to build for tags to build the releases.
- Build on other branches is useful to build test version of kiwix-desktop.
2020-04-10 09:42:16 +02:00
Matthieu Gautier ffdee634f4 Do not force a reconfigure of meson projects.
If meson.build changes, the ninja command will rebuild it.
And its avoid us to delete the build directory.
2020-04-10 00:38:47 +02:00
Matthieu Gautier 384b7d6a00 [CI] Export dist archive before building other project.
With the commit fb07b58 we are not skiping the compile/build process
of meson project. As meson projects first remove the build directory
before configuring, we remove dist archives that could have been generated
before.

Copy the dist archive in the export so we are ok.
2020-04-10 00:38:47 +02:00
Matthieu Gautier 62f48f2836 Better log of what is deployed. 2020-04-10 00:38:47 +02:00
Matthieu Gautier 3d08278a85 New version of kiwix-desktop. 2020-04-08 20:42:11 +02:00
Matthieu Gautier bd546fe33e New version of libzim, zim-tools, zimwriterfs, kiwix-lib and kiwix-tools. 2020-04-08 18:12:01 +02:00
Matthieu Gautier 10c767e8ce Do not compile zstd on flatpak.
The meson.build file of meson is not in the main directory.
We have to update kiwix-build to handle this.

For now, compile flatpak without zstd.
We will need to do a new build on flatpak with zstd soon.
2020-04-08 18:09:39 +02:00
Kelson 3c8a9ffbfe
Use standard name for CI (#433) 2020-04-07 18:17:38 +02:00
Matthieu Gautier c4931925a3
Merge pull request #423 from kiwix/zstd
Added zstd dependency (fixes #422)
2020-04-07 15:16:09 +02:00
Veloman Yunkan 3cbcac2e30 Applying xapian_remote.patch in appveyor build
Failing to do so in PR#384 secretly broke the appveyor build (no real
failures were observed since the appveyor builds ran in USE_CACHE=1
mode, without rebuilding the base dependencies to which xapian belongs).
2020-04-07 16:41:31 +04:00
Veloman Yunkan 25d9e18e3d Temporary fix for facebook/zstd#2073 2020-04-07 14:12:17 +04:00
Veloman Yunkan a2aac46da9 Moved C:\Python36\Scripts to the begging of PATH
Otherwise in the appveyor Windows build meson installed under
"C:\Program Files" is used.
2020-04-06 23:54:00 +04:00
Veloman Yunkan 3a03e9a8aa Added appveyor/install_zstd.cmd 2020-04-06 23:03:39 +04:00
Veloman Yunkan ece4df3721 Added zstd dependency 2020-04-06 20:17:09 +02:00
Kelson 9be35a4dc0
Fix qt-everywhere-src-5.10.1.tar.xz URL (#431) 2020-04-06 20:16:01 +02:00
Matthieu Gautier d073c6d1dc
Merge pull request #432 from kiwix/donot_recompile
Fix recompilation of the CI of meson project.
2020-04-06 19:31:37 +02:00
Matthieu Gautier fb07b58812 Fix recompilation of the CI of meson project.
We were assuming that meson project correspond to our projects and so we
were always building them, even if they were already compiled.
(This way, a simple `kiwix-build` is enough to recompile the WIP code of
our project).

However, on the CI, we do not archive the source code/build directory in
the base deps archive. So when we try to compile, the compile step of
meson projects fails because the source are not here.
We have a small workaround for pugixml but as zstd is also meson, it is
time to do something correct.

By default, all projects now try to skip if a build is already present.
Our projects are marked as `force_build` and so, they do not try to skip.
2020-04-06 19:15:40 +02:00
Kelson 3ea1bfd38e
Proper Github Actions CI badge 2020-04-06 16:29:46 +02:00
Matthieu Gautier 20394d341f
Merge pull request #420 from kiwix/O3_compilation
Build all make based dependency using -O3 option.
2020-03-24 17:21:11 +01:00
Matthieu Gautier 4fa5f34125 Build all make based dependency using -O3 option.
This will build all Make, CMake, QMake dependency being build with -O3.
So all our dependencies will be build with -O3.

Our project (meson) are already build in release when needed.
kiwix-desktop should be build optimized in case of release but we need
to handle it correctly. At least not build in O3 per default as it may
break debug.
2020-03-24 16:50:38 +01:00