Commit Graph

759 Commits

Author SHA1 Message Date
20994fa048 [README] Fix typos in android section in the readme. 2018-07-16 11:46:34 +02:00
c4bd748d2c Merge pull request #201 from kiwix/svn_export
Use faster svn export instead of svn checkout
2018-07-16 11:45:38 +02:00
79a08e001b Use faster svn export instead of svn checkout 2018-07-16 10:15:28 +02:00
87ef2b99f4 Merge pull request #218 from kiwix/archive_home_root
[TRAVIS] Allways use $HOME as relative path in dependencies archives.
2018-07-16 10:11:31 +02:00
56d897d8d8 [TRAVIS] Allways use $HOME as relative path in dependencies archives.
As we now move to multi-arch build, we may have things compiled natively
or "neutral" (as toolchains). So we cannot use the BASE_DIR as
relative_path because BASE_DIR is arch dependent.
2018-07-16 09:42:46 +02:00
9ab64220a3 Merge pull request #215 from kiwix/android_cache
[TRAVIS] Try to use arch specific base_deps when build android multi arch.
2018-07-13 14:43:12 +02:00
bae484f7ae [TRAVIS] Print a '.' every 50 files added to an archive.
It will avoid travis-ci to kill the job because of the absence of output.
2018-07-13 11:51:00 +02:00
1a4267a887 Print a '.' every 30 seconds when running a command.
It will avoid travis-ci to kill the job because of the absence of output.
2018-07-13 10:39:18 +02:00
7391b54edf [TRAVIS] Try to use arch specific base_deps when build android multi arch.
Compiling all dependencies for all archs takes a too long time for travis.
By downloading the cache of specific android arch, we avoid to recompile
them.

Android will need kiwix-lib builder to build, so we cannot make the
target_only.
2018-07-13 10:39:18 +02:00
e577efd612 Merge pull request #216 from kiwix/correct_decrypt_key
[TRAVIS] Correctly decrypt the ssh key
2018-07-11 17:15:15 +02:00
cd0d075def Do not try to decrypt the ssh_key if we cannot.
If we are building a PR comming from a fork, the secret key will not
be available and we cannot decrypt the ssh key.

And if the ssh key cannot be decrypted, we should not try to use it to
upload base dependencies.

`cron` and deployement are made only on "secured environment" so we don't
need to test for existance of the key because we are sure that we have
been able to decrypt it.
2018-07-11 15:55:11 +02:00
f5fdc70e84 Revert "Try to decrypt the secret key only if we will do a deployement."
`travis/compile_all.py` may need the secret key to upload dependencies
cache to our server.

So, just decrypt the key before the upload is not good enough (and breaks
PR building new version of base dependencies)

This reverts commit 74efad49e2.
2018-07-11 15:19:23 +02:00
b846ae52a4 Merge pull request #212 from kiwix/allow_ext_PR
Try to decrypt the secret key only if we will do a deployement.
2018-07-11 14:35:37 +02:00
74efad49e2 Try to decrypt the secret key only if we will do a deployement.
Is a contributor do a PR from its own repository, we will try do decrypt
the key but fail because secret env var are not available.

We need the secret key only if we do a deployement and the deployement is
done only for a tag or a cron job.
2018-07-11 14:06:18 +02:00
362b70622f Merge pull request #214 from kiwix/icu_tar_gz
Get icu sources from an archive instead of svn.
2018-07-11 14:04:10 +02:00
0f389f7cc9 Get icu sources from an archive instead of svn.
SVN checkout can be pretty long to do (especially if icu serveur is pretty
slow).

By downloading an archive on our own server, we avoid a spending too many
time downloading.

The archive is a simple targz of the SVN checkout.
2018-07-11 11:00:55 +02:00
edc200095e Merge pull request #210 from kiwix/mhutti1/android-logging-link
Build with android logging library
2018-06-29 16:04:33 +02:00
20ac697d43 Build with android logging library 2018-06-29 15:26:54 +02:00
e6be76b7fc Merge pull request #202 from kiwix/xapian_without_chert
Remove support of old Xapian chert backend
2018-06-24 22:10:16 +02:00
ef2e95b42e Bump-up deps meta version to 9 2018-06-24 20:51:31 +02:00
e90ff48ec9 Remove support of old Xapian chert backend 2018-06-24 20:51:31 +02:00
8a15091a45 Merge pull request #205 from kiwix/app_image_cat
Categories=Education;
2018-06-24 13:26:35 +02:00
3916b14aee Categories=Education;
Fixes https://github.com/kiwix/kiwix-build/issues/192#issuecomment-397818904
2018-06-24 11:44:24 +02:00
0eb8fd1ebb Merge pull request #200 from kiwix/fix_deploy
Fix deploy
0.0.6
2018-06-20 15:47:50 +02:00
1ca7ab6a86 Do not try to deploy if we are running a Docker build.
The deploy will be made in the docker itself.
2018-06-20 15:13:39 +02:00
8b5715acff Revert "Do not deploy on native_dyn linux platform."
This reverts commit 8db9def67d.
2018-06-20 15:11:27 +02:00
d0ecf70284 Merge pull request #196 from kiwix/fix_release_build_bis
[TRAVIS] Fix release dist.
2018-06-19 11:46:54 +02:00
d5b81294ca [TRAVIS] Fix release dist.
- Correctly make dist.
- zimwriterfs is now using meson, we don't need a special case.
2018-06-19 10:39:07 +02:00
aeffb90f1f Merge pull request #195 from kiwix/fix_release_build
Fix release build
2018-06-18 19:25:23 +02:00
d076c6b8d7 Do not set zimwriterfs version directly in the dependency.
The version is tracked in `kiwixbuild/versions.py`, so we must no set
it in `kiwixbuild/dependencies/zimwriterfs.py`.
2018-06-18 17:56:13 +02:00
37e2b709f8 [TRAVIS] Use target_only only if we are building in a cron.
The deps will be build only if we are in a cron.
In this case, we can directly build only the target.

But in other case, we have to build the target and its dependencies.
2018-06-18 17:54:44 +02:00
c3cacb387f Merge pull request #194 from kiwix/fix_typos_release
Fix a small typo breaking the release build process.
2018-06-18 16:32:06 +02:00
fbb84f8df2 Fix a small typo breaking the release build process. 2018-06-18 14:17:06 +02:00
14f2de9664 Merge pull request #189 from kiwix/update_versions
Update to new versions of libzim, kiwix-lib, kiwix-tools, zim-tools, …
2018-06-15 22:09:46 +02:00
d53f1aad4a Update to new versions of libzim, kiwix-lib, kiwix-tools, zim-tools, zimwriterfs. 2018-06-15 19:39:45 +02:00
1ad0b35987 Merge pull request #187 from kiwix/no_kiwix-desktop_travis_trusty
Do not try to compile kiwix-desktop on travis trusty
2018-06-15 17:07:35 +02:00
c9c7d86ca8 Do not try to compile kiwix-desktop on travis trusty 2018-06-15 16:39:14 +02:00
9decfa6226 Merge pull request #186 from kiwix/docker_only_for_qt
Use Docker to build kiwix-desktop only.
2018-06-15 16:28:57 +02:00
37ebcf83ae Use Docker to build kiwix-desktop only.
Keep default travis env for everything else.
2018-06-15 15:57:57 +02:00
829ad7ca61 Merge pull request #185 from kiwix/fix_buildnodeps_crosscompile
Add toolchains steps even if we are building with `--build-nodeps`.
2018-06-14 23:28:39 +02:00
b3d9ff5a6b Add toolchains steps even if we are building with --build-nodeps.
Toolchains are not really a deps, they have to be build everytime.
2018-06-14 22:58:43 +02:00
428fe7efa0 Merge pull request #184 from kiwix/native_gcc4.8
Native gcc4.8
2018-06-14 20:07:08 +02:00
b090353001 Do not use the system ctpp2 in native_dyn debian.
The CI is using ubuntu artful and the deb package is compiled with another
compiler that gcc-4.8 (used in other project CI).

As we compile everything with gcc-4.8, we must compile our own ctpp2.
2018-06-14 18:18:46 +02:00
9ad07fe550 Travis, do not try to compile deps if not needed. 2018-06-14 18:18:46 +02:00
1cbfcef9ce Fix kiwix-desktop dependencies. 2018-06-14 18:18:45 +02:00
eed80c1ff9 Correctly associate the source with the builder. 2018-06-14 18:18:45 +02:00
8506cdeffd Correctly pass CMAKE_* to qmake.
qmake doesn't use the env variables, we must pass the variables in the
command line.
2018-06-14 18:18:45 +02:00
4047ec20dd Add xapian patch to correctly include sys types. 2018-06-14 18:18:45 +02:00
e441b847b5 Use gcc-4.8 to compile in Docker.
Other travis-CI will use the default gcc version of ubuntu trusty.
We must compile with the same compiler to ensure that we don't break ABI.
2018-06-14 14:53:16 +02:00
8b8d24d662 Merge pull request #183 from kiwix/no_kiwix-desktop_static
Do not try to compile kiwix-desktop on native_static.
2018-06-13 18:44:14 +02:00