Commit graph

162 commits

Author SHA1 Message Date
Eberhard Beilharz
5e6de93e42
Merge pull request #5565 from keymanapp/docs/linux/ibus
docs(linux): Fix readme for ibus-keyman
2021-08-09 08:14:40 +02:00
Eberhard Beilharz
3f9c1a380a
docs(linux): Fix readme for ibus-keyman
Turns out setting `KEYMAN_PROC_CFLAGS` isn't sufficient to use header
files from source repo.
2021-08-06 16:55:02 +02:00
Eberhard Beilharz
c9497fd494
feat(common/core): Implement shiftFreesCaps and capsOnOnly 2021-08-06 16:13:58 +02:00
Eberhard Beilharz
cfeb9e820e
chore(linux): Implement Linux side of caps-lock action processing 2021-08-06 12:20:23 +02:00
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
43c920fec3
chore(linux): fix ibus-keyman test 2021-08-06 11:25:01 +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
f08444019b
chore(linux): Remove compiler warning in ibus-keyman
This change replaces the deprecated `g_type_class_add_private`
and `G_TYPE_INSTANCE_GET_PRIVATE` with `G_DEFINE_TYPE_WITH_PRIVATE`
and the generated method `km_service_get_instance_private`.
2021-08-04 16:54:26 +02:00
Eberhard Beilharz
77d0d96480
refactor(linux): Reformat keycode_to_vk table
Also update comment where these values come from.
2021-08-04 12:00:36 +02:00
Marc Durdin
5a94012f01
Merge branch 'chore/common/core/debug-additional-tests' into chore/common/core/5488-delete-markers-reliably 2021-07-27 08:23:24 +10:00
Marc Durdin
796a2d4c85 chore(common/core): handle deletion of markers in actions
Fixes #5488.

This updates Keyman Core, corresponding tests, and Keyman Engine for
Linux to support deletion of markers through an action, ensuring that
the action queue does not desynchronize with the context.
2021-07-26 15:23:20 +10:00
Eberhard Beilharz
0eca43d4ea
feat(common/core): Implement capsAlwaysOff system store
This change implements the core part in a way that makes the tests
pass. This still needs corresponding changes in the engine.
2021-07-23 10:25:28 +02:00
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
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
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
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
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
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
6d1adee2ee
chore(linux): Update changelogs
(cherry picked from commit d2532fa335)
2021-05-25 14:28:55 +02:00
Eberhard Beilharz
01a9c36d53
fix(linux): Fix Caps Lock
Closes #4542.
2021-05-11 17:51:01 +02:00
Eberhard Beilharz
044e53198a
fix(linux): Fix switching to keyboard in middle of line (#4678)
Don't re-set context if it changed because the cursor location was
wrong. When the user switches to the EuroLatin keyboard in the
middle of the line, we're getting a wrong cursor location. This will
be fixed with the next keypress, but it leads to the context string
suddenly having more characters added to the front. If we re-set the
context because it's different now we will loose the information we
previously added to the context.

We now compare the end of the string. If the new context string ends
with the old context string we assume that the cursor position got
updated and don't re-set the context.

This fixes #4678.
2021-03-18 17:29:21 +01:00
Eberhard Beilharz
e371fcb8b8
chore(linux): Verify signed source packages 2021-03-08 19:29:27 +01:00
Eberhard Beilharz
22ba0d6866
chore(linux): Clarify licenses 2021-03-08 18:26:50 +01:00
Eberhard Beilharz
3a78ef4be1
chore(linux): Fix some lintian warnings for Debian package 2021-03-08 17:38:28 +01:00
Eberhard Beilharz
64f9f9297a
chore(linux): Improve readme
Also ignore some more generated files.
2021-03-02 16:55:22 +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
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
b6b9b5de46
fix(linux): Improve robustness when installing ibus-keyman
If for whatever reason ibus wasn't running for the current user
the installation failed previously, leaving the user in a broken
state until he reboots and tries the installation again. This change
detects this situation and skips restarting ibus.
2020-08-28 11:00:39 +02:00
Eberhard Beilharz
74522a7aee
chore(linux): Add license details for kmpdetails.* 2020-07-15 16:34:59 +02:00
Eberhard Beilharz
d7be26446d
Merge pull request #3176 from keymanapp/feat/issue-1596
feat(linux): Improve appstream metadata
2020-05-27 18:15:31 +02:00
Eberhard Beilharz
64c6da8f16
Merge pull request #3168 from keymanapp/fix/issue-2628
chore(linux): Update maintainer in package metadata
2020-05-27 15:35:18 +02:00
Eberhard Beilharz
4f6a2235ad
feat(linux): Improve appstream metadata 2020-05-27 12:30:58 +02:00
Eberhard Beilharz
aebb9d077a
fix(linux): Don't fail (un-)install if running multiple ibus 2020-05-26 10:27:16 +02:00
Eberhard Beilharz
990eca852c
chore(linux): Update maintainer 2020-05-26 09:05:07 +02:00
Eberhard Beilharz
44e1d3a30e
chore(linux): Add VCS information to package metadata 2020-05-26 09:05:07 +02:00
Eberhard Beilharz
7e2851c2ad
chore(linux): Use https URL for homepage 2020-05-26 09:05:07 +02: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
Darcy
d6179b1063 fix(linux): Also specify libjson-glib-dev version 2020-02-17 15:49:15 +07:00
Darcy
cb08fcfd0f fix(linux): Address review comment
Add comment to watch file and simplify regex
2020-02-17 15:28:45 +07:00
Darcy Wong
9fec9a9ea4 Merge remote-tracking branch 'origin/beta' into fix/linux/2552-sed-tier-in-watch 2020-02-17 14:34:02 +07:00