Commit Graph

1180 Commits

Author SHA1 Message Date
Matthieu Gautier 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
Kelson 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
Matthieu Gautier 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
Kelson b068b277f1
Merge pull request #480 from kiwix/timeserver
Change time server in workflow
2021-03-23 15:52:28 +01:00
renaud gaudin 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
Kelson 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
Veloman Yunkan 4498eb2885 Added xapian as a dependency of kiwix-lib 2021-03-10 18:01:21 +04:00
Matthieu Gautier 20eb70a432
Merge pull request #478 from kiwix/xapian-1.4.18 2021-03-08 11:00:57 +01:00
Emmanuel Engelhart 3d8578ce8e Remove outdated Xapian remote patch 2021-03-07 15:00:58 +01:00
Emmanuel Engelhart 3e1446f2dd Upstream includes <cerrno>, not necessary anymore 2021-03-07 14:55:45 +01:00
Emmanuel Engelhart 54b47fea9e Remove xapian_sys_types.patch applied upstream 2021-03-07 14:50:56 +01:00
Emmanuel Engelhart aad2243c81 Bump-up Xapian to version 1.4.18 2021-03-07 14:41:33 +01:00
Kelson 871d257a36
Merge pull request #477 from kiwix/xapian_with_inmemory_backend
Enable inmemory backend in xapian
2021-03-07 14:21:50 +01:00
Veloman Yunkan d0db3efdce Enable inmemory backend in xapian 2021-03-07 13:14:11 +04:00
Kelson 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
renaud gaudin 0de55705cf allow more time for ntp server to respond 2021-02-16 12:18:09 +00:00
Kelson 60f3efb5d7
Merge pull request #474 from kiwix/macos-sign-fix2
time update requires sudo
2021-02-15 17:03:49 +01:00
renaud gaudin b3f66e0ac0 time update requires sudo 2021-02-15 09:42:50 +00:00
Kelson af0a69046b
Merge pull request #472 from kiwix/macos-sign-fix
fixed syntax for macOS signing
2021-02-11 09:19:03 +01:00
renaud gaudin fd590a5b4b fixed syntax for macOS signing 2021-02-11 08:06:06 +00:00
Kelson 2d3138a84a
Merge pull request #470 from kiwix/zim-tools-mustache
zim-tools needs newly Mustache
2021-02-10 15:03:46 +01:00
Emmanuel Engelhart f6074a7408 zim-tools needs newly Mustache 2021-02-10 14:49:16 +01:00
Kelson cca9033c69
Merge pull request #471 from kiwix/macos-sign
Notarizing libzim release for macOS
2021-02-09 18:06:06 +01:00
renaud gaudin ea55cac32d Fixed #469: Notarizing libzim release for macOS
This adds the notarization (see #469) of the libzim binary for macOS during the build.
It it not dependent on RELEASE so it benefits all builds.

It basically does two things:
- sign the build with our Developer ID certificate from Apple.
- Request notarization from Apple for the binary.
At the moment, it concerns only libzim. Might expand that to libkiwix and the zim/kiwix tools
once we start releasing those.

Github Actions prepare the certificate and environment, and signing+request is done in `notarize_macos_build()` (common.py)

It required the following new secrets:

| secret | value |
|---|---|
| `APPLE_SIGNING_CERTIFICATE` | base64 of the P12 certificate |
| `APPLE_SIGNING_P12_PASSWORD` | password for the P12 certificate (we chose that when exporting to P12. Apple doesnt provide P12) |
| `APPLE_SIGNING_IDENTITY`| Common name of our certificate. Not a private info but seems better suited there than in the CI |
| `APPLE_SIGNING_TEAM`| Apple Developer Team ID (mentionned in the signing identity) |
| `APPLE_SIGNING_ALTOOL_PASSWORD`| app-specific password created to request notarization |
| `APPLE_SIGNING_ALTOOL_USERNAME`| username associated with the app-specific password. Must be an Apple ID with perms on the Certificate. Currently mine. |
2021-02-09 13:30:24 +00:00
Matthieu Gautier b635daae68 Change version of libzim.
Libzim changes its version.
But we are not ready for release now.
2021-02-09 14:13:46 +01:00
ChrisLi 41071d7c9b
use brew list --formula (#468) 2021-01-15 10:07:00 +01:00
Matthieu Gautier f033da0efa
Merge pull request #467 from kiwix/trigger-docker 2021-01-13 17:42:02 +01:00
renaud gaudin ff66a96980 Fixed #465: trigger docker publish on release
This triggers a `workflow_dispatch` event on the `docker.yml` workflow or the matching
repository for both `zim-tools` and `kiwix-tools` targets that supports it.
2021-01-13 15:58:33 +00:00
Kelson 9597662be8
Bump-up libmicrohttpd to 0.9.72 (#464) 2020-12-30 10:44:48 +01:00
Matthieu Gautier 0d6b143122 Download archives on mirrors of `download.kiwix.org`. 2020-12-15 15:33:10 +01:00
Matthieu Gautier 0ff5d0d173 kiwix-desktop icon has changed name. 2020-12-08 13:26:14 +01:00
Matthieu Gautier 31816879ca New release of libzim, kiwix-lib, zim-tools and kiwix-desktop. 2020-11-17 16:54:18 +01:00
Matthieu Gautier 2ef8e14509 Update dependency of kiwix-desktop.
Now that kiwix-desktop use kiwix-lib to start the server, we don't need
kiwix-tools dependency.
2020-11-17 16:49:26 +01:00
Matthieu Gautier 7162b6ff2b Update dependency of libzim. 2020-11-17 16:43:27 +01:00
Matthieu Gautier 70d31e9405
Merge pull request #462 from kiwix/fix_macos_ci_install
[CI] Fix macos brew install packages (release&Nightly)
2020-10-28 17:37:53 +01:00
Matthieu Gautier 6434150da9 [CI] Fix macos brew install packages (release&Nightly) 2020-10-28 16:40:02 +01:00
Matthieu Gautier 471895897e
Merge pull request #461 from kiwix/fix_macos_ci_install
Fix macos brew install packages.
2020-10-27 15:09:49 +01:00
Matthieu Gautier 8846acc8cf Fix macos brew install packages.
Directly use brew instead of `get-package` action.
`get-package` seems to be broken with some invalid git command.
2020-10-27 14:20:57 +01:00
Matthieu Gautier 8bd1c36721
Merge pull request #460 from kiwix/fix_ci_appveyor 2020-10-16 17:38:44 +02:00
Matthieu Gautier c7baa60896 fix install_libmicrohttpd 2020-10-16 15:08:47 +02:00
Matthieu Gautier 3b3e9d227f Compile on VS studio 2019 2020-10-16 14:32:36 +02:00
Matthieu Gautier a64cd9f790 New release of libzim 6.2.2 2020-09-02 18:25:00 +02:00
Matthieu Gautier b23cf13caa New release of libzim 6.2.1.
This is just a fix for windows compilation.
We don't need to trigger build for others projects,
only for kiwix-desktop because it is build on windows.
2020-09-01 09:55:43 +02:00
Kelson 7a1ca16b72
Merge pull request #453 from kiwix/catalyst_abi
Catalyst abi
2020-08-31 07:56:21 +02:00
ChrisLi 674d6bf6df CI 2020-08-28 14:16:25 -04:00
ChrisLi 0e20dc90e6 gitignore 2020-08-28 14:16:25 -04:00
Chris Li 149ed01f12 Add Mac catalyst as a new target 2020-08-28 14:16:25 -04:00
Matthieu Gautier ea78ba37df New release of kiwix-lib 9.4.0 2020-08-28 16:59:59 +02:00
Matthieu Gautier 1dde278ad6 Correctly set the extra postfix for android kiwix-lib. 2020-08-27 19:20:05 +02:00
Matthieu Gautier bbb81438b6 New version of libzim 6.2.0 2020-08-27 17:53:19 +02:00