Commit Graph

635 Commits

Author SHA1 Message Date
Matthieu Gautier 05c0a691ec Insert lowlevel libraries in the appimage.
May fix kiwix/kiwix-desktop#14
2018-08-03 15:53:13 +02:00
Matthieu Gautier c256857e01 Create the app image using the ".appimage" extension.
Fix kiwix/kiwix-desktop#19
2018-08-03 15:53:13 +02:00
Matthieu Gautier afc6bf0907 Add svg icon support into the appimage
- Add missing packages in Dockerfile to support svg icons.
- Include needed plugins in the appimage.
2018-08-03 15:53:13 +02:00
Matthieu Gautier 0d3ea8eaa5 Use the kiwix.desktop file and the icon in the kiwix-desktop sources.
No need anymore to generate one or take a random image.
2018-08-03 15:52:50 +02:00
Matthieu Gautier 2024dae4c8
Merge pull request #231 from kiwix/android_no_header_mmap
Do not use buffered header on android.
2018-08-01 19:33:03 +02:00
Matthieu Gautier e22ceab92a Do not use buffered header on android.
Android devices are low memory devices, use last libzim compilation option
to avoid copy/mmap index header in memory.
2018-08-01 18:07:13 +02:00
Matthieu Gautier 66c79e2aac
Merge pull request #229 from kiwix/no_libzim_windows_branch
`libzim`'s branch window has been merged in master.
2018-07-31 09:10:51 +02:00
Matthieu Gautier 9d7e1af17f `libzim`'s branch window has been merged in master. 2018-07-30 20:54:06 +02:00
Matthieu Gautier b9479e8506
Merge pull request #228 from kiwix/appveyor_xapian_1.4.7
xapian 1.4.7
2018-07-27 14:09:05 +02:00
Matthieu Gautier de6ae772d4 Update to last vresion of xapian. 2018-07-27 10:46:00 +02:00
Matthieu Gautier b2bd19f484 Use last version of xapian instead of prerelease 2018-07-27 10:22:53 +02:00
Matthieu Gautier ec273f7b0e
Merge pull request #227 from kiwix/fix_sign
Sign the application after windeployqt.
2018-07-27 09:29:36 +02:00
Matthieu Gautier 6e396360a8 Sign the application after windeployqt.
windeployqt modify the executable, so we must sign it after.
2018-07-26 19:37:38 +02:00
Matthieu Gautier 013c3bd3ec
Merge pull request #226 from kiwix/sign_windows_app
Sign windows application in AppVeyor
2018-07-26 16:01:02 +02:00
Matthieu Gautier a4bdec74b4 Sign windows application in AppVeyor 2018-07-26 15:10:25 +02:00
Matthieu Gautier 81d9a96229
Merge pull request #225 from kiwix/fix_qt_version
Fix the path of AppVeyor Qt to be minor version independent.
2018-07-26 11:18:32 +02:00
Matthieu Gautier 968c6ecc44 Fix the path of AppVeyor Qt to be minor version independent.
AppVeyor may update minor version of Qt and change `5.11.0` to `5.11.1`.
If we use the path with the full version, it will break in the futur.

AppVeyor install a link `5.11` pointing to the last version, so let's use
it.
2018-07-26 10:28:21 +02:00
Matthieu Gautier 5876adbb69
Merge pull request #224 from kiwix/kiwix-custom-app
Fix compilation of kiwix-custom-app.
2018-07-19 17:02:58 +02:00
Matthieu Gautier 5c83ba9d10 Fix compilation of kiwix-custom-app.
This is forgotten dependency. Not updated when we moved to multi-arch
build.
Now, it is fixed.
2018-07-19 16:19:55 +02:00
Matthieu Gautier 3283bbe565
Merge pull request #222 from kiwix/no_window_branch_desktop
[AppVeyor] No windows branch for kiwix-desktop.
2018-07-17 17:35:28 +02:00
Matthieu Gautier 3e3513731e [AppVeyor] No windows branch for kiwix-desktop.
The `windows` branch has been merge. We should directly use `master` now.
2018-07-17 16:50:49 +02:00
Matthieu Gautier 1693a542ed
Merge pull request #221 from kiwix/app_veyor
Add basic kiwix-desktop build on AppVeyor.
2018-07-17 13:11:25 +02:00
Matthieu Gautier 2743f64ef8 Add basic kiwix-desktop build on AppVeyor.
This is somehow a side build system base on cmd scripts.
We should merge it in kiwix-build but... no time for now :/
2018-07-17 11:23:09 +02:00
Matthieu Gautier a17cdeba49
Merge pull request #220 from kiwix/travis_no_dep_archive_android
[TRAVIS] Do not make a deps archive when PLATFORM is android.
2018-07-16 19:27:49 +02:00
Matthieu Gautier 25af2cfa6c [TRAVIS] Do not make a deps archive when PLATFORM is android.
We never use the android platform in other project. We always an arch
specific android platform (android_arm).

So, do not try to do any dependencies archives there.
Especially if travis kill the job because it takes too long to create
the archive.
2018-07-16 18:31:50 +02:00
Matthieu Gautier eed1ddce4e
Merge pull request #219 from kiwix/readme_android_typos
[README] Fix typos in android section in the readme.
2018-07-16 18:23:35 +02:00
Matthieu Gautier 20994fa048 [README] Fix typos in android section in the readme. 2018-07-16 11:46:34 +02:00
Matthieu Gautier 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
Emmanuel Engelhart 79a08e001b Use faster svn export instead of svn checkout 2018-07-16 10:15:28 +02:00
Matthieu Gautier 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
Matthieu Gautier 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
Matthieu Gautier 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
Matthieu Gautier 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
Matthieu Gautier 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
Matthieu Gautier 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
Matthieu Gautier e577efd612
Merge pull request #216 from kiwix/correct_decrypt_key
[TRAVIS] Correctly decrypt the ssh key
2018-07-11 17:15:15 +02:00
Matthieu Gautier 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
Matthieu Gautier 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
Matthieu Gautier 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
Matthieu Gautier 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
Matthieu Gautier 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
Matthieu Gautier 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
Kelson edc200095e
Merge pull request #210 from kiwix/mhutti1/android-logging-link
Build with android logging library
2018-06-29 16:04:33 +02:00
mhutti1 20ac697d43 Build with android logging library 2018-06-29 15:26:54 +02:00
Kelson 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
Emmanuel Engelhart ef2e95b42e Bump-up deps meta version to 9 2018-06-24 20:51:31 +02:00
Emmanuel Engelhart e90ff48ec9 Remove support of old Xapian chert backend 2018-06-24 20:51:31 +02:00
Kelson 8a15091a45
Merge pull request #205 from kiwix/app_image_cat
Categories=Education;
2018-06-24 13:26:35 +02:00
probonopd 3916b14aee Categories=Education;
Fixes https://github.com/kiwix/kiwix-build/issues/192#issuecomment-397818904
2018-06-24 11:44:24 +02:00
Matthieu Gautier 0eb8fd1ebb
Merge pull request #200 from kiwix/fix_deploy
Fix deploy
2018-06-20 15:47:50 +02:00