Commit graph

149 commits

Author SHA1 Message Date
Eberhard Beilharz
11bac65f4d
feat(linux): Add support for impish (Ubuntu 21.10) 2021-06-22 18:40:23 +02:00
Marc Durdin
2e7ec16133
Merge branch 'master' into feat/common/rust-infrastructure 2021-06-07 08:45:08 +10:00
Eberhard Beilharz
10739e653e
feat(linux): Add python3-dbus dependency 2021-06-02 19:25:04 +02:00
Eberhard Beilharz
54a62a05d7 feat(linux): Adjust package build for build.sh script
This change makes the necessary adjustments so that the package build
works with the new `build.sh` script. We no longer can rely on the
automatisms of debhelper. This change also adds a install target
to `build.sh`, and copies some files from the Keyman root directory
to the desktop directory because when package building we only
have access to the files in common/core/desktop. Along the same lines
it removes embedding `build-utils.h` from `build.sh`. Instead we set
the version and tier locally.
2021-06-02 13:52:08 +10:00
Eberhard Beilharz
92350c2f49 feat(common): Update Jenkins dependencies for Rust 2021-06-02 13:52:01 +10:00
Marc Durdin
9107658b3e fix(linux): adjust path for ninja 2021-06-02 13:51:56 +10:00
Marc Durdin
8103949bdc chore(linux): adjust linux build scripts for rust 2021-06-02 13:51:55 +10:00
Eberhard Beilharz
3ef4b99406
chore(linux): Add support for Ubuntu 21.04 (hirsute)
Closes #5021.
2021-05-05 10:49:03 +02:00
Marc Durdin
77e71df81b chore: Merge branch 'master' into chore/B14S8-beta-to-master 2021-03-22 06:16:44 +11:00
Eberhard Beilharz
16dd9f9369
chore(linux): Ignore buildtools in keyman-config tarball
`buildtools/build-langtags.py` gets executed before creating the
source tarball, so we don't need it in the source package. Excluding
it reduces confusion because the files it requires are not found
in the source package.
2021-03-15 12:44:41 +01:00
Eberhard Beilharz
9a4b9f0bca
chore(linux): Move signature files as well
This will take care of another lintian warning on Debian.
2021-03-11 17:09:19 +01:00
Marc Durdin
9f7134427b chore: merge master into branch 2021-03-09 09:33:14 +11:00
Eberhard Beilharz
337039639b
chore(linux): Force signature verification
The previous setting didn't complain if uscan didn't find a signature
which doesn't help security wise. It would still allow an attacker
to modify the source package. This change now requires a valid
signature for the source package.
2021-03-08 19:42:07 +01:00
Eberhard Beilharz
e371fcb8b8
chore(linux): Verify signed source packages 2021-03-08 19:29:27 +01:00
Eberhard Beilharz
78ecbea855
Update linux/scripts/reconf.sh
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-03-04 20:33:48 +01:00
Eberhard Beilharz
63cefab0eb
chore(linux): Improve Sentry environment setting
When running from source we set the environment to `local` when
reporting to Sentry. This change also adds the package version and
the tier as additional Sentry tags.

This is a follow-up of PR #4581.
2021-03-04 16:01:52 +01:00
Eberhard Beilharz
33bf5750b0
fix(linux): Improve version number
This change modifies the reported version number for km-config:
if km-config is installed from a debian package, the package
version will be output as well, e.g.:
`km-config version 14.0.252-beta (package version 14.0.252-1+bionic1)`

Otherwise the output will be identical to before:
`km-config version 14.0.252-beta-local`.

This change also modifies the script that sets the version number so
that builds on Jenkins are now detected in addition to TC.

This fixes #4579.
2021-03-03 20:01:34 +01:00
Darcy Wong
e47c40a0e8 chore: Merge branch 'master' into chore/B14S5-beta-to-master 2021-02-08 08:27:10 +07:00
Eberhard Beilharz
693f13a953
fix(linux): Improve fix for #3399
This improves the implementation for normalizing language tags
when installing a keyboard. Based on the Windows implementation
in `Keyman.System.CanonicalLanguageCodeUtils.pas`.

One difference to the Windows implementation is that the mapping of
3- to 2-letter tags is based on `langtags.json` instead of
`iso639-3.tab`.

Closes #3399.
2021-02-03 19:08:03 +01:00
Eberhard Beilharz
89df5a6b7c
chore(linux): Improve launchpad.sh script
If uscan fails (e.g. because there is no new version available
because the workspace is in a dirty state) we now output an error
message instead of silently failing.
2021-01-27 11:57:18 +01:00
Eberhard Beilharz
caea99355d
chore(linux): Fix typo 2021-01-26 17:03:47 +01:00
Eberhard Beilharz
f3b8ccf07f
chore(linux): Improve version number for debian package
This change switches the package version number for packages that
are intended for the Debian package repo to match the Debian policies.

It also removes the comment from the watch file.
2021-01-14 17:39:49 +01:00
Eberhard Beilharz
6b999bc911
chore(linux): Update debian metadata based on Debian repos
This is a cherry-pick of PR#4223:

- Add script to create debian source package
- Update debian metadata based on Debian repos
- Remove some lintian warnings and errors
- Remove support Xenial
- Reduce size of icon
- Omit confusing values from gbp.conf
2021-01-12 18:38:18 +01:00
Eberhard Beilharz
eb4fc04b9e
chore(linux): Allow to push to the keyman-beta ppa
Also use new `alpha` ppa instead of previous `daily`.
2021-01-04 16:54:37 +01:00
Eberhard Beilharz
cf515cefdf
chore(linux): Fix launchpad build (closes #3875)
This change fixes the launchpad build script and also improves
updating the watch file.

If we use the variables that uscan provides we don't have to
hard-code the package name in the watch file. This makes it possible
to use a generic one for all packages.
2020-11-20 12:15:22 +01:00
Eberhard Beilharz
c722e137df
Merge pull request #3686 from keymanapp/fix/linux/reconf
fix(linux): Remove version.sh and get tier/version from .md files
2020-11-19 08:19:08 +01:00
Eberhard Beilharz
63aa709e37
chore(linux): Remove building Xenial on Launchpad
Xenial is missing some dependencies. This causes the Launchpad builds
to fail. On Jenkins we skip the package builds with missing
dependencies in our build scripts, but we don't have that option on
Launchpad. Therefore we remove Xenial from the list of distros to
build.
2020-11-18 17:59:27 +01:00
Eberhard Beilharz
22200e3867
chore(linux): Add support for Groovy to build scripts 2020-11-17 16:52:19 +01:00
Eberhard Beilharz
2d7716d499
fix(linux): Fix/improve previous commits 2020-11-17 12:10:27 +01:00
Darcy Wong
3253af2fe8 fix(linux): Fix keyman_config-*.tar.gaz artifact name 2020-10-10 21:24:51 +07:00
Darcy
c64d8abcbb chore(linux): Update launchpad to use TIER.md 2020-10-09 13:58:15 +07:00
Darcy
1bf3fe936b fix(linux): Remove version.sh
Remove version.sh and determine version/tier from the .md files
2020-10-09 13:55:18 +07:00
Eberhard Beilharz
55125650fd
feat(linux): Package localizations
This change adds the localization files to the debian package. It
also updates the path to the localization files so that the installed
files will be found.
2020-08-24 19:31:18 +02:00
Eberhard Beilharz
ba0a329cfd
feat(linux): Use staging URLs for alpha version 2020-07-17 19:22:51 +02:00
Darcy
ce5e994211 fix(linux): Use __release_version__ for downloadkeyboard window
As of 14.0, `resources/build/build-utils.sh` defines the build variables:
```
```

The go/linux links need an #.# version so this PR changes from __majorversion__ to __releaseversion__.
2020-03-23 16:07:38 +07:00
Eberhard Beilharz
f994476081
chore(linux): Merge branch 'master' into feat/linux/focal 2020-03-18 09:22:58 +01:00
Eberhard Beilharz
00d76290f9
feat(linux): Add focal for launchpad 2020-03-17 17:00:55 +01:00
Eberhard Beilharz
70472872ec
fix(linux): Fix building keyboardprocessor package 2020-03-17 16:49:45 +01:00
Darcy Wong
bf1405db78 fix(linux): Fix how keyboardprocessor version is set in dist.sh 2020-03-12 08:28:56 +07:00
Darcy Wong
4aab4d9381 fix(linux): Fix CI dist path to common/core/desktop
Fix path from common/engine/keyboardprocessor/
to common/core/desktop/
2020-03-09 17:44:45 +07:00
Darcy
b30cc5636d change(linux): Change reconf.sh so it doesn't alter meson version 2020-03-02 08:31:49 +07:00
Darcy
5fb69a497b chore(linux): Update references from keyboardprocessor to desktop 2020-02-26 16:40:20 +07:00
Darcy
a071b51a53 chore(linux): Update linux references from engine to core 2020-02-26 13:58:28 +07:00
Marc Durdin
6f5a55cd65
Merge branch 'master' into chore/beta-to-master-p9s2-final 2020-02-19 14:35:29 +11:00
Darcy
0770fe5bc4 fix(linux): Use TIER.md or environment var to set tier
Determine tier from `TIER.md` or environment variable `${TIER}`.

Use sed to replace any previously set tier in the watch files.
2020-02-17 13:46:30 +07:00
Darcy
f965cbc092 change(linux): Replace tier in debian/watch files 2020-02-17 12:02:47 +07:00
Darcy Wong
df5de88d41 fix(linux): Cherrypick linux packaging fixes
Cherrypick linux packaging fixes from #2591, #2599, #2609 into beta
2020-02-11 09:35:52 +07:00
Eberhard Beilharz
30f9476129
Merge pull request #2599 from keymanapp/fix/linux/packaging
fix(linux): Install requirements before packaging
2020-02-07 08:22:18 +01:00
Marc Durdin
6902f7bf1c
Merge branch 'master' into chore/beta-alpha-p9s1 2020-02-07 16:25:39 +11:00
Eberhard Beilharz
daae618386
fix(linux): add more package requirements
These packages are required for building the source package for
keyman-config.
2020-02-06 18:26:57 +01:00