summaryrefslogtreecommitdiff
path: root/app-i18n/ibus-handwrite
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/ibus-handwrite')
-rw-r--r--app-i18n/ibus-handwrite/Manifest9
-rw-r--r--app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch20
-rw-r--r--app-i18n/ibus-handwrite/files/ibus-handwrite-link.patch11
-rw-r--r--app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild44
-rw-r--r--app-i18n/ibus-handwrite/ibus-handwrite-3.0.0.ebuild34
-rw-r--r--app-i18n/ibus-handwrite/metadata.xml11
6 files changed, 129 insertions, 0 deletions
diff --git a/app-i18n/ibus-handwrite/Manifest b/app-i18n/ibus-handwrite/Manifest
new file mode 100644
index 000000000000..aab112a850af
--- /dev/null
+++ b/app-i18n/ibus-handwrite/Manifest
@@ -0,0 +1,9 @@
+AUX ibus-handwrite-headers.patch 406 SHA256 68f74f556d996000a3482e6b94e7699439fd6eba3e84ed95278970b72639ec74 SHA512 4629c68451d3b3ede478b03241d58c66f1a94be0caa05b4cf22d0287beb059c807e398457f0aaaccc6d0f85b9cb987153bae213d949e78afc2c66a6880baa7d7 WHIRLPOOL 42854c5b03dc9473960c9fdd933dd72f97b7071e78f737d473e377deedfca4eedd421d1e0fb474fa125dc25b3f72ea4bd7e3f61a575d026755c06318f3fbc224
+AUX ibus-handwrite-link.patch 194 SHA256 d71cd893f16cde66add852dde7376d85fc81a38b5d84395ade2aac28cf029f71 SHA512 52d376687473a4dac3f679eae8d68d6457669f0587fb9d4a141b40318060acf552c00cff1f048497699f0a7d3f33f2b0271ed727f2c747f5fa7539d2550fd8b1 WHIRLPOOL 6e9e5cc68a5e13283402bc462e7ac2e8bf29970fccb58caf72b80df13bd24ff9864d41d05402448e380b3aabc361fb474be1f5b8c89e87d75c25085d85e803ed
+DIST ibus-handwrite-2.1.4.tar.bz2 237980 SHA256 fa4ec0624e1ca904d8026fda75a26f0edd3ac6c781c28c03262e4c6ec52ceb34 SHA512 fca7129edb7433e7ea6df1ce67b3f27285fe102cc029a7a1bdb8ba0402407bd81724d1b14667d342ef41491acff03e9c152b748e4fee5387f315d4673c2964e6 WHIRLPOOL 13facb5d7c4a34586202cc1d6b46eb857aaf3649fb64ca44a5b367135860217c554d0cf48656096ac43cc3411b0466c9b2a468d9e2dc99ddac4d7729ff0ad6d9
+DIST ibus-handwrite-3.0.0.tar.bz2 239452 SHA256 f7483f44fb9cc70f066ab43e891e2eb757a46028947dd1bfbc70cb2afadac0e5 SHA512 ed9b2b35919f3e061230c7085c88e5ce80ee978ffa7f8391e74364e8d6152f0d88a08f91ec58b55fc7067e9fe45d03018760ccfca7b026f36211fa344d16c9b1 WHIRLPOOL ce33df8f846b2bb89d396c292832cfe44759b6d9f88480344be16655f791a0962a2fcc4eaed50119242e604b54d20876a6250cec41b1ef943d475789d3affc9c
+EBUILD ibus-handwrite-2.1.4-r1.ebuild 910 SHA256 159efb06ac9a401f5bf40d1efd5a304b4bd416a062edf29a3ca7d3fe8f474e6b SHA512 d40ca6abf5ae79c4edf80821c22fc67b834a854e68e0e8019c23a35b0c377061921ef96a919397427fb3e1219a6608b3eb426e3e03704370d04908e1d9e17179 WHIRLPOOL cc7254b7fc8e78cd1079b4f8ec29b544412ac699bed05e2e187e40f7d63a76ac21d0632f249a6d55e99ace734b3714a4ec8507dd40875433599b513cf48ca611
+EBUILD ibus-handwrite-3.0.0.ebuild 794 SHA256 a4f6f22ddbed93f73f6465b0b535f8e886b2ffe1d9d15b50d712d60e0508803a SHA512 3047b4d6131a5b7127823883a2e8851e0696a4e25a07e120124410a792f8a873165a7ecef499cf542bb822e20cc40fc8f72b1c0bc451a7180f5e426cee6d01ee WHIRLPOOL f0bcda710ebd77050947aca94de705da05aa1c13e688e9f6192b5d52b47647f71d2f7b5caad296afc2f185024e7693d307eb8298d6bdc48305d143b9d6fb5fac
+MISC ChangeLog 3211 SHA256 2e2a7c24a3732a3750f66e5711cbe1f2a673d97fb882d1a328d587ca7e8644bf SHA512 3684f0a9b90ed56f1381961643a2b11a20f2f898c5ca665395b0fc72da0d1b43ec9c44306574908df09f838a81c74697bb1335a127562d389614a47a55599621 WHIRLPOOL 1702edfce951d0005098237297b4d1a9766c75b1589ea044afacd42a6cca7252ba079382226544fe84cce3561d59d20f82365d79046a62b736090affbf684569
+MISC ChangeLog-2015 1149 SHA256 de479bf35a1fc8e0fae62de9ab03574ac0177b98955c55cdbc62803c5353a781 SHA512 84713ac14897f38445fcd7a3a6a79be683ff8f5187f3a756a0287e068fe366c95f1394eeaa02295e1c2a51353ffbedd5184ed87faad81e1cc3782e1bc7fa6dc7 WHIRLPOOL 9739372b0d3a11206d8bb114391892ba5552d410270d0c8aaeaee4f94dff79ddeab7cd354c26569031cc14ca7b744f8684605b8b6c6e462046af2c880de51a8f
+MISC metadata.xml 334 SHA256 f6a482aa63e834c82a91cb32f371c28581eb2419b8318db436b39be8898f4579 SHA512 628e07c785b2e40e4885e4b59a8c8f7c264ed651490f7cc4e0ac253c6f263def9aa9fdb8a5edc41e56381335510a654b171ab05ff9b6006f3c4a77a004226227 WHIRLPOOL 84781f35e863de4806db304da7d2fe4903b87108678992b2a4767acb16036870929362e6ad04b19a9cfa7a02960f3505e0d31845c7b61e8fecc0b79165f4dddd
diff --git a/app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch b/app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch
new file mode 100644
index 000000000000..f1cb4d574624
--- /dev/null
+++ b/app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch
@@ -0,0 +1,20 @@
+--- a/src/handrecog_lucykila.c
++++ b/src/handrecog_lucykila.c
+@@ -14,6 +14,7 @@
+ #include <sys/fcntl.h>
+ #include <sys/mman.h>
+ #include <math.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <glib.h>
+
+--- a/src/main.c
++++ b/src/main.c
+@@ -3,6 +3,7 @@
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <ibus.h>
+ #include <locale.h>
+ #include <gtk/gtkgl.h>
diff --git a/app-i18n/ibus-handwrite/files/ibus-handwrite-link.patch b/app-i18n/ibus-handwrite/files/ibus-handwrite-link.patch
new file mode 100644
index 000000000000..1d8415fbaf8f
--- /dev/null
+++ b/app-i18n/ibus-handwrite/files/ibus-handwrite-link.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -80,6 +80,8 @@
+ AM_CONDITIONAL(WITH_ZINNIA,[false])
+ ])
+
++AC_CHECK_LIB([m],[atan2])
++
+ # check ibus
+ PKG_CHECK_MODULES(IBUS, [
+ ibus-1.0 >= 1.3
diff --git a/app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild b/app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild
new file mode 100644
index 000000000000..6965a9cf27eb
--- /dev/null
+++ b/app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit autotools
+
+DESCRIPTION="Hand write recognition/input for IBus"
+HOMEPAGE="https://github.com/microcai/ibus-handwrite"
+SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="nls +zinnia"
+
+RDEPEND="app-i18n/ibus
+ x11-libs/gtk+:2
+ x11-libs/gtkglext
+ nls? ( virtual/libintl )
+ zinnia? (
+ app-i18n/zinnia
+ app-i18n/zinnia-tomoe
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-headers.patch
+ "${FILESDIR}"/${PN}-link.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ $(use_enable zinnia) \
+ $(use_with zinnia zinnia-tomoe "${EPREFIX}"/usr/$(get_libdir)/zinnia/model/tomoe)
+}
diff --git a/app-i18n/ibus-handwrite/ibus-handwrite-3.0.0.ebuild b/app-i18n/ibus-handwrite/ibus-handwrite-3.0.0.ebuild
new file mode 100644
index 000000000000..25419a692eb1
--- /dev/null
+++ b/app-i18n/ibus-handwrite/ibus-handwrite-3.0.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+DESCRIPTION="Hand write recognition/input for IBus"
+HOMEPAGE="https://github.com/microcai/ibus-handwrite"
+SRC_URI="https://github.com/microcai/${PN}/releases/download/${PV%.0}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls +zinnia"
+
+RDEPEND="app-i18n/ibus
+ x11-libs/gtk+:3
+ x11-libs/gtkglext
+ nls? ( virtual/libintl )
+ zinnia? (
+ app-i18n/zinnia
+ app-i18n/zinnia-tomoe
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+PATCHES=( "${FILESDIR}"/${PN}-headers.patch )
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ $(use_enable zinnia) \
+ $(use_with zinnia zinnia-tomoe "${EPREFIX}"/usr/$(get_libdir)/zinnia/model/tomoe)
+}
diff --git a/app-i18n/ibus-handwrite/metadata.xml b/app-i18n/ibus-handwrite/metadata.xml
new file mode 100644
index 000000000000..23f5c6be388a
--- /dev/null
+++ b/app-i18n/ibus-handwrite/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
+ <use>
+ <flag name="zinnia">Enable support for <pkg>app-i18n/zinnia</pkg></flag>
+ </use>
+</pkgmetadata>