Commit graph

985 commits

Author SHA1 Message Date
Matthieu Gautier
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
Matthieu Gautier
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
Matthieu Gautier
b8e00e58c7
Merge pull request #157 from kiwix/missing_win32_lib
Missing win32 lib
2018-04-23 14:01:28 +02:00
Matthieu Gautier
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
Matthieu Gautier
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
Matthieu Gautier
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
Matthieu Gautier
2270a070d2 Add an option to allways check for needed system packages. 2018-04-19 10:34:24 +02:00
Matthieu Gautier
1773f0fa28 Install libmagic in macos for zimwriterfs. 2018-04-18 17:48:32 +02:00
Matthieu Gautier
28c38695f1
Merge pull request #78 from kiwix/travis_apple
Travis build on osx
2018-04-17 18:22:29 +02:00
Matthieu Gautier
3539a8affe Specify the LIB_SUFFIX for CTPP2. 2018-04-17 17:41:23 +02:00
Matthieu Gautier
f536d625a9 Add a patch to icu to correctly set the rpath in zimwriterfs build. 2018-04-17 17:41:23 +02:00
Matthieu Gautier
3ad73093f5 [TRAVISCI] Build kiwix-lib on macOS 2018-04-17 17:41:08 +02:00
Matthieu Gautier
9acd6b3447 Run the xcodebuild command only we actually use iOSTargetInfo. 2018-04-17 17:40:11 +02:00
Matthieu Gautier
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
Matthieu Gautier
24c771aaa8 Avoid to make a svn_update at each time. 2018-04-17 17:37:07 +02:00
Matthieu Gautier
f94ca108f7 Enable RPATH for Icu. 2018-04-16 19:42:07 +02:00
Matthieu Gautier
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
Chris Li
5eedb3d96a First version of kiwix cross-compilation to IOS. 2018-04-16 17:45:03 +02:00
Matthieu Gautier
fc3cf614a7
Merge pull request #151 from kiwix/reduce_travis_build
Do not do unecessary build.
2018-04-16 17:25:11 +02:00
Matthieu Gautier
1ed8889e26 Do not do unecessary build.
Build only if the travis event is not a push (pull_request, cron, ..)
or we are pushing a tag (to build releases).
2018-04-16 16:13:17 +02:00
Matthieu Gautier
a394c4292c
Merge pull request #150 from kiwix/travis_no_mips_nightly
Do not build android mips in travis in case of cron or pull_request.
2018-04-16 15:56:09 +02:00
Matthieu Gautier
f983b8431b Do not build android mips in travis in case of cron or pull_request.
Related to #121
2018-04-16 15:07:28 +02:00
Matthieu Gautier
acf1083b1f
Merge pull request #149 from kiwix/no_sse
Compile i586 without sse instructions.
2018-04-09 14:16:13 +02:00
Matthieu Gautier
72f3691ba6 Compile i586 without sse instructions.
We need a to compile binaries without sse instructions
(https://github.com/kiwix/kiwix-build/issues/94#issuecomment-376814014)
2018-04-09 12:09:18 +02:00
Matthieu Gautier
ee11333249
Merge pull request #145 from kiwix/i586
I586
2018-04-09 11:49:45 +02:00
Matthieu Gautier
83a4841ea2 Do not build ctpp2 with iconv support. 2018-04-06 18:59:15 +02:00
Matthieu Gautier
27bce3cd99 Add missing package for i586 ubuntu in travis. 2018-04-06 18:59:15 +02:00
Matthieu Gautier
fd39245c40 Update travis to also compile i586 variants. 2018-04-06 18:59:15 +02:00
Matthieu Gautier
468c3edff9 Add a i586 toolchain.
This will allow to build kiwix-tools for i586 architectures.
2018-04-06 18:59:15 +02:00
Matthieu Gautier
5d08673a52 Correctly stop the build if there is an error during the downloading. 2018-04-05 23:32:46 +02:00
Matthieu Gautier
8f0c6a321b Add an option to not build all dependencies but only the specified target. 2018-04-05 23:32:46 +02:00
Matthieu Gautier
8fc946ab74
Merge pull request #144 from kiwix/gradle-update
Increment gradle wrapper version
2018-04-05 23:31:59 +02:00
mhutti1
c01ca69130 Increment gradle wrapper version 2018-04-05 17:22:08 +02:00
Matthieu Gautier
502f740ca9
Merge pull request #143 from kiwix/fix_MANIFEST.in
Correctly include the patche files.
2018-04-05 17:19:42 +02:00
Matthieu Gautier
372d11e23d Add libaria2 to the list of all base dependencies. 2018-04-05 15:40:04 +02:00
Matthieu Gautier
eb75660e48 Do not try to compile xz and xzdec tools.
libaria2 use xz to configure its source.
If we compile the xz tool, libaria2 will use the compiled binary.

However, on cross compilation, xz will be compiled for the target platform
and run on the host platform. And so, it will fails.

As we do not use those tools at all, lets not compile them.
2018-04-05 15:39:26 +02:00
Matthieu Gautier
f579d3dc26 Correctly include the patche files.
This is needed to patch the sources.
2018-04-05 11:46:31 +02:00
Matthieu Gautier
70a6fa3860
Merge pull request #142 from kiwix/split_files
Split files
2018-04-04 22:17:41 +02:00
Matthieu Gautier
72002c8f34 Update README.md 2018-04-04 18:06:36 +02:00
Matthieu Gautier
6ebd96c059 Adapte travis to new file architectures.
- kiwix-build is installable, so let's install it in travisCI
- Declare the dependency to meson in the setup.py
- As kiwixbuild is installed, we don't need to change the `sys.path`
2018-04-04 15:43:51 +02:00
Matthieu Gautier
97666b0fc9 Create a real module kiwixbuild and make it installable. Split files.
Make kiwix-build installable using pip.
Module is now called `kiwixbuild` because `kiwix-build` is not a valid
python identifier.

Also split toolchains in separated directory.
2018-04-04 15:43:16 +02:00
Matthieu Gautier
1513204f42
Merge pull request #139 from kiwix/libaria2
Add dependency libaria2.
2018-03-28 14:25:17 +02:00
Matthieu Gautier
7da54c4819 Update to last version of lzma. 2018-03-28 11:45:55 +02:00
Matthieu Gautier
98b2ab5efd Add dependency libaria2.
libaria2 needs a lot of dependencies to handle all protocol.
So this is a basic compilation of libaria2 :
No tls(https), no metalink and no bit-torrent.
2018-03-27 20:38:33 +02:00
Matthieu Gautier
067ac0d832
Merge pull request #138 from kiwix/update_versions
Update to new version of libzim, kiwix-lib and kiwix-tools.
2018-03-27 15:58:41 +02:00
Matthieu Gautier
e990b3e93b Update to new version of libzim, kiwix-lib and kiwix-tools. 2018-03-27 12:06:21 +02:00
Matthieu Gautier
56e3bfe442
Merge pull request #137 from kiwix/zip_extension
[TRAVIS] Zip archive must have ".zip" extension.
2018-03-21 19:44:49 +01:00
Matthieu Gautier
d3abb0d567 [TRAVIS] Zip archive must have ".zip" extension. 2018-03-21 17:31:40 +01:00
Matthieu Gautier
e5b6ab4db9
Merge pull request #136 from kiwix/create_archive_at_right_place
[TRAVIS] Copy release archive in the right subdirectory.
2018-03-21 16:39:51 +01:00
Matthieu Gautier
a884668c76 [TRAVIS] Copy release archive in the right subdirectory.
This way, deploy.sh can upload the archive at the right place.
2018-03-21 16:08:52 +01:00