diff options
author | obache <obache@pkgsrc.org> | 2010-08-07 02:27:35 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-08-07 02:27:35 +0000 |
commit | 8ecf4c168699b07e812d5a419057dbcabf54be87 (patch) | |
tree | 06566619516dfe80b058ce01e65949c8fb75af94 | |
parent | 8df59a9e724d9c581008381bcdd8b739a3a363a1 (diff) | |
download | pkgsrc-8ecf4c168699b07e812d5a419057dbcabf54be87.tar.gz |
Import ibus-t9-2.1.0.20100601nb1 as inputmethod/ibus-t9.
ibus-t9 is an input method engine for Chinese, base on ibus.
This package provide one input method:
* t9: t9 input method.
-rw-r--r-- | inputmethod/ibus-t9/DESCR | 3 | ||||
-rw-r--r-- | inputmethod/ibus-t9/Makefile | 24 | ||||
-rw-r--r-- | inputmethod/ibus-t9/PLIST | 15 | ||||
-rw-r--r-- | inputmethod/ibus-t9/distinfo | 7 | ||||
-rw-r--r-- | inputmethod/ibus-t9/patches/patch-aa | 14 | ||||
-rw-r--r-- | inputmethod/ibus-t9/patches/patch-ab | 17 |
6 files changed, 80 insertions, 0 deletions
diff --git a/inputmethod/ibus-t9/DESCR b/inputmethod/ibus-t9/DESCR new file mode 100644 index 00000000000..590ab9ff061 --- /dev/null +++ b/inputmethod/ibus-t9/DESCR @@ -0,0 +1,3 @@ +ibus-t9 is an input method engine for Chinese, base on ibus. +This package provide one input method: + * t9: t9 input method. diff --git a/inputmethod/ibus-t9/Makefile b/inputmethod/ibus-t9/Makefile new file mode 100644 index 00000000000..7f525d67ecf --- /dev/null +++ b/inputmethod/ibus-t9/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/08/07 02:27:35 obache Exp $ +# + +DISTNAME= ibus-t9-2.1.0.20100601 +PKGREVISION= 1 +CATEGORIES= inputmethod chinese +MASTER_SITES= http://ibus-t9.googlecode.com/files/ + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://code.google.com/p/ibus-t9/ +COMMENT= IBus T9 Input Method +LICENSE= gnu-gpl-v3 + +DEPENDS+= librsvg-[0-9]*:../../graphics/librsvg + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_PKGLOCALEDIR= yes +USE_TOOLS+= gmake pkg-config + +.include "../../inputmethod/ibus/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/inputmethod/ibus-t9/PLIST b/inputmethod/ibus-t9/PLIST new file mode 100644 index 00000000000..e89146cf4cd --- /dev/null +++ b/inputmethod/ibus-t9/PLIST @@ -0,0 +1,15 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/08/07 02:27:35 obache Exp $ +share/ibus-t9/icons/full-letter.svg +share/ibus-t9/icons/full-punct.svg +share/ibus-t9/icons/half-letter.svg +share/ibus-t9/icons/half-punct.svg +share/ibus-t9/icons/ibus-t9.svg +share/ibus-t9/icons/key1.svg +share/ibus-t9/icons/key2.svg +share/ibus-t9/icons/key3.svg +share/ibus-t9/icons/key4.svg +share/ibus-t9/icons/key5.svg +share/ibus-t9/tables/table.txt +share/ibus/component/ibus-t9.xml +share/ibus/engine/ibus-engine-t9 +share/locale/zh_CN/LC_MESSAGES/ibus-t9.mo diff --git a/inputmethod/ibus-t9/distinfo b/inputmethod/ibus-t9/distinfo new file mode 100644 index 00000000000..bfaf54fc56f --- /dev/null +++ b/inputmethod/ibus-t9/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/08/07 02:27:35 obache Exp $ + +SHA1 (ibus-t9-2.1.0.20100601.tar.gz) = e3e849a8fc02c485fb3059396993c7d644623c3a +RMD160 (ibus-t9-2.1.0.20100601.tar.gz) = a6f038ee55ad7897f400443ff7781b86b9d0f032 +Size (ibus-t9-2.1.0.20100601.tar.gz) = 288846 bytes +SHA1 (patch-aa) = 7b34fb6f73dbf3f2951f66c41b5270129801e930 +SHA1 (patch-ab) = c4f4cc3d149e49c70bce971ebf33fa69d4862c8f diff --git a/inputmethod/ibus-t9/patches/patch-aa b/inputmethod/ibus-t9/patches/patch-aa new file mode 100644 index 00000000000..1a538c316a6 --- /dev/null +++ b/inputmethod/ibus-t9/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/08/07 02:27:35 obache Exp $ + +--- src/main.c.orig 2010-03-22 01:51:10.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 <string.h> diff --git a/inputmethod/ibus-t9/patches/patch-ab b/inputmethod/ibus-t9/patches/patch-ab new file mode 100644 index 00000000000..29b34c8fcd3 --- /dev/null +++ b/inputmethod/ibus-t9/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.1.1.1 2010/08/07 02:27:35 obache Exp $ + +--- src/decoder.c.orig 2010-03-22 01:51:10.000000000 +0000 ++++ src/decoder.c +@@ -31,6 +31,12 @@ + #include <string.h> + #include "engine.h" + ++#ifndef MAP_ANONYMOUS ++#ifdef MAP_ANON ++#define MAP_ANONYMOUS MAP_ANON ++#endif ++#endif ++ + static char * nextline(char *); + + /** |