Commit graph

952 commits

Author SHA1 Message Date
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
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
Eberhard Beilharz
0932f2dac3
Merge pull request #5215 from keymanapp/feat/linux/issue-4910
feat(linux): Integrate with fcitx5
2021-06-03 13:30:33 +02: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
f0e2c848c3
fix(linux): Exclude s390x from package builds for ibus-keyman
ibus-keyman depends on keyman-keyboardprocessor which we don't
build for s390x because we currently don't support big-endian.
We only build for the same architectures as keyman-keyboardprocessor.
2021-06-02 11:51:29 +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
7a5a2b9774 chore(linux): Update more dependencies 2021-06-02 13:52:05 +10:00
Eberhard Beilharz
92350c2f49 feat(common): Update Jenkins dependencies for Rust 2021-06-02 13:52:01 +10:00
Marc Durdin
e8b5a32ace chore(linux): update docs 2021-06-02 13:51:58 +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
06beb99b85
Merge pull request #5185 from keymanapp/fix/linux/issue-5184
fix(linux): Don't crash on invalid metadata
2021-05-31 11:35:39 +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
82d42edfec
fix(linux): Migrate from /usr/lib/ibus to /usr/libexec
Current ibus versions use /usr/libexec in compliance with FHS 3.0.
Since the ibus picks up the location from the xml file in
`/usr/share/ibus/component`, this also works for older versions of
ibus. The bug report also mentions a `<setup>` tag. However, this
doesn't apply for Keyman because we don't have nor need a setup app.

Closes #4259.
Closes Debian bug 955230.
2021-05-28 17:54:47 +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
9c01ef9536
Merge pull request #5146 from keymanapp/chore/linux/updchangelog
chore(linux): Update changelogs 🍒
2021-05-26 10:44:37 +02:00
Eberhard Beilharz
c7cbb7cae4
docs(linux): Update readme
- remove mention of `scim_kmfl_imengine` which we recently removed
- reformat list of required packages
2021-05-25 14:35:24 +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
Darcy Wong
d7ab98f3d6
Merge pull request #5102 from keymanapp/chore/common/crowdin-am
chore(common): Check in crowdin strings for Amharic
2021-05-20 05:46:41 +07: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
Eberhard Beilharz
358a4529da
refactor(linux): Remove obsolete SCIM kmfl imengine
We didn't distribute the SCIM kmfl package for the last several
versions, and SCIM got replaced by ibus in the major desktop
environments.
2021-05-17 11:06:48 +02:00
Eberhard Beilharz
c35e5ff9cc
refactor(linux): Refactor install_kmp.py
- Introduce `InstallKmp` class
- Remove unused `list_files` method
- Extract common method that `install_kmp_shared` and
  `install_kmp_user` use
- Make internal methods protected
2021-05-17 10:58:04 +02:00