Eberhard Beilharz
d7d5c8045b
Merge pull request #10860 from keymanapp/fix/linux/10850_deprecation
...
fix(linux): Replace deprecated `pkg_resources` module with `packaging.version`
2024-03-20 15:47:34 +01:00
Eberhard Beilharz
2af4a04881
fix(linux): Start ibus if not running
...
Also need to start as daemon so that it works when run as a different user.
2024-03-20 12:17:57 +01:00
Eberhard Beilharz
b9d116adad
fix(linux): Replace deprecated pkg_resources module in remaining places
...
Previous commit missed a few places where `pkg_resources` module was
used.
2024-03-20 11:44:00 +01:00
Eberhard Beilharz
01b8016b92
chore(linux): Merge remote-tracking branch 'origin/beta' into feat/linux/9363DBusEnv
2024-03-20 11:24:35 +01:00
Eberhard Beilharz
37024fa832
chore(linux): Change order of initialization
...
If we want to log messages we need to start DBus after we initialized
logging.
2024-03-20 11:18:28 +01:00
Sabine
85620712c8
feat(linux): mcompile-dk still solve conflict in .gitignore
2024-03-18 01:41:00 +01:00
Sabine
809bc35520
feat(linux): mcompile-dk solve conflict in .gitignore
2024-03-18 01:30:05 +01:00
Sabine
89844cb074
feat(linux): mcompile-dk very last edits
2024-03-18 01:16:32 +01:00
Darcy Wong
39b56b3e9a
chore(common): Merge 'origin/master' into chore/beta-to-master-b17s3
2024-03-15 10:57:03 -05:00
Sabine
a6cec0921e
feat(linux): mcompile-dk remove comments
2024-03-14 02:56:19 +01:00
Sabine
2d364bfb66
feat(linux): mcompile-dk start replace wchar_t
...
feat(linux): mcompile-dk replace wchar_t create duplicate u16.functions (no implem. yet)
feat(linux): mcompile-dk replace wchar_t disable some old wchar_t functions
feat(linux): mcompile-dk replace wchar_t disable more old wchar_t functions
feat(linux): mcompile-dk char16 works
feat(linux): mcompile remove _16 where I do not need them
feat(linux): mcompile remove even more _16 where I do not need them
feat(linux): mcompile rename functions with _16 back
2024-03-07 15:47:34 +01:00
Eberhard Beilharz
9d4213bb6a
Merge branch 'beta' into fix/linux/10850_deprecation
2024-03-05 10:47:58 +01:00
Eberhard Beilharz
046c25b3d2
Merge branch 'beta' into fix/linux/postinst
...
# Conflicts:
# linux/debian/changelog
2024-03-05 10:42:54 +01:00
Eberhard Beilharz
af7b17f054
Merge branch 'master' into chore/b17s2-merge-beta-to-master
2024-03-05 10:13:36 +01:00
Marc Durdin
106a572b49
Merge pull request #10910 from keymanapp/chore/merge-master-into-linux-mcompile
...
chore: merge master into linux-mcompile 🐘
2024-03-04 07:26:54 +07:00
Marc Durdin
f18d9aa6b8
Merge branch 'master' into chore/b17s2-merge-beta-to-master
2024-03-01 13:39:14 +07:00
Eberhard Beilharz
92c3848846
chore(linux): Update debian changelog
...
(cherry picked from commit 024553dd26 )
2024-02-29 19:17:49 +01:00
Eberhard Beilharz
024553dd26
chore(linux): Update debian changelog
2024-02-29 19:17:22 +01:00
Eberhard Beilharz
42fd48c808
fix(linux): Improve error values
2024-02-29 18:54:25 +01:00
Eberhard Beilharz
f899627129
fix(linux): Add packaging Python dependency
...
It isn't enough to have the package as build dependency, we also have to
list is in the binary package or in the `install_requires` list in
`setup.py`. This change also adds other missing python modules to
`install_requires` so that things work correctly if building/installing
from source.
2024-02-29 18:50:30 +01:00
Eberhard Beilharz
639ac25397
chore(linux): Merge remote-tracking branch 'origin/beta' into feat/linux/9363DBusEnv
2024-02-29 18:10:17 +01:00
Sabine
5d43f0a24e
feat(linux): mcompile-dk use const wchar_t* in LogError
2024-02-29 17:58:05 +01:00
Eberhard Beilharz
42e76d4a88
fix(linux): Fix package problem with alpha version
...
In Keyman 17 Alpha and the first versions of Beta the package name was
`libkeymancore` before we changed it to `libkeymancore1`. If that
version is installed we can't install the new package because it causes
conflicts. This change fixes it.
2024-02-29 15:14:14 +01:00
Eberhard Beilharz
adcca9ae5c
chore(linux): Merge branch 'beta' into fix/linux/postinst
2024-02-29 15:04:13 +01:00
Eberhard Beilharz
973af61495
fix(linux): Fix libkeymancore-dev dependencies
...
This change adds `libicu-dev` as a dependency for `libkeymancore-dev`.
While it is possible to dynamically build without ICU it is required
when doing a static build.
Closes #10864 and [Debian bug #1064915 ](
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064915 ).
2024-02-28 18:58:42 +01:00
Sabine
afb391fea7
feat(linux): mcompile-dk disable use of HKL
2024-02-28 17:06:46 +01:00
Sabine
f04b1df60e
feat(linux): mcompile-dk disable KMX_VirtualKey(KMX_HKL hkl,UINT virtualKey)
2024-02-28 15:45:14 +01:00
Sabine
08085e34a0
feat(linux): mcompile-dk comment out some #includes that are not needed
2024-02-28 15:38:27 +01:00
Eberhard Beilharz
664b5e0d54
Update linux/help/about/whatsnew.md
...
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2024-02-28 10:15:45 +01:00
Eberhard Beilharz
196796b67a
feat(linux): Start dbus if not running
...
This change checks the DBus environment variables when initializing the
`keyman_config` module and starts DBus if the variables are not set.
This particularly happens when trying to install or uninstall a keyboard
for a different user, which will now be possible with this change.
Fixes #9363 .
2024-02-27 19:13:02 +01:00
Eberhard Beilharz
b9ef6d7bb5
fix(linux): Replace deprecated pkg_resources module with packaging.version
...
Fixes #10850 .
2024-02-27 17:41:07 +01:00
Eberhard Beilharz
f94650fd6a
docs(linux): Updated whatsnew for Keyman for Linux 17
...
Closes #10715 .
2024-02-27 16:30:30 +01:00
Sabine
754f13fa22
feat(linux): mcompile-dkcomments on capslock
2024-02-27 16:28:24 +01:00
Sabine
b0811ba991
feat(linux): mcompile-dk capslock-equation added again. We need it! (we cannot set capslock=1 )
2024-02-27 16:05:03 +01:00
Eberhard Beilharz
753ae80bea
chore(linux): Merge remote-tracking branch 'origin/beta' into fix/linux/postinst
2024-02-27 16:01:36 +01:00
Eberhard Beilharz
c4f612b6c0
Merge pull request #10828 from keymanapp/chore/linux/changelog
...
chore(linux): Update debian changelog
2024-02-27 10:01:43 +01:00
Sabine
f6e887a6be
feat(linux): mcompile-dk remove comments
2024-02-27 08:12:12 +01:00
Eberhard Beilharz
8ff35c8657
fix(linux): fix regex to detect running ibus-daemon
...
On Ubuntu 20.04 Focal ibus gets started by a shell command so that we
end up with two processes mentioning `ibus-daemon`. This change limits
the search to processes that specify with full path to `ibus-daemon` or
without path, but `ibus-daemon` has to be the command, not a parameter.
2024-02-26 18:40:23 +01:00
Eberhard Beilharz
d396a397e3
chore(linux): Use ibus start if available
...
IBus around version 1.5.28 introduced the `start` subcommand for `ibus`.
If available we use that because that starts `ibus-daemon` with the
correct arguments. If the available IBus version is too old we use
our previous code where we pass arguments to `ibus-daemon` which might
be different from how ibus gets started on that system otherwise.
2024-02-26 16:34:46 +01:00
Eberhard Beilharz
8e0cb667ca
fix(linux): Remove ibus-keyman.post{inst,rm}
...
This is no longer needed and might cause problems because not all the
dependencies have been necessarily set up when we try to start Keyman.
Fixes #8996 and #10478 .
2024-02-26 16:34:45 +01:00
Eberhard Beilharz
5e661c4196
fix(linux): When starting km-package-install verify that ibus-daemon is running
2024-02-26 16:34:45 +01:00
Eberhard Beilharz
131d4989ec
fix(linux): When starting km-config verify that ibus-daemon is running
2024-02-26 16:34:44 +01:00
Eberhard Beilharz
8c8d339bb1
refactor(linux): Change verify_ibus_daemon to return a state
2024-02-26 16:34:44 +01:00
Eberhard Beilharz
a46b9ee8e2
chore(linux): Update debian changelog
...
(cherry picked from commit 9408adab7035d241612f31cceac1dbad525f3088)
2024-02-26 16:14:16 +01:00
Eberhard Beilharz
9b4673e8a9
chore(linux): Update debian changelog
2024-02-26 11:16:33 +01:00
Eberhard Beilharz
1d18ed41e4
chore(linux): Fix autopkg tests
...
Recent changes removed the `km_core_context` struct which caused the
autopkg tests to fail.
2024-02-26 11:13:11 +01:00
Sabine
78c4b5897c
feat(linux): mcompile-dk disable functions to calculate capslock and set capslock =1
2024-02-26 09:13:45 +01:00
Sabine
4687fdc955
feat(linux): mcompile-dk remove numpad, special shift states, sort_dk
2024-02-26 08:59:19 +01:00
Eberhard Beilharz
bdfe60d2ee
Merge pull request #10785 from keymanapp/chore/linux/changelog
...
chore(linux): Update debian changelog
2024-02-23 12:36:54 +01:00
Eberhard Beilharz
b01a76b809
Merge pull request #10800 from keymanapp/chore/linux/lintian
...
chore(linux): Address comments from Debian mailing list
2024-02-23 09:23:58 +01:00