Eberhard Beilharz
dabfea57ab
Merge pull request #5536 from keymanapp/chore/linux/5022-debian
...
chore(linux): Consolidate Debian source packages 📦
2021-08-06 12:02:54 +02:00
Eberhard Beilharz
3d10e6100f
chore(linux): Remove no longer needed debian directories
...
The previous commit created a consolidated toplevel `debian`
directory.
2021-08-06 11:25:00 +02:00
Eberhard Beilharz
79f92a150c
chore(linux): Consolidate Debian source packages
...
This change consolidates the Debian packages into a single source
package, with the exception of the legacy KMFL packages.
Fixes #5022 .
2021-08-06 11:25:00 +02:00
Eberhard Beilharz
a2950bef7f
refactor(linux): Cleanup import of os.path
...
This change imports `os` instead of `os.path`. This is the
recommended way. It also reduces confusion whether to use
`os.path.whatever()` or just `path.whatever()`.
2021-08-04 12:24:07 +02:00
Eberhard Beilharz
c78800d4d8
fix(linux): Improve uninstallation
...
Previously uninstalling of a keyboard failed if the directory was
a symlink (e.g. with keyboards from unit tests). This change treats
symlinks differently.
Fixes Sentry issue KEYMAN-LINUX-32.
2021-08-04 11:24:03 +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
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
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
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
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
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
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
Darcy Wong
5552ee4aad
chore(common): Check in crowdin strings for Spanish (Latin America)
2021-06-11 07:33:56 +07:00
Eberhard Beilharz
0909cbbf63
Update linux/keyman-config/keyman_config/install_window.py
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-06-03 13:03:45 +02:00
Eberhard Beilharz
10739e653e
feat(linux): Add python3-dbus dependency
2021-06-02 19:25:04 +02:00
Eberhard Beilharz
03d85b65aa
feat(linux): Integrate with fcitx5
...
This change implements the Keyman side of the fcitx5 integration.
Closes #4910 .
2021-06-02 19:11:48 +02:00
Eberhard Beilharz
5a3a7910ab
feat(linux): Try only 5 instead of 10000 times to connect to ibus
...
Part of #4910 .
2021-06-02 15:16:22 +02:00
Eberhard Beilharz
6b1cbb508d
fix(linux): Don't crash on invalid metadata
...
Fixes #5184
2021-05-28 18:30:24 +02:00
Eberhard Beilharz
03fc8953a8
fix(linux): Fix two bugs introduced by recent refactoring
2021-05-28 18:29:48 +02:00
Eberhard Beilharz
fd15bf4eb3
fix(linux): Fix Makefile and instructions for building
...
Building km-config now requires an additional step so that
generates `lang_tags_map.py`. During a package build this happens in
`reconf.sh`. This change updates the documentation, and also adds
this build step to the Makefile, so that the file gets generated
when building from the command line.
Closes #5074 .
2021-05-27 18:39:01 +02:00
Eberhard Beilharz
6d1adee2ee
chore(linux): Update changelogs
...
(cherry picked from commit d2532fa335 )
2021-05-25 14:28:55 +02:00
Eberhard Beilharz
2d225f65a0
Merge pull request #5115 from keymanapp/chore/linux/issue-4768
...
chore(linux): Remove unnecessary dependency on kmflcomp
2021-05-20 08:41:45 +02:00
Eberhard Beilharz
adad64fa60
Merge pull request #5113 from keymanapp/chore/linux/moredependency
...
chore(linux): Swap order of dependency
2021-05-20 08:41:18 +02:00
Eberhard Beilharz
0bde18d118
Merge pull request #4932 from keymanapp/refactor/linux/InstallKmp
...
refactor(linux): Refactor `install_kmp.py`
2021-05-20 08:41:05 +02:00
Eberhard Beilharz
8c8823f7ab
chore(linux): Swap order of dependency
...
This was already partially done in 4dd0a48b2 , but we missed this
line.
2021-05-19 17:11:45 +02:00
Eberhard Beilharz
13a31f4079
chore(linux): Remove unnecessary dependency on kmflcomp
...
Closes #4768 .
2021-05-19 17:07:06 +02:00
Darcy Wong
f31edd8b52
chore(common): Check in crowdin strings for Amharic
2021-05-19 09:12:39 +07:00