mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
chore(linux): Move some files to keyman-config
Some of the configuration files are useful for other distributions
as well. So this change moves them out of `debian/` to
`linux/keyman-config` so that they will be included in the source
tar ball.
Also remove zero-width space from one file.
Closes #8880.
(cherry picked from commit 749112660d)
This commit is contained in:
parent
acb170b6e6
commit
fb8ef1fc40
12 changed files with 38 additions and 37 deletions
|
|
@ -14,8 +14,8 @@
|
|||
<p>
|
||||
Keyman makes it possible for you to type in over 2,000 languages on Windows, macOS, Linux,
|
||||
iPhone, iPad, Android tablets and phones, and even instantly in your web browser. With the
|
||||
world’s most powerful keyboarding engine, intuitive and rapid text input is now possible in
|
||||
your language, and for over 99% of the global population’s mother tongues!
|
||||
world's most powerful keyboarding engine, intuitive and rapid text input is now possible in
|
||||
your language, and for over 99% of the global population's mother tongues!
|
||||
</p>
|
||||
<p>
|
||||
Originally created in 1993 to type Lao on Windows, Keyman is now a free and
|
||||
|
|
@ -40,7 +40,7 @@ and mobile platforms.
|
|||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<caption>The Keyman for Linux configuration window with a keyboard welcome window.</caption>
|
||||
<image type="source" width="920" height="518">https://keyman.com/go/linux/11.0/linux-configuration.png</image>
|
||||
<image type="source" width="920" height="518">https://keyman.com/go/linux/17.0/linux-configuration.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,39 +1,39 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="inputmethod">
|
||||
<id>com.keyman.ibus_keyman</id>
|
||||
<metadata_license>MIT</metadata_license>
|
||||
<id>com.keyman.ibus_keyman</id>
|
||||
<metadata_license>MIT</metadata_license>
|
||||
<project_license>GPL-2+</project_license>
|
||||
<project_group>Keyman</project_group>
|
||||
<developer_name>SIL International</developer_name>
|
||||
<icon type="remote" width="96" height="96">https://keyman.com/cdn/dev/img/keyman-logo.png</icon>
|
||||
|
||||
<name>ibus-keyman</name>
|
||||
<summary>Keyman input method for IBus</summary>
|
||||
<description>
|
||||
<p>
|
||||
This input method provides the Keyman IM engine for IBus. With this module, you can
|
||||
use keyboard layouts designed for Keyman under the IBus platform.
|
||||
</p>
|
||||
<name>ibus-keyman</name>
|
||||
<summary>Keyman input method for IBus</summary>
|
||||
<description>
|
||||
<p>
|
||||
Originally created in 1993 to type Lao on Windows, Keyman is now a free and
|
||||
open source keyboarding platform which allows anyone to write a keyboard layout
|
||||
for their language. Keyman is available for many platforms, including Windows,
|
||||
macOS, iOS, Android, Linux and the web.
|
||||
This input method provides the Keyman IM engine for IBus. With this module, you can
|
||||
use keyboard layouts designed for Keyman under the IBus platform.
|
||||
</p>
|
||||
<p>
|
||||
Originally created in 1993 to type Lao on Windows, Keyman is now a free and
|
||||
open source keyboarding platform which allows anyone to write a keyboard layout
|
||||
for their language. Keyman is available for many platforms, including Windows,
|
||||
macOS, iOS, Android, Linux and the web.
|
||||
</p>
|
||||
<p>
|
||||
Keyboard layouts are defined with a clear and easy to understand keyboard
|
||||
grammar. Keyman's contextual input model means keyboard layouts can be
|
||||
intelligent and make it simple to type even the most complex languages.
|
||||
Keyboard layouts are distributed through an open catalog to all major desktop
|
||||
and mobile platforms.
|
||||
</p>
|
||||
<p>
|
||||
Input methods are typing systems allowing users to input complex languages.
|
||||
</p>
|
||||
<p>
|
||||
Keyboard layouts are defined with a clear and easy to understand keyboard
|
||||
grammar. Keyman's contextual input model means keyboard layouts can be
|
||||
intelligent and make it simple to type even the most complex languages.
|
||||
Keyboard layouts are distributed through an open catalog to all major desktop
|
||||
and mobile platforms.
|
||||
</p>
|
||||
<p>
|
||||
Input methods are typing systems allowing users to input complex languages.
|
||||
</p>
|
||||
</description>
|
||||
</description>
|
||||
<url type="homepage">https://keyman.com/linux/</url>
|
||||
<url type="bugtracker">https://github.com/keymanapp/keyman/issues</url>
|
||||
<url type="help">https://help.keyman.com/</url>
|
||||
<url type="faq">https://community.software.sil.org/c/keyman</url>
|
||||
<url type="donation">https://donate.keyman.com/</url>
|
||||
</component>
|
||||
</component>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
linux/keyman-config/com.keyman.gschema.xml usr/share/glib-2.0/schemas/
|
||||
linux/keyman-config/icons/128/km-config.png usr/share/icons/hicolor/128x128/apps/
|
||||
linux/keyman-config/icons/16/application-x-kmp.png usr/share/icons/hicolor/16x16/mimetypes/
|
||||
linux/keyman-config/icons/24/application-x-kmp.png usr/share/icons/hicolor/24x24/mimetypes/
|
||||
|
|
@ -10,5 +9,6 @@ linux/keyman-config/icons/48/km-config.png usr/share/icons/hicolor/48x48/apps/
|
|||
linux/keyman-config/icons/64/application-x-kmp.png usr/share/icons/hicolor/64x64/mimetypes/
|
||||
linux/keyman-config/icons/64/km-config.png usr/share/icons/hicolor/64x64/apps/
|
||||
linux/keyman-config/keyman_config/icons/* usr/share/keyman/icons/
|
||||
linux/keyman-config/km-config.desktop usr/share/applications
|
||||
linux/keyman-config/resources/com.keyman.gschema.xml usr/share/glib-2.0/schemas/
|
||||
linux/keyman-config/resources/km-config.desktop usr/share/applications
|
||||
debian/com.keyman.config.appdata.xml usr/share/metainfo
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ override_dh_auto_configure:
|
|||
# keyman-config
|
||||
|
||||
override_dh_auto_build:
|
||||
cp linux/keyman-config/resources/keyman.sharedmimeinfo debian/
|
||||
# keymankeyboardprocessor
|
||||
cd core && ./build.sh build
|
||||
# ibus-keyman
|
||||
|
|
|
|||
|
|
@ -51,9 +51,9 @@ TEMP_DATA_DIR=$(mktemp --directory)
|
|||
SCHEMA_DIR=$TEMP_DATA_DIR/glib-2.0/schemas
|
||||
export XDG_DATA_DIRS=$TEMP_DATA_DIR:$XDG_DATA_DIRS
|
||||
|
||||
mkdir -p $SCHEMA_DIR
|
||||
cp $SRCDIR/../keyman-config/com.keyman.gschema.xml $SCHEMA_DIR/
|
||||
glib-compile-schemas $SCHEMA_DIR
|
||||
mkdir -p "$SCHEMA_DIR"
|
||||
cp "$SRCDIR/../keyman-config/resources/com.keyman.gschema.xml" "$SCHEMA_DIR/"
|
||||
glib-compile-schemas "$SCHEMA_DIR"
|
||||
|
||||
export GSETTINGS_BACKEND=memory
|
||||
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ function run_tests() {
|
|||
export XDG_DATA_DIRS=$TEMP_DATA_DIR:$XDG_DATA_DIRS
|
||||
|
||||
mkdir -p $SCHEMA_DIR
|
||||
cp ${TOP_SRCDIR}/../keyman-config/com.keyman.gschema.xml $SCHEMA_DIR/
|
||||
cp ${TOP_SRCDIR}/../keyman-config/resources/com.keyman.gschema.xml $SCHEMA_DIR/
|
||||
glib-compile-schemas $SCHEMA_DIR
|
||||
|
||||
if [ $# -gt 0 ]; then
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@ recursive-include keyman_config/icons *
|
|||
recursive-include icons *
|
||||
include README.md
|
||||
include *.bash-completion
|
||||
include *.gschema.xml
|
||||
include resources/*.gschema.xml
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ Also copy and compile the GSettings schema:
|
|||
|
||||
```bash
|
||||
cd keyman_config
|
||||
sudo cp com.keyman.gschema.xml /usr/share/glib-2.0/schemas
|
||||
sudo cp resources/com.keyman.gschema.xml /usr/share/glib-2.0/schemas
|
||||
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ if [[ "${SUDOINSTALL}" == "yes" ]]; then
|
|||
exit 1
|
||||
fi
|
||||
echo "doing sudo glib-compile-schemas for keyman-config"
|
||||
cp com.keyman.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
cp resources/com.keyman.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas/
|
||||
echo "doing sudo install of keyman-config"
|
||||
make install
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue