Commit graph

1210 commits

Author SHA1 Message Date
Eberhard Beilharz
acdb16fd7e
chore(linux): Update debian changelog 2022-11-10 17:37:37 +01:00
Eberhard Beilharz
3b3d4e9e7e
chore(linux): Update debian changelog 2022-11-09 18:28:38 +01:00
Eberhard Beilharz
6c31e9ed83
chore(linux): Update debian changelog 2022-09-13 11:20:37 +02:00
Eberhard Beilharz
9751ad4574
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.

(cherry picked from commit 9d1004b9ec)
2022-09-05 08:47:25 +02:00
Eberhard Beilharz
8c3d78134a
Merge pull request #7144 from keymanapp/chore/linux/changelog
chore(linux): Update debian changelog
2022-08-30 00:23:08 +02:00
Eberhard Beilharz
f2b1277166
chore(linux): Update debian changelog 2022-08-29 15:14:29 +02:00
Eberhard Beilharz
bc105a64e9
chore(linux): Add support for Ubuntu 22.10 "Kinetic Kudu"
And remove builds for outdated Impish.

(cherry picked from commit a7b073d5ce)
2022-08-29 11:54:46 +02:00
Eberhard Beilharz
1f10f6ed85
feat(linux): Replace deprecated distutils
Fixes #6955.
2022-08-08 16:47:02 +02:00
Eberhard Beilharz
cbb9e6537d
chore(linux): Update debian changelog 2022-08-05 17:31:48 +02:00
Eberhard Beilharz
b4d4b58627
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

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

(cherry picked from commits ae61410cc9,
2a55ffb024, 9232c20569,
420cc0814d, 9f7b85834a,
and ae0378a57f)
2022-07-29 09:14:40 +02:00
Eberhard Beilharz
0f36f9fb8d
chore(linux): Update debian changelog 2022-07-26 15:40:03 +02:00
Eberhard Beilharz
cc8e3bec3d
chore(linux): Remove impish, add kinetic 2022-07-25 12:04:39 +02:00
Eberhard Beilharz
c45dea856d
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.
2022-07-25 09:49:29 +02:00
Eberhard Beilharz
784a1c60ca
Merge pull request #6972 from keymanapp/chore/linux/changelog
chore(linux): Update Debian changelog
2022-07-22 06:44:15 +02:00
Eberhard Beilharz
4a8546fd70
Merge pull request #6969 from keymanapp/fix/linux/cherry-pick/6967-permissions
fix(linux): Catch PermissionError exception 🍒
2022-07-22 06:43:58 +02:00
Eberhard Beilharz
ec43b1a10c
Merge pull request #6964 from keymanapp/fix/linux/cherry-pick/6962-uninstall
fix(linux): Fix uninstallation when using fcitx5 🍒
2022-07-20 09:10:52 +02:00
Eberhard Beilharz
08dbd712b2
chore(linux): Update Debian changelog 2022-07-19 11:02:36 +02:00
Eberhard Beilharz
768e77c908
fix(linux): Catch PermissionError exception
If the user doesn't have the permission to create a directory we
now log an error.

Fixes #6967

(cherry picked from commit ee03538a99)
2022-07-18 19:09:56 +02:00
Eberhard Beilharz
9721b56fa0
fix(linux): Fix uninstallation when using fcitx5
Fixes #6962

(cherry picked from commit 28bd7d2055)
2022-07-18 15:24:31 +02:00
Eberhard Beilharz
2d36352a3e
fix(linux): Another attempt at fixing postinst script
When the installation runs from `unattended-upgrade`, `$SUDO_USER`
and `$USER` will probably not be set.

Fixes #6983

(cherry picked from commit d99265b967)
2022-07-18 10:51:43 +02:00
Eberhard Beilharz
928864fed1
fix(linux): Fix post-install script
This change fixes the ibus-keyman post install script which
previously failed if for whatever reason `SUDO_USER` is not set.

Fixes #6893

(cherry picked from commit 1f84299d08)
2022-07-05 18:17:29 +02:00
Eberhard Beilharz
1f71cb18f9
Merge pull request #6814 from keymanapp/fix/linux/6813-KeyboardInterrupt
fix(linux): Catch KeyboardInterrupt
2022-06-21 08:16:26 +02:00
Eberhard Beilharz
012526b13e
Merge pull request #6812 from keymanapp/fix/linux/6811-link
fix(linux): Deal with non-existing files
2022-06-21 08:16:09 +02:00
Eberhard Beilharz
978c24e270
fix(linux): Catch KeyboardInterrupt
When the user cancels km-config by pressing Ctrl-C we don't want
this to be reported on Sentry.

Fixes #6813.
2022-06-20 18:12:34 +02:00
Eberhard Beilharz
b837a7fb86
fix(linux): Deal with non-existing files
This change deals with files that are referenced in the keyboard
package but don't actually exist.

Fixes #6811.
2022-06-20 18:03:14 +02:00
Eberhard Beilharz
25d0336d84
chore(linux): Update Debian changelog 2022-06-20 11:29:04 +02:00
Darcy Wong
7c3de5bbc3 chore(common): Merge remote-tracking branch 'origin/beta' into chore/common/crowdin-pl 2022-05-11 14:28:50 +07:00
Darcy Wong
7773cdfe22 chore(common): Add crowdin strings for Polish 2022-05-09 12:41:36 +07:00
Darcy Wong
384f8befcb chore(common): Add crowdin strings for Italian 2022-05-09 11:04:12 +07:00
Darcy Wong
04985017ab
Merge pull request #6562 from keymanapp/chore/common/crowdin-ff-2
chore(common): Update Crowdin strings for Fula
2022-04-29 14:15:08 +07:00
Eberhard Beilharz
2d09619d51
fix(linux): Fix shared keyboard (un-)installation in Bionic
Ubuntu 18.04 Bionic comes with an older Python version (3.6) that
doesn't support the `capture_output` parameter on `subprocess.run`
which leads to a crash when installing or uninstalling keyboads to
the shared area. This change works around the problem by calling
a different method on Bionic.

Fixes #6564.
2022-04-25 18:04:30 +02:00
Darcy Wong
e3e8e63a27 chore(common): Update Crowdin strings for Fula 2022-04-25 14:34:44 +07:00
Eberhard Beilharz
3a57d3f7c4
Merge pull request #6549 from keymanapp/chore/linux/dependencies
chore(linux): Update Linux dependencies
2022-04-21 10:13:52 +02:00
Eberhard Beilharz
7790dce2b8
chore(linux): Update Linux dependencies 2022-04-20 17:00:30 +02:00
Eberhard Beilharz
acd0a252b0
chore(linux): Fix failure in Debian reproducibility testing
Debian reproducibility testing runs a slightly different package
build that seemingly doesn't set the `DEB_BUILD_MULTIARCH` variable.
This change introduces our own environment variable to detect
package builds so that we can skip the ibus-keyman integration
tests that require running an X server.
2022-04-20 16:50:38 +02:00
Eberhard Beilharz
89069efb42
chore(linux): Update changelog 2022-04-20 09:31:22 +02:00
Eberhard Beilharz
93c8de2375
Merge pull request #6530 from keymanapp/chore/linux/changelog
chore(linux): Update Debian changelog
2022-04-14 09:19:19 +02:00
Eberhard Beilharz
1cb0d48671
Merge pull request #6529 from keymanapp/chore/linux/l10n
chore(linux): Fix l10n language mappings
2022-04-14 09:13:02 +02:00
Darcy Wong
1e42d360c6
Merge pull request #6509 from keymanapp/chore/common/crowdin-pt
chore(common): Add Crowdin strings for Portuguese (pt-PT)
2022-04-14 06:11:02 +07:00
Eberhard Beilharz
6388afadce
chore(linux): Fix l10n language mappings
Also rename the .po files to match the new mappings:

- `bwr_NT.po` -> `brw_NG.po`: the language shows up as `bwr-ng` in
  Crowdin, and there's no `NT` country code.
- `ha_HG.po` -> `ha.po`: the language shows up as `ha` in Crowdin and
  there's no `HG` country code.
- `shu_latn.po` -> `shu@latin.po`: the convention seems to be to put
  the script after `@` sign.
2022-04-13 11:44:06 +02:00
Eberhard Beilharz
5eb82d70a2
Merge pull request #6522 from keymanapp/fix/linux/6256-fileVersion
fix(linux): test fileVersion during package install
2022-04-13 10:10:02 +02:00
Eberhard Beilharz
be52f79194
chore(linux): Update Debian changelog
Add an entry to match what got uploaded to Debian.
2022-04-12 15:41:52 +02:00
Eberhard Beilharz
4c1f6e7be2
fix(linux): Refactor and fix tests
- patch `is_fcitx_running()` so that tests will work without X11
- move common test code to methods
- move some tests to subtests
2022-04-12 12:09:55 +02:00
Eberhard Beilharz
ad2a6b713f
fix(linux): test fileVersion during package install
Fixes #6256
2022-04-11 18:22:46 +02:00
Eberhard Beilharz
3eb4b58a58
fix(linux): Remove tab completion warning
This is done by replacing the deprecated `imp` module.

Fixes #6227.
2022-04-11 16:30:22 +02:00
Darcy Wong
6b2a71a76e
Merge pull request #6501 from keymanapp/chore/common/crowdin-km-spacebar
chore(common): Update km strings
2022-04-11 15:12:19 +07:00
Darcy Wong
243361f052
Merge pull request #6508 from keymanapp/chore/common/crowdin-az-2
chore(common): Update Crowding strings for Azerbaijani
2022-04-11 07:42:31 +07:00
Darcy Wong
f0e41833c4 chore(common): Add Crowdin strings for Portuguese 2022-04-08 11:36:18 +07:00
Darcy Wong
8770c705cb chore(common): Update Crowding strings for Azerbaijani 2022-04-08 10:01:23 +07:00
Darcy Wong
91038ef6f2 Merge remote-tracking branch 'origin/beta' into chore/common/crowdin-km-spacebar 2022-04-08 06:28:18 +07:00