Eberhard Beilharz
c8d3e0d55f
chore(linux): Add clean target to rules 🍒
...
This allows to completely cleanup after a package build. Also fixes
`keyman-config/build.sh` to do a better job with clean.
Fixes #9518 .
2023-08-31 17:48:56 +02:00
Eberhard Beilharz
04baf4e051
chore(linux): Remove workaround for mips64el
...
Now that Meson bug
[#12017 ](https://github.com/mesonbuild/meson/issues/12017 ) is fixed
we can revert the workaround.
This reverts commit fb571e2ed9 .
2023-08-29 11:16:25 +02:00
Eberhard Beilharz
0e74e37a7c
chore(linux): Update debian changelog
2023-07-27 16:30:20 +02:00
Eberhard Beilharz
fb571e2ed9
chore(linux): Work around build failure on Debian mips64el
2023-07-27 11:08:37 +02:00
Eberhard Beilharz
04a52e9b8e
chore(linux): Update debian changelog
2023-07-25 08:37:16 +02:00
Eberhard Beilharz
fb8ef1fc40
chore(linux): Move some files to keyman-config
...
Some of the configuration files are useful for other distributions
as well. So this change moves them out of `debian/` to
`linux/keyman-config` so that they will be included in the source
tar ball.
Also remove zero-width space from one file.
Closes #8880 .
(cherry picked from commit 749112660d )
2023-06-05 16:50:05 +02:00
Eberhard Beilharz
7a9f366c6a
chore(linux): Revert "Run and ignore autopkgtests on s390x"
...
This reverts commit 2f716b3e51 .
2023-03-24 16:06:07 +01:00
Eberhard Beilharz
2f716b3e51
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.
2023-03-22 19:30:43 +01:00
Eberhard Beilharz
b771e14de8
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 ).
2023-03-20 20:07:15 +01:00
Eberhard Beilharz
e7eb3fdf29
chore(linux): Update debian changelog
2023-03-16 08:59:16 +01:00
Eberhard Beilharz
c8a0cc4f4a
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.
(cherry picked from commit 9c1500fe57 )
2023-02-22 19:43:57 +01:00
Eberhard Beilharz
e4caf4d4f5
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>
2023-02-13 17:03:22 +01:00
Eberhard Beilharz
fbcab9afb5
fix(linux): Fix autopkgtests
2023-02-09 12:43:33 +01:00
Eberhard Beilharz
3c325fe052
Merge branch 'stable-16.0' into chore/linux/changelog
2023-02-09 08:52:31 +01:00
Eberhard Beilharz
69a4a61b55
chore(linux): Update changelog from Debian
...
This overlaps with PR #8180 , but it updates the changelog to a
patched version on Debian, so we still need this change.
2023-02-08 15:47:54 +01:00
Eberhard Beilharz
71462d9705
fix(linux): Fix autopkgtests
...
Autopkgtests couldn't find pkg-config, so this change adds that as
test dependency.
2023-02-07 11:19:55 +01:00
Eberhard Beilharz
bd977fc774
Merge pull request #8155 from keymanapp/chore/linux/changelog
...
chore(linux): Update debian changelog
2023-02-07 08:26:52 +01:00
Eberhard Beilharz
134e084b80
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.
2023-02-02 15:15:46 +01:00
Eberhard Beilharz
3baaf266fb
chore(linux): Update debian changelog
2023-02-02 10:53:26 +01:00
Jelmer Vernooij
96d361adb9
chore(linux): Include packaging path in Vcs-Git header
...
(cherry picked from commit 7a5df85722 )
2023-01-27 16:30:09 +01:00
Eberhard Beilharz
0584db39c3
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 .
2023-01-13 18:03:12 +01:00
Eberhard Beilharz
29fe7dae59
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.
2022-12-16 16:31:44 +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
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