Commit graph

100 commits

Author SHA1 Message Date
Eberhard Beilharz
60a6794271
chore(linux): Remove dependency on sudo
Fixes #8468.
2023-03-28 19:34:33 +02:00
Eberhard Beilharz
4d5e3e2237
Merge pull request #8506 from keymanapp/chore/linux/cherry-pick/debian
chore(linux): Revert "Run and ignore autopkgtests on s390x" 🍒
2023-03-28 09:06:40 +02:00
Eberhard Beilharz
255fabe6fe
chore(linux): Remove python3-raven dependency
Now that we no longer support Ubuntu 18.04 Bionic we can remove
the python3-raven dependency.
2023-03-24 16:46:15 +01:00
Eberhard Beilharz
25cf7d2ed7
chore(linux): Revert "Run and ignore autopkgtests on s390x"
This reverts commit 2f716b3e51.

(cherry picked from commit 7a9f366c6a)
2023-03-24 16:16:51 +01:00
Eberhard Beilharz
468bb37ddf
chore(linux): Run and ignore autopkgtests on s390x
This change allows the autopkgtests to run on s390x architecture
but immediately exits the test with a successful return code.

(cherry picked from commit 2f716b3e51)
2023-03-22 19:35:52 +01:00
Eberhard Beilharz
27a6decec9
chore(linux): Prevent building on s390x
This reverts commit 07ae306fd4 which
got merged in PR #6500 after a discussion on the Debian mailing list.

However, Keyman currently doesn't work on s390x architecture because
we don't support big-endian (#5111). This shows in test failures during
package build (cf https://buildd.debian.org/status/fetch.php?pkg=keyman&arch=s390x&ver=16.0.138-4&stamp=1676139609&raw=0).

(cherry picked from commit b771e14de8)
2023-03-20 20:11:51 +01:00
Eberhard Beilharz
ee46f13521
chore(linux): Update debian changelog
(cherry picked from commit e7eb3fdf29)
2023-03-16 08:59:20 +01:00
Eberhard Beilharz
03bb0c5fcc
chore(core): Create both dynamic and static libs on Linux 2023-03-06 16:51:19 +01:00
Eberhard Beilharz
02b36a8d8d
Merge pull request #8294 from keymanapp/fix/linux/debian
fix(linux): Fix debian postinst script
2023-02-28 15:02:30 +01:00
Marc Durdin
34faa0216d chore(linux): disable tests for core install also 2023-02-28 14:34:57 +07:00
Marc Durdin
bf99c77b64 chore(linux): disable node-based core tests when testing during packaging 2023-02-28 11:06:13 +07:00
Marc Durdin
2edff0c212 chore(linux): disable core tests for build 2023-02-28 09:24:53 +07:00
Marc Durdin
72374c0acd chore(linux): --no-tests for packaging build 2023-02-24 07:51:08 +07:00
Eberhard Beilharz
9c1500fe57
fix(linux): Fix debian postinst script
The ibus-keyman post-installation script failed, causing the entire
installation to fail. This change removes `set -e` so that we try
to run the rest of the commands even when one command should fail.
Also accounts for ibus-daemon being started with the full path,
and start ibus-daemon with fill path as well.
2023-02-22 19:40:22 +01:00
Marc Durdin
e645b8665f chore: Merge branch 'feature-ldml' into chore/A17S7-master-to-feature-ldml
* core/build.sh -- accept feature-ldml changes (remove call to get_builder_OS)
* developer/src/kmlmc/build.sh -- delete file
*	linux/debian/rules -- accept master changes, fixup call to core/build.sh
*	linux/ibus-keyman/tests/Makefile.am -- accept master changes, fixup call to core/build.sh
*	linux/scripts/build.sh -- accept master changes, fixup call to core/build.sh
*	linux/scripts/reconf.sh -- accept master changes
2023-02-22 08:00:08 +07:00
Steven R. Loomis
bccc1e5720 Merge remote-tracking branch 'upstream/master' into chore/merge-master-20230217-epic-ldml 2023-02-17 18:52:33 -06:00
Eberhard Beilharz
958b7db068
chore(linux): Remove autotools related files 2023-02-14 09:51:46 +01:00
Eberhard Beilharz
61ba40a212
chore(linux): Refactor scripts and packaging
This change modifies the scripts and the Debian packaging to use
the meson build / build.sh script for building instead of autotools.
2023-02-14 09:42:13 +01:00
Eberhard Beilharz
72bed06042
chore(linux): Exclude autopkg tests on s390x
We don't build the binaries on s390x so it doesn't make sense trying
to run the autopkg tests on s390x. This change imports the changes
made on Debian in pkg version 16.0.138-4.

Co-authored-by: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>
(cherry picked from commit e4caf4d4f5)
2023-02-13 17:04:06 +01:00
Steven R. Loomis
db272e08e7 Merge remote-tracking branch 'upstream/master' into chore/merge-master-20230210-epic-ldml 2023-02-10 11:01:27 -06:00
Eberhard Beilharz
9bcd5225cf
fix(linux): Fix autopkgtests
(cherry picked from commit fbcab9afb5)
2023-02-09 12:44:48 +01:00
Eberhard Beilharz
31e7f646f8
chore(linux): Update changelog from Debian
(cherry picked from commit 69a4a61b55)
2023-02-08 16:03:15 +01:00
Eberhard Beilharz
096643395b
fix(linux): Fix autopkgtests
Autopkgtests couldn't find pkg-config, so this change adds that as
test dependency.

(cherry picked from commit 71462d9705)
2023-02-07 11:22:04 +01:00
Eberhard Beilharz
f2f39efb8a
Merge pull request #8156 from keymanapp/chore/linux/cherry-pick/changelog
chore(linux): Update debian changelog 🍒
2023-02-07 08:27:06 +01:00
Steven R. Loomis
ae45295dc6 Merge remote-tracking branch 'upstream/master' into chore/merge-master-a17s5-REDO-epic-ldml 2023-02-03 16:53:35 -06:00
Eberhard Beilharz
94e4f20c3c
Merge pull request #7882 from keymanapp/chore/core/mesonversion
chore(core): Update meson version
2023-02-03 07:22:10 +01:00
Eberhard Beilharz
95aa92ff9a
chore(core): Merge remote-tracking branch 'origin/master' into chore/core/mesonversion 2023-02-02 19:37:26 +01:00
Eberhard Beilharz
d1cd46be41
chore(linux): Fix lintian warnings
Also improve upload script to force push changelog branches.
Lintian v2.115 (which is run on Debian servers) still produces
pedantic warnings, but there seems to be a bug - no matter what
pattern I add to `lintian-overrides`, I can't get it to ignore
the files. The following version v2.116 has these rules built in,
so we don't need `lintian-overrides` anymore.

(cherry picked from commit 134e084b80)
2023-02-02 15:28:01 +01:00
Eberhard Beilharz
d499bd84e4
chore(linux): Update debian changelog
(cherry picked from commit 3baaf266fb)
2023-02-02 10:53:26 +01:00
Jelmer Vernooij
7a5df85722 Include packaging path in Vcs-Git header 2023-01-25 23:50:20 +00:00
Steven R. Loomis
cb75435317 Merge remote-tracking branch 'upstream/master' into chore/merge-master20230116-epic-ldml 2023-01-16 18:36:51 -06:00
Eberhard Beilharz
90d8feabe1
fix(linux): Fix crash (un-)installing shared keyboard
The reason for the crash is the missing file `dbus-launch` which
gets called when running with `sudo`. This change adds a dependency
to `dbus-x11` which provides `dbus-launch`.

Fixes #8012.

(cherry picked from commit 0584db39c3)
2023-01-13 18:03:55 +01:00
Eberhard Beilharz
5c7f8ca96d fix(linux): Fix dependency of ibus-keyman
When we added the API check we introduced a mis-spelled dependency
which lead to Keyman being uninstallable. This change fixes things.

(cherry picked from commit 29fe7dae59)
2022-12-22 14:34:33 -06:00
Eberhard Beilharz
8aa4e88a7f
fix(linux): Fix dependency of ibus-keyman
When we added the API check we introduced a mis-spelled dependency
which lead to Keyman being uninstallable. This change fixes things.

(cherry picked from commit 29fe7dae59)
2022-12-16 16:40:48 +01:00
Steven R. Loomis
bc14f18460 Merge remote-tracking branch 'origin/master' into chore/core/mergemaster4-epic-ldml 2022-12-15 17:55:13 -06:00
Eberhard Beilharz
cbe0dd944b chore(core): Update meson version
We no longer support Ubuntu 18.04 Bionic, so we can update to a newer meson
version. The oldest supported platform is now Ubuntu 20.04 Focal which
comes with Meson 0.53, so we make that the minimal required version.
2022-12-08 09:45:37 +01:00
Eberhard Beilharz
b42061a732 chore(linux): Update debian changelog
(cherry picked from commit ec46a34509)
2022-12-01 20:41:50 +01:00
Eberhard Beilharz
e834c3c467
chore(linux): Update debian changelog
(cherry picked from commit 0ecc03dbac)
2022-11-28 12:31:48 +01:00
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
Marc Durdin
7e9f9ce86f
Merge pull request #7311 from keymanapp/chore/core/epic-ldml/fixup-kmc-outfile-param-in-tests
chore(core): `kmc --outFile` to `kmc --out-file` (and `--` rider) 🙀
2022-09-20 15:03:37 +10:00