summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-handwrite
diff options
context:
space:
mode:
authorobache <obache>2010-08-07 02:25:03 +0000
committerobache <obache>2010-08-07 02:25:03 +0000
commitdc9b814bf9f7b099475b70db43f9247a15dc3600 (patch)
tree13c1df9cc588dd0c01c74c35e57fd21748ec67ad /inputmethod/ibus-handwrite
parent81f781e24dd8b8405e1e75b4c9f391aec484263e (diff)
downloadpkgsrc-dc9b814bf9f7b099475b70db43f9247a15dc3600.tar.gz
Import ibus-handwrite-2.1.0nb1 as inputmethod/ibus-handwrite.
ibus-handwrite is a handwrite recgnizer for IBus.
Diffstat (limited to 'inputmethod/ibus-handwrite')
-rw-r--r--inputmethod/ibus-handwrite/DESCR1
-rw-r--r--inputmethod/ibus-handwrite/Makefile32
-rw-r--r--inputmethod/ibus-handwrite/PLIST8
-rw-r--r--inputmethod/ibus-handwrite/distinfo8
-rw-r--r--inputmethod/ibus-handwrite/patches/patch-aa17
-rw-r--r--inputmethod/ibus-handwrite/patches/patch-ab14
-rw-r--r--inputmethod/ibus-handwrite/patches/patch-ac12
7 files changed, 92 insertions, 0 deletions
diff --git a/inputmethod/ibus-handwrite/DESCR b/inputmethod/ibus-handwrite/DESCR
new file mode 100644
index 00000000000..a568f1bb279
--- /dev/null
+++ b/inputmethod/ibus-handwrite/DESCR
@@ -0,0 +1 @@
+ibus-handwrite is a handwrite recgnizer for IBus.
diff --git a/inputmethod/ibus-handwrite/Makefile b/inputmethod/ibus-handwrite/Makefile
new file mode 100644
index 00000000000..0bf5bddce4f
--- /dev/null
+++ b/inputmethod/ibus-handwrite/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/08/07 02:25:03 obache Exp $
+#
+
+DISTNAME= ibus-handwrite-2.1.0
+PKGREVISION= 1
+CATEGORIES= inputmethod
+MASTER_SITES= http://ibus-handwrite.googlecode.com/files/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://code.google.com/p/ibus-handwrite/
+COMMENT= Handwrite recognizer for ibus
+LICENSE= gnu-gpl-v3
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= zinnia-tomoe-[0-9]*:../../inputmethod/zinnia-tomoe
+
+FIND_PREFIX:= ZINNIA_TOMOE_DIR=zinnia-tomoe
+.include "../../mk/find-prefix.mk"
+
+GNU_CONFIGURE= yes
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= gmake pkg-config
+
+CONFIGURE_ARGS+= --enable-zinnia
+CONFIGURE_ARGS+= --with-zinnia-tomoe=${ZINNIA_TOMOE_DIR}/lib/zinnia/model/tomoe
+
+.include "../../inputmethod/ibus/buildlink3.mk"
+.include "../../inputmethod/zinnia/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/inputmethod/ibus-handwrite/PLIST b/inputmethod/ibus-handwrite/PLIST
new file mode 100644
index 00000000000..f9ccb2024d1
--- /dev/null
+++ b/inputmethod/ibus-handwrite/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/08/07 02:25:03 obache Exp $
+libexec/ibus-engine-handwrite
+share/ibus-handwrite/data/table.txt
+share/ibus-handwrite/icons/ibus-handwrite.svg
+share/ibus-handwrite/icons/switch.svg
+share/ibus/component/handwrite-jp.xml
+share/ibus/component/handwrite-zh.xml
+share/locale/zh_CN/LC_MESSAGES/ibus-handwrite.mo
diff --git a/inputmethod/ibus-handwrite/distinfo b/inputmethod/ibus-handwrite/distinfo
new file mode 100644
index 00000000000..6bc01a9648e
--- /dev/null
+++ b/inputmethod/ibus-handwrite/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/08/07 02:25:03 obache Exp $
+
+SHA1 (ibus-handwrite-2.1.0.tar.bz2) = 173e94f6dd5cdc6f89172b29b887bb15987859a3
+RMD160 (ibus-handwrite-2.1.0.tar.bz2) = 9c20c7c5c13bba8564969f2bd5a40f322796392d
+Size (ibus-handwrite-2.1.0.tar.bz2) = 235326 bytes
+SHA1 (patch-aa) = 4688dd3ed6f3e6fa3c9a06070cca5c329cbd82e4
+SHA1 (patch-ab) = 1b6bc1555fb6a2df5f98354d807080ce43f3bad5
+SHA1 (patch-ac) = 5c6b951e0f581ee066b0784df6bef7ab37ff2940
diff --git a/inputmethod/ibus-handwrite/patches/patch-aa b/inputmethod/ibus-handwrite/patches/patch-aa
new file mode 100644
index 00000000000..16a33b4e637
--- /dev/null
+++ b/inputmethod/ibus-handwrite/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/08/07 02:25:03 obache Exp $
+
+--- src/handrecog_lucykila.c.orig 2010-04-22 10:53:37.000000000 +0000
++++ src/handrecog_lucykila.c
+@@ -17,6 +17,12 @@
+ #include "engine.h"
+ #include "handrecog.h"
+
++#ifndef MAP_ANONYMOUS
++#ifdef MAP_ANON
++#define MAP_ANONYMOUS MAP_ANON
++#endif
++#endif
++
+ typedef struct _MATCHED MATCHED;
+ typedef struct _IbusHandwriteRecogLucyKila IbusHandwriteRecogLucyKila;
+ typedef struct _IbusHandwriteRecogLucyKilaClass IbusHandwriteRecogLucyKilaClass;
diff --git a/inputmethod/ibus-handwrite/patches/patch-ab b/inputmethod/ibus-handwrite/patches/patch-ab
new file mode 100644
index 00000000000..ec1ea56b92d
--- /dev/null
+++ b/inputmethod/ibus-handwrite/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2010/08/07 02:25:03 obache Exp $
+
+--- src/main.c.orig 2010-04-23 07:13:02.000000000 +0000
++++ src/main.c
+@@ -1,7 +1,9 @@
+ /* vim:set et sts=4: */
+ #include <config.h>
+ #include <unistd.h>
++#ifdef __linux__
+ #include <execinfo.h>
++#endif
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <ibus.h>
diff --git a/inputmethod/ibus-handwrite/patches/patch-ac b/inputmethod/ibus-handwrite/patches/patch-ac
new file mode 100644
index 00000000000..77e46f9e443
--- /dev/null
+++ b/inputmethod/ibus-handwrite/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2010/08/07 02:25:03 obache Exp $
+
+--- icons/Makefile.in.orig 2010-04-23 07:06:16.000000000 +0000
++++ icons/Makefile.in
+@@ -216,6 +216,7 @@ zinnia = @zinnia@
+ zinnia_tomoe = @zinnia_tomoe@
+ icons_DATA = \
+ ibus-handwrite.svg \
++ switch.svg \
+ $(NULL)
+
+ iconsdir = $(pkgdatadir)/icons