Commit Graph

257 Commits

Author SHA1 Message Date
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