When installing ibus-keyman it could happen that we got an (ignored)
error "user name does not exist". This change tries to work around
this problem.
(cherry picked from commit 9d1004b9ec)
When the installation runs from `unattended-upgrade`, `$SUDO_USER`
and `$USER` will probably not be set.
Fixes#6983
(cherry picked from commit d99265b967)
This change fixes the ibus-keyman post install script which
previously failed if for whatever reason `SUDO_USER` is not set.
Fixes#6893
(cherry picked from commit 1f84299d08)
Debian reproducibility testing runs a slightly different package
build that seemingly doesn't set the `DEB_BUILD_MULTIARCH` variable.
This change introduces our own environment variable to detect
package builds so that we can skip the ibus-keyman integration
tests that require running an X server.
This change deals with restarting ibus in the post-install script.
Also, on Ubuntu 21.10 Impish there are two `ibus-daemon` processes
running for the current user. One of them has the `--xim` flag
and is the one we care about. This change improves the detection
that ibus is running in the post installation script.
A new version of python3-requests-cache is now available in
Debian and Ubuntu that fixes the bug, so we can revert the
workaround.
This reverts commit 10e169739d.
This works around a Python bug introduced in Python 3.10.2 and
3.9.10 (https://github.com/python-attrs/cattrs/issues/206).
This change should be reverted once that bug is fixed and new
Python packages are available in Debian/Ubuntu.
Fixes#6119.
This updates the changelog files to match what got uploaded into
Debian unstable (sid).
(cherry picked from commit b531ea187c)
# Conflicts:
# common/core/desktop/debian/changelog
# linux/debian/changelog
# linux/ibus-keyman/debian/changelog
km-config provides a .desktop file that allows the user to start
the configuration app like any other app. Unfortunately, a recent
change that improved the consistency of the manual pages broke
that because the .desktop file used to call km-config with the
parameter `-i` (plus file if given). With the recent change `-i`
now requires a filename, which caused `km-config` to output an error
and quit. For the user this looked like it didn't do anything.
This change adds the file/url as a new optional positional parameter
while keeping the existing `-i`/`--install` parameter.
On local builds we shouldn't upload errors to Sentry. The
`build-utils.sh` script sets the `UPLOAD_SENTRY` environment variable
for that purpose. Also, Sentry doesn't like having an empty string
as pkgversion (which should no longer happen with the rest of this
change, but...)
This change adds a virtual package `keyman-engine` which ibus-keyman
provides. keyman-config can then depend on this virtual package.
This allows to use fcitx instead of ibus if the fcitx-keyman package
provides that virtual package as well.