Commit graph

205 commits

Author SHA1 Message Date
Marc Durdin
20cc47714e chore(core): specify --no-tests in all dependent builds 2023-02-21 12:22:00 +07: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
Eberhard Beilharz
fd4709fad4
fix(linux): Fix CI build
This fixes the build on Jenkins and TC that got broken by
including the wildcard in the quoted string (which causes it to
be interpreted literally), introduced in #8102.
2023-01-30 15:42:45 +01:00
Eberhard Beilharz
ea059df541
chore(linux): Remove legacy projects
This change removes the KMFL legacy projects. They are still
available in the stable-16 branch if we need them.

Also removed some shellcheck warnings.
2023-01-26 11:51:13 +01:00
Marc Durdin
067028cec2 chore: revise tag variable name to VERSION_GIT_TAG
Introduce new $VERSION_GIT_TAG environment variable, and update all
references to release@version in all projects to use the new variable.
2023-01-21 17:02:50 +07:00
Steven R. Loomis
015e7185a6 chore: merge master into feature-ldml 2023-01-02 13:44:21 -06:00
Eberhard Beilharz
3f03a40f10
chore(linux): Remove unused JENKINS parameter
This change removes the unused JENKINS environment variable
from `reconf.sh`. The code got refactored some time ago to use
the common scripts to retrieve the version. That made the JENKINS
variable obsolete.
2022-12-16 20:45:26 +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
Marc Durdin
25abcbc10a
Merge branch 'master' into chore/beta-to-master 2022-12-09 20:47:31 +11:00
Eberhard Beilharz
ae1c816afb
Merge pull request #7874 from keymanapp/chore/linux/shellcheckwarnings
chore(linux): Remove some shellcheck warnings
2022-12-07 09:02:48 +01:00
Eberhard Beilharz
5413247e59 chore(linux): Remove some shellcheck warnings 2022-12-06 11:28:30 +01:00
Eberhard Beilharz
353c6a066a chore(linux): Remove building for Bionic 2022-12-06 11:26:46 +01:00
Eberhard Beilharz
16c91e695a
chore(linux): Use flag for beta phase
This addresses code review comments.
2022-11-29 08:57:41 +01:00
Eberhard Beilharz
7bec18615f
chore(linux): Fix upload-to-debian script
While we're in beta phase we need to modify `changelog` in beta
branch instead of `master`.
2022-11-28 12:28:01 +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
ed3a804a7d
fix(linux): Fix upload script 2022-10-19 17:49:34 +02:00
Marc Durdin
e67b90cd83 chore(linux): missed a cd statement 2022-09-13 07:16:58 +10:00
Marc Durdin
5adac5b683 chore(linux): restore meson configure step for install 2022-09-13 06:37:58 +10:00
Marc Durdin
9be0e6f553 chore(linux): clean core and reconfigure as required 2022-09-13 06:16:07 +10:00
Marc Durdin
6987a170c0 chore(core): fixup paths for linux build 2022-09-12 17:22:21 +10:00
Marc Durdin
854ace08fc chore(linux): fix typos 2022-09-12 15:19:43 +10:00
Marc Durdin
7173715372 chore(linux): core:arch in reconf.sh also 2022-09-12 11:11:29 +10:00
Marc Durdin
85dfb95563 chore(linux): add arch param for core build 2022-09-12 10:15:25 +10:00
Marc Durdin
91d375ac81 chore(core): use builder_ for build.sh
Refactoring of build.sh to use the builder_ functions. The script should
now be a lot cleaner. Usage is available with `core/build.sh --help`

Targets are :x86, :x64, :wasm, :arch (linux/mac).

Supports additional requirements of Linux build (--target-path,
--configure).

By default will attempt to build all available targets.

Actions are: clean, configure, build, test, install, uninstall.

The install and uninstall actions only work for linux and mac targets at
present.
2022-09-12 09:56:32 +10:00
Eberhard Beilharz
fc3c991293
fix(linux): Allow downgrades for installing build deps
When install the keyman-build-deps_*.deb file it can happen that
we end up with a lower version number than what we previously
built. This change allows downgrades so that the build dependencies
can be installed.
2022-08-29 19:06:33 +02:00
Eberhard Beilharz
7d449a5534
Merge pull request #7060 from keymanapp/chore/linux/improve_include
chore(linux): Refactor `jenkins.sh`
2022-08-15 09:32:22 +02:00
Marc Durdin
139b26e4a5 chore(linux): update tar ignore for common folder 2022-08-12 11:12:27 +02:00
Marc Durdin
e30871f01e chore(linux): add common/include to further paths 2022-08-11 14:56:46 +02:00
Eberhard Beilharz
16082ff2ae
chore(linux): Refactor jenkins.sh
- use standard Keyman include scripts
- remove package build support for legacy projects
- install dependencies from `debian/control` file instead of
  maintaining a separate list
2022-08-11 12:34:33 +02:00
Eberhard Beilharz
dbca5712e7
chore(linux): Adjust Linux source package to restructured code 2022-08-09 12:08:42 +02:00
Eberhard Beilharz
ae0378a57f
chore(linux): Add code comment
Follow-up of PR #6997.
2022-07-28 09:43:25 +02:00
Eberhard Beilharz
420cc0814d
chore(linux): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-07-28 09:19:25 +02:00
Eberhard Beilharz
9232c20569
chore(linux): address review comments
This change also slightly modifies `echo_heading` and outputs a
mark. This will show to the left of the line as well as in the
scroll bar in a terminal in VSCode [[1]] and will help to find the
headings if you have a lot of output in between.

[1]:https://code.visualstudio.com/updates/v1_69#_setmark-sequence-support
2022-07-27 12:22:55 +02:00
Eberhard Beilharz
ae61410cc9
chore(linux): Add script to upload to debian
- Create and sign source package
- Upload to mentors.debian.net
- Create (and optionally push) commit with updated changelog file
  based on stable branch
- Create (and optionally push) commit with updated changelog file
  based on master branch
2022-07-26 15:39:10 +02:00
Eberhard Beilharz
a7b073d5ce
chore(linux): Add support for Ubuntu 22.10 "Kinetic Kudu"
And remove builds for outdated Impish.
2022-07-19 16:00:27 +02:00
Marc Durdin
4ab3c53810 chore(common): adjust scripts for core relocation 2022-05-18 07:22:11 +10:00
Marc Durdin
05a4c33200 chore(web): move common/core/web to common/web
Relates to #5816.

Moves folders under common/core/web to common/web:

* input-processor -> common/web/input-processor
* keyboard-processor -> common/web/keyboard-processor
* tools/recorder -> common/web/recorder
* tools/sentry-manager -> common/web/sentry-manager
* utils -> common/web/utils

Updates scripts and configuration to point to new folders.
2022-05-18 06:01:03 +10:00
Marc Durdin
af44c0687f chore(web): move web-environment to common/web 2022-05-16 08:29:46 +10:00
Eberhard Beilharz
05ffe7ebf4
chore(linux): Remove obsolete Ubuntu 21.04 Hirsute
We no longer build for Hirsute which is EOL and so no longer
available for building on ppa.
2022-02-03 10:35:06 +01:00
Eberhard Beilharz
f19cd3f513
chore(linux): stop releasing KMFL together with Keyman
Fixes #6163.
2022-01-31 19:08:14 +01:00
Eberhard Beilharz
058b73096c feat(linux): Add support for Ubuntu 22.04 Jammy
Partially implements #5032.
2021-12-11 12:00:37 +01:00
Eberhard Beilharz
5b5d466665
chore(linux): Allow to specify debian revision
This change allows to specify the debian revision when creating
source packages for Debian.
2021-12-03 18:13:38 +01:00
Eberhard Beilharz
1fd26dcf88
fix(linux): Fix debian package script 2021-09-29 12:35:19 +02:00
Eberhard Beilharz
d8ec847b6a
Merge pull request #5623 from keymanapp/chore/linux/sentry
chore(linux): Fix uploading to Sentry
2021-08-25 15:05:48 +02:00
Eberhard Beilharz
690dc81514
chore(linux): Improve debian package script
- allow to specify distribution

(cherry picked from commit aa8a0547e8)
2021-08-23 18:38:17 +02:00
Eberhard Beilharz
c3540e9f37
chore(linux): Fix uploading to Sentry
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...)
2021-08-23 16:24:13 +02:00
Eberhard Beilharz
105fe50597
fix(linux): Fix uploading to launchpad for legacy projects 2021-08-20 10:58:04 +02:00