Commit graph

179 commits

Author SHA1 Message Date
Eberhard Beilharz
13700e4a9f
Merge pull request #11671 from keymanapp/chore/linux/cherry-pick/changelog
chore(linux): Update debian changelog 🍒
2024-06-14 08:32:52 +02:00
Eberhard Beilharz
e2147daac8
chore(linux): Update debian changelog
(cherry picked from commit e96becc26d)
2024-06-03 21:58:30 +02:00
Marc Durdin
1b3be1540a chore(common): update linux documentation and control for meson 1.0 2024-05-24 14:49:27 +07:00
Steven R. Loomis
a8776afac2 chore(linux): yet more updates for libkeymancore version 2024-05-08 14:51:43 -05:00
Steven R. Loomis
165bf1848f
Update linux/debian/libkeymancore2.symbols
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2024-05-08 09:08:26 -05:00
Steven R. Loomis
5e8b4a1a17 chre(linux): bump libkeymancore version
- also minor typo in docs
2024-05-07 08:55:48 -05:00
Steven R. Loomis
fbd1c0c841 chore(core): km_core_cp -> km_core_cu
- fix comment
- fix API version

Fixes: #11033

Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2024-05-06 09:54:07 -05:00
Steven R. Loomis
6706ae0957 chore(core): km_core_cp -> km_core_cu
- km_core_cp represents a 16 bit code unit, not a code point.

Fixes: #11033
2024-05-02 17:39:15 -05:00
Marc Durdin
f119682cf0
Merge branch 'master' into chore/a18s1-merge-beta-into-master 2024-05-02 14:48:58 +10:00
Eberhard Beilharz
888ec56d5a
chore(linux): Prepare for stable release
- Adjust branch name
- Update Debian standards version
- Update dependency name (`pkg-config` is deprecated and replaced by
  `pkgconf`)
2024-04-25 09:29:35 +02:00
Eberhard Beilharz
00a9335dc8
Merge pull request #11097 from keymanapp/chore/linux/cherry-pick/changelog
chore(linux): Update debian changelog 🍒
2024-04-02 08:28:12 +02:00
Darcy Wong
c8395c4598 chore(common): Merge beta to master Sprint b17s4 2024-03-28 09:54:49 +07:00
Eberhard Beilharz
a59ccfe804
chore(linux): Update debian changelog
(cherry picked from commit 0bf30d3ef9)
2024-03-27 17:15:00 +01:00
Eberhard Beilharz
0bf30d3ef9
chore(linux): Update debian changelog 2024-03-27 17:14:55 +01:00
Eberhard Beilharz
b4755c20ac
feat(linux): Add pyxdg as binary pkg dependency and to setup.py 2024-03-22 18:10:30 +01:00
Eberhard Beilharz
23a558d88e
feat(linux): Deal with temporary dbus session
When we launch dbus if it is not running, we're probably (un-)installing
keyboards for a different user. This is an unusual environment where not
everything is available, e.g. dconf-service won't be running and can't
be started because DISPLAY variable is not set. This means we can't
write gsettings values through the API. However, we can read them, and we
can write a keyfile and update the database. This is what this change
implements for the cases where we started dbus.
2024-03-22 12:54:50 +01:00
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
Darcy Wong
39b56b3e9a chore(common): Merge 'origin/master' into chore/beta-to-master-b17s3 2024-03-15 10:57:03 -05: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
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
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
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
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
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
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
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
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
7f92178b6a
chore(linux): Update debian changelog
(cherry picked from commit 1120e8a2a1)
2024-02-21 16:36:33 +01:00
Eberhard Beilharz
1120e8a2a1
chore(linux): Update debian changelog 2024-02-21 16:36:28 +01:00
Eberhard Beilharz
816734d3c0
chore(linux): Address comments from Debian mailing list
The upload of the beta version caused some comments on the [Debian Input
Method](https://lists.debian.org/debian-input-method/2024/02/msg00062.html)
mailing list. This change addresses these:

- rename libkeymancore package to include SONAME: libkeymancore1
- remove unnecessary dependency on quilt

Additionally this change sorts the build dependencies alphabetically.
2024-02-21 16:04:21 +01:00
Eberhard Beilharz
ea2536072a
chore(linux): Fix more lintian warnings 2024-02-20 14:56:11 +01:00
Eberhard Beilharz
48e418b60f
chore(linux): Update Debian control file
- update standards version
- update debhelper version to the one that Ubuntu 20.04 Focal supports
- update branch in git repo
2024-02-20 12:16:43 +01:00
Eberhard Beilharz
3ad7710216
chore(linux): Update symbols file with current version
The new API methods landed in `master` with the merge of the epic branch.
This change updates the version numbers to the current version.
2024-02-08 10:22:23 +01:00
Marc Durdin
70ba1d1c1e
Merge branch 'chore/core/10520-hide-old-action-apis' into fix/core/10582-km_core_state_get_actions-idempotency 2024-02-05 13:44:47 +11:00
Eberhard Beilharz
a5e0ce0702
chore(linux): Update debian changelog
(cherry picked from commit 8d0f102936)
2024-02-01 12:58:21 +01:00
Marc Durdin
1b88ab99be fix(core): make km_core_state_get_actions() idempotent
Fixes #10582.

Returned struct from the `km_core_state_get_actions()` API is now owned
by the state object. This is a change in API contract. The corresponding
`km_core_actions_dispose()` API has been made private, because there is
never any need for API consumers to call it. As this change is happening
in alpha, we won't bump the ABI version.

`state->app_context` is now guaranteed to be in sync with
`state->context` after `km_core_process_event()`, with the actions
struct populated at that point.

The next and final step in this refactor is to remove the actions queue
altogether from the Core and make that a kmn-only concept, but that will
wait until 18.0. The only consumers of the actions queue are the
kmn-specific interactive debugger in Keyman Developer, and kmn-specific
Input Method eXtensions in Keyman Engine for Windows.
2024-02-01 11:28:08 +07:00
Marc Durdin
f546c44048
Merge pull request #10390 from keymanapp/epic/core/9999-normalization
epic: Keyman Core normalization 🌱
2024-01-31 10:45:51 +11:00
Eberhard Beilharz
6b5b44eddd
fix(linux): Fix packaging on Ubuntu and Debian servers
When building packages warnings are treated as errors. When building on
Ubuntu and Debian servers we don't have a patched ibus version but still
want to build the packages. So this change outputs a message instead of
a warning when building packages.
2024-01-29 17:50:04 +01:00
Marc Durdin
41cc2f4d1e feat(developer): make context_get and context_length public again
Rolls back the privatisation of the km_core_context_get and
km_core_context_length APIs because the debugger uses them.
2024-01-26 06:37:09 +07:00
Eberhard Beilharz
e33d5effdd
chore(linux): Fix changelog
Should be a new version...
2024-01-24 17:42:41 +01:00
Eberhard Beilharz
052ac3eae3
chore(linux): Update changelog 2024-01-24 17:33:50 +01:00
Eberhard Beilharz
29c71253db
chore(core): Update debian package to use webkit2 4.1
Ubuntu 20.04 Focal doesn't have webkit2 4.1. The API is the same as
with 4.0, so we use that if we can't find 4.1.
2024-01-24 16:47:22 +01:00