Commit Graph

1180 Commits

Author SHA1 Message Date
ChrisLi 1374e01c7a Make the CI build the new on the new MacOS archs. 2021-12-22 15:26:01 +01:00
ChrisLi 82569620f2 Add MacOs arch
On top of the native platform (which may still use to compile for macos on macos)
we add a specific MacOs arch.
2021-12-22 15:24:45 +01:00
Matthieu Gautier c36fe74c81
Merge pull request #507 from kiwix/fix_appimage_script 2021-11-26 12:19:21 +01:00
Matthieu Gautier dc99315830 Fix setting of `SYSTEMLIBDIR` in the appimage creation script.
If it is the first time the script is run, $APPDIR doesn't exist, so,
by definition, `$APPDIR/lib` doesn't exists neither.

We must check the library dir in `$INSTALLDIR` which is the "source"
directory for script.
2021-11-23 16:50:32 +01:00
Matthieu Gautier 7c813c4002
Merge pull request #505 from kiwix/fix-appimage-on-Fedora34x64 2021-11-22 14:17:19 +01:00
Alexander Sashnov b48b97ca37 Fix AppImage creation script for Fedora34x64
* use appropriate value for SYSTEMLIBDIR automatically
* do not stop on absence of lib/libmagic.so*
* do not download AppImage tools again on further script runs
2021-11-20 22:03:53 +07:00
Matthieu Gautier da011c1f37
Merge pull request #502 from kiwix/curldeps 2021-10-27 10:42:15 +02:00
renaud gaudin a3f662a3de Fixed #501: disable extra libcurl dependencies 2021-10-26 18:13:15 +02:00
Matthieu Gautier 5c03f4a0be
Merge pull request #500 from kiwix/update_ci 2021-10-19 17:46:04 +02:00
Matthieu Gautier c78d5bbc72 Force version of python's module on xenial.
Xenial's python is 3.5 and recent versions of used python modules are
not supporting python 3.5 anymore.
We have to force specific versions for gcovr and its dependencies.
2021-10-19 11:28:26 +02:00
Matthieu Gautier c1205fc87d New release of libzim and zim-tools.
We don't rebuild other project as they are not ready for last version
of libzim.
2021-10-07 18:19:19 +02:00
Matthieu Gautier c3a0a27361
Merge pull request #496 from kiwix/specify_signtool_algorithm 2021-10-06 10:17:19 +02:00
Matthieu Gautier 2301647659 [WINDOWS][CI] Be explicit about the algorithm used by signtools.
Recent version of signtools need us to be explicit about the used
algorithm.
This is recommended to use the SHA256 algorithm even if the default
(previous) one was SHA1.
2021-10-05 17:10:24 +02:00
Matthieu Gautier a95106be0d
Merge pull request #495 from kiwix/appveyor_certificate
[Appveyor] Update certificate.
2021-08-04 11:00:57 +02:00
Matthieu Gautier 7c334dde2b [Appveyor] Update certificate. 2021-08-04 10:03:25 +02:00
Matthieu Gautier a9f7b5887e
Merge pull request #494 from kiwix/icu_with_lang_info 2021-07-27 18:00:28 +02:00
Matthieu Gautier 9c04df4fb2 [CI] Install automake and autoconf on macos. 2021-07-27 16:45:04 +02:00
Veloman Yunkan 41a411c667 Language data is packaged into ICU
With language data not put into icu, `icu::Locale::getDisplayLanguage()`
doesn't work correctly.
2021-07-27 16:45:04 +02:00
Matthieu Gautier ee093b4dfa
Merge pull request #493 from kiwix/various_fix 2021-07-06 10:39:40 +02:00
Matthieu Gautier 274aec60d2 Copy the right directory on libkiwix android.
The sub-directory `android-kiwix-lib-publisher` has not been renamed.
We plan to move this code in another repository anyway.
It is better for now to use the existing name instead of change the
directory.
2021-07-02 11:19:18 +02:00
Matthieu Gautier 11fc5a0a9c Use correct name for the qtwebengine class.
Wrong copy/paste.
This is not important as we reference dependencies by their name
attribute, not by the class name.
But it is better to have a correct name.
2021-07-02 11:16:02 +02:00
Matthieu Gautier c7ea2a31cb Correctly detect qmake command.
qmake may be named qmake-qt5 on some distribution.
2021-07-02 11:14:13 +02:00
Matthieu Gautier 0e6ed1384c Introduce a intermediate method to detect binaries. 2021-07-02 11:14:13 +02:00
Matthieu Gautier b995976c8a Fix packages name on fedora. 2021-07-02 11:14:13 +02:00
Matthieu Gautier c244e5b779 Link with ssp on win32.
Recent version of mingw need projects using `-D_FORTIFY_SOURCE` to link
with `ssp`.

See https://github.com/msys2/MINGW-packages/issues/5868#issuecomment-544107564
2021-07-02 11:14:13 +02:00
Matthieu Gautier 16214edbcf
Merge pull request #490 from kiwix/libkiwix
Rename kiwix-lib to libkiwix.
2021-06-30 17:15:17 +02:00
Matthieu Gautier aa349a18e7 Rename kiwix-lib to libkiwix.
The new name of kiwix-lib is libkiwix. Let kiwix-build adopt the name.
2021-06-30 16:45:54 +02:00
Matthieu Gautier f16fb8f228
Merge pull request #492 from kiwix/fix_qt515 2021-06-29 18:14:25 +02:00
Matthieu Gautier 43024859b1 Directly set the env variable in the docker file.
When running from the CI, .bashrc is not sourced so we must set the
env variable at docker file level.
2021-06-29 16:06:53 +02:00
Matthieu Gautier b8160de652 Correctly install io.qt.qtwebengine.BaseApp for flatpak build. 2021-06-29 16:06:53 +02:00
Matthieu Gautier d5e488333f Correctly package qt 5.15 on appveyor. 2021-06-29 16:06:53 +02:00
Matthieu Gautier 2e1986a0af
Merge pull request #489 from kiwix/lastQt 2021-06-24 13:59:25 +02:00
Matthieu Gautier afd17b2986 Make kiwix-desktop flatpak use last version of Qt (5.15).
Adapt flatpack_builder to generate the same manifest than PR
flathub/org.kiwix.desktop#6
2021-06-23 17:59:25 +02:00
Matthieu Gautier adf0c52f6c Use Qt 5.15 on Appveyor. 2021-06-23 17:59:25 +02:00
Matthieu Gautier ed999d61af [CI] Do not try to install packages in the CI.
On the CI, packages should be already installed.
Don't try to install with kiwix-build.
2021-06-23 17:27:52 +02:00
Matthieu Gautier 73e0cec0aa Update bionic docker image to use qt 5.15 instead of default qt version. 2021-06-23 17:27:52 +02:00
Matthieu Gautier f1dfa32a8d Use the correct archive for zim-testing-suite 0.3 2021-06-23 14:57:24 +02:00
Matthieu Gautier 96d4f3b93f Move to zim-testing-suite 0.3 2021-06-23 14:22:09 +02:00
Matthieu Gautier c445db171b Package zimrecreate in zim-tools. 2021-06-10 14:25:54 +02:00
Matthieu Gautier f9b7687ba7
Merge pull request #485 from kiwix/fix_mix_flatpak_build 2021-05-05 16:09:59 +02:00
Matthieu Gautier 7dcf57e32b Do not download zim-testing-suite when building in flatpak. 2021-05-05 15:07:29 +02:00
Matthieu Gautier 1cafcbf412 Get the "source" `zim-testing-suite` step.
The source step (install source) always exists.
The `plaformInfo.name` step may not exists
(On mixed target, we build all deps static and the last project dyn)
So the `native_dyn` doesn't exists for `zim-testing-suite`.
2021-05-05 15:06:35 +02:00
Matthieu Gautier 4de03ba776
Merge pull request #484 from kiwix/add_testing_suite_base_deps
Add all files of zim-testing-suite to the generated base_deps archive.
2021-05-04 15:06:13 +02:00
Matthieu Gautier 1845879825 Add all files of zim-testing-suite to the generated base_deps archive. 2021-05-04 14:36:15 +02:00
Matthieu Gautier 52e5c1053c
Merge pull request #483 from kiwix/libzim_testing_suite 2021-05-04 11:34:25 +02:00
Matthieu Gautier 9d90568204 Make libzim use the test data dire downloaded with zim-testing-tool. 2021-04-28 16:26:43 +02:00
Matthieu Gautier 2d3c5ed4c7 Add zim-testing-suite dependency. 2021-04-28 16:26:43 +02:00
Matthieu Gautier 11a7ec4020 Use the full_name as for the skip file marker.
This way we are sure to download the last archive all the time.
2021-04-28 16:26:43 +02:00
Matthieu Gautier dca64eb5d5 Allow builder to set a build environment for projects using it. 2021-04-12 18:14:23 +02:00
Matthieu Gautier b286be1207 Introduce new method `get_env` to create the env. 2021-04-12 18:11:05 +02:00