aboutsummaryrefslogtreecommitdiff
path: root/chinese/fcitx-googlepinyin
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2012-04-30 22:57:38 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2012-04-30 22:57:38 +0000
commit18b73e0fe0d3486cd24ae1c52d4b2ddcece5298c (patch)
treeaee8a51c8381aa59bd3cebc0b21dcad8d104c27c /chinese/fcitx-googlepinyin
parent270ea2ece51225d682d341302079ab11c6794695 (diff)
downloadports-18b73e0fe0d3486cd24ae1c52d4b2ddcece5298c.tar.gz
ports-18b73e0fe0d3486cd24ae1c52d4b2ddcece5298c.zip
Notes
Diffstat (limited to 'chinese/fcitx-googlepinyin')
-rw-r--r--chinese/fcitx-googlepinyin/Makefile4
-rw-r--r--chinese/fcitx-googlepinyin/distinfo4
-rw-r--r--chinese/fcitx-googlepinyin/files/patch-src_eim.cpp22
-rw-r--r--chinese/fcitx-googlepinyin/pkg-descr2
4 files changed, 16 insertions, 16 deletions
diff --git a/chinese/fcitx-googlepinyin/Makefile b/chinese/fcitx-googlepinyin/Makefile
index be4fb8b50825..33f24d291d6e 100644
--- a/chinese/fcitx-googlepinyin/Makefile
+++ b/chinese/fcitx-googlepinyin/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= fcitx-googlepinyin
-PORTVERSION= 0.1.4
+PORTVERSION= 0.1.5
CATEGORIES= chinese
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DIST_SUBDIR= fcitx
@@ -17,7 +17,7 @@ COMMENT= A libgooglepinyin support for Fcitx
LIB_DEPENDS= fcitx-config.4:${PORTSDIR}/chinese/fcitx \
googlepinyin.0:${PORTSDIR}/chinese/libgooglepinyin
-USE_BZIP2= yes
+USE_XZ= yes
USE_GETTEXT= yes
USE_CMAKE= yes
USE_GNOME= intltool
diff --git a/chinese/fcitx-googlepinyin/distinfo b/chinese/fcitx-googlepinyin/distinfo
index 467c1d6fca0c..959983df8c8b 100644
--- a/chinese/fcitx-googlepinyin/distinfo
+++ b/chinese/fcitx-googlepinyin/distinfo
@@ -1,2 +1,2 @@
-SHA256 (fcitx/fcitx-googlepinyin-0.1.4.tar.bz2) = f6152d5ba0cf310f8b46f16b4f89ca7d57563fd3607f2b152595c5994cbe0f63
-SIZE (fcitx/fcitx-googlepinyin-0.1.4.tar.bz2) = 20812
+SHA256 (fcitx/fcitx-googlepinyin-0.1.5.tar.xz) = f74ac4b40d11002a0dfc49572475a9b9d9671755b9c77bbc7a091d6e0849ab8d
+SIZE (fcitx/fcitx-googlepinyin-0.1.5.tar.xz) = 20776
diff --git a/chinese/fcitx-googlepinyin/files/patch-src_eim.cpp b/chinese/fcitx-googlepinyin/files/patch-src_eim.cpp
index 7f4cf2f4f06b..281990da32ee 100644
--- a/chinese/fcitx-googlepinyin/files/patch-src_eim.cpp
+++ b/chinese/fcitx-googlepinyin/files/patch-src_eim.cpp
@@ -1,11 +1,11 @@
---- src/eim.cpp~ 2012-01-31 09:03:36.000000000 -0600
-+++ src/eim.cpp 2012-02-06 02:13:29.145600582 -0600
-@@ -466,7 +466,7 @@ void* FcitxGooglePinyinCreate (FcitxInst
- if (fp)
- fclose(fp);
-
-- bool result = ime_pinyin::im_open_decoder(LIBDIR "/googlepinyin/data/dict_pinyin.dat", userDict);
-+ bool result = ime_pinyin::im_open_decoder(DATADIR "/googlepinyin/dict_pinyin.dat", userDict);
-
- if (userDict)
- free(userDict);
+--- src/eim.cpp.orig 2012-03-08 22:07:27.000000000 -0600
++++ src/eim.cpp 2012-04-06 02:04:15.502210235 -0500
+@@ -476,7 +476,7 @@ void* FcitxGooglePinyinCreate (FcitxInst
+ else
+ #endif
+ {
+- syspath = strdup(GOOGLEPINYIN_LIBDIR "/googlepinyin/data/dict_pinyin.dat");
++ syspath = strdup(GOOGLEPINYIN_LIBDIR "/../share/googlepinyin/dict_pinyin.dat");
+ }
+ bool result = ime_pinyin::im_open_decoder(syspath, userDict);
+ free(syspath);
diff --git a/chinese/fcitx-googlepinyin/pkg-descr b/chinese/fcitx-googlepinyin/pkg-descr
index 7d86c4c5351c..761995106cad 100644
--- a/chinese/fcitx-googlepinyin/pkg-descr
+++ b/chinese/fcitx-googlepinyin/pkg-descr
@@ -1,4 +1,4 @@
fcitx-googlepinyin provides libgooglepinyin, a fork of Google Pinyin IME
-on Android, as a back-end to the Fcitx IM server.
+on Android, as a back-end to the Fcitx IM framework.
WWW: http://code.google.com/p/fcitx/