Commit graph

58 commits

Author SHA1 Message Date
Eberhard Beilharz
7102bed1e5
maint(linux): remove EOL Ubuntu 25.04 Plucky
Support for Ubuntu 25.04 Plucky ends on 15th January 2026 after which
it is no longer possible to upload and build on Launchpad. This change
removes Plucky.

Fixes: #14955
Test-bot: skip
2026-01-13 18:04:57 +01:00
Eberhard Beilharz
e56619911d
chore(linux): add support for Ubuntu 26.04 LTS Resolute
Build-bot: skip
Test-bot: skip
2025-11-11 11:28:20 +01:00
Eberhard Beilharz
f9c23a5fba
refactor(linux): clarify missing quotes around ${SIM}
Addresses code review comment.
2025-08-28 17:18:15 +02:00
Eberhard Beilharz
3c4264387c
refactor(linux): allow to run launchpad.sh from any directory
Previously the assumption was that `launchpad.sh` would be run from the
`linux` directory. This change sets the directory at the beginning of
the script, allowing it to be run from any directory. Also specify full
path to `launchpad.sh` in the TC build script.

Build-bot: skip
Test-bot: skip
2025-08-20 17:53:57 +02:00
Eberhard Beilharz
5efab30415
refactor(linux): remove shellcheck warnings and reformat
Build-bot: skip
Test-bot: skip
2025-08-20 17:14:35 +02:00
Marc Durdin
f394245636 maint(common): consolidate builder scripts
Clarifies the confusing builder.inc.sh / build-utils.sh distinction by
giving the scripts more appropriate names. Most build scripts should use
builder-full.inc.sh; some helper scripts can use builder-basic.inc.sh.
Documented in resources/build/README.md.

Renames:
* resources/build/builder.inc.sh to resources/build/builder-full.inc.sh
* resources/build/build-utils.sh to resources/build/builder-basic.inc.sh

Other changes:
* Moves Android-specific functions out of builder-basic.inc.sh and into
  android/build.sh.
* Renames functions in builder-basic.inc.sh

More functions may be moved from builder-basic.inc.sh into utils.inc.sh
or other scripts in the future.

Fixes: #14065
Build-bot: build all
Test-bot: skip
2025-08-02 08:11:24 +10:00
Eberhard Beilharz
169490e3fa
maint(linux): remove Oracular from launchpad builds
Ubuntu 24.10 Oracular is EOL, so we remove it from our launchpad builds.

Test-bot: skip
2025-07-09 11:21:00 +02:00
Eberhard Beilharz
2ff91ea0c5
maint(linux): add Questing to launchpad package builds
This adds the next Ubuntu version, 25.10 Questing Quokka to the launchpad
package builds.
2025-05-14 10:49:23 +02:00
Eberhard Beilharz
4d81589f48
maint(common): use unique names for Keyman version variables
Previously the builder scripts defined a readonly `VERSION` environment
variable for the Keyman version. That caused problems when another
(external) script tried to define a `VERSION` variable. We encountered
this problem when trying to move the TC build steps of a configuration
into a single script (#13399) when we tried to source `~/.nvm/nvm.sh`.

This change uses a Keyman specific prefix for the version variables and
renames `VERSION` → `KEYMAN_VERSION` etc. Unfortunately these variables
are used in a lot of places, so this turned out to be a bit of a yak
shave.

Test-bot: skip
2025-05-07 18:46:51 +02:00
Eberhard Beilharz
f2747be553
chore(linux): remove support of Ubuntu 20.04 Focal
Ubuntu 20.04 Focal will reach EOL in April and GitHub removes the
runner images, so we no longer will be able to build packages for Focal.
2025-02-11 19:25:04 +01:00
Eberhard Beilharz
f6b8ce010a
chore(linux): add support for Ubuntu 25.04 Plucky Puffin
With this change we will also build and provide binaries on Launchpad
for the next Ubuntu release, 25.04 Plucky Puffin.
2024-11-04 18:21:45 +01:00
Eberhard Beilharz
484f596239
chore(linux): remove Ubuntu Mantic, add Oracular
Ubuntu 23.10 Mantic is EOL, Ubuntu 24.10 Oracular will be the next
release.
2024-07-24 09:49:57 +02:00
Eberhard Beilharz
325ab78881
chore(linux): Replace Lunar with Noble
This change removes Ubuntu 23.04 Lunar and adds support for
Ubuntu 24.04 Noble.
2024-01-30 15:40:41 +01:00
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
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
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
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
Eberhard Beilharz
e6fc23734e
chore(linux): Build for Ubuntu 23.04 Lunar as well 2023-04-26 20:06:00 +02: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
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
353c6a066a chore(linux): Remove building for Bionic 2022-12-06 11:26:46 +01: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
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
058b73096c feat(linux): Add support for Ubuntu 22.04 Jammy
Partially implements #5032.
2021-12-11 12:00:37 +01: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
11bac65f4d
feat(linux): Add support for impish (Ubuntu 21.10) 2021-06-22 18:40:23 +02:00
Eberhard Beilharz
3ef4b99406
chore(linux): Add support for Ubuntu 21.04 (hirsute)
Closes #5021.
2021-05-05 10:49:03 +02:00
Eberhard Beilharz
33bf5750b0
fix(linux): Improve version number
This change modifies the reported version number for km-config:
if km-config is installed from a debian package, the package
version will be output as well, e.g.:
`km-config version 14.0.252-beta (package version 14.0.252-1+bionic1)`

Otherwise the output will be identical to before:
`km-config version 14.0.252-beta-local`.

This change also modifies the script that sets the version number so
that builds on Jenkins are now detected in addition to TC.

This fixes #4579.
2021-03-03 20:01:34 +01:00
Eberhard Beilharz
6b999bc911
chore(linux): Update debian metadata based on Debian repos
This is a cherry-pick of PR#4223:

- Add script to create debian source package
- Update debian metadata based on Debian repos
- Remove some lintian warnings and errors
- Remove support Xenial
- Reduce size of icon
- Omit confusing values from gbp.conf
2021-01-12 18:38:18 +01:00
Eberhard Beilharz
eb4fc04b9e
chore(linux): Allow to push to the keyman-beta ppa
Also use new `alpha` ppa instead of previous `daily`.
2021-01-04 16:54:37 +01:00
Eberhard Beilharz
cf515cefdf
chore(linux): Fix launchpad build (closes #3875)
This change fixes the launchpad build script and also improves
updating the watch file.

If we use the variables that uscan provides we don't have to
hard-code the package name in the watch file. This makes it possible
to use a generic one for all packages.
2020-11-20 12:15:22 +01:00
Eberhard Beilharz
c722e137df
Merge pull request #3686 from keymanapp/fix/linux/reconf
fix(linux): Remove version.sh and get tier/version from .md files
2020-11-19 08:19:08 +01:00
Eberhard Beilharz
63aa709e37
chore(linux): Remove building Xenial on Launchpad
Xenial is missing some dependencies. This causes the Launchpad builds
to fail. On Jenkins we skip the package builds with missing
dependencies in our build scripts, but we don't have that option on
Launchpad. Therefore we remove Xenial from the list of distros to
build.
2020-11-18 17:59:27 +01:00
Eberhard Beilharz
22200e3867
chore(linux): Add support for Groovy to build scripts 2020-11-17 16:52:19 +01:00
Darcy
c64d8abcbb chore(linux): Update launchpad to use TIER.md 2020-10-09 13:58:15 +07:00
Eberhard Beilharz
00d76290f9
feat(linux): Add focal for launchpad 2020-03-17 17:00:55 +01:00
Darcy
5fb69a497b chore(linux): Update references from keyboardprocessor to desktop 2020-02-26 16:40:20 +07:00
Darcy
a071b51a53 chore(linux): Update linux references from engine to core 2020-02-26 13:58:28 +07:00
Darcy
0770fe5bc4 fix(linux): Use TIER.md or environment var to set tier
Determine tier from `TIER.md` or environment variable `${TIER}`.

Use sed to replace any previously set tier in the watch files.
2020-02-17 13:46:30 +07:00
Darcy
f965cbc092 change(linux): Replace tier in debian/watch files 2020-02-17 12:02:47 +07:00
Darcy Wong
a3ff9d10d1 fix(linux): Add eoan 2020-02-03 19:20:23 +07:00
Darcy Wong
70e0f9308a fix(linux): Remove one more reference to disco 2020-02-03 15:10:25 +07:00
Darcy Wong
bdd1244860 fix(linux): Remove cosmic distribution
18.10 was end-of-life July 18, 2019 and launchpad is rejecting any further package updates for that version.
2020-02-03 14:16:33 +07:00
Darcy
b7bc9543c6 fix(linux): Update launchpad PPA link
Update launchpad.sh so that `${tier}` corresponds to the ppa link:
`stable` --> ppa:keymanapp/keyman
others --> ppa:keymanapp/keyman-daily
 ppa depends on the `${tier}`.
2020-01-30 11:57:10 +07:00
Darcy Wong
da94befcfb Update launchpad to watch stable tier
In preparation for Keyman for Linux 11 stable release
2019-02-20 09:00:23 +07:00
glasseyes
71cd012b4a comment about updating tier in launchpad.sh 2019-01-03 16:25:03 +07:00
glasseyes
50c325b0ad ignore alphas in d/watch
set tier for launchpad.sh to get SHA256SUMS from right place
2019-01-03 12:57:02 +07:00
glasseyes
c110d21cc1 specify PACKAGEVERSION to launchpad script 2019-01-03 11:10:28 +07:00