Commit graph

835 commits

Author SHA1 Message Date
Eberhard Beilharz
bf9f280132
chore(linux): Allow to push to the keyman-beta ppa
Also use new `alpha` ppa instead of previous `daily`.

(cherry picked from commit eb4fc04b9e)
2021-01-15 16:13:01 +01:00
Eberhard Beilharz
9dfbae2a0e
chore(linux): Refactor debian.sh and launchpad.sh scripts
Move common code into `package-build.inc.sh` script.
2021-01-12 11:45:15 +01:00
Eberhard Beilharz
8fa11bab4b
chore(linux): Omit confusing values from gbp.conf
This change omits two confusing values from the gbp.conf files
that we set to what is already the default. Since mentioning the
`master` branch is confusing when this appears in the upstream
repo, we omit theses values.
2021-01-12 11:17:35 +01:00
Eberhard Beilharz
3fc8dec43b
chore(linux): Remove Xenial from docs 2021-01-08 16:14:34 +01:00
Eberhard Beilharz
e63c0a475f
chore(linux): Cleanup after code review 2021-01-08 16:13:21 +01:00
Eberhard Beilharz
f6b24be41a
chore(linux): Reduce size of icon
The icon doesn't need to have metadata embedded which reduces the
file size.
2021-01-07 18:19:05 +01:00
Eberhard Beilharz
df3ce86743
chore(linux): Remove support Xenial
Official support for Ubuntu 16.04 Xenial ends in April 2021. This
change removes Xenial from the list of dists to build since several
packages are not available in the versions we need.
2021-01-07 17:41:01 +01:00
Eberhard Beilharz
56239b8824
chore(linux): Remove some lintian warnings and errors 2021-01-07 17:41:01 +01:00
Eberhard Beilharz
3e07f5ec04
chore(linux): update debian metadata based on Debian repos
The packages in the official Debian repos have slightly more
up-to-date metadata. This change adjusts our metadata.

This includes the change from Debian repo to let debhelper (>= 10.3)
handle the meson build of keyman-keyboardprocessor.
2021-01-07 17:41:01 +01:00
Eberhard Beilharz
0a8a8dce90
chore(linux): Add script to create debian source package 2021-01-07 17:41:00 +01:00
Eberhard Beilharz
733ada2d6b
feat(linux): Rename onboard package
This change implements the Keyman part of #3966. The `keyman`
package now recommends the installation of `onboard-keyman` instead
of `onboard`.
2020-12-02 11:52:48 +01:00
Darcy Wong
7aa7a9d921 chore(linux/resources): Cleanup formatting in history.md 2020-11-27 13:30:20 +07:00
Eberhard Beilharz
27e4addf4a
Merge pull request #3915 from keymanapp/bug/linux/install-3902
fix(linux): Don't fail installation if restarting ibus fails
2020-11-23 16:03:40 +01:00
Eberhard Beilharz
0a36a484d4
fix(linux): Deal with multiple users running ibus-daemon
If there are multiple users running `ibus-daemon` processes on the
machine, we restart ibus for all of them.
2020-11-20 18:39:48 +01:00
Eberhard Beilharz
cc7cbeb8fd
fix(linux): Don't fail installation if restarting ibus fails
If (re-)starting ibus fails for whatever reason we should simply
ignore the failure instead of failing the entire installation/
uninstallation.

This fixes #3902.
2020-11-20 17:20:05 +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
454ac0695e
chore(linux): Update .pbuilderrc 2020-11-17 16:55:46 +01:00
Eberhard Beilharz
22200e3867
chore(linux): Add support for Groovy to build scripts 2020-11-17 16:52:19 +01:00
Eberhard Beilharz
2ad53adf33
chore(linux): Additionally build packages for Ubuntu 20.10 (Groovy) 2020-11-17 15:21:00 +01:00
Eberhard Beilharz
2d7716d499
fix(linux): Fix/improve previous commits 2020-11-17 12:10:27 +01:00
Darcy Wong
3253af2fe8 fix(linux): Fix keyman_config-*.tar.gaz artifact name 2020-10-10 21:24:51 +07:00
Darcy
c64d8abcbb chore(linux): Update launchpad to use TIER.md 2020-10-09 13:58:15 +07: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
Darcy Wong
9bcb343e03
Merge pull request #3593 from keymanapp/fix/linux/json-decoder
fix(linux/config): Catch if kmp.json is invalid JSON
2020-09-18 11:42:11 +07:00
Darcy
673c5dbfb1 chore(linux/config): Update .pot file again 2020-09-18 11:24:44 +07:00
Darcy
07d18fa63a chore(linux/config): Tweak error message about keyboard being damaged 2020-09-18 11:19:16 +07:00
Darcy
ca26715549 chore(linux/config): Update .pot file 2020-09-18 11:01:53 +07:00
Darcy
f95acb6b98 fix(linux/config): Display dialog when metadata is invalid 2020-09-18 11:00:49 +07:00
Darcy
5ff61520e6 fix(linux/config): Catch if kmp.json is invalid JSON 2020-09-17 14:02:48 +07:00
Darcy
a409bfd791 fix(linux/config): Check if file exists before creating hard link 2020-09-17 12:57:55 +07:00
Eberhard Beilharz
b6b9b5de46
fix(linux): Improve robustness when installing ibus-keyman
If for whatever reason ibus wasn't running for the current user
the installation failed previously, leaving the user in a broken
state until he reboots and tries the installation again. This change
detects this situation and skips restarting ibus.
2020-08-28 11:00:39 +02:00
Eberhard Beilharz
f475c01183
feat(linux): Update package dependencies
Trying to build the package on Ubuntu 20.04 Focal revealed some
missing dependencies.
2020-08-25 12:03:15 +02:00
Eberhard Beilharz
21bc98a744
chore(linux): Fix typo in license file 2020-08-25 12:01:50 +02:00
Eberhard Beilharz
a69a48ddce
fix(linux): Add missing Python dependencies
Previously these dependencies were defined in setup.py, but now
that we don't use setup.py during packaging we have to define them
as build dependencies in `control`, otherwise the package build
will show missing module errors on Sentry.
2020-08-24 20:03:18 +02:00
Eberhard Beilharz
6181479f2b
fix(linux): Add Sentry dependency to setup.py 2020-08-24 19:49:00 +02:00
Eberhard Beilharz
b6fbf29c2f
fix(linux): Fix dependencies for Sentry error reporting 2020-08-24 19:45:26 +02:00
Eberhard Beilharz
701680534e
fix(linux): Fix license file 2020-08-24 19:31:18 +02:00
Eberhard Beilharz
55e6ab117e
fix(linux): Fix makefile 2020-08-24 19:31:18 +02:00
Eberhard Beilharz
55125650fd
feat(linux): Package localizations
This change adds the localization files to the debian package. It
also updates the path to the localization files so that the installed
files will be found.
2020-08-24 19:31:18 +02:00
Eberhard Beilharz
3e5c0aefac
Merge pull request #3495 from keymanapp/feat/linux/terminology
feat(linux): Small UI improvements
2020-08-24 10:36:48 +02:00
Eberhard Beilharz
1c8da049ab
feat(linux): Small UI improvements
- Remove "package" from the tooltips text since that might be
  confusing to users.
- Also make title of Welcome (Help) dialog optionally say "installed"
  instead of always so that we open that dialog via the Help button
  we just display the keyboard name.
- Refactor Keyboard Details dialog to remove an unnecessary box.
- Add padding after keyboard details in Keyboard Details dialog.
2020-08-20 15:22:50 +02:00
Eberhard Beilharz
678a5c0273
feat(linux): Add link to share online
This change modifies the displayed QR code and its text to closer
match the way things are on Windows, i.e. display a hyperlink
instead of just the text to share online.
2020-08-20 14:58:15 +02:00
Eberhard Beilharz
5799460cad
feat(linux): Clarify readme
Clarify the steps that are not necessary when using Crowdin.
2020-08-20 11:04:26 +02:00
Eberhard Beilharz
2f4c0b0a4b
feat(linux): Don't ignore .po files
Eventually we want to commit the .po files downloaded from
Crowdin.
2020-08-20 10:59:59 +02:00
Eberhard Beilharz
11f018366b
feat(linux): Add i18n for Linux 2020-08-19 19:22:33 +02:00
Eberhard Beilharz
d331518805
Merge pull request #3408 from keymanapp/feat/linux/issue3399
fix(linux): Lookup language tag from keyboard
2020-08-17 16:11:41 +02:00
Eberhard Beilharz
536b074937
chore(linux): Add TODO comment
This should be properly implemented and fixed based on langtags.json
once the algorithm is implemented for Windows.
2020-08-17 16:00:38 +02:00
Eberhard Beilharz
d9c71574f4
chore(linux): Merge branch 'master' into feat/linux/staging-hosts
# Conflicts:
#	linux/keyman-config/keyman_config/__init__.py
2020-08-13 15:49:48 +02:00