Commit graph

1253 commits

Author SHA1 Message Date
Marc Durdin
3fd9df5277 chore(core): Merge branch 'feature-ldml' into chore/core/7247-use-builder-for-build-sh 2022-09-13 07:25:10 +10: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
74a6c65710
Merge branch 'feature-ldml' into chore/merge-master-into-feature-ldml 2022-09-12 15:24:19 +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
Marc Durdin
279960ff40
Merge pull request #7246 from keymanapp/chore/merge-master-into-feature-ldml
chore: merge master into feature-ldml 🙀
2022-09-09 07:56:57 +10:00
Marc Durdin
f836574cbc chore: use keyman.com instead of keyman-staging.com
Fixes #7227.

We want to use keyman.com for now even for alpha builds, as
keyman-staging.com is going to be used for transition to Docker-based
hosting, and it will be problematic to try and share that process with
alpha builds.
2022-09-08 14:32:39 +10:00
Eberhard Beilharz
9d1004b9ec
chore(linux): Fix ibus-keyman.postinst script
When installing ibus-keyman it could happen that we got an (ignored)
error "user name does not exist". This change tries to work around
this problem.
2022-09-02 18:05:52 +02:00
Marc Durdin
36b7dcc46a
Merge pull request #7174 from keymanapp/chore/merge-master-into-feature-ldml
chore: merge master into feature-ldml 🙀
2022-08-31 17:04:25 -05:00
Eberhard Beilharz
aa55fc2571
Merge pull request #7147 from keymanapp/fix/linux/jenkins.sh
fix(linux): Allow downgrades for installing build deps
2022-08-30 00:26:17 +02:00
Eberhard Beilharz
54a314df0e
Merge pull request #7145 from keymanapp/chore/linux/cherry-pick/changelog
chore(linux): Update debian changelog 🍒
2022-08-30 00:23:23 +02:00
Marc Durdin
655c872dc8 chore: Merge branch 'master' into chore/merge-master-feature-ldml 2022-08-30 06:31:04 +10:00
Marc Durdin
895ce930a0
Merge pull request #6993 from keymanapp/chore/core/rename-json-source
chore(core): rename json.hpp to jsonpp.hpp 🛩
2022-08-29 14:48:32 -05: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
72b9fa3d21
chore(linux): Update debian changelog
(cherry picked from commit f2b1277166)
2022-08-29 15:14:33 +02:00
Steven R. Loomis
4816e590cf feat(linux): Dockerfile for linux builder
- add Dockerfile in linux/Dockerfile, referencing linux/debian/control
- add docs in docs/build/linux-ubuntu.md

Fixes: #7102
2022-08-26 17:08:56 -05:00
Eberhard Beilharz
7169723d54
fix(linux): Remove wrong ok_for_single_backspace method
The implementation of `ok_for_single_backspace` checked the current
action_item multiple times. However, we already know that that
item is `KM_KBP_IT_BACK` because the only place this method gets
called is from the `process_backspace_action` method. So basically
this method always returns `FALSE`. "Fixing" this method to check
the next action_items makes things fail.

Removing this method since it doesn't do anything except burn
processing cycles...

Fixes #5614.
2022-08-25 18:38:06 +02:00
Marc Durdin
e6ff47f2b3 chore: Merge branch 'master' into feature-ldml 2022-08-24 04:21:21 +10: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
Steven R. Loomis
e8dff5cf4e feat(core): add event_flags to process_event #7046
- use a constant, KM_KBP_EVENT_FLAG_DEFAULT for 0
- update pascal and python
- update linux and windows
2022-08-12 09:58:58 -05: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
Marc Durdin
600f6bfec4 chore(linux): update include paths 2022-08-11 13:18:28 +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
7cf2b0c924
Merge pull request #7056 from keymanapp/chore/linux/packaging
chore(linux): Adjust Linux source package to restructured code
2022-08-09 15:42:33 +02:00
Eberhard Beilharz
e6b46485ed
Merge pull request #7051 from keymanapp/feat/linux/6955_Replace-deprecated-distutils
feat(linux): Replace deprecated distutils
2022-08-09 15:40:55 +02:00
Eberhard Beilharz
dbca5712e7
chore(linux): Adjust Linux source package to restructured code 2022-08-09 12:08:42 +02:00
Eberhard Beilharz
b1d201a3d7
feat(linux): Replace deprecated distutils
Fixes #6955
2022-08-08 16:38:35 +02:00
Eberhard Beilharz
3657219374
chore(linux): Update debian changelog
(cherry picked from commit cbb9e6537d)
2022-08-05 17:31:54 +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
c8730901dc
Merge pull request #6997 from keymanapp/chore/linux/upload-to-debian
chore(linux): Add script to upload to debian
2022-07-28 09:22:15 +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
85486144fa
chore(linux): Update debian changelog 2022-07-26 15:40:40 +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
Marc Durdin
b5bddc025f chore(core): rename json.hpp to jsonpp.hpp
The name json.hpp conflicts with the JSON for Modern C++ library that
is also used by Developer. Renames json.hpp and json.cpp to jsonpp.hpp
and jsonpp.cpp aka "JSON Pretty Printer".
2022-07-26 13:06:16 +10:00
Eberhard Beilharz
e16f4813f7
chore(linux): Update changelog
This change updates the changelog to keep it in sync with Debian
where PR #6966 got applied to the current stable version.

(cherry picked from commit c45dea856d)
2022-07-25 09:50:05 +02:00
Eberhard Beilharz
6ee11d6b9b
fix(linux): Fix build on Bionic
Python 3.6 (used in Bionic) accepts `@dbus.service.signal(BUS_NAME)`,
and it accepts the `-> None` syntax, but not both together!?
2022-07-22 09:47:37 +02:00
Eberhard Beilharz
ac763ed9bd
fix(linux): Implement refresh after keyboard installation
This will refresh the list of installed keyboards even when we
install a keyboard from a command line tool, or from a second
km-config instance.

Closes #6785.
2022-07-22 09:47:34 +02:00
Eberhard Beilharz
c060ecfec7
Merge pull request #6975 from keymanapp/chore/linux/kinetic
chore(linux): Add support for Ubuntu 22.10 "Kinetic Kudu"
2022-07-22 06:44:45 +02:00
Eberhard Beilharz
94a4e5facd
Merge pull request #6973 from keymanapp/chore/linux/changelog-master
chore(linux): Update Debian changelog 🍒
2022-07-22 06:44:28 +02:00
Eberhard Beilharz
34f29bae76
Merge pull request #6968 from keymanapp/fix/linux/6967-permissions
fix(linux): Catch PermissionError exception
2022-07-22 06:43:40 +02:00
Eberhard Beilharz
9dc56edf07
Merge pull request #6963 from keymanapp/fix/linux/6962-uninstall
fix(linux): Fix uninstallation when using fcitx5
2022-07-20 09:10:42 +02:00
Eberhard Beilharz
aa31fc4039
Merge pull request #6960 from keymanapp/fix/linux/6983-postinst
fix(linux): Another attempt at fixing postinst script
2022-07-20 09:10:18 +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