Commit graph

981 commits

Author SHA1 Message Date
Eberhard Beilharz
ec03190f89
refactor(linux): reformat code 2021-07-20 10:07:42 +02:00
Eberhard Beilharz
de1d345408
refactor(linux): Re-add lost keys 2021-07-09 16:18:28 +02:00
Eberhard Beilharz
cda195390b
refactor(linux): Refactor processing actions in separate methods 2021-07-08 18:30:16 +02:00
Eberhard Beilharz
3bd0173954
fix(linux): Don't crash with corrupt keyboard
If we try to install a keyboard that's missing some metadata
we shouldn't crash.

Fixes #5384, #5385.
2021-07-01 12:49:50 +02:00
Eberhard Beilharz
8b1a529f43
Merge pull request #5401 from keymanapp/fix/linux/issue-5400
fix(linux): Improve bitmap conversion
2021-07-01 09:00:41 +02:00
Eberhard Beilharz
f519c2447d
fix(linux): Improve bitmap conversion
Converting some bitmaps fail with a truncation error. This change
allows to successfully convert the bitmap files.

Fixes #5400.
2021-06-30 18:57:22 +02:00
Eberhard Beilharz
4d70382cbb
docs(linux): Improve help texts 2021-06-30 18:12:28 +02:00
Eberhard Beilharz
ca92c267e2
fix(linux): help2md tool 2021-06-30 18:12:22 +02:00
Eberhard Beilharz
3e938fe82c
fix(linux): Report Sentry related messages to stderr
This will make them not appear in the generated markdown help files.
2021-06-30 12:18:02 +02:00
Eberhard Beilharz
56e27473ac
Merge pull request #5373 from keymanapp/fix/linux/issue-5310
fix(linux): Save QR code in temporary directory
2021-06-28 16:53:52 +02:00
Eberhard Beilharz
a92c59f3be
Merge pull request #5372 from keymanapp/refactor/linux/issue-5309
refactor(linux): Centralize paths
2021-06-28 16:51:56 +02:00
Eberhard Beilharz
01a0938b73
Merge pull request #5371 from keymanapp/fix/linux/issue-5309
fix(linux): Fix restarting ibus when running with sudo
2021-06-28 16:51:14 +02:00
Eberhard Beilharz
768de5f66b
fix(linux): Save QR code in temporary directory
Fixes #5310.
2021-06-25 19:41:51 +02:00
Eberhard Beilharz
50d19372bc
refactor(linux): Use path instead of os.path 2021-06-25 19:39:16 +02:00
Eberhard Beilharz
35d506c977
refactor(linux): Centralize paths
Introduce methods to get paths instead of hard-coding the values.
This also deprecates four methods (`user_keyman_dir`,
`user_keyman_font_dir`, `user_keyboard_dir`, and `get_isntall_area_path`).

This change also fixes a crash trying to install a package in the
shared area.
2021-06-25 19:25:48 +02:00
Eberhard Beilharz
0a2dd29e53
fix(linux): Fix restarting ibus when running with sudo
When installing in the shared area the user has to run
`km-package-install` with sudo so that he has sufficient permissions.
In that case we have to do extra work to restart ibus for the
logged-in user instead of root.

Fixes #5309.
2021-06-25 18:59:12 +02:00
Eberhard Beilharz
7c28e87ece
fix(linux): fix crash in km-package-install -p foo 2021-06-25 18:59:11 +02:00
Eberhard Beilharz
5bde5b5904
chore(linux): Add deprecated decorator 2021-06-25 18:52:10 +02:00
Eberhard Beilharz
76d2f65abc
refactor(linux): Use single quotes 2021-06-25 15:51:21 +02:00
Eberhard Beilharz
a39bc95607
feat(linux): Add reference index page
Part of #4419.
2021-06-25 11:44:38 +02:00
Eberhard Beilharz
dfffe00853
refactor(linux): remove some markdownlint warnings 2021-06-25 11:42:37 +02:00
Eberhard Beilharz
a11ee5105d
Merge pull request #5362 from keymanapp/fix/linux/issue-5306
fix(linux): fix tab completion for command line tools
2021-06-25 08:50:53 +02:00
Eberhard Beilharz
82184d7f2b
fix(linux): respect XDG_DATA_HOME environment variable 2021-06-24 18:56:00 +02:00
Eberhard Beilharz
70b88790df
fix(linux): Don't add duplicate entries when reinstalling keyboard
When we update/reinstall an existing keyboard we don't want to
add a new entry to the list of keyboards.

Fixes #5308.
2021-06-24 16:09:27 +02:00
Eberhard Beilharz
2831084b87
fix(linux): respect XDG_CACHE_HOME environment variable 2021-06-24 14:54:03 +02:00
Eberhard Beilharz
cafbdef35a
fix(linux): fix tab completion for command line tools
Fixes #5306
2021-06-24 11:47:13 +02:00
Gunnar Hjalmarsson
fbccf18fcd
fix(linux): Add libglib2.0-bin to keyman Depends
Fixes #5344

(cherry picked from commit 12e2c4c2c1)
2021-06-24 10:47:35 +02:00
Eberhard Beilharz
6841ffb4e2
Merge pull request #5334 from keymanapp/feat/linux/impish
feat(linux): Add support for impish (Ubuntu 21.10)
2021-06-24 09:05:10 +02:00
Eberhard Beilharz
b9b1ff8a95
fix(linux): Improve error handling if lang_tags_map.py is missing
If the developer forgot to run `make` to create `lang_tags_map.py`
we now print a message instead of reporting to Sentry.

Fixes #5343
2021-06-23 17:09:59 +02:00
Eberhard Beilharz
9a407c2981
Merge pull request #5326 from keymanapp/feat/linux/issue-4419
feat(linux): Auto-generate reference help
2021-06-23 08:46:02 +02:00
Eberhard Beilharz
c923476a40
Update linux/keyman-config/build-help.sh
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-06-23 08:45:49 +02:00
Eberhard Beilharz
11bac65f4d
feat(linux): Add support for impish (Ubuntu 21.10) 2021-06-22 18:40:23 +02:00
Eberhard Beilharz
6454278269
fix(linux): add missing build dependency 2021-06-22 16:06:00 +02:00
Eberhard Beilharz
55f8f0ffdc
fix(linux): don't exclude all of buildtools from source package
For auto-generating help files we need `buildtools`, so we can't
exclude it from source package. Also, we now include our version
of `help2man`, so we no longer need it as a build dependency,
but instead directly depend on `perl`.
2021-06-22 14:55:05 +02:00
Eberhard Beilharz
0bca50f799
fix(linux): fix auto-generate help files during package build
During a package build we don't have access to `scripts/reconf.sh`.
However, we don't really need it since we already ran it before.
This change adds a `--no-reconf` flag that allows skipping
`reconf.sh`.
2021-06-22 09:09:14 +02:00
Eberhard Beilharz
004ab1d48a
feat(linux): Auto-generate reference help
Closes #4419
2021-06-21 18:32:36 +02:00
Eberhard Beilharz
1a63263d1e
feat(linux): Add help2man and help2md tools
help2man is an improved version of the tool available on Linux. It
has a few bugs fixed.

help2md is based on help2man and converts the python --help and
--version output to a markdown help page.
2021-06-21 16:55:13 +02:00
Eberhard Beilharz
ad858b48a9
chore(linux): Update man include file 2021-06-21 16:55:13 +02:00
Gunnar Hjalmarsson
194c697e17
chore(linux): Build also on riscv64 to facilitate migration on Ubuntu
(cherry picked from commit 5a58794f8f)
2021-06-21 11:41:36 +02:00
Eberhard Beilharz
d29ad2d4ed
chore(linux): Update changelogs to match Debian
The changelogs should match what got uploaded (and accepted) to
Debian so that the changelog reflects the upload history to Debian.

(cherry picked from commit f91b52d3ea)
2021-06-17 15:19:39 +02:00
Eberhard Beilharz
7509d653b4
Merge pull request #5281 from keymanapp/fix/linux/packaging
fix(linux): Adjust version of dependency for ibus-keyman
2021-06-16 08:39:16 +02:00
Eberhard Beilharz
7ffb8696e1
Merge pull request #5282 from keymanapp/fix/linux/warnings
chore(linux): Fix warnings
2021-06-15 08:10:15 +02:00
Darcy Wong
2b4c64ae90
Merge pull request #5269 from keymanapp/chore/crowdin-es-419
chore(common): Check in crowdin strings for Spanish (Latin America)
2021-06-15 07:30:33 +07:00
Eberhard Beilharz
c401640c8a
chore(linux): Fix warnings 2021-06-14 17:39:05 +02:00
Eberhard Beilharz
644bafc64f
fix(linux): Adjust version of dependency for ibus-keyman
This change updates the version number for the
keyman-keyboardprocessor dependency of ibus-keyman to a version
that doesn't have wrong path for i386.
2021-06-14 14:58:42 +02:00
Darcy Wong
cc6205d88b Merge branch 'master' into chore/crowdin-es-419 2021-06-14 08:07:49 +07:00
Darcy Wong
49544f5b11 chore(common): Add YouTube links to Keyman 14 features 2021-06-13 10:09:52 +07:00
Eberhard Beilharz
40ddbc13e8
fix(linux): required version of keyman-keyboardprocessor
Keyman 15 adds some new defines to core which are used in
ibus-keyman, so we better require that version in the dependency.
2021-06-11 14:20:25 +02:00
Darcy Wong
5552ee4aad chore(common): Check in crowdin strings for Spanish (Latin America) 2021-06-11 07:33:56 +07:00
Marc Durdin
2e7ec16133
Merge branch 'master' into feat/common/rust-infrastructure 2021-06-07 08:45:08 +10:00