Commit Graph

571 Commits

Author SHA1 Message Date
Matthieu Gautier b7a3187b45 Update version of zstd.
No need to update base_deps_meta_version as it is already updated in
this same PR.
2022-04-11 18:08:08 +02:00
Emmanuel Engelhart 500d3bec86 Use zlib 1.2.12 2022-04-11 17:47:56 +02:00
Matthieu Gautier 4158d75d7a Rebuild kiwix-tools release
As we've fixed the github workflow triggering, we need to redo the
release process for kiwix-tools.
2022-03-28 11:10:02 +02:00
Matthieu Gautier 845ee43e47 New version of libkiwix 10.1.0 2022-03-24 19:01:34 +01:00
Matthieu Gautier 6273177210 New version of kiwix-desktop 2.2.1 2022-03-11 17:19:00 +01:00
Matthieu Gautier 8b9b74d577 Better flatpak command options.
This mainly add the option `--nointeractive` when installing the sdk.
2022-03-10 16:21:14 +01:00
Matthieu Gautier 4f458e5954 New version of kiwix-desktop 2.2.0 2022-03-04 17:31:25 +01:00
Matthieu Gautier 93f8e83274 New version of libkiwix 10.0.1
Rebuild kiwix-desktop and kiwix-tools.
2022-02-02 16:11:12 +01:00
Matthieu Gautier bc8829ef0d Build new release of all our projects.
- libzim 7.2.0
- libkiwix 10.0.0
- kiwix-tools 3.2.0
- zim-tools 3.1.0
- kiwix-desktop 2.1.0
2022-01-19 15:39:17 +01:00
Matthieu Gautier fe74ad7aff Do not compile libkiwix on android with werror
The java wrapper is using deprecated methods,
so we cannot compile with `werror`.
2022-01-18 11:42:16 +01:00
Matthieu Gautier d1941aa5af Update version of libzim.
We can rebuild only zim-tools.
Other tools depend of libkiwix we cannot release now.
2022-01-03 11:16:43 +01:00
Matthieu Gautier 462538f4a5 Do not try to cross compile aria2.
Aria2 is a special case. We actually don't really need to compile it.
kiwix-desktop through libkiwix use the aria2c binary but we always
use (package) the system binary or a prebuild release.

And we don't cross compile kiwix-desktop to windows, so we don't need
aria2c neither.
2021-12-24 13:08:29 +01:00
Matthieu Gautier ea7fa1f207 Remove unnecessary aria2 patch
This patch was to compile libaria2 on android.
But we don't compile it for android since a long time.
As it doesn't apply anymore, let's remove it.
2021-12-23 18:50:50 +01:00
Emmanuel Engelhart 71b1c2799a Update aria2c to 1.36.0 2021-12-23 18:50:50 +01:00
Matthieu Gautier 276343c6af Add missing dependency `aria2` to "all" dependencies.
`AllBaseDependencies` is used as a dummy target to build all base
dependencies in the CI.
2021-12-23 18:50:50 +01:00
Matthieu Gautier 4ee28541cd Remove unnecessary zstd patch. 2021-12-23 18:50:48 +01:00
Emmanuel Engelhart 1a3df6fa3b Use recent zstdlib 1.5.1 2021-12-22 16:04:27 +01:00
ChrisLi 82569620f2 Add MacOs arch
On top of the native platform (which may still use to compile for macos on macos)
we add a specific MacOs arch.
2021-12-22 15:24:45 +01:00
renaud gaudin a3f662a3de Fixed #501: disable extra libcurl dependencies 2021-10-26 18:13:15 +02:00
Matthieu Gautier c1205fc87d New release of libzim and zim-tools.
We don't rebuild other project as they are not ready for last version
of libzim.
2021-10-07 18:19:19 +02:00
Veloman Yunkan 41a411c667 Language data is packaged into ICU
With language data not put into icu, `icu::Locale::getDisplayLanguage()`
doesn't work correctly.
2021-07-27 16:45:04 +02:00
Matthieu Gautier 274aec60d2 Copy the right directory on libkiwix android.
The sub-directory `android-kiwix-lib-publisher` has not been renamed.
We plan to move this code in another repository anyway.
It is better for now to use the existing name instead of change the
directory.
2021-07-02 11:19:18 +02:00
Matthieu Gautier 11fc5a0a9c Use correct name for the qtwebengine class.
Wrong copy/paste.
This is not important as we reference dependencies by their name
attribute, not by the class name.
But it is better to have a correct name.
2021-07-02 11:16:02 +02:00
Matthieu Gautier c7ea2a31cb Correctly detect qmake command.
qmake may be named qmake-qt5 on some distribution.
2021-07-02 11:14:13 +02:00
Matthieu Gautier 0e6ed1384c Introduce a intermediate method to detect binaries. 2021-07-02 11:14:13 +02:00
Matthieu Gautier b995976c8a Fix packages name on fedora. 2021-07-02 11:14:13 +02:00
Matthieu Gautier c244e5b779 Link with ssp on win32.
Recent version of mingw need projects using `-D_FORTIFY_SOURCE` to link
with `ssp`.

See https://github.com/msys2/MINGW-packages/issues/5868#issuecomment-544107564
2021-07-02 11:14:13 +02:00
Matthieu Gautier aa349a18e7 Rename kiwix-lib to libkiwix.
The new name of kiwix-lib is libkiwix. Let kiwix-build adopt the name.
2021-06-30 16:45:54 +02:00
Matthieu Gautier b8160de652 Correctly install io.qt.qtwebengine.BaseApp for flatpak build. 2021-06-29 16:06:53 +02:00
Matthieu Gautier afd17b2986 Make kiwix-desktop flatpak use last version of Qt (5.15).
Adapt flatpack_builder to generate the same manifest than PR
flathub/org.kiwix.desktop#6
2021-06-23 17:59:25 +02:00
Matthieu Gautier f1dfa32a8d Use the correct archive for zim-testing-suite 0.3 2021-06-23 14:57:24 +02:00
Matthieu Gautier 96d4f3b93f Move to zim-testing-suite 0.3 2021-06-23 14:22:09 +02:00
Matthieu Gautier 7dcf57e32b Do not download zim-testing-suite when building in flatpak. 2021-05-05 15:07:29 +02:00
Matthieu Gautier 1cafcbf412 Get the "source" `zim-testing-suite` step.
The source step (install source) always exists.
The `plaformInfo.name` step may not exists
(On mixed target, we build all deps static and the last project dyn)
So the `native_dyn` doesn't exists for `zim-testing-suite`.
2021-05-05 15:06:35 +02:00
Matthieu Gautier 9d90568204 Make libzim use the test data dire downloaded with zim-testing-tool. 2021-04-28 16:26:43 +02:00
Matthieu Gautier 2d3c5ed4c7 Add zim-testing-suite dependency. 2021-04-28 16:26:43 +02:00
Matthieu Gautier 11a7ec4020 Use the full_name as for the skip file marker.
This way we are sure to download the last archive all the time.
2021-04-28 16:26:43 +02:00
Matthieu Gautier dca64eb5d5 Allow builder to set a build environment for projects using it. 2021-04-12 18:14:23 +02:00
Matthieu Gautier b286be1207 Introduce new method `get_env` to create the env. 2021-04-12 18:11:05 +02:00
Matthieu Gautier 76aa746f84 Add the `dont_skip` attribute on dependency.
Instead of explicitly add the target associated to the toolchain
if we use `build_nodeps` option let add an attribute base ourself on it
to know if we need to add it or not.

This way, we may have other dependency we must not skip.
2021-04-12 18:09:52 +02:00
Veloman Yunkan 4498eb2885 Added xapian as a dependency of kiwix-lib 2021-03-10 18:01:21 +04:00
Emmanuel Engelhart 3d8578ce8e Remove outdated Xapian remote patch 2021-03-07 15:00:58 +01:00
Emmanuel Engelhart 3e1446f2dd Upstream includes <cerrno>, not necessary anymore 2021-03-07 14:55:45 +01:00
Emmanuel Engelhart 54b47fea9e Remove xapian_sys_types.patch applied upstream 2021-03-07 14:50:56 +01:00
Emmanuel Engelhart aad2243c81 Bump-up Xapian to version 1.4.18 2021-03-07 14:41:33 +01:00
Veloman Yunkan d0db3efdce Enable inmemory backend in xapian 2021-03-07 13:14:11 +04:00
Emmanuel Engelhart f6074a7408 zim-tools needs newly Mustache 2021-02-10 14:49:16 +01:00
Matthieu Gautier b635daae68 Change version of libzim.
Libzim changes its version.
But we are not ready for release now.
2021-02-09 14:13:46 +01:00
ChrisLi 41071d7c9b
use brew list --formula (#468) 2021-01-15 10:07:00 +01:00
Kelson 9597662be8
Bump-up libmicrohttpd to 0.9.72 (#464) 2020-12-30 10:44:48 +01:00
Matthieu Gautier 0d6b143122 Download archives on mirrors of `download.kiwix.org`. 2020-12-15 15:33:10 +01:00
Matthieu Gautier 31816879ca New release of libzim, kiwix-lib, zim-tools and kiwix-desktop. 2020-11-17 16:54:18 +01:00
Matthieu Gautier 2ef8e14509 Update dependency of kiwix-desktop.
Now that kiwix-desktop use kiwix-lib to start the server, we don't need
kiwix-tools dependency.
2020-11-17 16:49:26 +01:00
Matthieu Gautier 7162b6ff2b Update dependency of libzim. 2020-11-17 16:43:27 +01:00
Matthieu Gautier a64cd9f790 New release of libzim 6.2.2 2020-09-02 18:25:00 +02:00
Matthieu Gautier b23cf13caa New release of libzim 6.2.1.
This is just a fix for windows compilation.
We don't need to trigger build for others projects,
only for kiwix-desktop because it is build on windows.
2020-09-01 09:55:43 +02:00
Chris Li 149ed01f12 Add Mac catalyst as a new target 2020-08-28 14:16:25 -04:00
Matthieu Gautier ea78ba37df New release of kiwix-lib 9.4.0 2020-08-28 16:59:59 +02:00
Matthieu Gautier bbb81438b6 New version of libzim 6.2.0 2020-08-27 17:53:19 +02:00
Matthieu Gautier 97554c04f4 Rebuild kiwix-tools with the release fix. 2020-07-23 14:34:06 +02:00
Matthieu Gautier b9245b4b86 New release of libzim, kiwix-lib, zim-tools and kiwix-desktop 2020-07-15 16:51:38 +02:00
Matthieu Gautier e81a2e7006 Merge tag 'r_10' 2020-07-15 16:20:16 +02:00
Matthieu Gautier 39a93b07b3 Fix dependency detection for zim-tools. 2020-07-15 15:51:09 +02:00
Alexander Sashnov da31dd428e remove 'zimwriterfs' project from build and CI configuration
'zimwriterfs' is now a part of zim-tools (openzim/zim-tools/#92)
2020-07-08 16:54:14 +02:00
Kelson 3de886f805 Upgrade libmicrohttpd to 0.9.71 2020-07-08 14:57:38 +02:00
Matthieu Gautier 206ed166e0 New release of kiwix-tools. 2020-07-02 15:38:52 +02:00
Matthieu Gautier 7f39755ea0 New release kiwix-lib and kiwix-tools. 2020-07-02 15:22:58 +02:00
Matthieu Gautier 2ec9f10687 New release of kiwix-lib 9.2.3
The fix is only about compilation, no need to recompile other dependencies.
2020-07-01 11:36:54 +02:00
Matthieu Gautier ef7843633e Set the Qt version to use on fedora.
The default Qt version on fedora is Qt 4. We must force the use of Qt 5.
2020-07-01 11:32:43 +02:00
Matthieu Gautier 0419cf5f4d New release of kiwix-desktop. 2020-06-30 17:47:15 +02:00
Matthieu Gautier 66bf0d2a0e New release of libzim 6.1.7 2020-06-30 17:35:25 +02:00
Matthieu Gautier ab6ea66e31 New release of libzim 2020-06-24 15:36:54 +02:00
Miguel Rocha 728caca741
Force compilation of docoptcpp (#449)
- Docopt commit id was updated and therefore we need to force a new build in order to get the latest change (docoptcpp.pc) into the deps2 archive (needed by zim-tools)
2020-06-17 16:03:27 +02:00
renaud gaudin 8478d65c90 enable compilation of native_mixed on macos
Issue #349 requires a native_mixed for macOS.
native_mixed is working for libzim so we whitelist it.

On the release CI, we fix the macos dylib rpath so it doesn't include the
full build-install step path which is probematic for a distributed file.

We build native_mixed for OSX in both CI and release mode
2020-06-17 09:04:10 +00:00
Matthieu Gautier 39ca099248 New version of libzim.
No need to rebuild other project as there is code change.
2020-06-03 15:49:47 +02:00
Matthieu Gautier 15a23fcf23 New version of kiwix-lib 2020-06-03 10:49:22 +02:00
Matthieu Gautier f384cd23e7 New version of kiwix-lib 2020-06-02 10:20:43 +02:00
Matthieu Gautier ae8a9febb9 New release of libzim.
Rebuild only projects depending of the writing part.
2020-05-25 12:21:10 +02:00
MiguelRocha e72589a850 Added a flag to force kiwix build to not do fast_clone
- Docopt cannot do fast_clone cause it is getting a
    specific commit id. This will be changed when a new
    release is available.
2020-05-25 10:57:22 +02:00
MiguelRocha 69c33da0bc Now kiwix-build retrives docopt from a commit that has pkgconfig support. 2020-05-25 10:57:04 +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 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 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
Chris Li 23a682c52d remove platform info 2020-05-09 09:11:20 -04: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
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 6888794ec8 New version of kiwix-lib.
Rebuild kiwix-tools and kiwix-desktop.
2020-04-20 15:43:37 +02:00
Matthieu Gautier 99226e0c6a Build zstd in flatpak.
Revert 10c767e8ce
2020-04-20 15:14:31 +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 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 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
Veloman Yunkan 25d9e18e3d Temporary fix for facebook/zstd#2073 2020-04-07 14:12:17 +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 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
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
Matthieu Gautier b910803fbe Use correct base version 2020-03-18 21:47:09 +01:00
Matthieu Gautier 71c46d984a Build lzma with assembler optimization. 2020-03-18 21:03:48 +01:00
Kelson d8707d8ad1 Release kiwix-tools 3.0.3 2020-03-01 15:52:50 +01:00
Matthieu Gautier 8cecb1c759 Rebuild kiwix-lib (for android) 2020-02-26 18:32:00 +01:00
Matthieu Gautier bf405d105c Revert 82617f6b94 2020-02-26 18:30:24 +01:00
Matthieu Gautier 6093c011ab Always write the cross_file using the same name.
Even if we use different template for different platform, we must
always use the same cross_file name.
2020-02-25 16:36:56 +01:00
Matthieu Gautier 40b5013279 Add some colors in the terminal. 2020-02-25 15:48:20 +01:00
Matthieu Gautier f504cf54e1 Do not reset the source directory if there is modification.
We simply do a `git merge --ff-only` instead of a `git reset`. This way:

- No change on the local repository
    => update to `remote/master`
- If you switch branch and local branch is behind `remote/master`
    => fast forward to `remote/master`
- If you switch branch and branches diverge
    => No update of the directory
- On branch master (or a branch behind `origin/master`) with compatible
  change in the working tree.
    =>  update of the directory
- On branch master (or a branch behind `origin/master`) but incompatible
  change in the working tree.
    =>  No update.

This way, sources are keep up-to-date as far as possible.
2020-02-25 15:46:09 +01:00
Matthieu Gautier 94c98261c7 Fix compilation on different platform in the same time.
If we modify the dependency's configure_env, we may change
the dictionary with value of the first platform. Then, when
we use it for the second platform, the previous values are used.

Do not modify the dep_conf_env dictionary and then we are good.
2020-02-24 18:24:07 +01:00
Matthieu Gautier 32e3b5b5c4 Fix compilation of kiwix-lib-app.
- We should not try to set the cross compilation flags when we use
  gradle.
- Fix anyway the setting of tho cross compilation flags for android sdk
  platform (the default implementation use the `static` attributes that
  doesn't exist for android)
2020-02-24 15:30:31 +01:00
Matthieu Gautier 661eb95df0 Use a specific cross_file on iOS cross compilation.
We need to set the property `needs_exe_wrapper` to true for
x86_64 cross compilation.

Else, meson will try to detect if we could run the cross
compiled executable, and because it is the same arch, it will
assume we can. So it will try to sanity check and execute the
cross compiled binary. Then fails.
2020-02-21 16:29:23 +01:00
Matthieu Gautier 7b6c79482a Make the dependency responsible to set the compilation env.
Instead of having the run_command function setting the
env from the buildEnv, this is the dependency that create the
env and then pass it to the run_command function.

This way, each dependency will be able to set a specific env.
2020-02-21 16:29:23 +01:00
Matthieu Gautier e27ede80cc Use correct arch_full name. 2020-02-21 15:12:17 +01:00
Matthieu Gautier 36366b2dd3 Better define of value in ios platform.
No real change, just better code to define it.
2020-02-21 15:12:17 +01:00
Matthieu Gautier 7d742f807f Fix setting of environment using env from dependency.
If `self.configure_env` is a (computed) property, the previous code
never format the value of the env.
2020-02-21 15:12:17 +01:00
Matthieu Gautier c4295b1644 Do not set a specific compiler for ios 2020-02-21 15:12:17 +01:00
Matthieu Gautier 79bb23504b Update version of kiwix-lib to 9.0.1
Do not rebuild dependencies as the change is only about the android
wrapper.
2020-02-21 15:00:26 +01:00
Matthieu Gautier 14d6aae4b1 Update version of kiwix-tools. 2020-02-13 11:46:20 +01:00
Matthieu Gautier 5d9730423a Update version of kiwix-lib.
Do not make a new build of kiwix-tools right now as we will do a
new release of it once kiwix-lib release is published.
2020-02-12 15:27:27 +01:00
renaud gaudin 3569c277a9 switch to older version of libmicrohttpd
libmicrohttpd 0.9.69 is not working properly on macOS (catalina)
2020-02-12 11:09:46 +01:00
renaud gaudin 5af0a8bfe7 fixed crash in xapian-core configure
use a copy of configure_env to prevent edits on what's being iterated
2020-02-11 13:10:21 +00:00
Kelson 29956ee6be Release zimwriterfs 1.3.8 2020-02-10 14:36:11 +01:00
Matthieu Gautier 0a37c8a573 Change args given to kiwix-lib meson for android. 2020-01-28 15:49:52 +01:00
Matthieu Gautier 2774967e6d Set the pkg-config for cross-compiling.
This is needed for win32 on fedora.
It is better to use a specific pkg-config than setting a PKG_CONFIG_LIBDIR.
This avoid other CI (libzim/...) to set a env var specific to win32 build.
2020-01-20 22:55:50 +01:00
Matthieu Gautier 82617f6b94 Do not set `march` for android build.
We already build to the right architecture by using the arch_full triplet
gcc/g++/...
We don't need to set march when building android.
2020-01-20 22:55:21 +01:00
Kelson b92a111fcc
Upgrade libmicrohttpd to 0.9.69 (#394) 2019-12-16 16:57:59 +01:00
Kelson 2d7b96c997
Add Ubuntu 2020-04 focal to the CI (#393) 2019-12-16 13:24:32 +01:00
Kelson 40dc15057c Fix small typo 2019-12-14 15:21:16 +01:00
Kelson 8420dcb474 Bump-up Xapian to 1.4.14 (#382) 2019-12-09 01:12:48 +01:00
Kelson 1a6b9b00ec Release kiwix-lib 8.2.2 2019-12-08 12:17:48 +01:00
Matthieu Gautier 95138d207b Remove an unwanted print. 2019-12-05 12:32:13 +01:00
Matthieu Gautier a82d6430dc Remove support of kiwix-android and kiwix-custom-app. 2019-12-05 12:30:10 +01:00
Matthieu Gautier b6bbf9b098 Do not install gradle. Use gradlew script. 2019-12-05 12:30:10 +01:00
Kelson e602897e6b
Newest version of libcurl (#387) 2019-12-05 06:29:00 -05:00
Kelson 1eaa137af6 Try to redo kiwix-lib 8.2.1 for Bintray 2019-11-27 15:11:45 +01:00
Kelson ca929b6312 Try a new release of kiwix lib 2019-11-27 13:36:01 +01:00
Kelson d2be359632 New releases of kiwix-lib, kiwix-tools and kiwix-desktop 2019-11-26 11:56:34 +01:00
Kelson 8524dfab87 Release Kiwix Desktop 2.0 rc4 2019-11-26 11:15:28 +01:00
Kelson 07483c72a2 Fix a problem with kiwix-tools 2019-11-26 07:19:13 +01:00
Kelson be9ca6c639 Rebuild kiwix-tools based on new kiwix-lib 2019-11-26 05:44:50 +01:00
Kelson 0085a5c565 Revert "Bump-up Xapian to 1.4.14 (#382)"
This reverts commit f4f9f6f833.
2019-11-25 03:34:41 +01:00
Kelson f4f9f6f833
Bump-up Xapian to 1.4.14 (#382) 2019-11-24 07:37:39 -05:00
Kelson 5885673bca Bump-up kiwix-lib version to 8.2.0 2019-11-20 13:10:18 +01:00
Matthieu Gautier 26a7545b43 Rebuild kiwix-desktop. 2019-09-26 17:20:11 +02:00
Matthieu Gautier a0b4c2b209 New version of libzim, kiwix-lib and kiwix-desktop. 2019-09-26 16:15:46 +02:00
Matthieu Gautier 29be31ec03 Fix exe_wrapper.
This should be `exe_wrapper` not `exec_wrapper`.
2019-09-19 18:18:41 +02:00
Matthieu Gautier 18deca2230 New version of kiwix-lib 8.0.1 2019-09-17 16:30:20 +02:00
Matthieu Gautier fe3e147d08 New release of kiwix-lib 2019-09-17 11:49:38 +02:00
Matthieu Gautier c3cb4ab0c0 New release of kiwix-lib and kiwix-desktop. 2019-09-11 17:50:06 +02:00
Matthieu Gautier 1e56864e4a New version of libzim and kiwix-lib. 2019-09-10 17:29:26 +02:00
Kelson 6b43f5ad48
Update libmicrohttpd to 0.9.66 (#365)
* Update libmicrohttpd to 0.9.66

* Proper Bash syntax highlighting
2019-09-06 15:54:44 +02:00
Matthieu Gautier 00aced4649 Use fedora 30 to cross compile kiwix-tools. 2019-09-06 12:25:51 +02:00
Matthieu Gautier 766b2b532c Build new version of dependencies (with new compilation option). 2019-09-05 10:16:57 +02:00
Matthieu Gautier f2369c6819 Build project in debug by default instead of debugoptimized. 2019-09-04 17:10:44 +02:00
Matthieu Gautier d86bf75315 Add a cause message to the StopBuild exception. 2019-09-04 17:00:29 +02:00
Matthieu Gautier 0f13d99159 Remove unnecessary win32 libs.
It seems that those libraries are not needed (anymore ?).
Even more, `msvcr100` makes `kiwix-serve` crash when printing messages
on stdout/stderr.

`msvcr100` lib is necessary for ICU, because the default mingw's `msvcr`
doesn't provide `_free_locale` and `_create_locale`.

Most recent versions of mingw fix this and we do not need them.
On debian (travis CI) we use a old version of mingw and we need to force
the use of `msvcr100`.
2019-09-04 17:00:29 +02:00
Matthieu Gautier bffce48861 New release of zimwriterfs.
Also build kiwix-lib 6.0.3.
2019-09-04 11:15:41 +02:00
Matthieu Gautier a7d15bbdb1 Merge tag '0.0.39' 2019-09-04 11:08:33 +02:00
Kelson 460f350c21 New kiwix-tools package with libkiwix 6.0.3 2019-09-04 07:58:21 +02:00
Matthieu Gautier 77da4821d3 New version. 2019-09-03 18:46:58 +02:00
Matthieu Gautier d63684975f Use a build version to publish the windows release of kiwix-desktop. 2019-09-02 18:13:08 +02:00
Matthieu Gautier 78187e9752 Merge tag '0.0.37' 2019-08-22 17:35:23 +02:00
Kelson 6b3a5657db Release kiwix-tools 3.0.1 2019-08-22 17:30:57 +02:00
Matthieu Gautier c2c715802d New version of libzim and kiwix-lib. 2019-08-22 16:07:38 +02:00
Matthieu Gautier 7508846808 New version 6.0.1 of kiwix-lib
Rebuild only kiwix-lib, the change is only about android publication.
2019-08-21 15:53:21 +02:00
Matthieu Gautier 2e347b2b33 Do not generate the pom file in kiwix-build.
Now we generate the pom file in kiwix-lib side, we don't need to generate
it ourselves.
2019-08-21 14:27:24 +02:00
Matthieu Gautier 96785aa68a New versions of libzim, kiwix-lib and kiwix-tools. 2019-08-20 14:34:51 +02:00
Matthieu Gautier f80afdecbc Move to last version of libmicrohttpd.
Again.. 0dcaa28 move back to a previous version (probably a wrong rebase)
2019-08-19 18:42:01 +02:00
Matthieu Gautier bd43b9cb10 Do not download gtest in flatpak. 2019-08-19 17:02:44 +02:00
Emmanuel Engelhart b814b39c38 Release zimwriterfs 1.3.5 2019-08-16 10:13:48 +02:00
Emmanuel Engelhart 21f6ef557e Have to re-publish zimwriterfs 1.3.4 2019-08-12 16:02:32 +02:00
Matthieu Gautier 0dcaa28e35 libmicrohttpd is now a dependency of kiwix-lib, not kiwix-tools.
And we have to install libmicrohttpd on windows.
2019-08-10 19:44:10 +02:00
Emmanuel Engelhart 2e653428d3 Release zim-tools 1.0.4 2019-08-10 15:59:25 +02:00
Matthieu Gautier e2346a5f23 Build of new release of zimwriterfs. 2019-08-05 17:31:02 +02:00
Emmanuel Engelhart 2f102c7450 Bump-up zimwriterfs to 1.3.4 2019-08-01 21:18:20 +02:00
Matthieu Gautier 4802629eea Force the build of kiwix-lib to republish the kiwix-lib-app. 2019-08-01 17:27:49 +02:00
Matthieu Gautier 07f8150eb6 Use the name "kiwix-lib" for the source of "kiwix-lib-app". 2019-08-01 14:57:06 +02:00
Matthieu Gautier 068f928dac New version of kiwix-desktop 2019-08-01 13:28:04 +02:00
Matthieu Gautier 7c2527c38f Do not try to download subproject for libzim in flatpak. 2019-07-31 16:36:31 +02:00
Matthieu Gautier 3c1864c724 New version of kiwix-lib and kiwix-tools.
Also build libzim and zim-tools because build fails the last time.
2019-07-31 10:24:13 +02:00
Matthieu Gautier 75865cf942 Update version of libzim and zim-tools. 2019-07-29 18:27:42 +02:00
Matthieu Gautier 7d659baa37 Package kiwix-serve within kiwix-desktop.
Now that kiwix-desktop use kiwix-serve to serve the content, we need to
compile and package kiwix-serve (kiwix-tools).
2019-07-24 11:17:39 +02:00
Matthieu Gautier 9bbc3930ae Print the duration of each steps. 2019-07-24 10:25:52 +02:00
Matthieu Gautier 3a1cd6ddb2 Build the kiwix-lib android "application" in kiwix-build.
This is not a real application as it is dependency for kiwix-android.
But it a app in the sens that it is packaged for android build system.
2019-07-24 10:25:52 +02:00
Kelson 4c342c5b9d
Update libmicrohttpd to 0.9.65 (#347) 2019-07-23 14:55:34 +02:00
Chris Li 50ba90e67c fix macOS cross build 2019-06-24 19:30:18 +02:00
Matthieu Gautier 4810b0240c Flush the log file.
This is to avoid mangling between the kiwix-build log (env variables, ...)
and the command log.
2019-06-14 14:13:18 +02:00
Matthieu Gautier 4868128551 Build for armeabi-v7a.
The main thing is to add the `-march` option when needed.
Ie, '-march=armv7-a` for arm.
Other compiler (arm64, x86, ...) don't support the march option so
we must not provide it.
2019-06-14 14:13:18 +02:00
Matthieu Gautier ef9755eff5 Remove android mips platforms
Also correctly rename Android classes.
2019-06-14 14:13:18 +02:00
Kelson d3b0d76726 Revert "update android sdk tools to 26.1.1"
This reverts commit 51029fe820.
2019-06-12 15:50:18 +02:00
Matthieu Gautier e0eb5c4a38 Set the versions to rebuild kiwix-desktop release. 2019-06-12 13:55:06 +02:00
Isaac Hutt 06da96f85f Update gradle to 5.2 2019-06-03 06:26:28 +02:00
Kelson 456537e188 Disable Xapian remote backend 2019-06-02 17:15:26 +02:00
soloturn 51029fe820 update android sdk tools to 26.1.1 2019-06-02 15:08:17 +02:00
Matthieu Gautier cea7a83ba1 New version of zimwriterfs.
We also rebuild kiwix-desktop because last build's deployment fails.
2019-05-30 15:30:17 +02:00
Matthieu Gautier e64a12207d Update to new versions. 2019-05-29 12:15:02 +02:00
Matthieu Gautier 281adbd768 Build everything in a container.
Docker containers don't have the SSH_KEY so we need to copy
archives and git repo in a directory on the host and
launch deploy.sh script from there.
2019-05-02 17:44:56 +02:00
Matthieu Gautier f9d5e0aa21 Use an already made archive for the armhf toolchains instead of git clone.
First, we don't need to clone all the git repository, we only need a
sub-directory.
Secondly, as we the base_deps archives only archive the sub-directory,
subsequent run of kiwix-build in the ci will try to do a git update on
a non git repository.

By making ourselves a tar archive, we simplify the process.

The archive on download.kiwix.org has been made with :
`tar czf raspberrypy-tools.tar.gz raspberrypi-tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64`
`raspberrypi-tools` being a clone of `https://github.com/raspberrypi/tools`
commit sha is 5caa7046982f0539cf5380f94da04b31129ed521
2019-05-02 17:43:11 +02:00
Matthieu Gautier 318c524f4c Use our own server to store libmagic. 2019-04-30 15:28:21 +02:00
Matthieu Gautier d8288a94d5 Build on travis using xenial. 2019-04-16 17:16:36 +02:00
Matthieu Gautier 470d46cc00 New release of kiwix-tools 2019-04-16 14:32:44 +02:00
Matthieu Gautier 7306c02c5a New release of projects 2019-04-15 17:16:17 +02:00
luddens f090551d13 fix unordered flatpak's manifest
dictionnaries aren't ordered with python 3.5, OrderDict() fixes that.
2019-04-09 17:03:33 +02:00
Matthieu Gautier 3022361d7e Add a list of package to install on fedora for qt. 2019-04-02 12:05:52 +02:00
Matthieu Gautier a282bd8ce3 Allow a list of packages to install to be set `True` to skip installation.
This can allow a dependency to be marked as installed even if there is
nothing to install.
2019-04-02 12:05:52 +02:00
Matthieu Gautier 714eeb3bb9 New releases of projects. 2019-03-19 18:01:05 +01:00
Matthieu Gautier da30e11f6a Fix publication of release kiwix-desktop on windows. 2019-03-19 15:25:11 +01:00
Matthieu Gautier 2970a2d445 Update to new version of lzma and get it from kiwix.org server.
It seems that the downloading of the archive stored on sourceforge
fails sometime.

Use the archive stored in our server (download.kiwix.org) instead.
And also move to the last version of lzma.
2019-03-06 10:24:09 +01:00
Matthieu Gautier 1341c8b401 Do not strip libraries in release_mode.
Meson use gcc's `-s` option to create the archive.
This option should make gcc meemic `ar` tool but in some version of gcc,
it seems there is a bug and the `-s` option is not taken into account.

See https://github.com/mesonbuild/meson/issues/4138

So, do not try to strip libraries. We will strip the final binaries anyway.
2019-03-04 13:53:26 +01:00
Matthieu Gautier 70fff445c0 Update version of kiwix-lib and kiwix-tools.
Rebuild also libzim as we were wrongly packaging the archive.
2019-02-22 11:21:50 +01:00
Matthieu Gautier 0940a17596 Update to new version 4.0.5 of libzim. 2019-02-21 15:51:55 +01:00
Matthieu Gautier 505961be4c Build in release mode.
- Dependency are installed "striped".
- Our project are build "debugoptimized" by default and "release" when
  building release instead of "debug"

We need to update the `base_deps_meta_version` as we are changing how
dependencies are compiled.
2019-02-19 17:23:14 +01:00
Matthieu Gautier f2c3a8a4f6 Add a patch to allow compilation of xapian on android. 2019-02-18 17:02:13 +01:00
Matthieu Gautier 6a1fdb8620 Use xapian 1.4.10 insteal of 1.4.7
Fix #264
2019-02-18 14:32:45 +01:00
Matthieu Gautier 8d13ef673a Update the list of android packages to install. 2019-02-05 16:22:09 +01:00
Isaac Hutt f73187f7c9 Update gradle dependency 2019-02-05 16:22:09 +01:00
Isaac Hutt 4ca0a43325 Increase dependency version number 2019-02-05 16:22:09 +01:00
Matthieu Gautier 0ad24e9656 Do not use system's static zlib.
The system's static zlib is compiled without `-fPIC` but we need it
to build the mixed libzim.
2019-02-04 17:01:28 +01:00
Matthieu Gautier 4eb95fd4cc Pass correct option `-Dstatic_linkage` to libzim in native_mixed platform.
In native_mixed, we want to build a shared lib but we need to compile
with the static lib of the dependencies.
2019-02-04 17:01:28 +01:00
Matthieu Gautier 466dc8b64a Fix `-fPIC` CXXFLAGS. 2019-02-04 17:01:28 +01:00
Matthieu Gautier c9210bb0e0 Allow kiwix-build to build shared libs linked statically with deps.
We need to be able to build libzim as shared lib while using all
other dependencies statically (to not have libxapian.so, ... to distribute)

This add a new platform (static=False) that make all dependencies being
build in a static platform.
2019-02-04 17:01:28 +01:00
Matthieu Gautier 1b2b3efb54 Allow the platform itself to set on which platform we need to build the dep
For some complex build, we may want to build a dependency on another
platform that the target platform.
2019-02-04 17:01:28 +01:00
Isaac Hutt 90460e8100
Update Gradle Version 2019-02-03 23:46:55 +00:00
Matthieu Gautier b985becf4b Update versions 2019-01-29 14:18:15 +01:00
Matthieu Gautier c61570fc08 [flatpak] Add the exact commit sha in the manifest.
As requested here
https://github.com/flathub/flathub/pull/768#discussion_r245727043

See flathub/flathub#768
2019-01-23 18:25:22 +01:00
Matthieu Gautier 50167460dc Move the version of org.kde in the versions.py file. 2019-01-23 16:04:02 +01:00
Matthieu Gautier b2d2e489bf [iOS] Use the correct option `b_bitcode` for libzim and kiwix-lib. 2019-01-17 16:50:49 +01:00
Matthieu Gautier 681c5b4ec2 [Travis] Use python3.5 instead of default python3.4
Python3.5 add functionnality we need in kiwix-build.
And recent versions of meson need python3.5.
2019-01-17 15:36:32 +01:00
Matthieu Gautier 4160673c3a Correctly raise StopBuild in case of error when building flatpak. 2019-01-15 14:50:06 +01:00
Matthieu Gautier c4a3da03c3 Correctly install mustache in flatpak.
We need a simple buildsystem to "build" mustache" as we simply need to
copy the header.
2019-01-15 14:44:02 +01:00
Matthieu Gautier 961076bb87 [ANDROID] Build only the apk, not everything.
It seems that build everything on android side is a bit too expensive.
Let's do as is done on android CI, build only the apk.
2019-01-15 11:26:11 +01:00
Matthieu Gautier 4f2786a031 Add missing import of pj in i586 platform 2019-01-10 16:50:47 +01:00
Matthieu Gautier 1d881d0612 Add the include dir in the meson_cross_file.
This is needed to have kiwix-lib find the `mustache.hpp` include when
cross compiling.
2019-01-09 18:29:58 +01:00
Matthieu Gautier 879a7294b9 Create the directory containing the skip_file if needed. 2019-01-09 11:46:16 +01:00
Matthieu Gautier 1a0e0ad717 Update to last version of libmagic (5.35) 2019-01-09 11:17:41 +01:00
Matthieu Gautier 8005aff6c0 Remove ctpp2 dependency.
kiwix-lib doesn't use ctpp2 anymore but mustache.
So remove ctpp2 dependency and add mustache.
2019-01-09 11:17:41 +01:00
Matthieu Gautier b6833eddac Force rebuild of kiwix-desktop release to have the appimage. 2018-12-21 14:32:33 +01:00
Matthieu Gautier c776ca9a80 Udpate versions. 2018-12-14 17:00:39 +01:00
Matthieu Gautier 2980075ce0 Update flatpak_builder to new version of kiwix-desktop
- app-id is now ork.kiwix.desktop
- No need to rename the desktop-file
- `--filesystem=xdg-data` is useless.
2018-12-14 17:00:39 +01:00
Matthieu Gautier f9610ce3b3 Move the `sources` at the end of the modules.
It is the usage to have `sources` attribute at the end of the module
definition in flatpak manifest. Let's follow it.
2018-12-12 11:31:50 +01:00
Matthieu Gautier ac0685877b Do not keep "empty" modules (without sources).
`org.kde` dependency has no source. It used by kiwix-build to install the
correct sdk/platform.
2018-12-12 11:30:04 +01:00
Matthieu Gautier abf0e639e1 The manifest file must be named as the app-id. 2018-12-12 11:28:08 +01:00
Matthieu Gautier e11247c18a `builddir` is already default to True for meson. 2018-12-12 11:25:02 +01:00
Matthieu Gautier 6b5df23b03 `no-autogen` is already default to false.
We don't need to add it by default.
2018-12-12 11:24:40 +01:00