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
Marc Durdin
5634843bb2
chore(linux): fixup missing parameter test
2023-05-02 12:28:25 +07:00
Marc Durdin
a1326ad47b
chore(common): set -eu in build-utils.sh
...
Enforces -e (abort script on error) and -u (error on unset variable use)
on all scripts that source build-utils.sh. This may result in some
downstream build failures which we'll need to address before merge to
master.
2023-05-02 12:14:05 +07:00
Eberhard Beilharz
dfeb178ee6
chore(linux): Partially undo building on Lunar
...
While llso/pso don't have a section for Lunar we can't build on
Jenkins nor upload with GHA.
2023-04-27 17:23:59 +02:00
Eberhard Beilharz
e6fc23734e
chore(linux): Build for Ubuntu 23.04 Lunar as well
2023-04-26 20:06:00 +02:00
Steven R. Loomis
aa1a702432
chore(core): icu fixes in comments and linux packaging 🙀
...
- version is 73.1 not 72.1
- add mention in linux build docs
- add libicu-dev dependency in debian control (but not runtime)
for #8495
2023-04-24 09:04:35 -05:00
Marc Durdin
c5d79a9fb4
Merge pull request #7330 from keymanapp/feature-kmcompx
...
epic: kmcompx - kmcmpdll cross-platform compiler 🚑
2023-04-10 07:34:04 +10:00
Eberhard Beilharz
88142b2e1e
Merge pull request #8538 from keymanapp/fix/linux/8454-CloseWarning
...
fix(linux): Remove warning after pressing Close button
2023-03-29 18:09:13 +02:00
Eberhard Beilharz
c8aefb865b
Merge pull request #8536 from keymanapp/chore/linux/cleanuptests
...
chore(linux): Improve robustness of test cleanup
2023-03-29 18:07:55 +02:00
Marc Durdin
23aafebfc2
Merge branch 'feature-kmcompx' into chore/master-to-kmcompx-merge-a17s9
2023-03-29 14:47:58 +11:00
Eberhard Beilharz
9c5718667c
fix(linux): Remove warning after pressing Close button
...
Fixes #8454 .
2023-03-28 20:05:29 +02:00
Eberhard Beilharz
38b2254d39
chore(linux): Improve robustness of test cleanup
...
Closes #8517 .
2023-03-28 19:51:17 +02:00
Eberhard Beilharz
60a6794271
chore(linux): Remove dependency on sudo
...
Fixes #8468 .
2023-03-28 19:34:33 +02:00
Marc Durdin
d044b9c8ef
chore(linux): include common/test/keyboards in dist.sh
2023-03-28 14:45:55 +07:00
Eberhard Beilharz
8f4a4b3e6c
docs(linux): Update common questions
...
- add Ubuntu 18.04 as being last supported in Keyman 16
- clarify that km-config needs to be started from command line
in order to disable error reporting
2023-03-28 09:22:33 +02:00
Eberhard Beilharz
4d5e3e2237
Merge pull request #8506 from keymanapp/chore/linux/cherry-pick/debian
...
chore(linux): Revert "Run and ignore autopkgtests on s390x" 🍒
2023-03-28 09:06:40 +02:00
Marc Durdin
c18ef54029
refactor(common): move core baseline tests into common
...
Decided to use the name `baseline` for this set of tests. They can be
used by any project in the repo now. Tests will be treated as shared,
and not modified (except in the case of a buggy test).
* Moves .kmn files, add `&NAME` line (don't use meson templating for
these files)
* Generates reference .kmx files using kmcomp for use as a baseline with
kmcmplib (kmc) tests, and for linux tests
* Updates references in core, kmcmplib, and linux builds
* Renames all the .kmn / .kmx to use a standardized, clean name format
(this was needed for building packages in the core tests)
2023-03-28 05:20:45 +07:00
Eberhard Beilharz
255fabe6fe
chore(linux): Remove python3-raven dependency
...
Now that we no longer support Ubuntu 18.04 Bionic we can remove
the python3-raven dependency.
2023-03-24 16:46:15 +01:00
Eberhard Beilharz
25cf7d2ed7
chore(linux): Revert "Run and ignore autopkgtests on s390x"
...
This reverts commit 2f716b3e51 .
(cherry picked from commit 7a9f366c6a )
2023-03-24 16:16:51 +01:00
Eberhard Beilharz
468bb37ddf
chore(linux): Run and ignore autopkgtests on s390x
...
This change allows the autopkgtests to run on s390x architecture
but immediately exits the test with a successful return code.
(cherry picked from commit 2f716b3e51 )
2023-03-22 19:35:52 +01:00