Commit graph

58 commits

Author SHA1 Message Date
Eberhard Beilharz
9891239cf0
feat(linux): Add symbols file
Debian/lintian recommends to add a symbols file which allows to
check for API changes. The package build on Jenkins now has an
additional build step that will compare the API of the newly
built package with the committed symbols file and will fail the
build if the API changed and we didn't update the symbols file
yet. The current symbols file gets stored as build artifact, so
it can easily be copied from Jenkins.

During the build of the binary package this check is also run but
won't fail the build.
2022-11-21 12:38:23 +01:00
Eberhard Beilharz
b71f5ba143
fix(linux): Remove autom4te.cache from source package
This directory is unnecessary as it contains log files and cached
files, and it produces several lintian warnings.
2022-11-16 19:25:07 +01:00
Eberhard Beilharz
108e849459
fix(linux): Fix lintian warnings 2022-11-16 18:45:34 +01:00
Eberhard Beilharz
4f502d1024
fix(linux): set DEB_VERSION
DEB_VERSION is used to set `pkgversion` in the
`override_dh_auto_build` build step. When we moved to the
consolidated source package and thus could no longer use the
default debhelper build tools we lost the automatic setting of
DEB_VERSION, so this change adds the relevant definitions.

Fixes #7724.
2022-11-15 17:47:12 +01:00
Eberhard Beilharz
b3a20f16eb
Merge pull request #7683 from keymanapp/chore/linux/standards
chore(linux): Update Debian standards version
2022-11-11 08:25:56 +01:00
Eberhard Beilharz
26516e65d8
chore(linux): Update Debian standards version
This removes a warning on the Debian package page
(https://tracker.debian.org/pkg/keyman).
2022-11-10 18:08:23 +01:00
Eberhard Beilharz
33e59ed40e
chore(linux): Update debian changelog
(cherry picked from commit acdb16fd7e)
2022-11-10 17:42:46 +01:00
Eberhard Beilharz
38557ccb89
chore(linux): Update debian changelog
(cherry picked from commit 3b3d4e9e7e)
2022-11-09 18:32:49 +01:00
Marc Durdin
3a264bed22 chore(linux): revert folder rename 2022-10-26 12:33:12 +11:00
Marc Durdin
cc620dc067 chore(linux): rename tests to test 2022-10-26 12:30:39 +11:00
Eberhard Beilharz
f6afee246e
fix(linux): Add packaging tests
The tests in `debian/tests` build a program against libkmnkbp-dev to verify
that all headers and pkg-config are included and installed correctly.
2022-10-20 17:04:11 +02:00
Eberhard Beilharz
e6403c3092
chore(linux): Update debian changelog
(cherry picked from commit 6c31e9ed83)
2022-09-13 11:20:43 +02:00
Eberhard Beilharz
9d1004b9ec
chore(linux): Fix ibus-keyman.postinst script
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.
2022-09-02 18:05:52 +02:00
Eberhard Beilharz
72b9fa3d21
chore(linux): Update debian changelog
(cherry picked from commit f2b1277166)
2022-08-29 15:14:33 +02:00
Marc Durdin
600f6bfec4 chore(linux): update include paths 2022-08-11 13:18:28 +02:00
Eberhard Beilharz
3657219374
chore(linux): Update debian changelog
(cherry picked from commit cbb9e6537d)
2022-08-05 17:31:54 +02:00
Eberhard Beilharz
85486144fa
chore(linux): Update debian changelog 2022-07-26 15:40:40 +02:00
Eberhard Beilharz
e16f4813f7
chore(linux): Update changelog
This change updates the changelog to keep it in sync with Debian
where PR #6966 got applied to the current stable version.

(cherry picked from commit c45dea856d)
2022-07-25 09:50:05 +02:00
Eberhard Beilharz
94a4e5facd
Merge pull request #6973 from keymanapp/chore/linux/changelog-master
chore(linux): Update Debian changelog 🍒
2022-07-22 06:44:28 +02:00
Eberhard Beilharz
73ce29e0cb
chore(linux): Update Debian changelog
(cherry picked from commit 08dbd712b2)
2022-07-19 11:06:26 +02:00
Eberhard Beilharz
d99265b967
fix(linux): Another attempt at fixing postinst script
When the installation runs from `unattended-upgrade`, `$SUDO_USER`
and `$USER` will probably not be set.

Fixes #6983
2022-07-18 10:50:34 +02:00
Eberhard Beilharz
1f84299d08
fix(linux): Fix post-install script
This change fixes the ibus-keyman post install script which
previously failed if for whatever reason `SUDO_USER` is not set.

Fixes #6893
2022-07-05 18:14:53 +02:00
Marc Durdin
3321667ffa
Merge pull request #6629 from keymanapp/chore/common/move-common-core-desktop-to-core
chore(core): move common/core/desktop/ to core/ 🍏
2022-06-23 06:24:42 +10:00
Eberhard Beilharz
5f995d63ff
chore(linux): Update Debian changelog 2022-06-20 11:31:19 +02:00
Marc Durdin
d5aa61fdc0 chore(common): Merge branch 'chore/web/keyman-version-for-developer' into chore/common/move-common-core-desktop-to-core 2022-05-30 09:38:27 +10:00
Marc Durdin
4ab3c53810 chore(common): adjust scripts for core relocation 2022-05-18 07:22:11 +10:00
Eberhard Beilharz
acd0a252b0
chore(linux): Fix failure in Debian reproducibility testing
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.
2022-04-20 16:50:38 +02:00
Eberhard Beilharz
89069efb42
chore(linux): Update changelog 2022-04-20 09:31:22 +02:00
Eberhard Beilharz
be52f79194
chore(linux): Update Debian changelog
Add an entry to match what got uploaded to Debian.
2022-04-12 15:41:52 +02:00
Eberhard Beilharz
07ae306fd4
chore(linux): change to Architecture: any
As per request by Debian this changes the architecture to `any`
so that it'll try to build on all architectures.

See https://lists.debian.org/debian-input-method/2022/03/msg00095.html.
2022-04-07 17:44:00 +02:00
Eberhard Beilharz
57d770bd6c
chore(linux): Update changelog file 2022-04-07 16:34:04 +02:00
Eberhard Beilharz
2c1b155570
chore(linux): Address a few more lintian warnings 2022-03-15 15:32:10 +01:00
Eberhard Beilharz
4d0dfbe3a5
chore(linux): Update Standards-Version 2022-03-14 12:08:10 +01:00
Eberhard Beilharz
cab9ced56d
chore(linux): Update copyright 2022-03-14 12:08:09 +01:00
Eberhard Beilharz
893e088c8e
chore(linux): Update changelogs for 14.0.287 2022-03-14 10:27:55 +01:00
Eberhard Beilharz
2133e7f6ea
chore(linux): Fix previous commit 2022-03-11 09:10:10 +01:00
Eberhard Beilharz
4cad24cac3
chore(linux): Fix lintian warnings 2022-03-10 20:30:44 +01:00
Steven R. Loomis
3658efa5f1 chore(common): remove rust (for now!) 🦀
Fixes #6290
2022-02-24 17:34:23 -06:00
Eberhard Beilharz
0040373d21
feat(linux): Try to start ibus after installation
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.
2022-02-07 20:07:55 +01:00
Eberhard Beilharz
1c9f9e9cb2
chore(linux): Improve dependencies in Linux package
This will make it easier to upgrade or downgrade since all
packages will be the same version.
2022-02-03 10:09:10 +01:00
Eberhard Beilharz
50a0c0a659
Merge pull request #6133 from keymanapp/fix/linux/6119-pythonbug
chore(linux): Revert workaround for Python bug
2022-01-21 08:24:42 +01:00
Eberhard Beilharz
c04fa525fc
chore(linux): Revert workaround for Python bug
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.
2022-01-20 11:54:52 +01:00
Eberhard Beilharz
d52d2f2825
chore(linux): Update changelogs for 14.0.284 2022-01-20 10:15:17 +01:00
Eberhard Beilharz
bcf519c1b1
chore(linux): Add metadata file for packaging 2022-01-19 12:15:55 +01:00
Eberhard Beilharz
10e169739d
fix(linux): Add workaround for Python bug
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.
2022-01-18 17:49:09 +01:00
Eberhard Beilharz
0b32e470dd
fix(linux): Update minimum sentry-sdk version
This is a follow-up for #5325.
2022-01-11 14:35:35 +01:00
Eberhard Beilharz
2f7fafd0f3 fix(linux): Fix package description
Also improve wording for Debian packages.

Fixes #5940.
2021-12-15 11:32:30 +01:00
Eberhard Beilharz
2479b4a461
chore(linux): Update changelogs for 14.0.283 2021-12-03 18:12:44 +01:00
Eberhard Beilharz
f1dcb71127
chore(linux): Run ibus-keyman tests as part of build
Part of #5613.
2021-11-22 15:40:37 +01:00
Eberhard Beilharz
2caaffd4e5
chore(linux): Fix build
# Keyman Conventional Commit suggestions:
# - Consider appending the text ". Fixes #5613" to your commit message.
2021-11-05 12:00:37 +01:00