Commit Graph

1234 Commits

Author SHA1 Message Date
Matthieu Gautier 03c2c26089 Add LOGS dir to the dependencies archives.
This will help to debug.
2019-02-19 17:23:14 +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 b43bf31c3c
Merge pull request #295 from kiwix/new_xapian
Use xapian 1.4.10 insteal of 1.4.7
2019-02-19 10:03:46 +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 5a404438f7 Fix creation of deps archive. 2019-02-18 15:17:34 +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 f107fa2eb1
Merge pull request #294 from kiwix/better_file_export
Better of export of file (release and nightly)
2019-02-18 14:28:49 +01:00
Matthieu Gautier f3ba9346ac Also create the archive in PR.
This way we are testing that archives are well done in the PR, not
after the merge.
2019-02-18 11:29:42 +01:00
Matthieu Gautier 4230ece400 Better of export of file (release and nightly)
As we are exporting libzim, we also need to export header files.
So now, we are using glob to get the list of file to add to the archive.

Fix openzim/libzim#199
2019-02-18 10:29:38 +01:00
Matthieu Gautier a3d7d9950c
Merge pull request #292 from kiwix/deps_archive_xz
[TRAVIS] Use xz compression to create the deps archives.
2019-02-07 11:30:27 +01:00
Matthieu Gautier 77fc6704ef Do not save the `tools` directory of the toolchains.
This directory came from the source and is only used to install the
sdk. As the sdk is already installed, we don't need it (and we can save
400Mo)
2019-02-06 16:51:42 +01:00
Matthieu Gautier ffc9c1b640 [TRAVIS] Use xz compression to create the deps archives. 2019-02-06 15:28:25 +01:00
Matthieu Gautier 1d81de88ce
Merge pull request #291 from kiwix/fix_libzim_deploy
We need to deploy the real lib, not the symlink to it.
2019-02-06 11:40:00 +01:00
Matthieu Gautier fa3343dd97 We need to deploy the real lib, not the symlink to it.
`libzim.so` is a symlink to `libzim.so.4`, who is also a symlink to
`libzim.so.4.0.4`.
2019-02-06 10:24:22 +01:00
Matthieu Gautier 14a65ae6e8
Merge pull request #290 from kiwix/mhutti1/dep-update
Increase dependency version number
2019-02-06 10:23:42 +01:00
Matthieu Gautier 6fd7d77ff1 [TRAVIS] Print progress while we are downloading base_dep archives. 2019-02-05 19:01:32 +01:00
Matthieu Gautier 72b1f5c2ef [TRAVIS] Android build cannot fail anymore. 2019-02-05 16:23:36 +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 44cda40358
Merge pull request #289 from kiwix/mix_platform
Mix platform
2019-02-04 17:48:27 +01:00
Matthieu Gautier 68902b5642 Build libzim in native_mixed platform on travis. 2019-02-04 17:01:28 +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
Kelson ef4cf7ada7
Merge pull request #288 from kiwix/mhutti1/gradle-update-1
Update Gradle Version
2019-02-04 06:57:51 +01:00
Isaac Hutt 90460e8100
Update Gradle Version 2019-02-03 23:46:55 +00:00
Matthieu Gautier 2aee71075e
Merge pull request #286 from kiwix/fix_flatpak
Fix flatpak
2019-01-29 16:55:30 +01: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 4dfcd4aefb
Merge pull request #213 from kiwix/last_meson
Use last version of meson.
2019-01-23 14:25:25 +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 8ffbac9734 [Travis] Install the last version of meson. 2019-01-17 15:36:32 +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 2ab9f2679b
Merge pull request #285 from kiwix/fix_travis
Fix travis
2019-01-15 17:09:36 +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 4329629f97 [Travis] Allow the desktop appimage build to fail.
`linuxqtdeploy` recently add a test on the running system (libc version)
and refuse to run if the libc is too recent.
So we would need to run `linuxqtdeploy` only on ubuntu 14.04.
However, we also need `qtwebengine5-dev` package whom is available only
since ubuntu 18.04.

While we find a solution (see comments in the linuxdeployqt issue), we
have to allow the appimage build to fail.

See probonopd/linuxdeployqt#340
2019-01-15 11:16:48 +01:00
Matthieu Gautier 12614facce
Merge pull request #284 from kiwix/add_missing_import_i586
Add missing import of pj in i586 platform
2019-01-11 13:44:05 +01:00
Matthieu Gautier f844832c87 [Appveyor]Add include directory for mustache in kiwix-lib. 2019-01-11 11:28:41 +01:00
Matthieu Gautier 4f2786a031 Add missing import of pj in i586 platform 2019-01-10 16:50:47 +01:00
Matthieu Gautier e7860f986d
Merge pull request #283 from kiwix/cross_compile_include_dir
Add the include dir in the meson_cross_file.
2019-01-10 10:57:15 +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 17c6b68a62
Merge pull request #282 from kiwix/mustache
Remove ctpp2 dependency.
2019-01-09 15:04:20 +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