Commit graph

2668 commits

Author SHA1 Message Date
Eberhard Beilharz
48e54b13b7
Merge pull request #9380 from keymanapp/chore/linux/jenkins
chore(linux): Remove package build on Jenkins for Keyman 17
2023-08-02 11:14:26 +02:00
Marc Durdin
9517883909
Merge pull request #9386 from keymanapp/chore/gha-master
chore: add run-name to deb-packaging
2023-08-02 12:41:41 +10:00
Marc Durdin
669198add6 chore(linux): touch linux so we get a build 2023-08-02 09:36:55 +07:00
Eberhard Beilharz
f154c493e3
docs(linux): Add build doc for Keyman Web and Android
This adds the documentation how to build Keyman Web as well as
Keyman for Android on Linux. and adds the dependencies to the
`Dockerfile` so that it's now also possible to build Keyman Web
and Keyman for Android with Docker.
2023-08-01 18:13:46 +02:00
Eberhard Beilharz
5afa3c56d9
Merge pull request #9328 from keymanapp/docs/core/8913_BuildOnLinux
docs(core): Document how to build Core on Linux
2023-08-01 17:05:55 +02:00
Eberhard Beilharz
b8d0777800
chore(linux): Remove package build on Jenkins for Keyman 17 2023-08-01 15:03:47 +02:00
Sabine
1904947f32 feat(linux): mcompile change type return value of functions from KMX_BOOL/bool to int/KMX_DWORD 2023-08-01 13:08:34 +02:00
Sabine
5096498900 feat(linux): mcompile tidy up wprintf, function names/variable names 2023-08-01 09:22:05 +02:00
Sabine
06db40aa21 feat(linux): mcompile rename functions +tidy up 2023-08-01 00:09:52 +02:00
Sabine
669d3389a9 feat(linux): mcompile use std::map in replaceNamesWithCharacter 2023-07-31 23:07:08 +02:00
Eberhard Beilharz
1d0db5945a
docs(core): Don't put emscripten on the path
This change addresses the code review comments. We don't want
emscripten to be in `PATH` and instead set the `EMSCRIPTEN_BASE`
environment variable.
2023-07-31 10:40:34 +02:00
Eberhard Beilharz
c4efba04d9
chore(linux): Don't fail on parallel builds
If another build runs on the same build agent at the same time and
installs dependencies at the same time, previously the build failed
because apt/dpkg was already running. This change checks for the
existence of the apt/dpkg lock file and waits until the other process
is finished before starting the installation of dependencies.
2023-07-31 09:54:09 +02:00
Eberhard Beilharz
b4e612d465
Merge pull request #9360 from keymanapp/chore/linux/uploadScript
chore(linux): Fix creation of PRs after uploading to Debian
2023-07-31 09:23:40 +02:00
Sabine
a3daee80b5 feat(linux): mcompile tidy up 2023-07-29 21:31:19 +02:00
Sabine
2371f59240 feat(linux): mcompile Version using Vector of KMX_DWORD (instead of Vector of std::string) 2023-07-29 20:46:25 +02:00
Sabine
d50322a995 feat(linux): mcompile tidy up: remove unneccessary code 2023-07-28 18:25:50 +02:00
Sabine
e3fed21dd1 feat(linux): mcompile replace std::cout, std::wcout, MyCout, printf and use wprintf 2023-07-28 17:20:28 +02:00
Sabine
d13413db5a feat(linux): mcompile finish DoConvert-read 2023-07-28 17:03:11 +02:00
Eberhard Beilharz
c4720a05a1
chore(linux): Update debian changelog
(cherry picked from commit 0e74e37a7c)
2023-07-28 08:46:56 +02:00
Eberhard Beilharz
b4c074ae4f
chore(linux): Fix creation of PRs after uploading to Debian 2023-07-28 08:35:52 +02:00
Sabine
4ff67ca9db feat-(linux): mcompile edit agin 2023-07-25 18:01:18 +02:00
Eberhard Beilharz
a97a966d72
chore(linux): Update supported Ubuntu versions
- remove Ubuntu 22.10 Kinetic which is no longer supported
- add future Ubuntu 23.10 Mantic
2023-07-25 12:39:03 +02:00
Eberhard Beilharz
168a98d8bd
chore(linux): Update debian changelog
(cherry picked from commit 04a52e9b8e)
2023-07-25 08:38:20 +02:00
Eberhard Beilharz
93f05d6456
docs(core): Document how to build Core on Linux
Closes #8913.
2023-07-24 19:54:17 +02:00
Sabine
2d3d1065a9 feature-(linux): mcompile remove more unneccassary code 2023-07-24 18:56:26 +02:00
Sabine
1da2ef3d27 feature-(linux): mcompile remove unneccassary code 2023-07-24 18:55:12 +02:00
Sabine
3c37ca0cee feat(linux): new functions KMX_VKUSToVKUnderlyingLayout and KMX_CharFromVK; return correct char 2023-07-24 18:03:58 +02:00
Sabine
5e62bed218 feat(linux): mcompile tidy up 2023-07-21 22:09:06 +02:00
Sabine
891f04e791 feat(linux): mcompile commentary in keymap.cpp/h 2023-07-21 20:50:30 +02:00
Eberhard Beilharz
8f39a04375
Merge pull request #9027 from keymanapp/fix/linux/8620_keyboards-with-mul-tag
fix(linux): Fix installation of keyboards with lang tag `mul`
2023-07-21 06:34:58 +02:00
Eberhard Beilharz
f9896756f6
Merge pull request #9310 from keymanapp/fix/linux/logging
fix(linux): Fix logging
2023-07-20 22:48:52 +02:00
Eberhard Beilharz
2f25d198f4
fix(linux): Output not connected ibus as info instead of warning
There is nothing the user can do, and it's usually irrelevant
(except when troubleshooting).
2023-07-20 11:11:43 +02:00
Eberhard Beilharz
8a34a5d6ce
refactor(linux): Some refactorings 2023-07-20 11:09:55 +02:00
Eberhard Beilharz
33603c0f71
refactor(linux): Use better way to get username
`getpass.getuser()` tries several different ways to get the username
and is the recommended way of getting the username.
2023-07-20 11:04:04 +02:00
Eberhard Beilharz
8058d50999
fix(linux): Also output username 2023-07-20 10:48:50 +02:00
Eberhard Beilharz
b814bdd9fa
fix(linux): Reword error if uninstalling non-existent keyboard
This change reworks the output we show if the user tries to
uninstall a non-existing keyboard. This could be trying to uninstall
a shared keyboard when a user keyboard exists and vice versa. This
change rewords the message to include the area (shared/user), so
hopefully this makes it a bit clearer. We also now output this as a
warning instead of an error.

Completely suppressing the message as suggested in #9213 doesn't seem
to be the right way as that would lead to the user blaming uninstall
to not work when the real reason are wrong parameters.

Closes #9213.
2023-07-20 10:11:14 +02:00
Eberhard Beilharz
12165d73bc
fix(linux): Fix logging
We can't initialize Sentry during module initialization because our
`initialize_sentry` logs some status info. Setting the logging level
later on is then a no-op, breaking verbose and very-verbose logging.

This change fixes this by putting Sentry initialization into a
separate method that gets called after we set the log level.

Also refactor some common code into methods that appear in all our
executables.
2023-07-19 19:47:28 +02:00
Eberhard Beilharz
c616be6bf1
refactor(linux): Move common code to included file 2023-07-19 17:39:34 +02:00
Sabine
7bb002ba86 feat(linux): mcompile tidy up 2023-07-19 16:53:11 +02:00
Sabine
fce512ce4c feat(linux): mcompile first version to use gtk 2023-07-19 16:36:59 +02:00
Eberhard Beilharz
6622c70fd2
chore(linux): Fix running tests with Wayland
Because we passed in a wrong parameter (`--wayland`) but checked for
just `wayland` we never run the tests with Wayland. This change
rectifies this.
2023-07-19 16:22:31 +02:00
Eberhard Beilharz
81f46e1a6d
feat(linux): Minimize tags before adding keyboards
This ensures that bcp47 language tags are in a form the OS
understands.
2023-07-19 16:20:27 +02:00
Eberhard Beilharz
152d36a654
fix(linux): Fix installation of keyboards with lang tag mul
We now use the canonical tag without appending the script (unless
necessary).

Fixes #8620.
2023-07-19 12:01:52 +02:00
Eberhard Beilharz
35ee5b7549
docs(linux): Update man page for ibus-engine-keyman
Change the man page to reflect the actual options.
2023-07-18 20:29:01 +02:00
Eberhard Beilharz
bc4b1fd19f
chore(linux): Remove do-nothing option --verbose
`ibus-engine-keyman` accepted a `--verbose` and `-v` command line
option which didn't do anything. Instead this change adds a comment
explaining how to get more verbose output.
2023-07-18 20:21:26 +02:00
Sabine
52c115b847 feat(linux): mcompile SetKeyboardToPositional opened/included 2023-07-18 19:15:46 +02:00
Sabine
c429941d03 feat(linux): mcompile open DoConvert in mcompile which starts DoConvertPart1 and DoConvertPart2 2023-07-18 18:35:19 +02:00
Sabine
f4ed97fc8c feat(linux): mcompile mcompile starts keymap 2023-07-18 17:55:03 +02:00
Sabine
dd2322abff feat(linux): mcompile add wcouts 2023-07-18 12:06:06 +02:00
Sabine
b254f9b4eb feat(linux): mcompile mcompile.cpp starts keymap 2023-07-18 12:02:21 +02:00