Commit graph

428 commits

Author SHA1 Message Date
Matthieu Gautier
dba45ced36 Build android lib in the correct directory 2022-06-14 17:48:51 +02:00
Matthieu Gautier
bd1064cb3a Fix url of downloaded dependencies.
We now store the dependencies in kiwix-build subfolder
2022-06-14 17:48:26 +02:00
Matthieu Gautier
aa4250dd41 Build libkiwix with the right new option on android 2022-06-09 10:30:37 +02:00
Matthieu Gautier
72c271a74c Remove LibkiwixApp
The project was used to assemble all android compilation in one
multiplatform java archive.

This allow use to remove android_sdk and Gradle builder
2022-06-09 10:28:59 +02:00
Matthieu Gautier
9c4f359170 New version of libzim 7.2.2 2022-05-18 08:59:38 +02:00
Matthieu Gautier
32a6e5b588 New version of libzim 7.2.1 and zim-tools 3.1.1 2022-05-06 14:51:16 +02:00
Matthieu Gautier
c5662d4d7b New version of libkiwix 10.1.1
As the base dependencies changed, we also need to rebuild all our projects.
2022-04-12 11:04:49 +02:00
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