Commit Graph

358 Commits

Author SHA1 Message Date
fd39245c40 Update travis to also compile i586 variants. 2018-04-06 18:59:15 +02:00
468c3edff9 Add a i586 toolchain.
This will allow to build kiwix-tools for i586 architectures.
2018-04-06 18:59:15 +02:00
5d08673a52 Correctly stop the build if there is an error during the downloading. 2018-04-05 23:32:46 +02:00
8f0c6a321b Add an option to not build all dependencies but only the specified target. 2018-04-05 23:32:46 +02:00
8fc946ab74 Merge pull request #144 from kiwix/gradle-update
Increment gradle wrapper version
2018-04-05 23:31:59 +02:00
c01ca69130 Increment gradle wrapper version 2018-04-05 17:22:08 +02:00
502f740ca9 Merge pull request #143 from kiwix/fix_MANIFEST.in
Correctly include the patche files.
2018-04-05 17:19:42 +02:00
372d11e23d Add libaria2 to the list of all base dependencies. 2018-04-05 15:40:04 +02:00
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
f579d3dc26 Correctly include the patche files.
This is needed to patch the sources.
2018-04-05 11:46:31 +02:00
70a6fa3860 Merge pull request #142 from kiwix/split_files
Split files
2018-04-04 22:17:41 +02:00
72002c8f34 Update README.md 2018-04-04 18:06:36 +02:00
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
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
1513204f42 Merge pull request #139 from kiwix/libaria2
Add dependency libaria2.
2018-03-28 14:25:17 +02:00
7da54c4819 Update to last version of lzma. 2018-03-28 11:45:55 +02:00
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
067ac0d832 Merge pull request #138 from kiwix/update_versions
Update to new version of libzim, kiwix-lib and kiwix-tools.
0.0.4
2018-03-27 15:58:41 +02:00
e990b3e93b Update to new version of libzim, kiwix-lib and kiwix-tools. 2018-03-27 12:06:21 +02:00
56e3bfe442 Merge pull request #137 from kiwix/zip_extension
[TRAVIS] Zip archive must have ".zip" extension.
0.0.3
2018-03-21 19:44:49 +01:00
d3abb0d567 [TRAVIS] Zip archive must have ".zip" extension. 2018-03-21 17:31:40 +01:00
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
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
c828bc80f4 Merge pull request #135 from kiwix/zip_archive
Zip archive
2018-03-21 15:16:26 +01:00
2a03ddb2f7 Add a top dir in the tgz archives. 2018-03-21 14:01:30 +01:00
87eee8e966 create zip archive for win32 binaries 2018-03-21 14:01:30 +01:00
770630c6bf Merge pull request #133 from kiwix/fix_deploy
Deploy dist archive in project subdirectory (as for compiled binaries).
2018-03-21 13:59:47 +01:00
b9abfa712d Deploy dist archive in project subdirectory (as for compiled binaries). 2018-03-21 12:14:58 +01:00
9d24bcdf81 Merge pull request #134 from kiwix/skip_download
Skip download
2018-03-21 11:54:33 +01:00
8d13ad5de7 Do not store archive is the base dep archive.
Now that we use a skip file to skip download, we don't need to store
all the archives but just the skip file.
2018-03-20 17:57:39 +01:00
5cc30cf4f2 Use a skip file to skip download of archives. 2018-03-20 17:56:40 +01:00
b2243e438b try_skip method can now take an extra name.
Useful if different "skip_files" are stored in the same directory.
2018-03-20 17:56:14 +01:00
c04bfaba14 Merge pull request #130 from kiwix/faster_build
Faster build
2018-03-20 16:47:13 +01:00
752a5d58ce Do not do sudo command.
- Install all packages using travis apt plugin
- Copy ninja binary in $HOME/bin.

We still need sudo required because travis image has more memory in this
case and this is needed to test big cluster in libzim.
2018-03-20 16:05:26 +01:00
a7f1da3561 Upload build log on failure. 2018-03-20 16:03:09 +01:00
0d18fbfd3d Add a longer timeout for meson test. 2018-03-20 16:03:09 +01:00
c54439831d Use already compiled ninja binary instead of building one. 2018-03-20 15:14:32 +01:00
d93fc9dc9c Also cache pip in travis. 2018-03-20 15:14:32 +01:00
4f2cc6bf92 Make travis compile and store all compiled version of the base deps.
This should greatly improve travis speed.
2018-03-20 09:38:24 +01:00
e95456dea0 Remove travis_wait to get full log. 2018-03-20 09:38:19 +01:00
6cc4c43ffa scp convert its arguments to str itself. 2018-03-19 18:23:12 +01:00
df51246753 Move creation of dependencies archive into a separated function. 2018-03-19 18:22:30 +01:00
e0171379c7 Add an intermediate target that build all base dependencies.
This will allow travis to build all base dependencies all by once.
2018-03-19 17:50:17 +01:00
f1c15a5d3d Reuse the versions in dependency_versions.py instead of redefine them. 2018-03-19 17:25:09 +01:00
f0391a638b Move projects' versions in a separated file.
This way, versions can be imported by external scripts (ie travis)
2018-03-19 17:25:09 +01:00
e8c220c17d Merge pull request #129 from kiwix/no_fail_on_dir_exist
Do not fail if we try to create an existing directory.
2018-03-19 14:19:30 +01:00
841949777d Do not fail if we try to create an existing directory. 2018-03-19 12:09:14 +01:00
0da2ffbd4c Merge pull request #127 from kiwix/fix_deploy
Fix deploy
0.0.2
2018-03-16 09:53:32 +01:00
f88f27edac Indicate release tag of zimwriterfs. 2018-03-15 17:42:41 +01:00
0594486afd Fix deployment of different release archives.
Fix #12.
2018-03-15 17:42:15 +01:00