Commit graph

1595 commits

Author SHA1 Message Date
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
Eberhard Beilharz
1a8b8a0ea3
Merge pull request #8479 from keymanapp/fix/linux/8478-zipfile
fix(linux): Display error message for corrupt .kmp file
2023-03-22 10:05:50 +01:00
Eberhard Beilharz
e1597914dd
fix(linux): Display error message for corrupt .kmp file
If the user tries to install a corrupt .kmp file we now display
an error message instead of just logging to the console and Sentry.

Fixes #8478.
2023-03-20 21:10:00 +01:00
Eberhard Beilharz
27a6decec9
chore(linux): Prevent building on s390x
This reverts commit 07ae306fd4 which
got merged in PR #6500 after a discussion on the Debian mailing list.

However, Keyman currently doesn't work on s390x architecture because
we don't support big-endian (#5111). This shows in test failures during
package build (cf https://buildd.debian.org/status/fetch.php?pkg=keyman&arch=s390x&ver=16.0.138-4&stamp=1676139609&raw=0).

(cherry picked from commit b771e14de8)
2023-03-20 20:11:51 +01:00
Darcy Wong
0ce0d64cc9
Merge pull request #8447 from keymanapp/chore/common/crowdin-ckl-update
chore(common): Update crowdin strings for Kibaku
2023-03-20 11:10:45 +07:00
Eberhard Beilharz
ee46f13521
chore(linux): Update debian changelog
(cherry picked from commit e7eb3fdf29)
2023-03-16 08:59:20 +01:00
Darcy Wong
e469a88996 chore(common): Update crowdin strings for Kibaku 2023-03-16 11:25:37 +07:00
Eberhard Beilharz
40e6c6edaa
Update linux/ibus-keyman/build.sh
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-14 16:14:23 +01:00
Eberhard Beilharz
c33635b2f4
chore(linux): Use dependency on core in ibus-keyman/build.sh 2023-03-13 09:50:14 +01:00
Eberhard Beilharz
d0ec73825a
Merge pull request #8376 from keymanapp/chore/core/obsoleteOption
chore(core): Remove obsolete `--target-path` option
2023-03-09 16:27:23 +01:00
Eberhard Beilharz
d9e0d8a802
chore(linux): Rename keyboardprocessor to Keyman Core 2023-03-08 16:52:10 +01:00
Marc Durdin
00017350d3 chore(common): clean up --debug usage in build scripts
Fixes #8373.

Note that the core functionality requested in #8373 is already in place;
this commit just does some cleanup to make this easier to maintain in
the future:

* Uses `builder_is_debug_build` function to test for debug build
  (instead of `builder_has_option --debug`, which would also work but
  using the other function avoids typo issues with the option name).

* Renames `$_builder_debug` to `$_builder_debug_internal` to reduce
  naming confusion

* Documents `$builder_debug`, `builder_is_debug_build`, and clarifies
  usage of `--debug` option.

* Logs command line for dep builds (we could hide this in the future,
  but it certainly doesn't hurt for now!)
2023-03-08 05:40:40 +07:00
Eberhard Beilharz
794557f7d5
chore(core): Remove obsolete --target-path option
Linux package builds no longer require a different target path, so
we can remove the `--target-path` parameter.
2023-03-07 13:38:31 +01:00
Eberhard Beilharz
0c2c4f4206
Merge pull request #8375 from keymanapp/chore/core/linuxstatic
chore(core): Create both dynamic and static libs on Linux
2023-03-07 13:21:11 +01:00
Eberhard Beilharz
0b4ed50242
Merge pull request #8039 from keymanapp/feat/linux/osk-poc
feat(linux): Add DBus method `SendText`
2023-03-07 09:53:24 +01:00