Commit graph

250 commits

Author SHA1 Message Date
Eberhard Beilharz
46d67d944e
chore(linux): Re-enable building for Ubuntu 23.10 Mantic
Now that we have updated ibus packages in place we can re-enable building
for Mantic.

Fixes #9520 and #9398.
2023-10-17 18:48:53 +02:00
Eberhard Beilharz
3d8cf1830b
chore(linux): Add dependency to build.sh
For integration tests ibus-keyman requires keyman-system-service to
be built, so we add this as a dependency.
2023-09-21 16:11:43 +02:00
Eberhard Beilharz
3a042586ab
chore(linux): Exclude environment.sh from build
`environment.sh` is used only on Mac. This change modifies `build.sh`
to generate this file only when building on Mac. It also excludes
`environment.sh` from the Linux source tarball.
2023-09-12 18:25:52 +02:00
Eberhard Beilharz
aaef0f3c7f
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 16:18:18 +02:00
Eberhard Beilharz
ab7a1a952a chore(linux): Disable Mantic builds on Launchpad
Mantic builds currently fail because there's a newer ibus version in
the official Ubuntu repos that overrides our patched ibus version.
Ubuntu is trying to get ibus 1.5.29-beta to work so there are often
new packages. We wait until that stabilized before we're providing a
new patched ibus version at which point we can enable building for
Ubuntu 23.10 Mantic.

Closes #9428.
2023-08-08 14:02:48 +02:00
Eberhard Beilharz
b8d0777800
chore(linux): Remove package build on Jenkins for Keyman 17 2023-08-01 15:03:47 +02:00
Eberhard Beilharz
c4efba04d9
chore(linux): Don't fail on parallel builds
If another build runs on the same build agent at the same time and
installs dependencies at the same time, previously the build failed
because apt/dpkg was already running. This change checks for the
existence of the apt/dpkg lock file and waits until the other process
is finished before starting the installation of dependencies.
2023-07-31 09:54:09 +02:00
Eberhard Beilharz
b4c074ae4f
chore(linux): Fix creation of PRs after uploading to Debian 2023-07-28 08:35:52 +02:00
Eberhard Beilharz
a97a966d72
chore(linux): Update supported Ubuntu versions
- remove Ubuntu 22.10 Kinetic which is no longer supported
- add future Ubuntu 23.10 Mantic
2023-07-25 12:39:03 +02:00
Eberhard Beilharz
749112660d
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.
2023-06-05 15:24:41 +02:00
Eberhard Beilharz
9b4ca1aebd
chore(linux): Move build steps to build.sh
Closes #8712.
2023-05-30 09:25:27 +02:00
Eberhard Beilharz
ab25157364
feat(linux): Refactor to benefit from C++ RAII
Also apply changes from code review comments.
2023-05-22 19:51:45 +02:00
Eberhard Beilharz
879a34a180
feat(linux): Add package for keyman-system-service 2023-05-15 09:13:58 +02:00
Eberhard Beilharz
bd49873352
chore(linux): Fix another problem uploading to launchpad 2023-05-09 09:53:52 +02:00
Eberhard Beilharz
8520b1aaa9
chore(linux): Fix uploading to launchpad
This fixes some uninitialized variables.
2023-05-08 10:20:21 +02:00
Marc Durdin
5634843bb2 chore(linux): fixup missing parameter test 2023-05-02 12:28:25 +07:00
Marc Durdin
a1326ad47b chore(common): set -eu in build-utils.sh
Enforces -e (abort script on error) and -u (error on unset variable use)
on all scripts that source build-utils.sh. This may result in some
downstream build failures which we'll need to address before merge to
master.
2023-05-02 12:14:05 +07:00
Eberhard Beilharz
e6fc23734e
chore(linux): Build for Ubuntu 23.04 Lunar as well 2023-04-26 20:06:00 +02:00
Marc Durdin
d044b9c8ef chore(linux): include common/test/keyboards in dist.sh 2023-03-28 14:45:55 +07:00
Eberhard Beilharz
d9e0d8a802
chore(linux): Rename keyboardprocessor to Keyman Core 2023-03-08 16:52:10 +01:00
Eberhard Beilharz
794557f7d5
chore(core): Remove obsolete --target-path option
Linux package builds no longer require a different target path, so
we can remove the `--target-path` parameter.
2023-03-07 13:38:31 +01:00
Marc Durdin
af4b2536bc chore(common): remove vswhere
With #8287, we no longer use a local copy of vswhere.exe but instead
rely on a standard location for it from the Visual Studio installer.
2023-03-03 04:50:25 +07:00
Marc Durdin
b809a60936
Merge pull request #7054 from keymanapp/feature-ldml
epic: LDML keyboard support 🙀
2023-02-28 20:38:00 +11:00
Eberhard Beilharz
0ca494b267
chore(linux): Create release for source package
This sets the distribution to "unstable" instead of the default
UNRELEASED which dput doesn't look to upload.
2023-02-27 17:42:09 +01:00
Marc Durdin
38603e8421
Merge pull request #8279 from keymanapp/chore/core/cleanup-meson-build
chore(core): cleanup meson build
2023-02-23 13:28:02 +11:00
Marc Durdin
ce4adbd662 chore(linux): skip tests on core when building 2023-02-23 08:27:09 +07:00
Marc Durdin
a2ceb98948 chore: rewrite extra standard build script prolog 2023-02-23 08:09:41 +07:00
Marc Durdin
9eb472579c chore: Merge branch 'feature-ldml' into chore/merge-master-to-feature-ldml-A17S7-2 2023-02-23 08:05:31 +07:00
Marc Durdin
b968bcfdfd
Merge branch 'feature-ldml' into chore/core/cleanup-meson-build 2023-02-23 08:49:56 +11:00
Marc Durdin
03d8d7524d chore(linux): fixup core build from reconf 2023-02-22 11:13:58 +07:00
Marc Durdin
ce864ea923 chore: update standard script prolog to use builtin instead of dirname 2023-02-22 11:04:15 +07:00
Marc Durdin
463c7ff907 chore: remove greadlink from standard script prolog 2023-02-22 10:43:06 +07:00
Marc Durdin
e2b6bf99ea chore: new core build invocation in linux/scripts/build.sh 2023-02-22 09:45:36 +07: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
Marc Durdin
20cc47714e chore(core): specify --no-tests in all dependent builds 2023-02-21 12:22:00 +07:00
Eberhard Beilharz
3d06af218c
Merge pull request #8112 from keymanapp/chore/linux/5981_addBuild.sh
chore(linux): Add build.sh to ibus-keyman 🏗️
2023-02-20 15:53:59 +01:00
Eberhard Beilharz
faff48fb4c
fix(linux): Fix bug in deb-packaging script 2023-02-20 10:02:13 +01:00
Eberhard Beilharz
33ed91e970
chore(linux): Merge branch 'master' into chore/linux/5981_addBuild.sh 2023-02-20 09:54:05 +01:00
Eberhard Beilharz
a7ed7ce3c7
Merge pull request #8242 from keymanapp/chore/linux/improve-deb-upload
chore(linux): Create draft PR after updating changelog
2023-02-20 08:58:23 +01:00
Eberhard Beilharz
cb71142bdb
Merge pull request #8241 from keymanapp/chore/linux/improve_gha
chore(linux): Output results of API verification on stderr
2023-02-20 08:58:12 +01:00
Marc Durdin
a004978863 chore: use builder_heading, remove echo_heading 2023-02-20 09:17:51 +07:00
Marc Durdin
4d53a277f3 chore: use builder_die, remove fail 2023-02-20 09:15:38 +07:00
Eberhard Beilharz
696a6ec7da
chore(linux): Create draft PR after updating changelog 2023-02-16 13:10:18 +01:00
Eberhard Beilharz
3addac0a9d
chore(linux): Output results of API verification on stderr
This reduces the noise on the GHA summary page.
2023-02-16 13:05:04 +01:00
Eberhard Beilharz
2cd0ddd91e
chore(linux): Remove obsolete files
We no longer use these files, so we can remove them. Instead we
can use `checkAndInstallRequirements`.

Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-14 09:55:04 +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
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
e6300f1841
chore(linux): Address code review comments 2023-02-07 10:05:21 +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
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