diff options
author | Xin LI <delphij@FreeBSD.org> | 2012-02-07 20:57:08 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2012-02-07 20:57:08 +0000 |
commit | 3390f7060e630b0f7e13ba19350cd65380b88cfe (patch) | |
tree | 5cd4bc1e8584a97698efa13cf8b94b990f901179 /chinese | |
parent | - And restore the port itself (diff) |
Update fcitx and friends:
- fcitx to 4.2.0, always depend on dbus
- fcitx-cloudpinyin to 0.2.0
- fcitx-configtool to 0.4.0
- fcitx-googlepinyin to 0.1.4
- fcitx-sunpinyin to 0.3.3
- fcitx-ui-light to 0.1.3
- libgooglepinyin to 0.1.2
PR: ports/164820
Submitted by: maintainer (Zhihao Yuan <lichray gmail com>
Notes
Notes:
svn path=/head/; revision=290612
Diffstat (limited to 'chinese')
30 files changed, 181 insertions, 115 deletions
diff --git a/chinese/fcitx-cloudpinyin/Makefile b/chinese/fcitx-cloudpinyin/Makefile index 62d180f30e50..d8176659380f 100644 --- a/chinese/fcitx-cloudpinyin/Makefile +++ b/chinese/fcitx-cloudpinyin/Makefile @@ -6,7 +6,7 @@ # PORTNAME= fcitx-cloudpinyin -PORTVERSION= 0.1.2 +PORTVERSION= 0.2.0 CATEGORIES= chinese MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DIST_SUBDIR= fcitx diff --git a/chinese/fcitx-cloudpinyin/distinfo b/chinese/fcitx-cloudpinyin/distinfo index 954990368fbc..aea383b0975c 100644 --- a/chinese/fcitx-cloudpinyin/distinfo +++ b/chinese/fcitx-cloudpinyin/distinfo @@ -1,2 +1,2 @@ -SHA256 (fcitx/fcitx-cloudpinyin-0.1.2.tar.bz2) = e051db21f3d998e7b7c2509e1e7cd4b1a634cc233c099d03828db6dce280fc87 -SIZE (fcitx/fcitx-cloudpinyin-0.1.2.tar.bz2) = 17427 +SHA256 (fcitx/fcitx-cloudpinyin-0.2.0.tar.bz2) = a485b52169fab47ce4658cb1e520f965be85b38676fc4fd215f2447ea6db67d1 +SIZE (fcitx/fcitx-cloudpinyin-0.2.0.tar.bz2) = 19275 diff --git a/chinese/fcitx-cloudpinyin/pkg-plist b/chinese/fcitx-cloudpinyin/pkg-plist index 149d7e21e0fe..3519c9b78398 100644 --- a/chinese/fcitx-cloudpinyin/pkg-plist +++ b/chinese/fcitx-cloudpinyin/pkg-plist @@ -2,3 +2,4 @@ lib/fcitx/fcitx-cloudpinyin.so share/fcitx/addon/fcitx-cloudpinyin.conf share/fcitx/configdesc/fcitx-cloudpinyin.desc share/locale/zh_CN/LC_MESSAGES/fcitx-cloudpinyin.mo +share/locale/zh_TW/LC_MESSAGES/fcitx-cloudpinyin.mo diff --git a/chinese/fcitx-configtool/Makefile b/chinese/fcitx-configtool/Makefile index 4ce8af2f2681..a6391441a6a9 100644 --- a/chinese/fcitx-configtool/Makefile +++ b/chinese/fcitx-configtool/Makefile @@ -6,7 +6,7 @@ # PORTNAME= fcitx-configtool -PORTVERSION= 0.3.1 +PORTVERSION= 0.4.0 CATEGORIES= chinese x11 MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DIST_SUBDIR= fcitx @@ -14,16 +14,39 @@ DIST_SUBDIR= fcitx MAINTAINER= lichray@gmail.com COMMENT= Fcitx IM configure tool +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes LIB_DEPENDS= fcitx-config.4:${PORTSDIR}/chinese/fcitx USE_BZIP2= yes -USE_GNOME= gtk20 intltool gnomehack +USE_GNOME= intltool gnomehack USE_GETTEXT= yes USE_CMAKE= yes -PROJECTHOST= fcitx +OPTIONS= GTK2 "Enable Gtk2 Version" on \ + GTK3 "Enable Gtk3 Version" off + +.include <bsd.port.options.mk> + +.if defined(WITH_GTK2) +USE_GNOME+= gtk20 +PLIST_SUB+= GTK2="" +.else +CMAKE_ARGS+= -DENABLE_GTK2=OFF +PLIST_SUB+= GTK2="@comment " +.endif -PLIST_FILES= bin/fcitx-config-gtk \ - share/locale/zh_CN/LC_MESSAGES/fcitx-configtool.mo +.if defined(WITH_GTK3) +USE_GNOME+= gtk30 +CMAKE_ARGS+= -DENABLE_GTK3=ON +PLIST_SUB+= GTK3="" +.else +PLIST_SUB+= GTK3="@comment " +.endif + +.if defined(WITHOUT_GTK2) && defined(WITHOUT_GTK3) +IGNORE= a GUI is required +.endif + +PROJECTHOST= fcitx .include <bsd.port.mk> diff --git a/chinese/fcitx-configtool/distinfo b/chinese/fcitx-configtool/distinfo index 514998fc8170..f498c5f72c15 100644 --- a/chinese/fcitx-configtool/distinfo +++ b/chinese/fcitx-configtool/distinfo @@ -1,2 +1,2 @@ -SHA256 (fcitx/fcitx-configtool-0.3.1.tar.bz2) = 60a2596ca3c36d0c98398d36d4eb5f1f03992133a782ae15cb39f66131aeaa3e -SIZE (fcitx/fcitx-configtool-0.3.1.tar.bz2) = 22323 +SHA256 (fcitx/fcitx-configtool-0.4.0.tar.bz2) = 580a531838c27a1446d1b8ad33d84e44fa729c1b178deff4b9736d316d754640 +SIZE (fcitx/fcitx-configtool-0.4.0.tar.bz2) = 32124 diff --git a/chinese/fcitx-configtool/files/patch-gtk3_CMakeLists.txt b/chinese/fcitx-configtool/files/patch-gtk3_CMakeLists.txt new file mode 100644 index 000000000000..6b48a776937a --- /dev/null +++ b/chinese/fcitx-configtool/files/patch-gtk3_CMakeLists.txt @@ -0,0 +1,10 @@ +--- gtk3/CMakeLists.txt~ 2012-01-30 04:51:25.000000000 -0600 ++++ gtk3/CMakeLists.txt 2012-02-06 03:22:50.184481579 -0600 +@@ -45,6 +45,7 @@ target_link_libraries (fcitx-config-gtk3 + ${FCITX4_FCITX_CONFIG_LIBRARIES} + ${FCITX4_FCITX_LIBRARIES} + ${GIO2_LIBRARIES} ++ -lintl + ) + + if (UNIQUE3_FOUND) diff --git a/chinese/fcitx-configtool/files/patch-gtk_CMakeLists.txt b/chinese/fcitx-configtool/files/patch-gtk_CMakeLists.txt new file mode 100644 index 000000000000..8da38911f18b --- /dev/null +++ b/chinese/fcitx-configtool/files/patch-gtk_CMakeLists.txt @@ -0,0 +1,10 @@ +--- gtk/CMakeLists.txt~ 2012-01-30 04:51:25.000000000 -0600 ++++ gtk/CMakeLists.txt 2012-02-06 03:19:28.808521532 -0600 +@@ -44,6 +44,7 @@ target_link_libraries (fcitx-config-gtk + ${FCITX4_FCITX_CONFIG_LIBRARIES} + ${FCITX4_FCITX_LIBRARIES} + ${GIO2_LIBRARIES} ++ -lintl + ) + + if (UNIQUE_FOUND) diff --git a/chinese/fcitx-configtool/pkg-plist b/chinese/fcitx-configtool/pkg-plist new file mode 100644 index 000000000000..66d82622282c --- /dev/null +++ b/chinese/fcitx-configtool/pkg-plist @@ -0,0 +1,4 @@ +%%GTK2%%bin/fcitx-config-gtk +%%GTK3%%bin/fcitx-config-gtk3 +share/locale/zh_CN/LC_MESSAGES/fcitx-configtool.mo +share/locale/zh_TW/LC_MESSAGES/fcitx-configtool.mo diff --git a/chinese/fcitx-googlepinyin/Makefile b/chinese/fcitx-googlepinyin/Makefile index f3e24f27d333..be4fb8b50825 100644 --- a/chinese/fcitx-googlepinyin/Makefile +++ b/chinese/fcitx-googlepinyin/Makefile @@ -6,7 +6,7 @@ # PORTNAME= fcitx-googlepinyin -PORTVERSION= 0.1.3 +PORTVERSION= 0.1.4 CATEGORIES= chinese MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DIST_SUBDIR= fcitx diff --git a/chinese/fcitx-googlepinyin/distinfo b/chinese/fcitx-googlepinyin/distinfo index c9ae93156728..467c1d6fca0c 100644 --- a/chinese/fcitx-googlepinyin/distinfo +++ b/chinese/fcitx-googlepinyin/distinfo @@ -1,2 +1,2 @@ -SHA256 (fcitx/fcitx-googlepinyin-0.1.3.tar.bz2) = b8191daf1b6d3ced2f55c950b2fe9b72857360a14ce1003da6ad84c42d3eaced -SIZE (fcitx/fcitx-googlepinyin-0.1.3.tar.bz2) = 20394 +SHA256 (fcitx/fcitx-googlepinyin-0.1.4.tar.bz2) = f6152d5ba0cf310f8b46f16b4f89ca7d57563fd3607f2b152595c5994cbe0f63 +SIZE (fcitx/fcitx-googlepinyin-0.1.4.tar.bz2) = 20812 diff --git a/chinese/fcitx-googlepinyin/files/patch-src_eim.cpp b/chinese/fcitx-googlepinyin/files/patch-src_eim.cpp new file mode 100644 index 000000000000..7f4cf2f4f06b --- /dev/null +++ b/chinese/fcitx-googlepinyin/files/patch-src_eim.cpp @@ -0,0 +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); diff --git a/chinese/fcitx-googlepinyin/pkg-plist b/chinese/fcitx-googlepinyin/pkg-plist index cb5c10883721..952cef044835 100644 --- a/chinese/fcitx-googlepinyin/pkg-plist +++ b/chinese/fcitx-googlepinyin/pkg-plist @@ -2,3 +2,4 @@ lib/fcitx/fcitx-googlepinyin.so share/fcitx/addon/fcitx-googlepinyin.conf share/fcitx/configdesc/fcitx-googlepinyin.desc share/locale/zh_CN/LC_MESSAGES/fcitx-googlepinyin.mo +share/locale/zh_TW/LC_MESSAGES/fcitx-googlepinyin.mo diff --git a/chinese/fcitx-sunpinyin/Makefile b/chinese/fcitx-sunpinyin/Makefile index e0201bbe1879..51afbf162f6d 100644 --- a/chinese/fcitx-sunpinyin/Makefile +++ b/chinese/fcitx-sunpinyin/Makefile @@ -6,7 +6,7 @@ # PORTNAME= fcitx-sunpinyin -PORTVERSION= 0.3.2 +PORTVERSION= 0.3.3 CATEGORIES= chinese MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DIST_SUBDIR= fcitx diff --git a/chinese/fcitx-sunpinyin/distinfo b/chinese/fcitx-sunpinyin/distinfo index d72874378fe0..11a702ce4269 100644 --- a/chinese/fcitx-sunpinyin/distinfo +++ b/chinese/fcitx-sunpinyin/distinfo @@ -1,2 +1,2 @@ -SHA256 (fcitx/fcitx-sunpinyin-0.3.2.tar.bz2) = e22c6b64224ac7d50d62574980eaa180c9857f35c87b7450a185cd8e906a3577 -SIZE (fcitx/fcitx-sunpinyin-0.3.2.tar.bz2) = 43008 +SHA256 (fcitx/fcitx-sunpinyin-0.3.3.tar.bz2) = e9cb352ca05fd2dc9e366f9c35e2cdd6747a8aafc5ca5ae4fdce002b0ec21dba +SIZE (fcitx/fcitx-sunpinyin-0.3.3.tar.bz2) = 43224 diff --git a/chinese/fcitx-sunpinyin/files/patch-src_eim.cpp b/chinese/fcitx-sunpinyin/files/patch-src_eim.cpp deleted file mode 100644 index a0a37f83c4a9..000000000000 --- a/chinese/fcitx-sunpinyin/files/patch-src_eim.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/eim.cpp.orig 2011-09-29 01:58:59.000000000 -0500 -+++ src/eim.cpp 2011-11-11 02:25:11.839864988 -0600 -@@ -229,8 +229,6 @@ INPUT_RETURN_VALUE FcitxSunpinyinGetCand - (ppd.size() - ppd.caret() + 1) * sizeof(TWCHAR)); - memcpy(sunpinyin->input_src, src, hzlen * sizeof(TWCHAR)); - -- FcitxLog(INFO, "%d", ppd.candi_start()); -- - sunpinyin->front_src[ppd.caret()] = 0; - sunpinyin->end_src[ppd.size() - ppd.caret() + 1] = 0; - sunpinyin->input_src[hzlen] = 0; diff --git a/chinese/fcitx-sunpinyin/pkg-plist b/chinese/fcitx-sunpinyin/pkg-plist index 53f7b88bd1f2..941fb9070891 100644 --- a/chinese/fcitx-sunpinyin/pkg-plist +++ b/chinese/fcitx-sunpinyin/pkg-plist @@ -11,3 +11,4 @@ share/icons/hicolor/24x24/apps/fcitx-sunpinyin.png share/icons/hicolor/32x32/apps/fcitx-sunpinyin.png share/icons/hicolor/48x48/apps/fcitx-sunpinyin.png share/locale/zh_CN/LC_MESSAGES/fcitx-sunpinyin.mo +share/locale/zh_TW/LC_MESSAGES/fcitx-sunpinyin.mo diff --git a/chinese/fcitx-ui-light/Makefile b/chinese/fcitx-ui-light/Makefile index 579de0d217d0..289ff5711c61 100644 --- a/chinese/fcitx-ui-light/Makefile +++ b/chinese/fcitx-ui-light/Makefile @@ -6,7 +6,7 @@ # PORTNAME= fcitx-ui-light -PORTVERSION= 0.1.2 +PORTVERSION= 0.1.3 CATEGORIES= chinese MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DIST_SUBDIR= fcitx diff --git a/chinese/fcitx-ui-light/distinfo b/chinese/fcitx-ui-light/distinfo index 57be16f26010..d62cde0834bd 100644 --- a/chinese/fcitx-ui-light/distinfo +++ b/chinese/fcitx-ui-light/distinfo @@ -1,2 +1,2 @@ -SHA256 (fcitx/fcitx-ui-light-0.1.2.tar.bz2) = 942f38fefed719c80dbf4eab830448088d59546c5b5a251e0a5bee16e4f4ece7 -SIZE (fcitx/fcitx-ui-light-0.1.2.tar.bz2) = 34240 +SHA256 (fcitx/fcitx-ui-light-0.1.3.tar.bz2) = 6fc12f1efdf0cb48d26eaf8a6b9dd26c4595112ee01cc051b42d548dc6c68c54 +SIZE (fcitx/fcitx-ui-light-0.1.3.tar.bz2) = 34515 diff --git a/chinese/fcitx-ui-light/pkg-plist b/chinese/fcitx-ui-light/pkg-plist index 9709960dfa44..bc0dada2f6f2 100644 --- a/chinese/fcitx-ui-light/pkg-plist +++ b/chinese/fcitx-ui-light/pkg-plist @@ -3,3 +3,4 @@ share/fcitx/addon/fcitx-light-ui.conf share/fcitx/configdesc/fcitx-light-ui.desc share/applications/fcitx-light.desktop share/locale/zh_CN/LC_MESSAGES/fcitx-light-ui.mo +share/locale/zh_TW/LC_MESSAGES/fcitx-light-ui.mo diff --git a/chinese/fcitx/Makefile b/chinese/fcitx/Makefile index fd6bec77e1f8..ee2a2c71356c 100644 --- a/chinese/fcitx/Makefile +++ b/chinese/fcitx/Makefile @@ -6,7 +6,7 @@ # PORTNAME= fcitx -PORTVERSION= 4.1.2 +PORTVERSION= 4.2.0 CATEGORIES= chinese x11 MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} pinyin.tar.gz table.tar.gz @@ -18,7 +18,8 @@ COMMENT= A simple and fast GBK Chinese XIM server LICENSE= GPLv2 -LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo +LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo \ + dbus-1.3:${PORTSDIR}/devel/dbus RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils MAN1= createPYMB.1 fcitx-remote.1 fcitx.1 mb2org.1 mb2txt.1 \ @@ -35,7 +36,8 @@ INSTALLS_ICONS= yes OPTIONS= GTK2 "Enable Gtk2 IM module" off \ GTK3 "Enable Gtk3 IM module" off \ QT4 "Enable Qt4 IM module" off \ - DBUS "Enable D-Bus for KIMPanel support" off + OPENCC "Enable OpenCC for Chinese Transform" off \ + TPUNC "Use traditional quotation marks" off .include <bsd.port.options.mk> @@ -57,12 +59,14 @@ QT_COMPONENTS= gui CMAKE_ARGS+= -DENABLE_QT_IM_MODULE=ON .endif -.if defined(WITH_DBUS) -LIB_DEPENDS+= dbus-1.3:${PORTSDIR}/devel/dbus -PLIST_SUB+= DBUS="" +.if defined(WITH_OPENCC) +LIB_DEPENDS+= opencc.1:${PORTSDIR}/chinese/opencc .else -CMAKE_ARGS+= -DENABLE_DBUS=OFF -PLIST_SUB+= DBUS="@comment " +CMAKE_ARGS+= -DENABLE_OPENCC=OFF +.endif + +.if defined(WITH_TPUNC) +EXTRA_PATCHES+= ${FILESDIR}/tpunc-data_punc.mb.zh_CN .endif .if defined(WITH_DEBUG) diff --git a/chinese/fcitx/distinfo b/chinese/fcitx/distinfo index 403ed8c250de..c3c371ae2707 100644 --- a/chinese/fcitx/distinfo +++ b/chinese/fcitx/distinfo @@ -1,5 +1,5 @@ -SHA256 (fcitx/fcitx-4.1.2.tar.bz2) = cf61355fcd8457df9bac7c1f88dff6781eeba5f9466905c2d8d3b872133c99ae -SIZE (fcitx/fcitx-4.1.2.tar.bz2) = 764998 +SHA256 (fcitx/fcitx-4.2.0.tar.bz2) = 1410141f91321ec0c2514b8a9b3ff13ce3af82841036264f5a8b7ad005b139e5 +SIZE (fcitx/fcitx-4.2.0.tar.bz2) = 785160 SHA256 (fcitx/pinyin.tar.gz) = bf8c581450f9fac0eab0498927d1d5e5c1cd465ed9937e4d9362ca9d67920fa4 SIZE (fcitx/pinyin.tar.gz) = 1613447 SHA256 (fcitx/table.tar.gz) = 6196053c724125e3ae3d8bd6b2f9172d0c83b65b0d410d3cde63b7a8d6ab87b7 diff --git a/chinese/fcitx/files/patch-data_script_fcitx-configtool b/chinese/fcitx/files/patch-data_script_fcitx-configtool deleted file mode 100644 index f805c706eb11..000000000000 --- a/chinese/fcitx/files/patch-data_script_fcitx-configtool +++ /dev/null @@ -1,15 +0,0 @@ ---- ./data/script/fcitx-configtool~ 2011-10-02 05:43:11.000000000 -0500 -+++ ./data/script/fcitx-configtool 2011-11-09 21:18:23.600500583 -0600 -@@ -1,4 +1,4 @@ --#!/bin/bash -+#!/bin/sh - #-------------------------------------- - # fcitx-config - # -@@ -61,4 +61,4 @@ case "$DE" in - *) - run_gtk - ;; --esac -\ No newline at end of file -+esac diff --git a/chinese/fcitx/files/patch-src_lib_fcitx-config_CMakeLists.txt b/chinese/fcitx/files/patch-src_lib_fcitx-config_CMakeLists.txt index cf509d11eaae..e944723c786d 100644 --- a/chinese/fcitx/files/patch-src_lib_fcitx-config_CMakeLists.txt +++ b/chinese/fcitx/files/patch-src_lib_fcitx-config_CMakeLists.txt @@ -1,14 +1,5 @@ --- src/lib/fcitx-config/CMakeLists.txt.orig 2011-10-02 05:43:11.000000000 -0500 +++ src/lib/fcitx-config/CMakeLists.txt 2011-11-13 16:02:26.681232301 -0600 -@@ -15,7 +15,7 @@ add_library(fcitx-config SHARED ${FCITX_ - target_link_libraries(fcitx-config fcitx-utils) - set_target_properties(fcitx-config - PROPERTIES VERSION 4.1.0 -- SOVERSION 4.1 -+ SOVERSION 4 - COMPILE_FLAGS "-fvisibility=hidden" - LINK_FLAGS "-Wl,--no-undefined" - ) @@ -23,7 +23,7 @@ set_target_properties(fcitx-config configure_file(fcitx-config.pc.in ${CMAKE_CURRENT_BINARY_DIR}/fcitx-config.pc) diff --git a/chinese/fcitx/files/patch-src_lib_fcitx-utils_CMakeLists.txt b/chinese/fcitx/files/patch-src_lib_fcitx-utils_CMakeLists.txt index 48bfd69e9629..c2855c686453 100644 --- a/chinese/fcitx/files/patch-src_lib_fcitx-utils_CMakeLists.txt +++ b/chinese/fcitx/files/patch-src_lib_fcitx-utils_CMakeLists.txt @@ -1,14 +1,5 @@ --- src/lib/fcitx-utils/CMakeLists.txt.orig 2011-10-02 05:43:11.000000000 -0500 +++ src/lib/fcitx-utils/CMakeLists.txt 2011-11-13 16:02:51.201489333 -0600 -@@ -21,7 +21,7 @@ endif (LIBKVM_FOUND) - add_library(fcitx-utils SHARED ${FCITX_UTILS_SOURCES}) - set_target_properties(fcitx-utils - PROPERTIES VERSION 0.1.0 -- SOVERSION 0.1 -+ SOVERSION 0 - COMPILE_FLAGS "-fvisibility=hidden" - LINK_FLAGS "-Wl,--no-undefined" - ) @@ -34,7 +34,7 @@ endif (LIBKVM_FOUND) configure_file(fcitx-utils.pc.in ${CMAKE_CURRENT_BINARY_DIR}/fcitx-utils.pc) diff --git a/chinese/fcitx/files/patch-src_lib_fcitx_CMakeLists.txt b/chinese/fcitx/files/patch-src_lib_fcitx_CMakeLists.txt index 471685706b9b..24826ca7f76c 100644 --- a/chinese/fcitx/files/patch-src_lib_fcitx_CMakeLists.txt +++ b/chinese/fcitx/files/patch-src_lib_fcitx_CMakeLists.txt @@ -1,14 +1,5 @@ --- src/lib/fcitx/CMakeLists.txt.orig 2011-10-02 05:43:11.000000000 -0500 +++ src/lib/fcitx/CMakeLists.txt 2011-11-13 16:01:32.246665458 -0600 -@@ -32,7 +32,7 @@ link_directories(${DL_LIBRARY_DIRS} ${PT - add_library(fcitx-core SHARED ${LIBFCITX_SOURCES}) - set_target_properties(fcitx-core - PROPERTIES VERSION 0.2.0 -- SOVERSION 0.2 -+ SOVERSION 0 - COMPILE_FLAGS "-fvisibility=hidden" - LINK_FLAGS "-Wl,--no-undefined" - ) @@ -41,7 +41,7 @@ configure_file(fcitx.pc.in ${CMAKE_CURRE target_link_libraries(fcitx-core fcitx-config fcitx-utils ${DL_LIBRARIES} ${PTHREAD_LIBRARIES}) diff --git a/chinese/fcitx/files/tpunc-data_punc.mb.zh_CN b/chinese/fcitx/files/tpunc-data_punc.mb.zh_CN new file mode 100644 index 000000000000..b8b2cc7ab85a --- /dev/null +++ b/chinese/fcitx/files/tpunc-data_punc.mb.zh_CN @@ -0,0 +1,22 @@ +--- data/punc.mb.zh_CN~ 2012-02-01 10:41:59.000000000 -0600 ++++ data/punc.mb.zh_CN 2012-02-06 01:32:03.879099301 -0600 +@@ -1,10 +1,10 @@ + . ã + , ï¼ + ? ï¼ +-" â â ++" ã ã + : ï¼ + ; ï¼ +-' â â ++' ã ã + < ã + > ã + \ ã +@@ -17,4 +17,4 @@ _ ââ + ) ï¼ + [ · + ] ï¼» ï¼½ +-~ ï½ +\ No newline at end of file ++~ ï½ diff --git a/chinese/fcitx/pkg-plist b/chinese/fcitx/pkg-plist index 51adc81755cf..27bf8ba112e8 100644 --- a/chinese/fcitx/pkg-plist +++ b/chinese/fcitx/pkg-plist @@ -14,6 +14,7 @@ include/fcitx-config/fcitx-config.h include/fcitx-config/hotkey.h include/fcitx-config/xdg.h include/fcitx-utils/log.h +include/fcitx-utils/memory.h include/fcitx-utils/utarray.h include/fcitx-utils/utf8.h include/fcitx-utils/uthash.h @@ -21,6 +22,7 @@ include/fcitx-utils/utils.h include/fcitx/addon.h include/fcitx/candidate.h include/fcitx/configfile.h +include/fcitx/context.h include/fcitx/fcitx.h include/fcitx/frontend.h include/fcitx/hook.h @@ -28,9 +30,10 @@ include/fcitx/ime.h include/fcitx/instance.h include/fcitx/keys.h include/fcitx/module.h +include/fcitx/module/chttrans/chttrans.h include/fcitx/module/classicui/classicuiinterface.h -%%DBUS%%include/fcitx/module/dbus/dbusstuff.h -%%DBUS%%include/fcitx/module/ipc/ipc.h +include/fcitx/module/dbus/dbusstuff.h +include/fcitx/module/ipc/ipc.h include/fcitx/module/pinyin/pydef.h include/fcitx/module/punc/punc.h include/fcitx/module/x11/x11stuff.h @@ -39,10 +42,10 @@ include/fcitx/ui.h lib/fcitx/fcitx-autoeng.so lib/fcitx/fcitx-chttrans.so lib/fcitx/fcitx-classic-ui.so -%%DBUS%%lib/fcitx/fcitx-dbus.so +lib/fcitx/fcitx-dbus.so lib/fcitx/fcitx-fullwidth-char.so -%%DBUS%%lib/fcitx/fcitx-ipc.so -%%DBUS%%lib/fcitx/fcitx-kimpanel-ui.so +lib/fcitx/fcitx-ipc.so +lib/fcitx/fcitx-kimpanel-ui.so lib/fcitx/fcitx-pinyin.so lib/fcitx/fcitx-punc.so lib/fcitx/fcitx-quickphrase.so @@ -54,18 +57,17 @@ lib/fcitx/fcitx-x11.so lib/fcitx/fcitx-xim.so lib/libfcitx-config.so lib/libfcitx-config.so.4 -lib/libfcitx-config.so.4.1.0 +lib/libfcitx-config.so.4.1 lib/libfcitx-core.so lib/libfcitx-core.so.0 -lib/libfcitx-core.so.0.2.0 +lib/libfcitx-core.so.0.3 lib/libfcitx-utils.so lib/libfcitx-utils.so.0 -lib/libfcitx-utils.so.0.1.0 +lib/libfcitx-utils.so.0.1 libdata/pkgconfig/fcitx-config.pc libdata/pkgconfig/fcitx-utils.pc libdata/pkgconfig/fcitx.pc share/applications/fcitx-configtool.desktop -%%DBUS%%share/applications/fcitx-kimpanel.desktop share/applications/fcitx-skin-installer.desktop share/applications/fcitx.desktop share/cmake/fcitx/FcitxConfig.cmake @@ -80,10 +82,10 @@ share/cmake/fcitx/FcitxMacro.cmake %%DATADIR%%/addon/fcitx-autoeng.conf %%DATADIR%%/addon/fcitx-chttrans.conf %%DATADIR%%/addon/fcitx-classic-ui.conf -%%DBUS%%%%DATADIR%%/addon/fcitx-dbus.conf +%%DATADIR%%/addon/fcitx-dbus.conf %%DATADIR%%/addon/fcitx-fullwidth-char.conf -%%DBUS%%%%DATADIR%%/addon/fcitx-ipc.conf -%%DBUS%%%%DATADIR%%/addon/fcitx-kimpanel-ui.conf +%%DATADIR%%/addon/fcitx-ipc.conf +%%DATADIR%%/addon/fcitx-kimpanel-ui.conf %%DATADIR%%/addon/fcitx-pinyin.conf %%DATADIR%%/addon/fcitx-punc.conf %%DATADIR%%/addon/fcitx-quickphrase.conf @@ -99,13 +101,18 @@ share/cmake/fcitx/FcitxMacro.cmake %%DATADIR%%/configdesc/fcitx-classic-ui.desc %%DATADIR%%/configdesc/fcitx-pinyin.desc %%DATADIR%%/configdesc/fcitx-xim.desc +%%DATADIR%%/configdesc/inputmethod.desc %%DATADIR%%/configdesc/profile.desc %%DATADIR%%/configdesc/skin.desc %%DATADIR%%/configdesc/table.desc %%DATADIR%%/data/AutoEng.dat %%DATADIR%%/data/gbks2t.tab -%%DATADIR%%/data/punc.mb +%%DATADIR%%/data/punc.mb.zh_CN +%%DATADIR%%/data/punc.mb.zh_TW %%DATADIR%%/data/vk.conf +%%DATADIR%%/inputmethod/pinyin.conf +%%DATADIR%%/inputmethod/qw.conf +%%DATADIR%%/inputmethod/shuangpin.conf %%DATADIR%%/pinyin/pySym.mb %%DATADIR%%/pinyin/pybase.mb %%DATADIR%%/pinyin/pyphrase.mb @@ -226,38 +233,62 @@ share/cmake/fcitx/FcitxMacro.cmake %%DATADIR%%/table/zrm.mb share/icons/hicolor/128x128/apps/fcitx.png share/icons/hicolor/16x16/apps/fcitx.png -share/icons/hicolor/22x22/apps/fcitx.png +share/icons/hicolor/16x16/status/fcitx-fullwidth-active.png +share/icons/hicolor/16x16/status/fcitx-fullwidth-inactive.png +share/icons/hicolor/16x16/status/fcitx-kbd.png +share/icons/hicolor/16x16/status/fcitx-punc-active.png +share/icons/hicolor/16x16/status/fcitx-punc-inactive.png +share/icons/hicolor/16x16/status/fcitx-vk-active.png +share/icons/hicolor/16x16/status/fcitx-vk-inactive.png share/icons/hicolor/24x24/apps/fcitx.png +share/icons/hicolor/24x24/status/fcitx-fullwidth-active.png +share/icons/hicolor/24x24/status/fcitx-fullwidth-inactive.png +share/icons/hicolor/24x24/status/fcitx-kbd.png +share/icons/hicolor/24x24/status/fcitx-punc-active.png +share/icons/hicolor/24x24/status/fcitx-punc-inactive.png +share/icons/hicolor/24x24/status/fcitx-vk-active.png +share/icons/hicolor/24x24/status/fcitx-vk-inactive.png share/icons/hicolor/32x32/apps/fcitx.png -share/icons/hicolor/32x32/status/fcitx-fullwidth-active.png -share/icons/hicolor/32x32/status/fcitx-fullwidth-inactive.png -share/icons/hicolor/32x32/status/fcitx-punc-active.png -share/icons/hicolor/32x32/status/fcitx-punc-inactive.png -share/icons/hicolor/32x32/status/fcitx-vk-active.png -share/icons/hicolor/32x32/status/fcitx-vk-inactive.png share/icons/hicolor/48x48/apps/fcitx.png share/icons/hicolor/48x48/status/fcitx-cangjie.png share/icons/hicolor/48x48/status/fcitx-chn.png share/icons/hicolor/48x48/status/fcitx-chttrans-active.png share/icons/hicolor/48x48/status/fcitx-chttrans-inactive.png -share/icons/hicolor/48x48/status/fcitx-eng.png share/icons/hicolor/48x48/status/fcitx-erbi.png +share/icons/hicolor/48x48/status/fcitx-fullwidth-active.png +share/icons/hicolor/48x48/status/fcitx-fullwidth-inactive.png +share/icons/hicolor/48x48/status/fcitx-kbd.png share/icons/hicolor/48x48/status/fcitx-pinyin.png +share/icons/hicolor/48x48/status/fcitx-punc-active.png +share/icons/hicolor/48x48/status/fcitx-punc-inactive.png share/icons/hicolor/48x48/status/fcitx-remind-active.png share/icons/hicolor/48x48/status/fcitx-remind-inactive.png share/icons/hicolor/48x48/status/fcitx-shuangpin.png +share/icons/hicolor/48x48/status/fcitx-vk-active.png +share/icons/hicolor/48x48/status/fcitx-vk-inactive.png share/icons/hicolor/48x48/status/fcitx-wbpy.png share/icons/hicolor/48x48/status/fcitx-wubi.png share/icons/hicolor/48x48/status/fcitx-ziranma.png +share/icons/hicolor/scabable/status/fcitx-fullwidth-active.svg +share/icons/hicolor/scabable/status/fcitx-fullwidth-inactive.svg +share/icons/hicolor/scabable/status/fcitx-kbd.svg +share/icons/hicolor/scabable/status/fcitx-punc-active.svg +share/icons/hicolor/scabable/status/fcitx-punc-inactive.svg +share/icons/hicolor/scabable/status/fcitx-vk-active.svg +share/icons/hicolor/scabable/status/fcitx-vk-inactive.svg share/locale/zh_CN/LC_MESSAGES/fcitx.mo +share/locale/zh_TW/LC_MESSAGES/fcitx.mo share/mime/packages/x-fskin.xml @dirrmtry share/applications +@dirrmtry share/icons/hicolor/scabable/status +@dirrmtry share/icons/hicolor/scabable @dirrm %%DATADIR%%/table @dirrm %%DATADIR%%/skin/default @dirrm %%DATADIR%%/skin/dark @dirrm %%DATADIR%%/skin/classic @dirrm %%DATADIR%%/skin @dirrm %%DATADIR%%/pinyin +@dirrm %%DATADIR%%/inputmethod @dirrm %%DATADIR%%/data @dirrm %%DATADIR%%/configdesc @dirrm %%DATADIR%%/addon @@ -268,9 +299,10 @@ share/mime/packages/x-fskin.xml @dirrm include/fcitx/module/x11 @dirrm include/fcitx/module/punc @dirrm include/fcitx/module/pinyin -%%DBUS%%@dirrm include/fcitx/module/ipc -%%DBUS%%@dirrm include/fcitx/module/dbus +@dirrm include/fcitx/module/ipc +@dirrm include/fcitx/module/dbus @dirrm include/fcitx/module/classicui +@dirrm include/fcitx/module/chttrans @dirrm include/fcitx/module @dirrm include/fcitx-utils @dirrm include/fcitx-config diff --git a/chinese/libgooglepinyin/Makefile b/chinese/libgooglepinyin/Makefile index 1147da3df7e5..58d4378f1da5 100644 --- a/chinese/libgooglepinyin/Makefile +++ b/chinese/libgooglepinyin/Makefile @@ -6,16 +6,13 @@ # PORTNAME= libgooglepinyin -PORTVERSION= 0.1.1 +PORTVERSION= 0.1.2 CATEGORIES= chinese devel MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} MAINTAINER= lichray@gmail.com COMMENT= A fork of Google Pinyin IME on Android -ONLY_FOR_ARCHS= amd64 i386 -ONLY_FOR_ARCHS_REASON= does not support big-endian dictionary - USE_BZIP2= yes USE_LDCONFIG= yes USE_CMAKE= yes diff --git a/chinese/libgooglepinyin/distinfo b/chinese/libgooglepinyin/distinfo index 6bac78165383..9a0c99113148 100644 --- a/chinese/libgooglepinyin/distinfo +++ b/chinese/libgooglepinyin/distinfo @@ -1,2 +1,2 @@ -SHA256 (libgooglepinyin-0.1.1.tar.bz2) = 5a5aab5e68d8c0ad81e91122d65e9c4c684db2e0c659422686d81adf3385de03 -SIZE (libgooglepinyin-0.1.1.tar.bz2) = 716270 +SHA256 (libgooglepinyin-0.1.2.tar.bz2) = 1a339ae45721a60b9fadd15e43c34b9bb27af3bb999c00ed0d88b4084cfd0637 +SIZE (libgooglepinyin-0.1.2.tar.bz2) = 1348557 diff --git a/chinese/libgooglepinyin/files/patch-data_CMakeLists.txt b/chinese/libgooglepinyin/files/patch-data_CMakeLists.txt index ffe1ba42805d..77acc759b581 100644 --- a/chinese/libgooglepinyin/files/patch-data_CMakeLists.txt +++ b/chinese/libgooglepinyin/files/patch-data_CMakeLists.txt @@ -1,8 +1,10 @@ ---- data/CMakeLists.txt~ 2011-09-06 00:15:40.000000000 -0500 -+++ data/CMakeLists.txt 2011-11-11 05:33:16.204582570 -0600 -@@ -6,4 +6,4 @@ add_custom_target(datafile ALL DEPENDS d +--- data/CMakeLists.txt~ 2012-02-03 02:20:17.000000000 -0600 ++++ data/CMakeLists.txt 2012-02-06 01:57:14.709943289 -0600 +@@ -14,5 +14,5 @@ add_custom_command(OUTPUT dict_pinyin.da + add_custom_target(datafile ALL DEPENDS dict_pinyin.dat) configure_file(googlepinyin.pc.in ${CMAKE_CURRENT_BINARY_DIR}/googlepinyin.pc) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/dict_pinyin.dat DESTINATION ${datadir}/googlepinyin) +-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/dict_pinyin.dat DESTINATION ${libdir}/googlepinyin/data) -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/googlepinyin.pc DESTINATION ${libdir}/pkgconfig) ++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/dict_pinyin.dat DESTINATION ${datadir}/googlepinyin) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/googlepinyin.pc DESTINATION ${prefix}/libdata/pkgconfig) |