Commit graph

1628 commits

Author SHA1 Message Date
Eberhard Beilharz
3b95bac798 fix(linux): Fix disabling of buttons
When we recently added the new column and changed the model we
didn't adjust all the existing references for the model fields.
This change fixes this and also extract some additional methods.
2023-06-07 18:57:20 +02:00
Eberhard Beilharz
4335923707 chore(linux): Refactorings 2023-06-07 18:57:20 +02:00
Eberhard Beilharz
779417594c
chore(linux): Merge remote-tracking branch 'origin/master' into fix/linux/725_help-links 2023-06-07 10:22:49 +02:00
Eberhard Beilharz
55675e8f6d
fix(linux): address code review comment 2023-06-07 10:20:38 +02:00
Eberhard Beilharz
13a0582764
Merge pull request #8917 from keymanapp/chore/linux/srcpkg
chore(linux): Move some files to keyman-config
2023-06-07 10:19:14 +02:00
Eberhard Beilharz
82d86af91a
chore(linux): Adjust documentation 2023-06-07 10:18:58 +02:00
Eberhard Beilharz
979564f0a2
fix(linux): Fix title of reference page and links
Fixes help.keyman.com#725
2023-06-06 15:19:24 +02:00
Eberhard Beilharz
4873cda5cc
chore(linux): Address code review comments and refactor
This extracts common code in a separate function.
2023-06-06 12:04:18 +02:00
Eberhard Beilharz
5f5054b93c
chore(linux): Fix lintian warnings
- add rudimentary man page for keyman-system-service
- remove hashbang for bash completion files
- reword description for keyman-system-service

This fixes these lintian warnings:
keyman-system-service: description-is-pkg-name Keyman system service
keyman: bash-completion-with-hashbang /usr/bin/env bash
        [usr/share/bash-completion/completions/km-config:1]
keyman-system-service: no-manual-page
        [usr/libexec/keyman-system-service]
2023-06-05 17:18:55 +02:00
Eberhard Beilharz
cbc24f5421
chore(linux): Fix tests 2023-06-05 15:24:42 +02:00
Eberhard Beilharz
749112660d
chore(linux): Move some files to keyman-config
Some of the configuration files are useful for other distributions
as well. So this change moves them out of `debian/` to
`linux/keyman-config` so that they will be included in the source
tar ball.

Also remove zero-width space from one file.

Closes #8880.
2023-06-05 15:24:41 +02:00
Eberhard Beilharz
f43f808a03
feat(linux): Rename column and add tooltip
Follow-up of #8631 where I forgot to add one of the changed files.
2023-06-02 17:31:48 +02:00
Eberhard Beilharz
af6e162a27
feat(linux): Rename column and add tooltip
This renames the column from "Location" to "Area" and shows only
the area instead of the full path. This also adds a tooltip to the
row which shows the full path to the keyboard.
2023-06-01 19:16:28 +02:00
Eberhard Beilharz
d615659d5e
chore(linux): Address code review comments 2023-06-01 19:14:17 +02:00
Eberhard Beilharz
fa66b42410
feat(linux): Add column for installation location
Closes #8631.
2023-05-31 17:40:35 +02:00
Eberhard Beilharz
b6c90c67b0
chore(linux): Temporarily install schema during creation of man pages 2023-05-30 20:01:05 +02:00
Eberhard Beilharz
7f9ef0d35b
feat(linux): Add option to disable Sentry
Closes #5027.
2023-05-30 18:32:28 +02:00
Eberhard Beilharz
4a0f061d4d
feat(linux): Use StackSidebar for km-config
This change displays tabs at the left. It also adds a dummy
"Options" page which isn't implemented yet.
2023-05-30 18:32:28 +02:00
Eberhard Beilharz
c6f4541c83
feat(linux): Fix unit tests 2023-05-30 17:51:25 +02:00
Eberhard Beilharz
ccba767e2e
chore(linux): Allow to run tests when package building with sbuild 2023-05-30 17:51:25 +02:00
Eberhard Beilharz
fd562019dd
chore(linux): Use build.sh for Debian packaging 2023-05-30 17:51:24 +02:00
Eberhard Beilharz
9b4ca1aebd
chore(linux): Move build steps to build.sh
Closes #8712.
2023-05-30 09:25:27 +02:00
Eberhard Beilharz
a7c3c54b2b
Merge pull request #8509 from keymanapp/feat/linux/4273-wayland-systemd
feat(linux): Add dbus system service
2023-05-23 16:26:31 +02:00
Eberhard Beilharz
1823e1febb
feat(linux): Address code review comments 2023-05-23 11:48:58 +02:00
Eberhard Beilharz
ab25157364
feat(linux): Refactor to benefit from C++ RAII
Also apply changes from code review comments.
2023-05-22 19:51:45 +02:00
Eberhard Beilharz
a820d34c08
chore(linux): Fix meson warnings 2023-05-22 18:10:54 +02:00
Eberhard Beilharz
16daabd0f4
feat(linux): Make cleanup more consistent
Follow-up of code review comments.

# Keyman Conventional Commit suggestions:
# - Consider appending the text ". Fixes #4273" to your commit message.
2023-05-17 10:46:20 +02:00
Eberhard Beilharz
f6e5e468c4
chore(linux): Rename test-helper.sh to test-helper.inc.sh
Follow-up of code review.
2023-05-16 10:59:16 +02:00
Eberhard Beilharz
f08f44e294
chore(linux): Make postinst script comply with Debian policy
Debian Policy section 10.4 requires `set -e` [1].

[1] https://www.debian.org/doc/debian-policy/ch-files.html#scripts
2023-05-15 17:39:16 +02:00
Eberhard Beilharz
879a34a180
feat(linux): Add package for keyman-system-service 2023-05-15 09:13:58 +02:00
Eberhard Beilharz
c2e6fe23bd
feat(linux): Client side 2023-05-15 09:13:58 +02:00
Eberhard Beilharz
603c1d6ea0
feat(linux): Add system service to toggle capslock LED
This implements the server side.
2023-05-15 09:13:58 +02:00
Eberhard Beilharz
83615b9d6c
chore(linux): Fix installation build step on TC
When building on TC we install into a temporary directory. This
broke with the recent introduction of build.sh because that
now calls `make install` whereas previously we explicitly called
`make install-temp` on TC. Instead of adding a `install-temp`
action to `build.sh` we now check in the Makefile if sudo is set.
2023-05-12 17:57:19 +02:00
Eberhard Beilharz
032a123347
chore(linux): Properly fix shellcheck SC1091 warnings
The secret is to disable the "shellcheck.useWorkspaceRootAsCwd".
2023-05-11 11:59:15 +02:00
Eberhard Beilharz
1b76f98ec8
chore(linux): Add .shellcheckrc instead of inline directives
Also improve output specification.

Co-authored-by: Marc Durdin <marc@durdin.net>
2023-05-11 10:31:12 +02:00
Eberhard Beilharz
ac8517ad3a
chore(linux): Make us of new builder_run_action 2023-05-10 18:12:10 +02:00
Eberhard Beilharz
a8e0b3666e
chore(linux): Merge remote-tracking branch 'origin/master' into chore/linux/config-build.sh 2023-05-10 18:09:11 +02:00
Eberhard Beilharz
362f3e34a8
Merge pull request #8732 from keymanapp/chore/linux/tests
chore(linux): bring kmp.json for unit test up to spec
2023-05-10 08:56:55 +02:00
Eberhard Beilharz
efb48e5568
chore(linux): Add build.sh for keyman-config
Also remove second output from build.sh which isn't supported and
doesn't work. `ibus-keyman-tests` will be built when running
`build.sh test`.
2023-05-09 11:59:21 +02:00
Eberhard Beilharz
24d808a210
chore(linux): Address code review comments
This is a follow-up of #8510.
2023-05-09 11:03:55 +02:00
Eberhard Beilharz
bd49873352
chore(linux): Fix another problem uploading to launchpad 2023-05-09 09:53:52 +02:00
Eberhard Beilharz
890ce3887d
Merge pull request #8720 from keymanapp/chore/linux/fixscript
chore(linux): Fix uploading to launchpad
2023-05-08 11:14:51 +02:00
Eberhard Beilharz
b84915f745
Merge pull request #8510 from keymanapp/fix/linux/tests
fix(linux): Fix linux tests
2023-05-08 11:14:36 +02:00
Eberhard Beilharz
8520b1aaa9
chore(linux): Fix uploading to launchpad
This fixes some uninitialized variables.
2023-05-08 10:20:21 +02:00
Eberhard Beilharz
215e8d5eb8
Update linux/ibus-keyman/tests/scripts/test-helper.sh
Co-authored-by: Steven R. Loomis <srl295@gmail.com>
2023-05-08 09:53:45 +02:00
Eberhard Beilharz
f150f0cd68
Update linux/ibus-keyman/tests/scripts/test-helper.sh
Co-authored-by: Steven R. Loomis <srl295@gmail.com>
2023-05-08 09:53:36 +02:00
Eberhard Beilharz
cb0b7535b1
chore(linux): Build for Lunar on all platforms
Add building and upload to llso/pso now that this is possible.
2023-05-05 13:02:15 +02:00
Eberhard Beilharz
a7630a0265
fix(linux): Fix linux tests 2023-05-05 10:55:45 +02:00
Marc Durdin
292886479f
Merge pull request #8698 from keymanapp/chore/common/8693-set-eu-all-build-scripts
chore(common): `set -eu` in build-utils.sh
2023-05-05 13:18:52 +10:00
Eberhard Beilharz
fe4e968a49
chore(linux): Fix build script
Previously we didn't correctly change directories which could lead
to the error "cd: ../build/x86_64/release: No such file or directory".
2023-05-03 11:36:15 +02:00