pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/inputmethod/kasumi Add kasumi version 1.0.1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9699c44f9960
branches: trunk
changeset: 523124:9699c44f9960
user: obache <obache%pkgsrc.org@localhost>
date: Tue Jan 02 15:18:12 2007 +0000
description:
Add kasumi version 1.0.1.
Imported from pkgsrc-wip-jp, suggested in PR 35336.
And I fixed pkglint warnings.
Kasumi is a dictionary management tool for anthy kana-kanji conversion system.
diffstat:
inputmethod/kasumi/DESCR | 1 +
inputmethod/kasumi/Makefile | 24 ++++++++++++++++++++++++
inputmethod/kasumi/PLIST | 5 +++++
inputmethod/kasumi/distinfo | 6 ++++++
inputmethod/kasumi/patches/patch-aa | 34 ++++++++++++++++++++++++++++++++++
5 files changed, 70 insertions(+), 0 deletions(-)
diffs (90 lines):
diff -r dc77e409acbf -r 9699c44f9960 inputmethod/kasumi/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/kasumi/DESCR Tue Jan 02 15:18:12 2007 +0000
@@ -0,0 +1,1 @@
+Kasumi is a dictionary management tool for anthy kana-kanji conversion system.
diff -r dc77e409acbf -r 9699c44f9960 inputmethod/kasumi/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/kasumi/Makefile Tue Jan 02 15:18:12 2007 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/01/02 15:18:12 obache Exp $
+
+DISTNAME= kasumi-1.0.1
+CATEGORIES= inputmethod japanese
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP:=kasumi/20685/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://kasumi.sourceforge.jp/
+COMMENT= Dictionary management tool for anthy
+
+USE_X11= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+
+USE_LANGUAGES+= c c++
+
+BUILDLINK_API_DEPENDS.anthy+= anthy>=6520
+BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.4
+
+.include "../../inputmethod/anthy/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r dc77e409acbf -r 9699c44f9960 inputmethod/kasumi/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/kasumi/PLIST Tue Jan 02 15:18:12 2007 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/01/02 15:18:12 obache Exp $
+bin/kasumi
+share/kasumi/kasumi.png
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/kasumi.mo
+@dirrm share/kasumi
diff -r dc77e409acbf -r 9699c44f9960 inputmethod/kasumi/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/kasumi/distinfo Tue Jan 02 15:18:12 2007 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/01/02 15:18:12 obache Exp $
+
+SHA1 (kasumi-1.0.1.tar.gz) = 8cd7d5d9b91875a7dea5450fcdfdcbabdd1d52ce
+RMD160 (kasumi-1.0.1.tar.gz) = 2c49afa2b6c0de63d303cefdfd71457c394cf950
+Size (kasumi-1.0.1.tar.gz) = 290336 bytes
+SHA1 (patch-aa) = b111c7f78982376c1422fd102505cc02b6033591
diff -r dc77e409acbf -r 9699c44f9960 inputmethod/kasumi/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/kasumi/patches/patch-aa Tue Jan 02 15:18:12 2007 +0000
@@ -0,0 +1,34 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/01/02 15:18:12 obache Exp $
+
+--- KasumiWord.cxx.orig Mon Jan 10 20:30:37 2005
++++ KasumiWord.cxx Mon Jan 10 20:38:01 2005
+@@ -16,24 +16,27 @@
+ string KasumiWord::convertUTF8ToEUCJP(const string &aUTF8){
+ char *utf8 = (char*)malloc(strlen(aUTF8.c_str())+1);
+ strcpy(utf8, aUTF8.c_str());
++ const char *ptr_utf8 = utf8;
+ size_t len = strlen(utf8)+1;
+ size_t len_eucjp = len*2;
+ char *eucjp_buf = (char*)malloc(len_eucjp);
+ char *eucjp = eucjp_buf;
+
+- iconv(IconvUTF8_To_EUCJP, &utf8, &len, &eucjp_buf, &len_eucjp);
++ iconv(IconvUTF8_To_EUCJP, &ptr_utf8, &len, &eucjp_buf, &len_eucjp);
+ return string(eucjp);
+ }
+
+ string KasumiWord::convertEUCJPToUTF8(const string &aEUCJP){
+ char *eucjp = (char*)malloc(strlen(aEUCJP.c_str())+1);
+ strcpy(eucjp, aEUCJP.c_str());
++ const char *ptr_eucjp = eucjp;
+ size_t len = strlen(eucjp)+1;
+ size_t len_utf8 = len*2;
+ char *utf8_buf = (char*)malloc(len_utf8);
+ char *utf8 = utf8_buf;
+
+- iconv(IconvEUCJP_To_UTF8, &eucjp, &len, &utf8_buf, &len_utf8);
++
++ iconv(IconvEUCJP_To_UTF8, &ptr_eucjp, &len, &utf8_buf, &len_utf8);
+ return string(utf8);
+ }
+
Home |
Main Index |
Thread Index |
Old Index