chore(linux): stop releasing KMFL together with Keyman

Fixes #6163.
This commit is contained in:
Eberhard Beilharz 2022-01-31 19:08:14 +01:00
parent ef71f1e6d0
commit f19cd3f513
No known key found for this signature in database
GPG key ID: E9140597606020D3
12 changed files with 51 additions and 23 deletions

2
linux/Jenkinsfile vendored
View file

@ -7,5 +7,5 @@
keymanPackaging {
distributionsToPackage = 'bionic focal impish jammy'
arches = 'amd64 i386'
packagesToBuild = ['keyman', 'kmflcomp', 'libkmfl', 'ibus-kmfl']
packagesToBuild = ['keyman']
}

View file

@ -6,9 +6,9 @@
and view information about Keyman keyboard packages.
- [ibus-keyman](./ibus-keyman) - IBUS integration to use .kmp Keyman keyboards
- [core](../common/core/desktop) - common keyboardprocessor library
- [kmflcomp](./kmflcomp) - KMFL keyboard compiler
- [libkmfl](./libkmfl) - older KMFL core library
- [ibus-kmfl](./ibus-kmfl) - IBUS integration to use KMFL
- [legacy/kmflcomp](./legacy/kmflcomp) - KMFL keyboard compiler
- [legacy/libkmfl](./legacy/libkmfl) - older KMFL core library
- [legacy/ibus-kmfl](./legacy/ibus-kmfl) - IBUS integration to use KMFL
See [license information](./LICENSE.md) about licensing.

View file

@ -8,6 +8,4 @@ Thank you for installing Keyman for Linux. Whether you're a new or returning use
Keyman for Linux makes it possible to type in over 1,000 languages in any Linux application.
Keyman for Linux also supports KMFL keyboards, so your existing KMFL keyboards will continue to work.
[Click here](../start/) to get started.

View file

@ -22,8 +22,9 @@ An older version of Keyman for Linux packages is also available in any current D
## Q. What's the relationship between Keyman for Linux and KMFL?
**A.** Keyman for Linux and KMFL are released together in the Keyman
[PPA](https://en.wikipedia.org/wiki/Ubuntu#Package_Archives), but are separate. The installation
**A.** KMFL is no longer actively developed, although it can still be installed.
Both Keyman for Linux and KMFL are available in the Keyman
[PPA](https://en.wikipedia.org/wiki/Ubuntu#Package_Archives). The installation
instructions above will install Keyman, not KMFL. KMFL was developed as a black-box clone of Keyman
for Windows years ago; after Keyman was released as open source it became possible to share the
code base between Windows and Linux. Keyman for Linux is the long-term supported solution.

View file

@ -4,7 +4,7 @@ title: Keyman 15.0 for Linux Reference
## Keyman 15.0 for Linux Overview
Keyman for Linux makes it possible for you to type in over 1,000 languages on Linux.
Keyman for Linux makes it possible for you to type in over 2,000 languages on Linux.
[km-config](km-config) <br>
Keyman keyboards installation and information

View file

@ -1,6 +1,8 @@
#!/bin/bash
# Build KMFL in the required order: keyboardprocessor kmflcomp libkmfl ibus-kmfl ibus-keyman
# Build Keyman for Linux: keyboardprocessor ibus-keyman
# If BUILD_LEGACY is set instead, additionally build KMFL in the required order:
# kmflcomp libkmfl ibus-kmfl
# It must be run from the keyman/linux directory
@ -13,7 +15,10 @@ INSTALLDIR=${INSTALLDIR:-"/usr/local"}
CONFIGUREONLY=${CONFIGUREONLY:="no"}
BUILDONLY=${BUILDONLY:="no"}
legacy_projects="kmflcomp libkmfl ibus-kmfl"
legacy_projects=""
if [ -n "$BUILD_LEGACY" ]; then
legacy_projects="kmflcomp libkmfl ibus-kmfl"
fi
projects="ibus-keyman"
if [[ "${CONFIGUREONLY}" != "no" && "${BUILDONLY}" != "no" ]]; then
@ -84,11 +89,11 @@ function buildproject() {
}
for proj in $legacy_projects; do
buildproject $proj legacy/
buildproject $proj legacy/
done
for proj in $projects; do
buildproject $proj
buildproject $proj
done
if [[ "${CONFIGUREONLY}" == "no" ]]; then

View file

@ -5,16 +5,20 @@
# It must be run from the keyman/linux directory
# parameters: ./deb.sh [sourcepackage] [proj] [dist]
# parameters: [BUILD_LEGACY=1] ./deb.sh [sourcepackage] [proj] [dist]
# sourcepackage = only create Debian source package
# proj = only build for this project
# dist = only build for this distribution
# BUILD_LEGACY = also build legacy KMFL packages
set -e
all_distributions="focal"
distributions=""
all_projects="keyman kmflcomp libkmfl ibus-kmfl"
all_projects="keyman"
if [ -n "$BUILD_LEGACY" ]; then
all_projects="keyman kmflcomp libkmfl ibus-kmfl"
fi
projects=""
echo "all_distributions: ${all_distributions}"
echo "all_projects: ${all_projects}"

View file

@ -3,9 +3,10 @@
# Build dist tarballs or Debian orig tarballs
# and put them in dist/
# parameters: ./dist.sh [origdist] [proj]
# parameters: [BUILD_LEGACY=1] ./dist.sh [origdist] [proj]
# origdist = create Debian orig.tar.gz
# proj = only make tarball for this project
# BUILD_LEGACY = additionaly build legacy KMFL tarballs
set -e
@ -16,9 +17,13 @@ THIS_SCRIPT="$(greadlink -f "${BASH_SOURCE[0]}" 2>/dev/null || readlink -f "${BA
## END STANDARD BUILD SCRIPT INCLUDE
BASEDIR=$(pwd)
legacy_projects="kmflcomp libkmfl ibus-kmfl"
legacy_projects=""
extra_projects="keyman"
if [ -n "$BUILD_LEGACY" ]; then
legacy_projects="kmflcomp libkmfl ibus-kmfl"
fi
if [ "$1" == "origdist" ]; then
create_origdist=1
shift

View file

@ -1,6 +1,7 @@
#!/bin/bash
# Install keyboardprocessor, kmflcomp, libkmfl, ibus-kmfl, ibus-keyman and keyman-config
# Install keyboardprocessor, ibus-keyman and keyman-config
# If BUILD_LEGACY is set this also install kmflcomp, libkmfl, and ibus-kmfl.
# It must be run from the keyman/linux directory
@ -16,6 +17,11 @@ SUDOINSTALL=${SUDOINSTALL:-"no"}
INSTALLDIR=${INSTALLDIR:-"/usr/local"}
legacy_projects=""
if [ -n "$BUILD_LEGACY" ]; then
legacy_projects="kmflcomp libkmfl ibus-kmfl"
fi
if [[ "${SUDOINSTALL}" != "no" ]]; then
if [ "$EUID" -ne 0 ]
then
@ -51,7 +57,7 @@ cd keyboardprocessor/arch/release
ninja install
cd $BASEDIR
for proj in kmflcomp libkmfl ibus-kmfl ibus-keyman; do
for proj in ${legacy_projects} ibus-keyman; do
cd build-$proj
if [[ "${SUDOINSTALL}" == "uninstall" ]]; then
if [ ! -f Makefile ]; then

View file

@ -7,7 +7,10 @@ PROGRAM_NAME="$(basename "$0")"
. $HOME/ci-builder-scripts/bash/common.sh
init --no-package
keyman_projects="keyman kmflcomp libkmfl ibus-kmfl"
keyman_projects="keyman"
if [ -n "$BUILD_LEGACY" ]; then
keyman_projects="keyman kmflcomp libkmfl ibus-kmfl"
fi
tier="stable"

View file

@ -20,8 +20,10 @@ function checkPrerequisites() {
if [ "${PROJECT}" != "" ]; then
projects="${PROJECT}"
else
elif [ -n "${BUILD_LEGACY}" ]; then
projects="keyman kmflcomp libkmfl ibus-kmfl"
else
projects="keyman"
fi
}

View file

@ -2,7 +2,8 @@
# autoreconf autotool projects
# parameters: [JENKINS="yes"] ./reconf.sh [proj]
# parameters: [BUILD_LEGACY=1] [JENKINS="yes"] ./reconf.sh [proj]
# BUILD_LEGACY=1 to also build legacy KMFL projects
# JENKINS="yes" to set version for jenkins builds
# proj = only reconf this project
@ -16,7 +17,10 @@ THIS_SCRIPT="$(greadlink -f "${BASH_SOURCE[0]}" 2>/dev/null || readlink -f "${BA
BASEDIR="$KEYMAN_ROOT/linux"
echo "basedir is $BASEDIR"
legacy_projects="kmflcomp libkmfl ibus-kmfl"
legacy_projects=""
if [ -n "$BUILD_LEGACY" ]; then
legacy_projects="kmflcomp libkmfl ibus-kmfl"
fi
autotool_projects="ibus-keyman"
extra_projects="keyboardprocessor keyman-config"