Commit Graph

1194 Commits

Author SHA1 Message Date
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
d31d9985c7 Merge pull request #300 from kiwix/new_release
New release
0.0.20
2019-02-22 11:51:44 +01:00
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
c2bb79941a Update to last version of linuxdeployqt.
linuxdeployqt now try to get the version of the appimage and include it
in the appimage name.

Let's specify the version and use the correct (new) appimage name.
2019-02-22 10:57:08 +01:00
40b8bd0d19 Include subdirectory in the libzim release archive.
Header are in the `include/zim` directory but also in `include/zim/creator`
2019-02-22 10:43:46 +01:00
884c9368fb Merge pull request #299 from kiwix/update_version
Update to new version 4.0.5 of libzim.
0.0.19
2019-02-21 16:54:35 +01:00
0940a17596 Update to new version 4.0.5 of libzim. 2019-02-21 15:51:55 +01:00
63844cc13c Merge pull request #297 from kiwix/appimage_fix
Fix creation of appimage.
2019-02-20 11:31:37 +01:00
c8285a371d Fix creation of appimage.
Now that issue probonopd/linuxdeployqt#340 is fixed with a new option
`-unsupported-allow-new-glibc`, we can revert commit 4329629f
2019-02-20 09:47:45 +01:00
f296f59a68 Merge pull request #296 from kiwix/release_build
Build in release mode.
2019-02-20 09:39:47 +01:00
03c2c26089 Add LOGS dir to the dependencies archives.
This will help to debug.
2019-02-19 17:23:14 +01:00
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
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
f2c3a8a4f6 Add a patch to allow compilation of xapian on android. 2019-02-18 17:02:13 +01:00
5a404438f7 Fix creation of deps archive. 2019-02-18 15:17:34 +01:00
6a1fdb8620 Use xapian 1.4.10 insteal of 1.4.7
Fix #264
2019-02-18 14:32:45 +01:00
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
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
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
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
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
ffc9c1b640 [TRAVIS] Use xz compression to create the deps archives. 2019-02-06 15:28:25 +01:00
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
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
14a65ae6e8 Merge pull request #290 from kiwix/mhutti1/dep-update
Increase dependency version number
2019-02-06 10:23:42 +01:00
6fd7d77ff1 [TRAVIS] Print progress while we are downloading base_dep archives. 2019-02-05 19:01:32 +01:00
72b1f5c2ef [TRAVIS] Android build cannot fail anymore. 2019-02-05 16:23:36 +01:00
8d13ef673a Update the list of android packages to install. 2019-02-05 16:22:09 +01:00
f73187f7c9 Update gradle dependency 2019-02-05 16:22:09 +01:00
4ca0a43325 Increase dependency version number 2019-02-05 16:22:09 +01:00
44cda40358 Merge pull request #289 from kiwix/mix_platform
Mix platform
2019-02-04 17:48:27 +01:00
68902b5642 Build libzim in native_mixed platform on travis. 2019-02-04 17:01:28 +01:00
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
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
466dc8b64a Fix -fPIC CXXFLAGS. 2019-02-04 17:01:28 +01:00
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
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
ef4cf7ada7 Merge pull request #288 from kiwix/mhutti1/gradle-update-1
Update Gradle Version
2019-02-04 06:57:51 +01:00
90460e8100 Update Gradle Version 2019-02-03 23:46:55 +00:00
2aee71075e Merge pull request #286 from kiwix/fix_flatpak
Fix flatpak
0.0.18
2019-01-29 16:55:30 +01:00
b985becf4b Update versions 2019-01-29 14:18:15 +01:00
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
50167460dc Move the version of org.kde in the versions.py file. 2019-01-23 16:04:02 +01:00
4dfcd4aefb Merge pull request #213 from kiwix/last_meson
Use last version of meson.
2019-01-23 14:25:25 +01:00
b2d2e489bf [iOS] Use the correct option b_bitcode for libzim and kiwix-lib. 2019-01-17 16:50:49 +01:00
8ffbac9734 [Travis] Install the last version of meson. 2019-01-17 15:36:32 +01:00
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
2ab9f2679b Merge pull request #285 from kiwix/fix_travis
Fix travis
2019-01-15 17:09:36 +01:00
4160673c3a Correctly raise StopBuild in case of error when building flatpak. 2019-01-15 14:50:06 +01:00
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