a413c5f064
Fix root_path lookup in cmake_cross_file generation.
...
Sometime the root_path is dependent of the target platform and sometime
not. But sometime dependent of the build arch :/
[TODO] We should move the cross_file generation to the PlatformInfo class.
2018-05-22 17:47:21 +02:00
98ebba65f6
fix imports
2018-05-22 16:58:40 +02:00
b950feb893
Move Builder and BuildEnv in specific module.
...
Introduce also a "NeutralEnv", a build environment independent of the
targeted platform. All `Source` now build using the neutralEnv.
Most of toolchains are also using neutralEnv except android_ndk who is
specific to a platform.
As toolchain are neutral, platform specific environment variables are now
set by the platformInfo directly instead of the toolchain.
2018-05-22 16:58:39 +02:00
ac83dec674
Move ios sdk in toolchains module.
2018-05-22 16:58:06 +02:00
363bdf74ed
Move target informations into a platforms module.
...
`TargetInfo`s are information about the target platform.
Let's rename them into PlatformInfo and move them in a specific module.
2018-05-22 16:58:02 +02:00
f1d1fc654c
Better MakeBuilder configure system.
...
`all_configure_option` should be ALL configure option.
2018-05-22 16:43:37 +02:00
53585b838a
Split the dependencies.py file into several parts.
2018-05-22 16:43:37 +02:00
fa829e1dec
Rename dependency_versions.py to versions.py
2018-05-22 16:39:55 +02:00
b27d1f0e17
Merge pull request #166 from kiwix/fix_ios
...
Fix ios
2018-05-21 18:43:18 +02:00
ad21da6a01
change armv7s to armv7
2018-05-21 16:05:17 +02:00
93e0f290f8
Merge pull request #171 from kiwix/no_kiwix_install
...
Last version of kiwix-tools doesn't have a kiwix-install binary.
2018-05-21 16:02:29 +02:00
355ef551d3
Last version of kiwix-tools doesn't have a kiwix-install binary.
...
See commit https://github.com/kiwix/kiwix-tools/commit/7c254544
2018-05-21 14:51:05 +02:00
52669c12de
Merge pull request #170 from kiwix/libtool
...
Make kiwix-build install libtool.
2018-05-21 11:34:18 +02:00
c745e325c6
Make kiwix-build install libtool.
...
Fix #169 .
2018-05-21 10:52:52 +02:00
b445d6dd2d
Merge pull request #164 from kiwix/remove_darwin_warning
...
Remove Darwin warning, Darwin is now supported.
2018-05-17 07:58:33 +02:00
66cad23bcc
Remove Darwin warning, Darwin is now supported.
2018-05-17 07:57:20 +02:00
8c6c01e278
Merge pull request #168 from kiwix/travis_create_dir
...
Create "date" directory when deploying nightly build.
2018-05-15 13:19:19 +02:00
e6c5624127
Create "date" directory when deploying nightly build.
...
The directory is create by simply copying the full directory instead of
individual files.
2018-05-14 22:10:40 +02:00
31133f936f
Merge pull request #167 from kiwix/zimwriterfs_meson
...
Zimwriterfs meson
2018-05-14 19:07:05 +02:00
d001372a8b
Use alternative (HTTPS) file source tarball URL
2018-05-14 15:46:57 +02:00
ee5a8eda96
Build zimwriterfs using meson.
2018-05-14 15:46:57 +02:00
dac4fcd1f8
Also try to cross-compile zim-tools in travis cron.
2018-05-14 15:46:57 +02:00
a417b044f8
Add libmagic dependency.
2018-05-14 15:46:57 +02:00
a888602f77
Merge pull request #161 from kiwix/travis_ios
...
Travis ios
2018-04-24 19:36:43 +02:00
b4f8d2cc7b
Build kiwix-lib for iOS on travis CI.
2018-04-24 15:02:28 +02:00
cc5cfd1901
Update MACOS_DEPLOYMENT_TARGET to 10.7
...
This is needed to cross-compile to iOS using C++11.
2018-04-24 14:58:14 +02:00
a9818d18c4
Move ios cross file templates in the right directory.
2018-04-24 14:57:23 +02:00
8467cca46a
Merge pull request #160 from kiwix/update_version
...
Update to new versions of libzim, kiwix-lib, kiwix-tools.
0.0.5
2018-04-23 21:37:58 +02:00
f0c45c7b42
Update to new versions of libzim, kiwix-lib, kiwix-tools.
2018-04-23 20:52:59 +02:00
ebe9858266
Merge pull request #158 from kiwix/fix_deploy_win
...
Fix deploy win
2018-04-23 17:07:15 +02:00
58c5d6d02e
Better printing of messages in the travis log.
2018-04-23 16:36:10 +02:00
25a14e44e7
Fix creation of win nightly archive.
...
The new name of the platform is "win-i686", not anymore "win32".
2018-04-23 15:07:44 +02:00
09135cffcb
Merge pull request #154 from kiwix/archive_names
...
Publish nightly and release archive using the right name.
2018-04-23 14:48:04 +02:00
989889ca44
Deploy zim nightly on the right server.
...
zim related projects should be deployed on zim server, not kiwix.
Fix #156 .
2018-04-23 14:02:45 +02:00
df99696c85
Publish nightly and release archive using the right name.
...
The names of archives were inconsistent, rename them to a more consistent
scheme.
2018-04-23 14:02:45 +02:00
b8e00e58c7
Merge pull request #157 from kiwix/missing_win32_lib
...
Missing win32 lib
2018-04-23 14:01:28 +02:00
9f877180df
Do not compile libaria2 with sqlite3 and libxml2.
...
Those dependencies are used for bittorent and metalink.
For now, we don't support those features (we should in the future).
However, it seems that if development package are installed on the system,
libaria will try to link with libsqlite3 and libxml3 anyway.
We have to investigate this, but it breaks static build of kiwix-tools.
As we are not using those feature for now, let's just explicitly
compile libaria2 without sqlite3 and libxml2.
2018-04-23 12:08:06 +02:00
65969f4999
Add missing library in the list of libraries to link with in win32.
...
Libaria2 use methods in `iphlpapi` on Windows.
2018-04-23 10:45:08 +02:00
f503706914
Merge pull request #155 from kiwix/add_macos_dep_libmagic
...
Install libmagic in macos for zimwriterfs.
2018-04-19 11:17:31 +02:00
2270a070d2
Add an option to allways check for needed system packages.
2018-04-19 10:34:24 +02:00
1773f0fa28
Install libmagic in macos for zimwriterfs.
2018-04-18 17:48:32 +02:00
28c38695f1
Merge pull request #78 from kiwix/travis_apple
...
Travis build on osx
2018-04-17 18:22:29 +02:00
3539a8affe
Specify the LIB_SUFFIX for CTPP2.
2018-04-17 17:41:23 +02:00
f536d625a9
Add a patch to icu to correctly set the rpath in zimwriterfs build.
2018-04-17 17:41:23 +02:00
3ad73093f5
[TRAVISCI] Build kiwix-lib on macOS
2018-04-17 17:41:08 +02:00
9acd6b3447
Run the xcodebuild command only we actually use iOSTargetInfo.
2018-04-17 17:40:11 +02:00
72d9e99bf9
except the correct exception URLError when downloading.
...
`urllib.request.open` can raise a URLError or a HTTPError.
2018-04-17 17:39:13 +02:00
24c771aaa8
Avoid to make a svn_update at each time.
2018-04-17 17:37:07 +02:00
f94ca108f7
Enable RPATH for Icu.
2018-04-16 19:42:07 +02:00
6d507651a4
Do not compile icu tools when cross-compiling icu4c.
...
We do not need tools when cross-compiling icu4c.
And when cross-compiling to iOS, tools are not compiling at all.
2018-04-16 17:45:03 +02:00