Commit graph

855 commits

Author SHA1 Message Date
Eberhard Beilharz
a5d0e7cdae
Merge pull request #4569 from keymanapp/feat/linux/issue-4542
chore(common/core/desktop): write debug output to console
2021-03-03 14:54:59 +01:00
Darcy Wong
2c6bff4f43 chore(linux): Check in crowdin files for de 2021-03-03 14:47:16 +07:00
Eberhard Beilharz
64f9f9297a
chore(linux): Improve readme
Also ignore some more generated files.
2021-03-02 16:55:22 +01:00
Eberhard Beilharz
6d69279a9c
feat(linux): Improve output of km-package-list-installed
Closes #4465.
2021-02-11 17:55:25 +01:00
Eberhard Beilharz
ee56b47923
fix(linux): Fix dependencies on packages
The way we previously specified the Sentry library doesn't work
when building on ppa because the build process there doesn't set
the flags.
2021-02-10 16:59:06 +01:00
Eberhard Beilharz
bb20389dc4
fix(linux): Also use staging site for beta versions 2021-02-09 17:31:07 +01:00
Eberhard Beilharz
2073557470
Merge pull request #4439 from keymanapp/fix/linux/3399-langtag
fix(linux): improve BCP 47 canonicalization
2021-02-09 17:30:53 +01:00
Eberhard Beilharz
88e83e191e
fix(linux): Address code review comment
Also add additional test cases from Windows implementation.
2021-02-09 15:51:31 +01:00
Darcy Wong
fd1ae5ed90
Merge pull request #4414 from keymanapp/chore/linux/check-in-markdown-help
chore(linux): Check in markdown help for Linux
2021-02-09 06:09:32 +07:00
Darcy Wong
ce6f3a5a13
Update linux/help/common/index.md
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-02-09 06:09:21 +07:00
Eberhard Beilharz
69402fbd79
fix(linux): Use new parameter 2021-02-08 17:57:10 +01:00
Eberhard Beilharz
42f3f36013
fix(linux): improve BCP 47 canonicalization
This is based on #4425. Also a few additional bug fixes that showed
up on the way.
2021-02-08 17:50:05 +01:00
Darcy Wong
9938af36a5
Merge pull request #4420 from keymanapp/chore/common/crowdin-fr
chore(common): Check in crowdin files for French
2021-02-08 16:05:36 +07:00
Eberhard Beilharz
3e586bc58e
fix(linux): Fix packaging
Tell the Python build that we have a new module in a subdirectory.
Part of the improvements for #3399.
2021-02-05 18:55:17 +01:00
Darcy Wong
7147494441 chore(linux): Merge remote-tracking branch 'origin/beta' into chore/linux/check-in-markdown-help 2021-02-05 13:12:00 +07:00
Darcy Wong
f2f80151fb chore(linux): Check in crowdin files for fr 2021-02-04 08:27:50 +07:00
Darcy Wong
25d0837310 chore(linux): Remove reference php help files 2021-02-04 06:22:07 +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
Darcy Wong
e87db51548 chore(linux): Check in markdown help for Linux 2021-02-03 17:05:05 +07:00
Eberhard Beilharz
a54a711943
fix(linux): Don't crash if uninstalling last keyboard
If a Keyman keyboard is the only installed/selected keyboard in Gnome
and the user uninstalls this in km-config, we have to set the value
for `sources` to an empty array variant. Previously this crashed.

Fixes #4375.
2021-02-02 17:26:08 +01:00
Eberhard Beilharz
e862d3bfe5
chore(linux): Don't report on Sentry when running unit tests
When running unit tests we try to install some keyboards with
invalid URLs which normally results in an issue being reported on
Sentry. This change detects when we're running unit tests and
in that case doesn't initialize Sentry reporting.
2021-01-27 16:27:28 +01:00
Eberhard Beilharz
88637bb818
chore(linux): Don't report on Sentry when running unit tests
When running unit tests we try to install some keyboards with
invalid URLs which normally results in an issue being reported on
Sentry. This change sets an environment variable when running
the tests and modifies the initialization code to not initialize
Sentry reporting when the environment variable `KEYMAN_NOSENTRY`
is set to 1.
2021-01-27 15:59:49 +01:00
Eberhard Beilharz
caea99355d
chore(linux): Fix typo 2021-01-26 17:03:47 +01:00
Darcy Wong
aa82cbcdd0 chore(linux): Check in crowdin files for de 2021-01-19 15:18:13 +07: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
Darcy Wong
e2d4388506
Merge pull request #4228 from keymanapp/common/crowdin-km
chore(common): Check in crowdin files for km (Khmer)
2021-01-14 08:13:29 +07: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
Darcy Wong
e3029c3209 chore(linux): Check in crowdin files for km 2021-01-08 14:57:35 +07: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
Marc Durdin
c5ea3a5db6 chore(common): update copyright year in various locations 2020-12-22 10:56:55 +11:00
Eberhard Beilharz
733ada2d6b
feat(linux): Rename onboard package
This change implements the Keyman part of #3966. The `keyman`
package now recommends the installation of `onboard-keyman` instead
of `onboard`.
2020-12-02 11:52:48 +01:00
Darcy Wong
7aa7a9d921 chore(linux/resources): Cleanup formatting in history.md 2020-11-27 13:30:20 +07:00
Eberhard Beilharz
27e4addf4a
Merge pull request #3915 from keymanapp/bug/linux/install-3902
fix(linux): Don't fail installation if restarting ibus fails
2020-11-23 16:03:40 +01:00
Eberhard Beilharz
0a36a484d4
fix(linux): Deal with multiple users running ibus-daemon
If there are multiple users running `ibus-daemon` processes on the
machine, we restart ibus for all of them.
2020-11-20 18:39:48 +01:00
Eberhard Beilharz
cc7cbeb8fd
fix(linux): Don't fail installation if restarting ibus fails
If (re-)starting ibus fails for whatever reason we should simply
ignore the failure instead of failing the entire installation/
uninstallation.

This fixes #3902.
2020-11-20 17:20:05 +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
454ac0695e
chore(linux): Update .pbuilderrc 2020-11-17 16:55:46 +01:00
Eberhard Beilharz
22200e3867
chore(linux): Add support for Groovy to build scripts 2020-11-17 16:52:19 +01:00
Eberhard Beilharz
2ad53adf33
chore(linux): Additionally build packages for Ubuntu 20.10 (Groovy) 2020-11-17 15:21:00 +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
Darcy Wong
9bcb343e03
Merge pull request #3593 from keymanapp/fix/linux/json-decoder
fix(linux/config): Catch if kmp.json is invalid JSON
2020-09-18 11:42:11 +07:00
Darcy
673c5dbfb1 chore(linux/config): Update .pot file again 2020-09-18 11:24:44 +07:00
Darcy
07d18fa63a chore(linux/config): Tweak error message about keyboard being damaged 2020-09-18 11:19:16 +07:00
Darcy
ca26715549 chore(linux/config): Update .pot file 2020-09-18 11:01:53 +07:00
Darcy
f95acb6b98 fix(linux/config): Display dialog when metadata is invalid 2020-09-18 11:00:49 +07:00