Date: Mon, 12 Nov 2012 16:17:57 -0800 (PST) From: Zhihao Yuan <lichray@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/173590: New ports: fcitx-m17n and fcitx-unikey Message-ID: <50a191b5.64cb320a.2272.4417@mx.google.com> Resent-Message-ID: <201211130020.qAD0K0gt049444@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 173590 >Category: ports >Synopsis: New ports: fcitx-m17n and fcitx-unikey >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Nov 13 00:20:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Zhihao Yuan >Release: FreeBSD 8.3-STABLE amd64 >Organization: Northern Illinois University >Environment: System: FreeBSD elitebook.hp 8.3-STABLE FreeBSD 8.3-STABLE #5 r242546: Sun Nov 4 05:25:01 CST 2012 lichray@elitebook.hp:/usr/obj/usr/src/sys/HOUKAGO amd64 >Description: fcitx-m17n - libm17n binding fcitx-unikey - vietnamese keyboard. fcitx-unikey always build the macro-editor if Qt4 is found; the option only controls whether the editor is being installed. Not a big deal; it's safe from the aspect of ports. >How-To-Repeat: >Fix: --- fcitx-m17n.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # fcitx-m17n # fcitx-m17n/distinfo # fcitx-m17n/pkg-plist # fcitx-m17n/Makefile # fcitx-m17n/pkg-descr # echo c - fcitx-m17n mkdir -p fcitx-m17n > /dev/null 2>&1 echo x - fcitx-m17n/distinfo sed 's/^X//' >fcitx-m17n/distinfo << '9c55304c7a3946d22da55b902f37ef41' XSHA256 (fcitx/fcitx-m17n-0.1.3.tar.xz) = 12e26e6bb225a5abcc42a1f8b738746b4d66d07ff3a546a289578a42d605814a XSIZE (fcitx/fcitx-m17n-0.1.3.tar.xz) = 33316 9c55304c7a3946d22da55b902f37ef41 echo x - fcitx-m17n/pkg-plist sed 's/^X//' >fcitx-m17n/pkg-plist << '2d9c185ae53835d2a287a5bcfea37204' Xlib/fcitx/fcitx-m17n.so Xshare/fcitx/addon/fcitx-m17n.conf Xshare/fcitx/configdesc/fcitx-m17n.desc Xshare/fcitx/m17n/default Xshare/locale/zh_CN/LC_MESSAGES/fcitx-m17n.mo Xshare/locale/zh_TW/LC_MESSAGES/fcitx-m17n.mo X@dirrm share/fcitx/m17n 2d9c185ae53835d2a287a5bcfea37204 echo x - fcitx-m17n/Makefile sed 's/^X//' >fcitx-m17n/Makefile << '2e845d2318aa7c45370a8c03336732e9' X# New ports collection makefile for: fcitx-m17n X# Date created: 11 Nov 2012 X# Whom: Zhihao Yuan <lichray@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= fcitx-m17n XPORTVERSION= 0.1.3 XCATEGORIES= textproc XMASTER_SITES= GOOGLE_CODE XDIST_SUBDIR= fcitx X XMAINTAINER= lichray@gmail.com XCOMMENT= The libm17n support for Fcitx X XLIB_DEPENDS= fcitx-config:${PORTSDIR}/chinese/fcitx \ X m17n:${PORTSDIR}/devel/m17n-lib X XUSE_XZ= yes XUSE_GETTEXT= yes XUSE_CMAKE= yes XUSE_GNOME= intltool X XPROJECTHOST= fcitx X X.include <bsd.port.mk> 2e845d2318aa7c45370a8c03336732e9 echo x - fcitx-m17n/pkg-descr sed 's/^X//' >fcitx-m17n/pkg-descr << 'afd237ab6b062571606e0f03322f144c' Xfcitx-m17n provides the libm17n, a multilingual input method engine, Xas a back-end to the Fcitx IM framework. X XWWW: http://code.google.com/p/fcitx/ afd237ab6b062571606e0f03322f144c exit --- fcitx-m17n.shar ends here --- --- fcitx-unikey.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # fcitx-unikey # fcitx-unikey/pkg-descr # fcitx-unikey/Makefile # fcitx-unikey/pkg-plist # fcitx-unikey/distinfo # fcitx-unikey/files # fcitx-unikey/files/patch-macro-editor_CMakeLists.txt # echo c - fcitx-unikey mkdir -p fcitx-unikey > /dev/null 2>&1 echo x - fcitx-unikey/pkg-descr sed 's/^X//' >fcitx-unikey/pkg-descr << 'd9b4cd83993db407dcbfbf4d1269be1a' Xfcitx-unikey provides UniKey (Vietnamese keyboard) to the Fcitx IM Xframework. X XWWW: http://code.google.com/p/fcitx/ d9b4cd83993db407dcbfbf4d1269be1a echo x - fcitx-unikey/Makefile sed 's/^X//' >fcitx-unikey/Makefile << '45ef9eaff72c2686eafb37e345cfe832' X# New ports collection makefile for: fcitx-unikey X# Date created: 11 Nov 2012 X# Whom: Zhihao Yuan <lichray@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= fcitx-unikey XPORTVERSION= 0.1.1 XCATEGORIES= vietnamese XMASTER_SITES= GOOGLE_CODE XDIST_SUBDIR= fcitx X XMAINTAINER= lichray@gmail.com XCOMMENT= UniKey support for Fcitx X XLICENSE= GPLv3 X XLIB_DEPENDS= fcitx-config:${PORTSDIR}/chinese/fcitx X XUSE_XZ= yes XUSE_GETTEXT= yes XUSE_CMAKE= yes XUSE_GNOME= intltool XINSTALLS_ICONS= yes X XOPTIONS_DEFINE= QT4 XOPTIONS_DEFAULT=QT4 X XQT4_DESC= Install the UniKey macro editor X X.include <bsd.port.options.mk> X X.if ${PORT_OPTIONS:MQT4} XUSE_QT4= gui XCMAKE_ARGS+= -DENABLE_EDITOR=ON XPLIST_SUB+= QT4="" X.else XPLIST_SUB+= QT4="@comment " X.endif X XPROJECTHOST= fcitx X X.include <bsd.port.mk> 45ef9eaff72c2686eafb37e345cfe832 echo x - fcitx-unikey/pkg-plist sed 's/^X//' >fcitx-unikey/pkg-plist << 'bd0024ee0007e50fef1ec82cf849c58d' X%%QT4%%bin/fcitx-unikey-macro-editor Xlib/fcitx/fcitx-unikey.so Xshare/fcitx/addon/fcitx-unikey.conf Xshare/fcitx/configdesc/fcitx-unikey.desc Xshare/fcitx/inputmethod/unikey.conf Xshare/fcitx/skin/default/unikey.png Xshare/icons/hicolor/256x256/apps/fcitx-unikey.png Xshare/locale/vi/LC_MESSAGES/fcitx-unikey.mo Xshare/locale/zh_CN/LC_MESSAGES/fcitx-unikey.mo bd0024ee0007e50fef1ec82cf849c58d echo x - fcitx-unikey/distinfo sed 's/^X//' >fcitx-unikey/distinfo << '8f9c65426104cc58b6d2fd7c777abade' XSHA256 (fcitx/fcitx-unikey-0.1.1.tar.xz) = 41512c1d322ddf6add85cdb54c96a27f23ff42cad68c5226c2672b61881acfcd XSIZE (fcitx/fcitx-unikey-0.1.1.tar.xz) = 72564 8f9c65426104cc58b6d2fd7c777abade echo c - fcitx-unikey/files mkdir -p fcitx-unikey/files > /dev/null 2>&1 echo x - fcitx-unikey/files/patch-macro-editor_CMakeLists.txt sed 's/^X//' >fcitx-unikey/files/patch-macro-editor_CMakeLists.txt << '862326be5011464b3d74aa34ec45dac3' X--- macro-editor/CMakeLists.txt.orig 2012-10-22 11:19:06.000000000 -0500 X+++ macro-editor/CMakeLists.txt 2012-11-11 14:48:38.055584178 -0600 X@@ -1,8 +1,10 @@ X include_directories( X+ ${QT_INCLUDE_DIR} X ${QT_QTCORE_INCLUDE_DIR} X ${QT_QTGUI_INCLUDE_DIR} X ${CMAKE_CURRENT_BINARY_DIR} X ${PROJECT_SOURCE_DIR}/unikey X+ ${FCITX4_PREFIX}/include X ) X X link_directories( X@@ -34,6 +36,9 @@ target_link_libraries(fcitx-unikey-macro X unikey X ${FCITX4_FCITX_UTILS_LIBRARIES} X ${FCITX4_FCITX_CONFIG_LIBRARIES} X+ -lintl X ) X X-install(TARGETS fcitx-unikey-macro-editor DESTINATION ${FCITX4_PREFIX}/bin) X\ No newline at end of file X+if (ENABLE_EDITOR) X+install(TARGETS fcitx-unikey-macro-editor DESTINATION ${FCITX4_PREFIX}/bin) X+endif (ENABLE_EDITOR) 862326be5011464b3d74aa34ec45dac3 exit --- fcitx-unikey.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50a191b5.64cb320a.2272.4417>