Eberhard Beilharz
6adfa8a9cf
fix(linux): Fix environment for Debian packages
...
When didn't set the correct environment when building Debian packages
with GitHub actions. The version information wasn't included in the
source file but instead was generated at binary package build time,
at which time not all necessary environment variables were available.
This change will create a patch file on-the-fly which gets
included in the source package that contains the correct information.
Fixes #9878 .
2023-11-02 22:18:02 +07: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
9b4ca1aebd
chore(linux): Move build steps to build.sh
...
Closes #8712 .
2023-05-30 09:25:27 +02: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
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
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
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
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
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
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
Marc Durdin
4ab3c53810
chore(common): adjust scripts for core relocation
2022-05-18 07:22:11 +10:00
Eberhard Beilharz
f19cd3f513
chore(linux): stop releasing KMFL together with Keyman
...
Fixes #6163 .
2022-01-31 19:08:14 +01: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
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
Marc Durdin
8103949bdc
chore(linux): adjust linux build scripts for rust
2021-06-02 13:51:55 +10: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
Eberhard Beilharz
63cefab0eb
chore(linux): Improve Sentry environment setting
...
When running from source we set the environment to `local` when
reporting to Sentry. This change also adds the package version and
the tier as additional Sentry tags.
This is a follow-up of PR #4581 .
2021-03-04 16:01:52 +01:00
Eberhard Beilharz
693f13a953
fix(linux): Improve fix for #3399
...
This improves the implementation for normalizing language tags
when installing a keyboard. Based on the Windows implementation
in `Keyman.System.CanonicalLanguageCodeUtils.pas`.
One difference to the Windows implementation is that the mapping of
3- to 2-letter tags is based on `langtags.json` instead of
`iso639-3.tab`.
Closes #3399 .
2021-02-03 19:08:03 +01:00
Darcy
1bf3fe936b
fix(linux): Remove version.sh
...
Remove version.sh and determine version/tier from the .md files
2020-10-09 13:55:18 +07:00
Eberhard Beilharz
ba0a329cfd
feat(linux): Use staging URLs for alpha version
2020-07-17 19:22:51 +02:00
Darcy
ce5e994211
fix(linux): Use __release_version__ for downloadkeyboard window
...
As of 14.0, `resources/build/build-utils.sh` defines the build variables:
```
```
The go/linux links need an #.# version so this PR changes from __majorversion__ to __releaseversion__.
2020-03-23 16:07:38 +07:00
Eberhard Beilharz
70472872ec
fix(linux): Fix building keyboardprocessor package
2020-03-17 16:49:45 +01:00
Darcy
b30cc5636d
change(linux): Change reconf.sh so it doesn't alter meson version
2020-03-02 08:31:49 +07: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
Marc Durdin
a9d9c35891
chore(linux): use shared version infra
2020-01-31 06:52:45 +11:00
Eberhard Beilharz
3c4ac01dd5
style(linux): normalize whitespace
2019-11-12 18:54:34 +01:00
Eberhard Beilharz
4aa2afb10c
fix(linux): Fix Linux package build
2019-11-12 08:39:30 +01:00
Eberhard Beilharz
adbf174c55
chore(linux): Allow to skip calculation of version number
...
This change allows to calculate the version number once at the
beginning and then skip the calculation when we create the source
packages for the various packages. This allows to set the version
number in Jenkins early on.
2019-11-11 15:34:38 +01:00
Eberhard Beilharz
798a638499
style(linux): normalize whitespace
2019-11-11 15:33:15 +01:00
glasseyes
35580c2241
fix majorversion
2019-01-04 10:20:03 +07:00
glasseyes
27080c08b2
set kbp version to same as rest of keyman for linux
2019-01-03 12:36:29 +07:00
glasseyes
0139f4324c
improve cleaning keyman-config
2019-01-02 13:11:31 +07:00
Daniel Glassey
e3bb055e59
Merge pull request #1360 from keymanapp/linux-keyman-config
...
[linux] use embed=linux and Linux user agent
2018-12-04 07:47:38 +07:00
Daniel Glassey
f61b39f249
Merge branch 'master' into linux-keyman-config
2018-12-03 10:06:04 +07:00
glasseyes
cb9cb6e3e2
update build scripts for jenkins for ibus-keyman
...
esp for keyman-keyboardprocessor
2018-11-30 21:21:03 +07:00
glasseyes
62573ac5f2
use new km.com/go/linux link
2018-11-30 14:16:22 +07:00
glasseyes
9dd7618e3f
put __majorversion__ into version.py
2018-11-30 09:23:21 +07:00
glasseyes
555ce09a9b
set version of keyman to ask for packages for
...
from resources/VERSION.md
it is set during make reconf
2018-11-29 13:57:24 +07:00
glasseyes
526df17fc4
update some docs for ibus-keyman
...
put autotool_projects back
2018-11-07 14:21:54 +07:00
glasseyes
c2a5969851
add KPAPI and ibus-keyman to build system
2018-11-07 14:00:53 +07:00
glasseyes
35d4e92ab0
[linux] set the version of keyman-config
2018-09-20 09:29:11 +07:00
glasseyes
aed4cf2458
[linux] versioning of reconf depending on git tags
...
and whether JENKINS is set
2018-09-20 08:58:17 +07:00
glasseyes
7fbba6036f
use date of last git commit not current date for VERSION
...
more things needed in some README.repo
cow.sh: make it compatible with xenial
set DIST for use with optional local .pbuilderrc, also in deb.sh
link linux/.pbuilderrc to ~/.pbuilderrc if it doesn't exist
2018-09-15 17:49:28 +07:00
glasseyes
c294c8d9df
move scripts to scripts dir
...
add VS code workspace for linux dir
that also includes onboard-keyman dir
fix cow.sh creation of hook scripts
2018-09-15 17:49:26 +07:00