Commit graph

1560 commits

Author SHA1 Message Date
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
Eberhard Beilharz
03bb0c5fcc
chore(core): Create both dynamic and static libs on Linux 2023-03-06 16:51:19 +01:00
Eberhard Beilharz
c20531b08a
chore(linux): Log error 2023-03-06 16:00:43 +01:00
Eberhard Beilharz
a26caa4d18
feat(linux): Add DBus method SendText
This new DBus method allows an OSK to output a junk of text.
2023-03-06 16:00:43 +01:00
Marc Durdin
af4b2536bc chore(common): remove vswhere
With #8287, we no longer use a local copy of vswhere.exe but instead
rely on a standard location for it from the Visual Studio installer.
2023-03-03 04:50:25 +07:00
Eberhard Beilharz
02b36a8d8d
Merge pull request #8294 from keymanapp/fix/linux/debian
fix(linux): Fix debian postinst script
2023-02-28 15:02:30 +01:00
Marc Durdin
b809a60936
Merge pull request #7054 from keymanapp/feature-ldml
epic: LDML keyboard support 🙀
2023-02-28 20:38:00 +11:00
Marc Durdin
34faa0216d chore(linux): disable tests for core install also 2023-02-28 14:34:57 +07:00
Eberhard Beilharz
8e1ebbca11
Merge pull request #8329 from keymanapp/fix/linux/build.sh
fix(linux): Fix ibus-keyman/build.sh
2023-02-28 08:32:43 +01:00
Marc Durdin
bf99c77b64 chore(linux): disable node-based core tests when testing during packaging 2023-02-28 11:06:13 +07:00
Marc Durdin
2edff0c212 chore(linux): disable core tests for build 2023-02-28 09:24:53 +07:00
Eberhard Beilharz
67bd5fb399
fix(linux): Fix ibus-keyman/build.sh
Paths that describe outputs are supposed to be relative to root,
not absolute. Also, it turns out we don't use the `--output`
parameter, so this change removes it.
2023-02-27 18:42:38 +01:00
Eberhard Beilharz
0ca494b267
chore(linux): Create release for source package
This sets the distribution to "unstable" instead of the default
UNRELEASED which dput doesn't look to upload.
2023-02-27 17:42:09 +01:00
Eberhard Beilharz
ec0048955b
chore(linux): Improve detecting presence of test files
With recent work the location where we generate the test files
changed, but the test setup script didn't completely work.
2023-02-24 09:00:40 +01:00
Marc Durdin
72374c0acd chore(linux): --no-tests for packaging build 2023-02-24 07:51:08 +07:00
Marc Durdin
a0fa39232d chore(linux): use core kmx tests from source rather than build 2023-02-24 05:57:15 +07:00
Eberhard Beilharz
efe94598ac
fix(linux): Fix setting libexecdir
Follow-up of the move to meson.
2023-02-23 17:43:09 +01:00
Eberhard Beilharz
a507ac6cab
chore(core): Update path to test library 2023-02-23 16:22:10 +01:00
Marc Durdin
38603e8421
Merge pull request #8279 from keymanapp/chore/core/cleanup-meson-build
chore(core): cleanup meson build
2023-02-23 13:28:02 +11:00
Marc Durdin
ce4adbd662 chore(linux): skip tests on core when building 2023-02-23 08:27:09 +07:00
Marc Durdin
a2ceb98948 chore: rewrite extra standard build script prolog 2023-02-23 08:09:41 +07:00
Marc Durdin
9eb472579c chore: Merge branch 'feature-ldml' into chore/merge-master-to-feature-ldml-A17S7-2 2023-02-23 08:05:31 +07:00
Marc Durdin
b968bcfdfd
Merge branch 'feature-ldml' into chore/core/cleanup-meson-build 2023-02-23 08:49:56 +11:00
Marc Durdin
699b289899
Merge pull request #8289 from keymanapp/chore/dirname-to-builtin
chore: use builtin instead of dirname for perf
2023-02-23 08:42:29 +11:00
Marc Durdin
80689a794b
Merge pull request #8288 from keymanapp/chore/readlink-only-instead-of-greadlink
chore: remove greadlink from standard script prolog
2023-02-23 08:42:21 +11:00
Eberhard Beilharz
9c1500fe57
fix(linux): Fix debian postinst script
The ibus-keyman post-installation script failed, causing the entire
installation to fail. This change removes `set -e` so that we try
to run the rest of the commands even when one command should fail.
Also accounts for ibus-daemon being started with the full path,
and start ibus-daemon with fill path as well.
2023-02-22 19:40:22 +01:00
Marc Durdin
03d8d7524d chore(linux): fixup core build from reconf 2023-02-22 11:13:58 +07:00
Marc Durdin
ce864ea923 chore: update standard script prolog to use builtin instead of dirname 2023-02-22 11:04:15 +07:00
Marc Durdin
463c7ff907 chore: remove greadlink from standard script prolog 2023-02-22 10:43:06 +07:00
Marc Durdin
e2b6bf99ea chore: new core build invocation in linux/scripts/build.sh 2023-02-22 09:45:36 +07:00
Marc Durdin
e645b8665f chore: Merge branch 'feature-ldml' into chore/A17S7-master-to-feature-ldml
* core/build.sh -- accept feature-ldml changes (remove call to get_builder_OS)
* developer/src/kmlmc/build.sh -- delete file
*	linux/debian/rules -- accept master changes, fixup call to core/build.sh
*	linux/ibus-keyman/tests/Makefile.am -- accept master changes, fixup call to core/build.sh
*	linux/scripts/build.sh -- accept master changes, fixup call to core/build.sh
*	linux/scripts/reconf.sh -- accept master changes
2023-02-22 08:00:08 +07:00
Marc Durdin
20cc47714e chore(core): specify --no-tests in all dependent builds 2023-02-21 12:22:00 +07:00
Eberhard Beilharz
4d3755770c
fix(linux): Collect consecutive backspaces
When using Wayland `im-wayland.so` (which is part of libgtk) gets
loaded into the client app instead of `im-ibus.so`. This means that
our ordered output doesn't work with Wayland.

This change works around a problem with keyboards that use multiple
consecutive backspace actions. Because method calls get processed
asynchronously some backspaces get lost. In clients that support
surrounding text we can count the consecutive backspaces and then
do one call to delete surrounding text with the appropriate number
of characters.

This can be tested with "Khmer Angkor" keyboard by typing `xEjmr`,
or with "Vedic Sanskrit Devanagari Phonetic (ITRANS)" keyboard by
typing `shrI`.

Part of #4273.
2023-02-20 18:47:51 +01:00
Eberhard Beilharz
3d06af218c
Merge pull request #8112 from keymanapp/chore/linux/5981_addBuild.sh
chore(linux): Add build.sh to ibus-keyman 🏗️
2023-02-20 15:53:59 +01:00
Eberhard Beilharz
faff48fb4c
fix(linux): Fix bug in deb-packaging script 2023-02-20 10:02:13 +01:00
Eberhard Beilharz
33ed91e970
chore(linux): Merge branch 'master' into chore/linux/5981_addBuild.sh 2023-02-20 09:54:05 +01:00