Commit graph

184 commits

Author SHA1 Message Date
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
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
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
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
Eberhard Beilharz
52608d39b9
fix(linux): Fix uploading to launchpad
Follow-up of #5536.
2021-08-19 11:56:10 +02:00
Eberhard Beilharz
46e6d20f35
refactor(linux): Move KMFL to linux/legacy 2021-08-06 11:25:01 +02:00
Eberhard Beilharz
79f92a150c
chore(linux): Consolidate Debian source packages
This change consolidates the Debian packages into a single source
package, with the exception of the legacy KMFL packages.

Fixes #5022.
2021-08-06 11:25:00 +02:00
Eberhard Beilharz
219e304d7b
chore(linux): Remove Groovy and Impish builds
- **Groovy** is EOL
- llso is not yet capable of processing **Impish** packages because
  of an too old version of reprepro (which currently can't be updated
  because of an tool old version of the OS). Therefore Jenkins builds
  for Impish fail, so this change removes Impish from Jenkins builds.
  We continue to build for Impish on Launchpad.
2021-07-28 09:05:48 +02:00
Eberhard Beilharz
6841ffb4e2
Merge pull request #5334 from keymanapp/feat/linux/impish
feat(linux): Add support for impish (Ubuntu 21.10)
2021-06-24 09:05:10 +02:00
Eberhard Beilharz
11bac65f4d
feat(linux): Add support for impish (Ubuntu 21.10) 2021-06-22 18:40:23 +02:00
Eberhard Beilharz
55f8f0ffdc
fix(linux): don't exclude all of buildtools from source package
For auto-generating help files we need `buildtools`, so we can't
exclude it from source package. Also, we now include our version
of `help2man`, so we no longer need it as a build dependency,
but instead directly depend on `perl`.
2021-06-22 14:55:05 +02:00
Marc Durdin
2e7ec16133
Merge branch 'master' into feat/common/rust-infrastructure 2021-06-07 08:45:08 +10:00
Eberhard Beilharz
10739e653e
feat(linux): Add python3-dbus dependency 2021-06-02 19:25:04 +02:00
Eberhard Beilharz
54a62a05d7 feat(linux): Adjust package build for build.sh script
This change makes the necessary adjustments so that the package build
works with the new `build.sh` script. We no longer can rely on the
automatisms of debhelper. This change also adds a install target
to `build.sh`, and copies some files from the Keyman root directory
to the desktop directory because when package building we only
have access to the files in common/core/desktop. Along the same lines
it removes embedding `build-utils.h` from `build.sh`. Instead we set
the version and tier locally.
2021-06-02 13:52:08 +10:00
Eberhard Beilharz
92350c2f49 feat(common): Update Jenkins dependencies for Rust 2021-06-02 13:52:01 +10:00
Marc Durdin
9107658b3e fix(linux): adjust path for ninja 2021-06-02 13:51:56 +10:00
Marc Durdin
8103949bdc chore(linux): adjust linux build scripts for rust 2021-06-02 13:51:55 +10:00
Eberhard Beilharz
3ef4b99406
chore(linux): Add support for Ubuntu 21.04 (hirsute)
Closes #5021.
2021-05-05 10:49:03 +02:00
Marc Durdin
77e71df81b chore: Merge branch 'master' into chore/B14S8-beta-to-master 2021-03-22 06:16:44 +11:00
Eberhard Beilharz
16dd9f9369
chore(linux): Ignore buildtools in keyman-config tarball
`buildtools/build-langtags.py` gets executed before creating the
source tarball, so we don't need it in the source package. Excluding
it reduces confusion because the files it requires are not found
in the source package.
2021-03-15 12:44:41 +01:00
Eberhard Beilharz
9a4b9f0bca
chore(linux): Move signature files as well
This will take care of another lintian warning on Debian.
2021-03-11 17:09:19 +01:00
Marc Durdin
9f7134427b chore: merge master into branch 2021-03-09 09:33:14 +11:00
Eberhard Beilharz
337039639b
chore(linux): Force signature verification
The previous setting didn't complain if uscan didn't find a signature
which doesn't help security wise. It would still allow an attacker
to modify the source package. This change now requires a valid
signature for the source package.
2021-03-08 19:42:07 +01:00
Eberhard Beilharz
e371fcb8b8
chore(linux): Verify signed source packages 2021-03-08 19:29:27 +01:00
Eberhard Beilharz
78ecbea855
Update linux/scripts/reconf.sh
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-03-04 20:33:48 +01:00