Commit Graph

1608 Commits

Author SHA1 Message Date
0e6ed1384c Introduce a intermediate method to detect binaries. 2021-07-02 11:14:13 +02:00
b995976c8a Fix packages name on fedora. 2021-07-02 11:14:13 +02:00
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
16214edbcf Merge pull request #490 from kiwix/libkiwix
Rename kiwix-lib to libkiwix.
2021-06-30 17:15:17 +02:00
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
f16fb8f228 Merge pull request #492 from kiwix/fix_qt515 2021-06-29 18:14:25 +02:00
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
b8160de652 Correctly install io.qt.qtwebengine.BaseApp for flatpak build. 2021-06-29 16:06:53 +02:00
d5e488333f Correctly package qt 5.15 on appveyor. 2021-06-29 16:06:53 +02:00
2e1986a0af Merge pull request #489 from kiwix/lastQt 2021-06-24 13:59:25 +02:00
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
adf0c52f6c Use Qt 5.15 on Appveyor. 2021-06-23 17:59:25 +02:00
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
73e0cec0aa Update bionic docker image to use qt 5.15 instead of default qt version. 2021-06-23 17:27:52 +02:00
f1dfa32a8d Use the correct archive for zim-testing-suite 0.3 2021-06-23 14:57:24 +02:00
96d4f3b93f Move to zim-testing-suite 0.3 2021-06-23 14:22:09 +02:00
c445db171b Package zimrecreate in zim-tools. 2021-06-10 14:25:54 +02:00
f9b7687ba7 Merge pull request #485 from kiwix/fix_mix_flatpak_build 2021-05-05 16:09:59 +02:00
7dcf57e32b Do not download zim-testing-suite when building in flatpak. 2021-05-05 15:07:29 +02:00
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
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
1845879825 Add all files of zim-testing-suite to the generated base_deps archive. 2021-05-04 14:36:15 +02:00
52e5c1053c Merge pull request #483 from kiwix/libzim_testing_suite 2021-05-04 11:34:25 +02:00
9d90568204 Make libzim use the test data dire downloaded with zim-testing-tool. 2021-04-28 16:26:43 +02:00
2d3c5ed4c7 Add zim-testing-suite dependency. 2021-04-28 16:26:43 +02:00
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
dca64eb5d5 Allow builder to set a build environment for projects using it. 2021-04-12 18:14:23 +02:00
b286be1207 Introduce new method get_env to create the env. 2021-04-12 18:11:05 +02:00
76aa746f84 Add the dont_skip attribute on dependency.
Instead of explicitly add the target associated to the toolchain
if we use `build_nodeps` option let add an attribute base ourself on it
to know if we need to add it or not.

This way, we may have other dependency we must not skip.
2021-04-12 18:09:52 +02:00
c16a4f5111 Merge pull request #482 from kiwix/appveyor_signing_timestamp
Use correct timestamp server for signing/dating kiwix-desktop.
2021-04-06 16:35:24 +02:00
10b85c0ee4 Use correct timestamp server for signing/dating kiwix-desktop.
The verisign timestamp server has been deprecated
(see https://stackoverflow.com/questions/65541786/is-the-verisign-timestamp-server-down)

Let's use the new digicert server as told in
https://docs.microsoft.com/en-us/windows/win32/seccrypto/using-signtool-to-sign-a-file
2021-04-06 14:30:32 +02:00
b068b277f1 Merge pull request #480 from kiwix/timeserver
Change time server in workflow
2021-03-23 15:52:28 +01:00
079e03473b Change time server in workflow
For the past week, the Release&Nightly workflow failed on macOS native_mixed
(but not on native_dyn) when calling ntp to sync clock before signing.
Calling time.apple.com resulted in a DNS error, leading to an error in ntp call

Why this fails on native_mixed is unknown. Maybe because it's being called twice
from the same (I guess) host in a short interleave?

This attempts to fix this by:
- using google's time server instead of Apple's
- correctly setting the timeout param before the server name (although not relevant
for this dns-based error)
- Ignore failures to sync time. We're doing it to minimize chances of unsynched clocks
to fail the signature but this is not absolutely required all the time.
2021-03-23 12:46:20 +00:00
b5ff96b53c Merge pull request #479 from kiwix/kiwix-lib_requires_xapian
Added xapian as a dependency of kiwix-lib
2021-03-17 20:59:23 +01:00
4498eb2885 Added xapian as a dependency of kiwix-lib 2021-03-10 18:01:21 +04:00
20eb70a432 Merge pull request #478 from kiwix/xapian-1.4.18 2021-03-08 11:00:57 +01:00
3d8578ce8e Remove outdated Xapian remote patch 2021-03-07 15:00:58 +01:00
3e1446f2dd Upstream includes <cerrno>, not necessary anymore 2021-03-07 14:55:45 +01:00
54b47fea9e Remove xapian_sys_types.patch applied upstream 2021-03-07 14:50:56 +01:00
aad2243c81 Bump-up Xapian to version 1.4.18 2021-03-07 14:41:33 +01:00
871d257a36 Merge pull request #477 from kiwix/xapian_with_inmemory_backend
Enable inmemory backend in xapian
2021-03-07 14:21:50 +01:00
d0db3efdce Enable inmemory backend in xapian 2021-03-07 13:14:11 +04:00
b5ae88a097 Merge pull request #475 from kiwix/macos-sign-fix3
allow more time for ntp server to respond
2021-02-16 18:09:07 +01:00
0de55705cf allow more time for ntp server to respond 2021-02-16 12:18:09 +00:00
60f3efb5d7 Merge pull request #474 from kiwix/macos-sign-fix2
time update requires sudo
2021-02-15 17:03:49 +01:00
b3f66e0ac0 time update requires sudo 2021-02-15 09:42:50 +00:00
af0a69046b Merge pull request #472 from kiwix/macos-sign-fix
fixed syntax for macOS signing
2021-02-11 09:19:03 +01:00
fd590a5b4b fixed syntax for macOS signing 2021-02-11 08:06:06 +00:00
2d3138a84a Merge pull request #470 from kiwix/zim-tools-mustache
zim-tools needs newly Mustache
2021-02-10 15:03:46 +01:00
f6074a7408 zim-tools needs newly Mustache 2021-02-10 14:49:16 +01:00