summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog12
-rw-r--r--debian/compat1
-rw-r--r--debian/control31
-rw-r--r--debian/copyright80
-rw-r--r--debian/ibus-engine-keyman.128
-rw-r--r--debian/postinst32
-rw-r--r--debian/postrm32
-rwxr-xr-xdebian/rules11
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch2
10 files changed, 230 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ec9a2a3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,12 @@
+ibus-keyman (10.99.50-1) unstable; urgency=medium
+
+ * d/control replace dep on x11-dev with gtk-dev
+ * It theoretically will work on wayland as well now
+
+ -- Daniel Glassey <wdg@debian.org> Fri, 14 Dec 2018 13:21:25 +0700
+
+ibus-keyman (10.99.0-1) unstable; urgency=low
+
+ * initial alpha release
+
+ -- Daniel Glassey <wdg@debian.org> Mon, 26 Nov 2018 11:09:40 +0700
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..9d708cb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: ibus-keyman
+Section: utils
+Priority: optional
+Maintainer: Daniel Glassey <wdg@debian.org>
+Build-Depends: debhelper (>= 9), autotools-dev, dh-autoreconf, pkg-config,
+ libkmnkbp-dev (>=0.0.0~), libibus-1.0-dev (>= 1.2), libjson-glib-dev (>= 1.4.0),
+ libgtk-3-dev
+Standards-Version: 3.9.8
+Homepage: http://www.keyman.com
+
+Package: ibus-keyman
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ibus (>= 1.3.7)
+Description: Keyman engine for IBus
+ 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.
+ .
+ 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.
+ .
+ IBus-keyman is a IM (input method) Engine for multiple languages, based on IBus.
+ .
+ This package provides the Keyman IM engine for IBus. With this module, you can
+ use keyboard layouts designed for Keyman version 11 or earlier under the IBus
+ platform.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..04c7876
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,80 @@
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=174
+Upstream-Name: ibus-keyman
+Upstream-Contact: Daniel Glassey <wdg@debian.org>
+
+Files: *
+Copyright: 2004-2018 SIL International
+License: GPL-2+
+
+Files: src/keymanutil.c
+ src/keymanutil.h
+Copyright: 2009-2018 SIL International
+License: GPL-2+ or MIT
+
+Files: src/keyman-service.c
+ src/keyman-service.h
+Copyright: 2018 SIL International
+License: GPL-3+
+
+Files: debian/*
+Copyright: 2004-2018 SIL International
+License: GPL-2+
+
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
+
+License: GPL-3+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
diff --git a/debian/ibus-engine-keyman.1 b/debian/ibus-engine-keyman.1
new file mode 100644
index 0000000..30144d5
--- /dev/null
+++ b/debian/ibus-engine-keyman.1
@@ -0,0 +1,28 @@
+.TH IBUS-ENGINE-KEYMAN "1" "September 2018" "ibus-engine-keyman" "User Commands"
+.SH NAME
+ibus-engine-keyman \- multiple language input engine based on ibus
+.SH DESCRIPTION
+\&ibus\-engine\-keyman [options] [engines]
+.TP
+this command should run from ibus, don't run it directly.
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show this message.
+.TP
+\fB\-d\fR, \fB\-\-daemonize\fR
+daemonize ibus engine
+.TP
+\fB\-l\fR, \fB\-\-list\fR
+list all Keyman input methods
+.TP
+\fB\-a\fR, \fB\-\-all\fR
+enable all Keyman input methods
+.SS "example:"
+.IP
+\&./ibus\-engine\-keyman zh:py ja:trycode
+
+\&./ibus\-engine\-keyman zh:py,pinyin hi:inscript
+
+\&./ibus\-engine\-keyman \fB\-a\fR
+.SH "SEE ALSO"
+.BR ibus(1)
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..32a35b7
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+
+ configure)
+ # Restart IBus if it is running
+ ibuspid=`ps -C ibus-daemon -o pid=`
+
+ if [ "x$ibuspid" != "x" ]; then
+ ibus restart
+ fi
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ exit 0
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..b0b37c4
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+
+ remove)
+ # Restart IBus if it is running
+ ibuspid=`ps -C ibus-daemon -o pid=`
+
+ if [ "x$ibuspid" != "x" ]; then
+ ibus restart
+ fi
+ ;;
+
+ purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ exit 0
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..cd430d5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+%:
+ dh $@ --with autoreconf
+
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ --libexecdir=/usr/lib/ibus
+
+override_dh_auto_test:
+ # run test but disable failing
+ -dh_auto_test
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1a2648f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://downloads.keyman.com/linux/(?:beta|stable)/(\d\S+)/ibus-keyman-(.+)\.tar\.gz debian uupdate