View | Details | Raw Unified | Return to bug 198743
Collapse All | Expand All

(-)chinese/brise/Makefile (+20 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	brise
4
PORTVERSION=	0.32
5
CATEGORIES=	chinese textproc
6
MASTER_SITES=	http://github.com/lotem/brise/archive/brise-${DISTVERSION}.tar.gz?dummy=/
7
DISTNAME=	${PORTNAME}-brise-${DISTVERSION}
8
9
MAINTAINER=	hiroto.kagotani@gmail.com
10
COMMENT=	Rime Schema Repository
11
12
LICENSE=	GPLv3
13
14
BUILD_DEPENDS=	rime_deployer:${PORTSDIR}/chinese/librime
15
16
USES=		gmake
17
18
MAKE_ARGS+=	RIME_DATA_DIR=${DATADIR}
19
20
.include <bsd.port.mk>
(-)chinese/brise/distinfo (+2 lines)
Line 0 Link Here
1
SHA256 (brise-brise-0.32.tar.gz) = b1e9fc2a5967d7994ccca1b0aaeee7f1fe0ab5f9c16325c0650a610df5ce93c0
2
SIZE (brise-brise-0.32.tar.gz) = 6695914
(-)chinese/brise/pkg-descr (+3 lines)
Line 0 Link Here
1
Rime Schema Repository.
2
3
WWW: https://rime.github.io/
(-)chinese/brise/pkg-plist (+55 lines)
Line 0 Link Here
1
%%DATADIR%%/bopomofo.schema.yaml
2
%%DATADIR%%/bopomofo_tw.schema.yaml
3
%%DATADIR%%/cangjie5.dict.yaml
4
%%DATADIR%%/cangjie5.prism.bin
5
%%DATADIR%%/cangjie5.reverse.bin
6
%%DATADIR%%/cangjie5.schema.yaml
7
%%DATADIR%%/cangjie5.table.bin
8
%%DATADIR%%/cangjie5_express.schema.yaml
9
%%DATADIR%%/combo_pinyin.schema.yaml
10
%%DATADIR%%/default.yaml
11
%%DATADIR%%/double_pinyin.schema.yaml
12
%%DATADIR%%/double_pinyin_abc.schema.yaml
13
%%DATADIR%%/double_pinyin_flypy.schema.yaml
14
%%DATADIR%%/double_pinyin_mspy.schema.yaml
15
%%DATADIR%%/emoji.dict.yaml
16
%%DATADIR%%/emoji.schema.yaml
17
%%DATADIR%%/essay.kct
18
%%DATADIR%%/ipa_xsampa.dict.yaml
19
%%DATADIR%%/ipa_xsampa.schema.yaml
20
%%DATADIR%%/jyutping.dict.yaml
21
%%DATADIR%%/jyutping.schema.yaml
22
%%DATADIR%%/luna_pinyin.dict.yaml
23
%%DATADIR%%/luna_pinyin.prism.bin
24
%%DATADIR%%/luna_pinyin.reverse.bin
25
%%DATADIR%%/luna_pinyin.schema.yaml
26
%%DATADIR%%/luna_pinyin.table.bin
27
%%DATADIR%%/luna_pinyin_fluency.prism.bin
28
%%DATADIR%%/luna_pinyin_fluency.schema.yaml
29
%%DATADIR%%/luna_pinyin_simp.prism.bin
30
%%DATADIR%%/luna_pinyin_simp.schema.yaml
31
%%DATADIR%%/luna_pinyin_tw.prism.bin
32
%%DATADIR%%/luna_pinyin_tw.schema.yaml
33
%%DATADIR%%/pinyin_simp.dict.yaml
34
%%DATADIR%%/pinyin_simp.schema.yaml
35
%%DATADIR%%/quick5.dict.yaml
36
%%DATADIR%%/quick5.schema.yaml
37
%%DATADIR%%/sampheng.schema.yaml
38
%%DATADIR%%/soutzoe.dict.yaml
39
%%DATADIR%%/soutzoe.schema.yaml
40
%%DATADIR%%/stroke.dict.yaml
41
%%DATADIR%%/stroke.prism.bin
42
%%DATADIR%%/stroke.reverse.bin
43
%%DATADIR%%/stroke.schema.yaml
44
%%DATADIR%%/stroke.table.bin
45
%%DATADIR%%/symbols.yaml
46
%%DATADIR%%/terra_pinyin.dict.yaml
47
%%DATADIR%%/terra_pinyin.schema.yaml
48
%%DATADIR%%/wubi86.dict.yaml
49
%%DATADIR%%/wubi86.schema.yaml
50
%%DATADIR%%/wubi_pinyin.schema.yaml
51
%%DATADIR%%/wugniu.schema.yaml
52
%%DATADIR%%/wugniu_lopha.dict.yaml
53
%%DATADIR%%/wugniu_lopha.schema.yaml
54
%%DATADIR%%/zyenpheng.dict.yaml
55
%%DATADIR%%/zyenpheng.schema.yaml
(-)chinese/fcitx/Makefile (-17 / +33 lines)
Lines 2-13 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fcitx
4
PORTNAME=	fcitx
5
PORTVERSION=	4.2.6.1
5
PORTVERSION=	4.2.8.5
6
PORTREVISION=	5
7
CATEGORIES=	chinese x11
6
CATEGORIES=	chinese x11
8
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
7
MASTER_SITES=	http://download.fcitx-im.org/fcitx/:fcitx \
9
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
8
		http://download.fcitx-im.org/data/:data
10
		pinyin.tar.gz table.tar.gz en_dict-${_DICT_VER}.tar.gz
9
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:fcitx \
10
		en_dict-${_DICT_VER}.tar.gz:data \
11
		pinyin.tar.gz:data \
12
		py_stroke-${_PYSTROKE_VER}.tar.gz:data \
13
		py_table-${_PYTABLE_VER}.tar.gz:data \
14
		table.tar.gz:data
11
DIST_SUBDIR=	${PORTNAME}
15
DIST_SUBDIR=	${PORTNAME}
12
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
16
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
13
17
Lines 17-24 Link Here
17
LICENSE=	GPLv2
21
LICENSE=	GPLv2
18
22
19
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes
23
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes
20
LIB_DEPENDS=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
24
LIB_DEPENDS=	libdbus-1.so:${PORTSDIR}/devel/dbus \
21
		libdbus-1.so:${PORTSDIR}/devel/dbus \
22
		libicuuc.so:${PORTSDIR}/devel/icu
25
		libicuuc.so:${PORTSDIR}/devel/icu
23
RUN_DEPENDS=	xdg-open:${PORTSDIR}/devel/xdg-utils
26
RUN_DEPENDS=	xdg-open:${PORTSDIR}/devel/xdg-utils
24
27
Lines 30-41 Link Here
30
USE_GNOME=	pango intltool libxml2 introspection
33
USE_GNOME=	pango intltool libxml2 introspection
31
USE_XORG=	x11 xext xkbfile
34
USE_XORG=	x11 xext xkbfile
32
USE_LDCONFIG=	yes
35
USE_LDCONFIG=	yes
33
USES=		tar:xz cmake desktop-file-utils gettext iconv pathfix pkgconfig shared-mime-info
36
USES=		tar:xz cmake desktop-file-utils execinfo gettext iconv \
37
		pathfix pkgconfig shared-mime-info
34
INSTALLS_ICONS=	yes
38
INSTALLS_ICONS=	yes
35
LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB}
39
LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB}
36
40
37
OPTIONS_DEFINE=	GTK2 GTK3 QT4 OPENCC TPUNC DOCS
41
OPTIONS_DEFINE=	GTK2 GTK3 QT4 OPENCC TPUNC DOCS
38
OPTIONS_DEFAULT=GTK2
42
OPTIONS_DEFAULT=GTK2 QT4
39
43
40
GTK2_DESC=	Enable Gtk2 IM module
44
GTK2_DESC=	Enable Gtk2 IM module
41
GTK3_DESC=	Enable Gtk3 IM module
45
GTK3_DESC=	Enable Gtk3 IM module
Lines 45-51 Link Here
45
49
46
.include <bsd.port.options.mk>
50
.include <bsd.port.options.mk>
47
51
48
CMAKE_ARGS+=	-DENABLE_XDGAUTOSTART=OFF -DFORCE_ENCHANT=ON
52
CMAKE_ARGS+=	-DENABLE_XDGAUTOSTART=OFF -DFORCE_ENCHANT=ON \
53
		-DDATADIR=${DATADIR} \
54
		-DDOCSDIR=${DOCSDIR} \
55
		-DGOBJECT_INTROSPECTION_GIRDIR=${PREFIX}/share/gir-1.0 \
56
		-DGOBJECT_INTROSPECTION_TYPELIBDIR=${PREFIX}/lib/girepository-1.0 \
57
		-DMANPREFIX=${MANPREFIX} \
58
		-DPREFIX=${PREFIX} \
59
		-DQT_PLUGINS_DIR=${PREFIX}/lib/qt4/plugins
49
60
50
.if ${PORT_OPTIONS:MGTK2}
61
.if ${PORT_OPTIONS:MGTK2}
51
USE_GNOME+=	gtk20
62
USE_GNOME+=	gtk20
Lines 68-77 Link Here
68
.endif
79
.endif
69
80
70
.if ${PORT_OPTIONS:MQT4}
81
.if ${PORT_OPTIONS:MQT4}
71
USE_QT4=	qmake_build moc_build rcc_build uic_build dbus gui inputmethods
82
USE_QT4+=	qmake_build moc_build rcc_build uic_build dbus gui inputmethods
72
CMAKE_ARGS+=	-DENABLE_QT_IM_MODULE=ON
83
USE_LDCONFIG+=	${PREFIX}/lib/fcitx/qt
73
PLIST_SUB+=	QT4=""
84
PLIST_SUB+=	QT4=""
74
.else
85
.else
86
CMAKE_ARGS+=	-DENABLE_QT=OFF -DENABLE_QT_IM_MODULE=OFF -DENABLE_QT_GUI=OFF
75
PLIST_SUB+=	QT4="@comment "
87
PLIST_SUB+=	QT4="@comment "
76
.endif
88
.endif
77
89
Lines 89-102 Link Here
89
CMAKE_ARGS+=	-DENABLE_DEBUG=ON
101
CMAKE_ARGS+=	-DENABLE_DEBUG=ON
90
.endif
102
.endif
91
103
92
DOCS_EXTRA_PATCHES=	${FILESDIR}/nodocs-doc_CMakeLists.txt
104
DOCS_EXTRA_PATCHES_OFF=	${FILESDIR}/nodocs-doc_CMakeLists.txt
93
105
94
_DICT_VER=	20120815
106
_DICT_VER=	20121020
107
_PYSTROKE_VER=	20121124
108
_PYTABLE_VER=	20121124
95
109
96
post-patch:
110
post-patch:
97
	@${CP} ${_DISTDIR}/pinyin.tar.gz ${WRKSRC}/data
111
	@${CP} ${_DISTDIR}/en_dict-${_DICT_VER}.tar.gz ${WRKSRC}/src/module/spell/dict/.
98
	@${CP} ${_DISTDIR}/table.tar.gz ${WRKSRC}/data/table
112
	@${CP} ${_DISTDIR}/pinyin.tar.gz ${WRKSRC}/src/im/pinyin/data/.
99
	@${CP} ${_DISTDIR}/en_dict-${_DICT_VER}.tar.gz ${WRKSRC}/data
113
	@${CP} ${_DISTDIR}/py_stroke-${_PYSTROKE_VER}.tar.gz ${WRKSRC}/src/module/pinyin-enhance/data/.
114
	@${CP} ${_DISTDIR}/py_table-${_PYTABLE_VER}.tar.gz ${WRKSRC}/src/module/pinyin-enhance/data/.
115
	@${CP} ${_DISTDIR}/table.tar.gz ${WRKSRC}/src/im/table/data/.
100
.if ${OSVERSION} < 800067
116
.if ${OSVERSION} < 800067
101
# getline() is GNU extension which FreeBSD only recently adopted
117
# getline() is GNU extension which FreeBSD only recently adopted
102
EXTRA_PATCHES+=	${FILESDIR}/getline-src_lib_fcitx-utils_utils.c \
118
EXTRA_PATCHES+=	${FILESDIR}/getline-src_lib_fcitx-utils_utils.c \
(-)chinese/fcitx/distinfo (-4 / +8 lines)
Lines 1-8 Link Here
1
SHA256 (fcitx/fcitx-4.2.6.1.tar.xz) = b3b1fa548163701ca6009fa71362668eb973bffa8067f039d7cbe643e4769ab1
1
SHA256 (fcitx/fcitx-4.2.8.5.tar.xz) = 6a7dda9177ec2443049f95f5db65aff34e906cb24030a973aaf9d0485833bc78
2
SIZE (fcitx/fcitx-4.2.6.1.tar.xz) = 1442744
2
SIZE (fcitx/fcitx-4.2.8.5.tar.xz) = 1662736
3
SHA256 (fcitx/en_dict-20121020.tar.gz) = c44a5d7847925eea9e4d2d04748d442cd28dd9299a0b572ef7d91eac4f5a6ceb
4
SIZE (fcitx/en_dict-20121020.tar.gz) = 630491
3
SHA256 (fcitx/pinyin.tar.gz) = 583829b24a758c087c08de4a69480d0bf5946354fe77db360d6d7f467c2bd8e1
5
SHA256 (fcitx/pinyin.tar.gz) = 583829b24a758c087c08de4a69480d0bf5946354fe77db360d6d7f467c2bd8e1
4
SIZE (fcitx/pinyin.tar.gz) = 1608886
6
SIZE (fcitx/pinyin.tar.gz) = 1608886
7
SHA256 (fcitx/py_stroke-20121124.tar.gz) = 8eb128a9bfa43952e67cf2fcee1fd134c6f4cfd317bc2f6c38a615f5eb64e248
8
SIZE (fcitx/py_stroke-20121124.tar.gz) = 445601
9
SHA256 (fcitx/py_table-20121124.tar.gz) = 42146ac97de6c13d55f9e99ed873915f4c66739e9c11532a34556badf9792c04
10
SIZE (fcitx/py_table-20121124.tar.gz) = 186822
5
SHA256 (fcitx/table.tar.gz) = 6196053c724125e3ae3d8bd6b2f9172d0c83b65b0d410d3cde63b7a8d6ab87b7
11
SHA256 (fcitx/table.tar.gz) = 6196053c724125e3ae3d8bd6b2f9172d0c83b65b0d410d3cde63b7a8d6ab87b7
6
SIZE (fcitx/table.tar.gz) = 4144686
12
SIZE (fcitx/table.tar.gz) = 4144686
7
SHA256 (fcitx/en_dict-20120815.tar.gz) = a73c989eae586a681a0e64bd7e8a43d45fc6dfbfd45b98e4b83f715a87639945
8
SIZE (fcitx/en_dict-20120815.tar.gz) = 679983
(-)chinese/fcitx/files/patch-CMakeLists.txt (-9 / +42 lines)
Lines 1-11 Link Here
1
--- CMakeLists.txt~	2011-10-02 05:43:11.000000000 -0500
1
--- ./CMakeLists.txt.orig	2013-09-28 17:33:14.000000000 +0900
2
+++ CMakeLists.txt	2011-11-09 07:51:31.801020675 -0600
2
+++ ./CMakeLists.txt	2014-03-19 13:45:08.000000000 +0900
3
@@ -93,7 +93,7 @@ if (ENABLE_OPENCC)
3
@@ -207,16 +207,21 @@
4
 endif (ENABLE_OPENCC)
4
     set(SYSCONFDIR "${CMAKE_INSTALL_PREFIX}/etc" CACHE PATH "sys config directory [default=PREFIX/etc/]")
5
 endif()
5
 
6
 
6
 if(ENABLE_DEBUG)
7
-set(includedir "${CMAKE_INSTALL_PREFIX}/include")
7
-    set(_DEBUG)
8
-set(libdir ${LIB_INSTALL_DIR})
8
+    set(_DEBUG ON)
9
-set(pkgconfdir ${LIBDATA_INSTALL_DIR}/pkgconfig)
9
 endif(ENABLE_DEBUG)
10
-set(mandir ${MAN_INSTALL_DIR})
11
+set(includedir "${PREFIX}/include")
12
+set(libdir ${PREFIX}/lib)
13
+set(pkgconfdir ${PREFIX}/libdata/pkgconfig)
14
+set(mandir ${MANPREFIX}/man)
15
 set(addondir ${libdir}/${package} )
16
-set(pkgdatadir ${prefix}/share/${package})
17
+set(addondestdir "\${PREFIX}/lib/${package}" )
18
+set(pkgdatadir ${DATADIR})
19
+set(pkgdatadestdir "\${DATADIR}")
20
 set(configdescdir ${pkgdatadir}/configdesc)
21
+set(configdescdestdir ${pkgdatadestdir}/configdesc)
22
 set(addonconfigdir ${pkgdatadir}/addon)
23
+set(addonconfigdestdir ${pkgdatadestdir}/addon)
24
 set(imconfigdir ${pkgdatadir}/inputmethod)
25
-set(localedir ${CMAKE_INSTALL_PREFIX}/share/locale)
26
+set(imconfigdestdir ${pkgdatadestdir}/inputmethod)
27
+set(localedir ${PREFIX}/share/locale)
10
 
28
 
11
 set(package     fcitx)
29
 list(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${LIB_INSTALL_DIR}" _isSystemPlatformLibDir)
30
 list(FIND CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "${LIB_INSTALL_DIR}" _isSystemCxxLibDir)
31
@@ -229,9 +234,13 @@
32
 
33
 # For FcitxMacro
34
 set(FCITX4_ADDON_INSTALL_DIR ${addondir})
35
+set(FCITX4_ADDON_INSTALL_DESTDIR ${addondestdir})
36
 set(FCITX4_CONFIGDESC_INSTALL_DIR ${configdescdir})
37
+set(FCITX4_CONFIGDESC_INSTALL_DESTDIR ${configdescdir})
38
 set(FCITX4_ADDON_CONFIG_INSTALL_DIR ${addonconfigdir})
39
+set(FCITX4_ADDON_CONFIG_INSTALL_DESTDIR ${addonconfigdir})
40
 set(FCITX4_INPUTMETHOD_CONFIG_INSTALL_DIR ${imconfigdir})
41
+set(FCITX4_INPUTMETHOD_CONFIG_INSTALL_DESTDIR ${imconfigdir})
42
 set(FCITX4_PACKAGE_NAME ${package})
43
 
44
 function(_RESOLVE_LIBRARY_PATH _FILE_NAME _LIBRARY_PATH)
(-)chinese/fcitx/files/patch-cmake__FcitxConfig.cmake (+16 lines)
Line 0 Link Here
1
--- ./cmake/FcitxConfig.cmake.orig	2013-09-28 17:33:14.000000000 +0900
2
+++ ./cmake/FcitxConfig.cmake	2014-03-19 13:45:08.000000000 +0900
3
@@ -76,9 +76,13 @@
4
 IF(FCITX4_FCITXCONFIG_EXECUTABLE)
5
     message(STATUS "fcitx4-config found ${FCITX4_FCITXCONFIG_EXECUTABLE}")
6
     EXECUTE_PROCESS(COMMAND "${FCITX4_FCITXCONFIG_EXECUTABLE}" --addondir OUTPUT_VARIABLE FCITX4_ADDON_INSTALL_DIR ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
7
+    EXECUTE_PROCESS(COMMAND "${FCITX4_FCITXCONFIG_EXECUTABLE}" --addondestdir OUTPUT_VARIABLE FCITX4_ADDON_INSTALL_DESTDIR ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
8
     EXECUTE_PROCESS(COMMAND "${FCITX4_FCITXCONFIG_EXECUTABLE}" --imconfigdir OUTPUT_VARIABLE FCITX4_INPUTMETHOD_CONFIG_INSTALL_DIR ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
9
+    EXECUTE_PROCESS(COMMAND "${FCITX4_FCITXCONFIG_EXECUTABLE}" --imconfigdestdir OUTPUT_VARIABLE FCITX4_INPUTMETHOD_CONFIG_INSTALL_DESTDIR ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
10
     EXECUTE_PROCESS(COMMAND "${FCITX4_FCITXCONFIG_EXECUTABLE}" --configdescdir OUTPUT_VARIABLE FCITX4_CONFIGDESC_INSTALL_DIR ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
11
+    EXECUTE_PROCESS(COMMAND "${FCITX4_FCITXCONFIG_EXECUTABLE}" --configdescdestdir OUTPUT_VARIABLE FCITX4_CONFIGDESC_INSTALL_DESTDIR ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
12
     EXECUTE_PROCESS(COMMAND "${FCITX4_FCITXCONFIG_EXECUTABLE}" --addonconfigdir OUTPUT_VARIABLE FCITX4_ADDON_CONFIG_INSTALL_DIR ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
13
+    EXECUTE_PROCESS(COMMAND "${FCITX4_FCITXCONFIG_EXECUTABLE}" --addonconfigdestdir OUTPUT_VARIABLE FCITX4_ADDON_CONFIG_INSTALL_DESTDIR ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
14
     EXECUTE_PROCESS(COMMAND "${FCITX4_FCITXCONFIG_EXECUTABLE}" --package OUTPUT_VARIABLE FCITX4_PACKAGE_NAME ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
15
     EXECUTE_PROCESS(COMMAND "${FCITX4_FCITXCONFIG_EXECUTABLE}" --version OUTPUT_VARIABLE FCITX4_VERSION ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
16
     EXECUTE_PROCESS(COMMAND "${FCITX4_FCITXCONFIG_EXECUTABLE}" --prefix OUTPUT_VARIABLE FCITX4_PREFIX ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
(-)chinese/fcitx/files/patch-cmake__FcitxMacro.cmake (+51 lines)
Line 0 Link Here
1
--- ./cmake/FcitxMacro.cmake.orig	2013-09-28 17:33:14.000000000 +0900
2
+++ ./cmake/FcitxMacro.cmake	2014-03-19 13:46:27.000000000 +0900
3
@@ -366,10 +366,10 @@
4
   add_custom_target("${target_name}" ALL)
5
 
6
   __fcitx_addon_config_file("${target_name}" "${FCITX_ADDON_CONF_SRC}"
7
-    "${FCITX4_ADDON_CONFIG_INSTALL_DIR}")
8
+    "${FCITX4_ADDON_CONFIG_INSTALL_DESTDIR}")
9
   foreach(im_config ${FCITX_ADDON_IM_CONFIG})
10
     __fcitx_addon_config_file("${target_name}" "${im_config}"
11
-      "${FCITX4_INPUTMETHOD_CONFIG_INSTALL_DIR}")
12
+      "${FCITX4_INPUTMETHOD_CONFIG_INSTALL_DESTDIR}")
13
   endforeach()
14
   __fcitx_add_addon_lib("${FCITX_ADDON_LIB_NAME}" ${FCITX_ADDON_SOURCES})
15
   if(FCITX_ADDON_LINK_LIBS)
16
@@ -393,7 +393,7 @@
17
   set_target_properties("${lib_name}" PROPERTIES PREFIX ""
18
     COMPILE_FLAGS "-fvisibility=hidden")
19
   add_dependencies("${lib_name}" fcitx-scan-addons.target)
20
-  install(TARGETS "${lib_name}" DESTINATION "${FCITX4_ADDON_INSTALL_DIR}")
21
+  install(TARGETS "${lib_name}" DESTINATION "${FCITX4_ADDON_INSTALL_DESTDIR}")
22
 endfunction()
23
 
24
 function(__fcitx_install_addon_desc target_name)
25
@@ -402,7 +402,7 @@
26
   add_custom_target("${desc_target}" DEPENDS ${descs})
27
   add_dependencies("${target_name}" "${desc_target}")
28
   install(FILES ${descs}
29
-    DESTINATION "${FCITX4_CONFIGDESC_INSTALL_DIR}")
30
+    DESTINATION "${FCITX4_CONFIGDESC_INSTALL_DESTDIR}")
31
 endfunction()
32
 
33
 # Add additional config-desc files, the file will be added to extracte
34
@@ -893,7 +893,7 @@
35
   __FCITX_CONF_FILE_GET_UNIQUE_TARGET_NAME(fcitx_addon_conf targetname)
36
   add_custom_target(${targetname} ALL DEPENDS ${conffilename})
37
   install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${conffilename}"
38
-    DESTINATION "${FCITX4_ADDON_CONFIG_INSTALL_DIR}")
39
+    DESTINATION "${FCITX4_ADDON_CONFIG_INSTALL_DESTDIR}")
40
 ENDMACRO(FCITX_ADD_ADDON_CONF_FILE conffilename)
41
 
42
 MACRO(FCITX_ADD_INPUTMETHOD_CONF_FILE conffilename)
43
@@ -902,7 +902,7 @@
44
   __FCITX_CONF_FILE_GET_UNIQUE_TARGET_NAME(fcitx_inputmethod_conf targetname)
45
   add_custom_target(${targetname} ALL DEPENDS ${conffilename})
46
   install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${conffilename}"
47
-    DESTINATION "${FCITX4_INPUTMETHOD_CONFIG_INSTALL_DIR}")
48
+    DESTINATION "${FCITX4_INPUTMETHOD_CONFIG_INSTALL_DESTDIR}")
49
 ENDMACRO()
50
 
51
 MACRO(FCITX_ADD_CONFIGDESC_FILE)
(-)chinese/fcitx/files/patch-cmake_modules_FindLibkvm.cmake (-34 lines)
Lines 1-34 Link Here
1
diff --git a/cmake/FindLibkvm.cmake b/cmake/FindLibkvm.cmake
2
index a66b85d..4453fd4 100644
3
--- cmake/FindLibkvm.cmake
4
+++ cmake/FindLibkvm.cmake
5
@@ -5,23 +5,11 @@
6
 #  LIBKVM_INCLUDE_DIR - Libkvm include directory
7
 #  LIBKVM_LIBRARIES - Libraries needed to use Libkvm
8
 #
9
- 
10
-if(LIBKVM_INCLUDE_DIR AND LIBKVM_FOUND)
11
-  set(Libkvm_FIND_QUIETLY TRUE)
12
-endif(LIBKVM_INCLUDE_DIR AND LIBKVM_FOUND)
13
- 
14
+
15
 find_path(LIBKVM_INCLUDE_DIR kvm.h)
16
- 
17
-set(LIBKVM_FOUND FALSE)
18
- 
19
-if(LIBKVM_INCLUDE_DIR)
20
-    find_library(LIBKVM_LIBRARIES NAMES kvm)
21
-    if(LIBKVM_LIBRARIES)
22
-      set(LIBKVM_FOUND TRUE)
23
-    endif(LIBKVM_LIBRARIES)
24
-endif(LIBKVM_INCLUDE_DIR)
25
- 
26
+find_library(LIBKVM_LIBRARIES NAMES kvm)
27
+
28
 include(FindPackageHandleStandardArgs)
29
-find_package_handle_standard_args(Libkvm  DEFAULT_MSG  LIBKVM_INCLUDE_DIR  LIBKVM_FOUND)
30
- 
31
-mark_as_advanced(LIBKVM_INCLUDE_DIR  LIBKVM_LIBRARIES  LIBKVM_LIBC_HAS_KVM_OPEN  LIBKVM_FOUND)
32
+find_package_handle_standard_args(Libkvm  DEFAULT_MSG  LIBKVM_INCLUDE_DIR  LIBKVM_LIBRARIES)
33
+
34
+mark_as_advanced(LIBKVM_INCLUDE_DIR  LIBKVM_LIBRARIES)
(-)chinese/fcitx/files/patch-data__script__fcitx4-config.in (+78 lines)
Line 0 Link Here
1
--- ./data/script/fcitx4-config.in.orig	2013-09-28 17:33:14.000000000 +0900
2
+++ ./data/script/fcitx4-config.in	2014-03-19 13:45:08.000000000 +0900
3
@@ -1,14 +1,26 @@
4
 #! /bin/sh
5
 
6
+## cmake does not handle \$\{.PREFIX\:\-\@prefix\@\} syntax (even in comments).
7
+if [ -z "$PREFIX" ]; then
8
+  PREFIX=@prefix@
9
+fi
10
+if [ -z "$DATADIR" ]; then
11
+  DATADIR=$PREFIX/share/fcitx
12
+fi
13
+
14
 package=@package@
15
 prefix=@prefix@
16
 exec_prefix=@exec_prefix@
17
 includedir=@includedir@
18
 libdir=@libdir@
19
 addondir=@addondir@
20
+addondestdir=@addondestdir@
21
 imconfigdir=@imconfigdir@
22
+imconfigdestdir=@imconfigdestdir@
23
 configdescdir=@configdescdir@
24
+configdescdestdir=@configdescdestdir@
25
 addonconfigdir=@addonconfigdir@
26
+addonconfigdestdir=@addonconfigdestdir@
27
 
28
 usage()
29
 {
30
@@ -23,9 +35,13 @@
31
   --libdir              Fcitx Library Prefix
32
   --includedir          Fcitx Include Prefix
33
   --addondir            Fcitx Addon Library Dir
34
+  --addondestdir        Fcitx Addon Library DestDir
35
   --configdescdir       Fcitx Configure Description File Dir
36
+  --configdescdestdir   Fcitx Configure Description File DestDir
37
   --addonconfigdir      Fcitx Addon Config File Dir
38
+  --addonconfigdestdir  Fcitx Addon Config File DestDir
39
   --imconfigdir         Fcitx Input Method Config File Dir
40
+  --imconfigdestdir     Fcitx Input Method Config File DestDir
41
   --help                display this help and exit
42
   --version             output version information
43
 EOF
44
@@ -72,18 +88,34 @@
45
       echo $addondir
46
       ;;
47
 
48
+    --addondestdir)
49
+      echo $addondestdir
50
+      ;;
51
+
52
     --configdescdir)
53
       echo $configdescdir
54
       ;;
55
 
56
+    --configdescdestdir)
57
+      echo $configdescdestdir
58
+      ;;
59
+
60
     --addonconfigdir)
61
       echo $addonconfigdir
62
       ;;
63
 
64
+    --addonconfigdestdir)
65
+      echo $addonconfigdestdir
66
+      ;;
67
+
68
     --imconfigdir)
69
       echo $imconfigdir
70
       ;;
71
 
72
+    --imconfigdestdir)
73
+      echo $imconfigdestdir
74
+      ;;
75
+
76
     --version)
77
         echo @version@
78
         exit 0
(-)chinese/fcitx/files/patch-doc_man_CMakeLists.txt (-9 lines)
Lines 1-9 Link Here
1
--- doc/man/CMakeLists.txt~	2011-10-02 05:43:11.000000000 -0500
2
+++ doc/man/CMakeLists.txt	2011-11-09 05:30:55.468797225 -0600
3
@@ -2,4 +2,4 @@ set(FCITX_MANS
4
 fcitx.1 createPYMB.1 readPYBase.1 readPYMB.1 mb2org.1 scel2org.1 mb2txt.1 txt2mb.1 fcitx-remote.1
5
 )
6
 
7
-install(FILES ${FCITX_MANS} DESTINATION share/man/man1)
8
\ No newline at end of file
9
+install(FILES ${FCITX_MANS} DESTINATION man/man1)
(-)chinese/fcitx/files/patch-src_lib_fcitx-config_CMakeLists.txt (-11 lines)
Lines 1-11 Link Here
1
--- src/lib/fcitx-config/CMakeLists.txt.orig	2011-10-02 05:43:11.000000000 -0500
2
+++ src/lib/fcitx-config/CMakeLists.txt	2011-11-13 16:02:26.681232301 -0600
3
@@ -23,7 +23,7 @@ set_target_properties(fcitx-config
4
 configure_file(fcitx-config.pc.in ${CMAKE_CURRENT_BINARY_DIR}/fcitx-config.pc)
5
 
6
 install(TARGETS fcitx-config DESTINATION ${libdir})
7
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/fcitx-config.pc DESTINATION "${libdir}/pkgconfig")
8
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/fcitx-config.pc DESTINATION "libdata/pkgconfig")
9
 install(FILES ${FCITX_CONFIG_HEADERS} DESTINATION "${includedir}/fcitx-config")
10
 
11
 if (ENABLE_STATIC)
(-)chinese/fcitx/files/patch-src_lib_fcitx-gclient_CMakeLists.txt (-18 lines)
Lines 1-18 Link Here
1
--- src/lib/fcitx-gclient/CMakeLists.txt~	2012-07-17 15:21:04.000000000 -0500
2
+++ src/lib/fcitx-gclient/CMakeLists.txt	2012-07-18 00:46:13.209418264 -0500
3
@@ -46,7 +46,7 @@ target_link_libraries(fcitx-gclient ${GI
4
 configure_file(fcitx-gclient.pc.in ${CMAKE_CURRENT_BINARY_DIR}/fcitx-gclient.pc)
5
 
6
 install(TARGETS fcitx-gclient LIBRARY DESTINATION "${libdir}")
7
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/fcitx-gclient.pc DESTINATION "${libdir}/pkgconfig")
8
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/fcitx-gclient.pc DESTINATION "libdata/pkgconfig")
9
 install(FILES ${FCITX_GCLIENT_HEADERS} DESTINATION "${includedir}/fcitx-gclient")
10
 
11
 if (ENABLE_GIR)
12
@@ -86,4 +86,4 @@ install(TARGETS fcitx-gclient-static
13
 )
14
 endif (ENABLE_STATIC)
15
 
16
-add_subdirectory(test)
17
\ No newline at end of file
18
+add_subdirectory(test)
(-)chinese/fcitx/files/patch-src_lib_fcitx-gclient_fcitxclient.c (-17 lines)
Lines 1-17 Link Here
1
--- src/lib/fcitx-gclient/fcitxclient.c.orig	2012-09-19 14:25:18.000000000 +0800
2
+++ src/lib/fcitx-gclient/fcitxclient.c	2012-09-19 14:29:55.000000000 +0800
3
@@ -26,10 +26,14 @@
4
 #include "fcitxclient.h"
5
 #include "marshall.h"
6
 
7
+#ifdef _DEBUG
8
 #define fcitx_gclient_debug(...) g_log ("fcitx-client",       \
9
                                       G_LOG_LEVEL_DEBUG,    \
10
                                       __VA_ARGS__)
11
 
12
+#else
13
+#define fcitx_gclient_debug(...)
14
+#endif
15
 typedef struct _ProcessKeyStruct ProcessKeyStruct;
16
 
17
 struct _ProcessKeyStruct {
(-)chinese/fcitx/files/patch-src_lib_fcitx-utils_CMakeLists.txt (-11 lines)
Lines 1-11 Link Here
1
--- src/lib/fcitx-utils/CMakeLists.txt.orig	2011-10-02 05:43:11.000000000 -0500
2
+++ src/lib/fcitx-utils/CMakeLists.txt	2011-11-13 16:02:51.201489333 -0600
3
@@ -34,7 +34,7 @@ endif (LIBKVM_FOUND)
4
 configure_file(fcitx-utils.pc.in ${CMAKE_CURRENT_BINARY_DIR}/fcitx-utils.pc)
5
 
6
 install(TARGETS fcitx-utils LIBRARY DESTINATION "${libdir}")
7
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/fcitx-utils.pc DESTINATION "${libdir}/pkgconfig")
8
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/fcitx-utils.pc DESTINATION "libdata/pkgconfig")
9
 install(FILES ${FCITX_UTILS_HEADERS} DESTINATION "${includedir}/fcitx-utils")
10
 
11
 if (ENABLE_STATIC)
(-)chinese/fcitx/files/patch-src_lib_fcitx_CMakeLists.txt (-11 lines)
Lines 1-11 Link Here
1
--- src/lib/fcitx/CMakeLists.txt.orig	2011-10-02 05:43:11.000000000 -0500
2
+++ src/lib/fcitx/CMakeLists.txt	2011-11-13 16:01:32.246665458 -0600
3
@@ -41,7 +41,7 @@ configure_file(fcitx.pc.in ${CMAKE_CURRE
4
 
5
 target_link_libraries(fcitx-core fcitx-config fcitx-utils ${DL_LIBRARIES} ${PTHREAD_LIBRARIES})
6
 install(TARGETS fcitx-core LIBRARY DESTINATION "${libdir}")
7
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/fcitx.pc DESTINATION "${libdir}/pkgconfig")
8
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/fcitx.pc DESTINATION "libdata/pkgconfig")
9
 install(FILES ${FCITX_HEADERS} DESTINATION "${includedir}/fcitx")
10
 
11
 if (ENABLE_STATIC)
(-)chinese/fcitx/files/patch-tools__cli__CMakeLists.txt (+10 lines)
Line 0 Link Here
1
--- ./tools/cli/CMakeLists.txt.orig	2013-09-28 17:33:14.000000000 +0900
2
+++ ./tools/cli/CMakeLists.txt	2014-03-19 13:45:08.000000000 +0900
3
@@ -1,3 +1,7 @@
4
+include_directories (
5
+  ${LIBICONV_INCLUDE_DIR}
6
+  )
7
+
8
 set(createPYMB_SOURCES
9
   createPYMB.c
10
   ${PROJECT_SOURCE_DIR}/src/im/pinyin/pyParser.c
(-)chinese/fcitx/files/patch-tools__gui__quickphrase-editor__CMakeLists.txt (+10 lines)
Line 0 Link Here
1
--- ./tools/gui/quickphrase-editor/CMakeLists.txt.orig	2013-09-28 17:33:14.000000000 +0900
2
+++ ./tools/gui/quickphrase-editor/CMakeLists.txt	2014-03-19 13:45:08.000000000 +0900
3
@@ -17,6 +17,7 @@
4
   ${QT_QTCORE_INCLUDE_DIR}
5
   ${QT_QTGUI_INCLUDE_DIR}
6
   ${CMAKE_CURRENT_BINARY_DIR}
7
+  ${LIBINTL_INCLUDE_DIR}
8
   )
9
 qt4_wrap_ui(QUICKPHRASE_EDITOR_SRCS editordialog.ui batchdialog.ui editor.ui)
10
 add_library(fcitx-quickphrase-editor
(-)chinese/fcitx/files/patch-tools__gui__wrapper__CMakeLists.txt (+10 lines)
Line 0 Link Here
1
--- ./tools/gui/wrapper/CMakeLists.txt.orig	2013-09-28 17:33:14.000000000 +0900
2
+++ ./tools/gui/wrapper/CMakeLists.txt	2014-03-19 13:45:08.000000000 +0900
3
@@ -14,6 +14,7 @@
4
   ${QT_QTCORE_INCLUDE_DIR}
5
   ${QT_QTGUI_INCLUDE_DIR}
6
   ${CMAKE_CURRENT_BINARY_DIR}
7
+  ${LIBINTL_INCLUDE_DIR}
8
   )
9
 
10
 qt4_wrap_ui(QT_WRAPPER_SRCS mainwindow.ui)
(-)chinese/fcitx/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
Fcitx (Free Chinese Input Toy for X) is an input method framework,
1
Fcitx (Free Chinese Input Toy for X) is an input method framework,
2
which aims to provide a flexible IM solution for the desktop environments.
2
which aims to provide a flexible IM solution for the desktop environments.
3
3
4
WWW:	http://code.google.com/p/fcitx/
4
WWW: https://fcitx-im.org/wiki/Fcitx
(-)chinese/fcitx/pkg-plist (-73 / +149 lines)
Lines 2-7 Link Here
2
bin/fcitx
2
bin/fcitx
3
bin/fcitx-configtool
3
bin/fcitx-configtool
4
bin/fcitx-dbus-watcher
4
bin/fcitx-dbus-watcher
5
bin/fcitx-diagnose
5
bin/fcitx-remote
6
bin/fcitx-remote
6
bin/fcitx-skin-installer
7
bin/fcitx-skin-installer
7
bin/fcitx4-config
8
bin/fcitx4-config
Lines 15-27 Link Here
15
include/fcitx-config/hotkey.h
16
include/fcitx-config/hotkey.h
16
include/fcitx-config/xdg.h
17
include/fcitx-config/xdg.h
17
include/fcitx-gclient/fcitxclient.h
18
include/fcitx-gclient/fcitxclient.h
19
include/fcitx-gclient/fcitxconnection.h
18
include/fcitx-gclient/fcitxinputmethod.h
20
include/fcitx-gclient/fcitxinputmethod.h
19
include/fcitx-gclient/fcitxkbd.h
21
include/fcitx-gclient/fcitxkbd.h
22
%%QT4%%include/fcitx-qt/fcitxqt_export.h
23
%%QT4%%include/fcitx-qt/fcitxqtconfiguifactory.h
24
%%QT4%%include/fcitx-qt/fcitxqtconfiguiplugin.h
25
%%QT4%%include/fcitx-qt/fcitxqtconfiguiwidget.h
26
%%QT4%%include/fcitx-qt/fcitxqtconnection.h
27
%%QT4%%include/fcitx-qt/fcitxqtformattedpreedit.h
28
%%QT4%%include/fcitx-qt/fcitxqtinputcontextproxy.h
29
%%QT4%%include/fcitx-qt/fcitxqtinputmethoditem.h
30
%%QT4%%include/fcitx-qt/fcitxqtinputmethodproxy.h
31
%%QT4%%include/fcitx-qt/fcitxqtkeyboardlayout.h
32
%%QT4%%include/fcitx-qt/fcitxqtkeyboardproxy.h
33
%%QT4%%include/fcitx-qt/fcitxqtkeysequencewidget.h
20
include/fcitx-utils/bitset.h
34
include/fcitx-utils/bitset.h
35
include/fcitx-utils/desktop-parse.h
36
include/fcitx-utils/handler-table.h
21
include/fcitx-utils/keysym.h
37
include/fcitx-utils/keysym.h
22
include/fcitx-utils/keysymgen.h
38
include/fcitx-utils/keysymgen.h
23
include/fcitx-utils/log.h
39
include/fcitx-utils/log.h
24
include/fcitx-utils/memory.h
40
include/fcitx-utils/memory.h
41
include/fcitx-utils/objpool.h
42
include/fcitx-utils/stringmap.h
25
include/fcitx-utils/utarray.h
43
include/fcitx-utils/utarray.h
26
include/fcitx-utils/utf8.h
44
include/fcitx-utils/utf8.h
27
include/fcitx-utils/uthash.h
45
include/fcitx-utils/uthash.h
Lines 38-62 Link Here
38
include/fcitx/keys.h
56
include/fcitx/keys.h
39
include/fcitx/module.h
57
include/fcitx/module.h
40
include/fcitx/module/chttrans/chttrans.h
58
include/fcitx/module/chttrans/chttrans.h
59
include/fcitx/module/chttrans/fcitx-chttrans.h
41
include/fcitx/module/classicui/classicuiinterface.h
60
include/fcitx/module/classicui/classicuiinterface.h
61
include/fcitx/module/classicui/fcitx-classicui.h
62
include/fcitx/module/clipboard/clipboard.h
63
include/fcitx/module/clipboard/fcitx-clipboard.h
42
include/fcitx/module/dbus/dbusstuff.h
64
include/fcitx/module/dbus/dbusstuff.h
65
include/fcitx/module/dbus/fcitx-dbus.h
66
include/fcitx/module/freedesktop-notify/fcitx-freedesktop-notify.h
67
include/fcitx/module/freedesktop-notify/freedesktop-notify.h
43
include/fcitx/module/ipc/ipc.h
68
include/fcitx/module/ipc/ipc.h
69
include/fcitx/module/notificationitem/fcitx-notificationitem.h
70
include/fcitx/module/notificationitem/notificationitem.h
71
include/fcitx/module/pinyin-enhance/fcitx-pinyin-enhance.h
72
include/fcitx/module/pinyin-enhance/pinyin-enhance.h
73
include/fcitx/module/pinyin/fcitx-pinyin.h
44
include/fcitx/module/pinyin/pydef.h
74
include/fcitx/module/pinyin/pydef.h
75
include/fcitx/module/punc/fcitx-punc.h
45
include/fcitx/module/punc/punc.h
76
include/fcitx/module/punc/punc.h
77
include/fcitx/module/quickphrase/fcitx-quickphrase.h
46
include/fcitx/module/quickphrase/quickphrase.h
78
include/fcitx/module/quickphrase/quickphrase.h
79
include/fcitx/module/spell/fcitx-spell.h
47
include/fcitx/module/spell/spell.h
80
include/fcitx/module/spell/spell.h
81
include/fcitx/module/x11/fcitx-x11.h
48
include/fcitx/module/x11/x11stuff.h
82
include/fcitx/module/x11/x11stuff.h
83
include/fcitx/module/xkb/fcitx-xkb.h
84
include/fcitx/module/xkb/xkb.h
49
include/fcitx/profile.h
85
include/fcitx/profile.h
50
include/fcitx/ui.h
86
include/fcitx/ui.h
51
lib/fcitx/fcitx-autoeng.so
87
lib/fcitx/fcitx-autoeng.so
52
lib/fcitx/fcitx-chttrans.so
88
lib/fcitx/fcitx-chttrans.so
53
lib/fcitx/fcitx-classic-ui.so
89
lib/fcitx/fcitx-classic-ui.so
90
lib/fcitx/fcitx-clipboard.so
54
lib/fcitx/fcitx-dbus.so
91
lib/fcitx/fcitx-dbus.so
92
lib/fcitx/fcitx-freedesktop-notify.so
55
lib/fcitx/fcitx-fullwidth-char.so
93
lib/fcitx/fcitx-fullwidth-char.so
56
lib/fcitx/fcitx-imselector.so
94
lib/fcitx/fcitx-imselector.so
57
lib/fcitx/fcitx-ipc.so
95
lib/fcitx/fcitx-ipc.so
58
lib/fcitx/fcitx-keyboard.so
96
lib/fcitx/fcitx-keyboard.so
59
lib/fcitx/fcitx-kimpanel-ui.so
97
lib/fcitx/fcitx-kimpanel-ui.so
98
lib/fcitx/fcitx-notificationitem.so
60
lib/fcitx/fcitx-pinyin-enhance.so
99
lib/fcitx/fcitx-pinyin-enhance.so
61
lib/fcitx/fcitx-pinyin.so
100
lib/fcitx/fcitx-pinyin.so
62
lib/fcitx/fcitx-punc.so
101
lib/fcitx/fcitx-punc.so
Lines 71-76 Link Here
71
lib/fcitx/fcitx-xim.so
110
lib/fcitx/fcitx-xim.so
72
lib/fcitx/fcitx-xkb.so
111
lib/fcitx/fcitx-xkb.so
73
lib/fcitx/fcitx-xkbdbus.so
112
lib/fcitx/fcitx-xkbdbus.so
113
lib/fcitx/libexec/comp-spell-dict
114
lib/fcitx/libexec/fcitx-po-parser
115
%%QT4%%lib/fcitx/libexec/fcitx-qt-gui-wrapper
116
lib/fcitx/libexec/fcitx-scanner
117
%%QT4%%lib/fcitx/qt/libfcitx-quickphrase-editor.so
118
lib/girepository-1.0/Fcitx-1.0.typelib
119
%%GTK2%%lib/gtk-2.0/%%GTK2_VERSION%%/immodules/im-fcitx.so
120
%%GTK2%%@exec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
121
%%GTK2%%@unexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
122
%%GTK3%%lib/gtk-3.0/%%GTK3_VERSION%%/immodules/im-fcitx.so
123
%%GTK3%%@exec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 --update-cache
124
%%GTK3%%@unexec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 --update-cache
125
%%QT4%%lib/qt4/plugins/inputmethods/qtim-fcitx.so
74
lib/libfcitx-config.so
126
lib/libfcitx-config.so
75
lib/libfcitx-config.so.4
127
lib/libfcitx-config.so.4
76
lib/libfcitx-config.so.4.1
128
lib/libfcitx-config.so.4.1
Lines 80-89 Link Here
80
lib/libfcitx-gclient.so
132
lib/libfcitx-gclient.so
81
lib/libfcitx-gclient.so.0
133
lib/libfcitx-gclient.so.0
82
lib/libfcitx-gclient.so.0.1
134
lib/libfcitx-gclient.so.0.1
135
%%QT4%%lib/libfcitx-qt.so
136
%%QT4%%lib/libfcitx-qt.so.0
137
%%QT4%%lib/libfcitx-qt.so.0.1
83
lib/libfcitx-utils.so
138
lib/libfcitx-utils.so
84
lib/libfcitx-utils.so.0
139
lib/libfcitx-utils.so.0
85
lib/libfcitx-utils.so.0.1
140
lib/libfcitx-utils.so.0.1
86
lib/girepository-1.0/Fcitx-1.0.typelib
141
libdata/pkgconfig/fcitx-config.pc
142
libdata/pkgconfig/fcitx-gclient.pc
143
%%QT4%%libdata/pkgconfig/fcitx-qt.pc
144
libdata/pkgconfig/fcitx-utils.pc
145
libdata/pkgconfig/fcitx.pc
87
man/man1/createPYMB.1.gz
146
man/man1/createPYMB.1.gz
88
man/man1/fcitx-remote.1.gz
147
man/man1/fcitx-remote.1.gz
89
man/man1/fcitx.1.gz
148
man/man1/fcitx.1.gz
Lines 93-110 Link Here
93
man/man1/readPYMB.1.gz
152
man/man1/readPYMB.1.gz
94
man/man1/scel2org.1.gz
153
man/man1/scel2org.1.gz
95
man/man1/txt2mb.1.gz
154
man/man1/txt2mb.1.gz
96
share/gir-1.0/Fcitx-1.0.gir
97
%%GTK2%%lib/gtk-2.0/%%GTK2_VERSION%%/immodules/im-fcitx.so
98
%%GTK2%%@exec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
99
%%GTK2%%@unexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
100
%%GTK3%%lib/gtk-3.0/%%GTK3_VERSION%%/immodules/im-fcitx.so
101
%%GTK3%%@exec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 --update-cache
102
%%GTK3%%@unexec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 --update-cache
103
%%QT4%%lib/qt4/plugins/inputmethods/libqtim-fcitx.so
104
libdata/pkgconfig/fcitx-config.pc
105
libdata/pkgconfig/fcitx-gclient.pc
106
libdata/pkgconfig/fcitx-utils.pc
107
libdata/pkgconfig/fcitx.pc
108
share/applications/fcitx-configtool.desktop
155
share/applications/fcitx-configtool.desktop
109
share/applications/fcitx-skin-installer.desktop
156
share/applications/fcitx-skin-installer.desktop
110
share/applications/fcitx.desktop
157
share/applications/fcitx.desktop
Lines 111-117 Link Here
111
share/cmake/fcitx/FcitxConfig.cmake
158
share/cmake/fcitx/FcitxConfig.cmake
112
share/cmake/fcitx/FcitxConfigVersion.cmake
159
share/cmake/fcitx/FcitxConfigVersion.cmake
113
share/cmake/fcitx/FcitxMacro.cmake
160
share/cmake/fcitx/FcitxMacro.cmake
161
share/cmake/fcitx/fcitx-cmake-helper.sh
162
share/cmake/fcitx/fcitx-extract-confdesc.sh
163
share/cmake/fcitx/fcitx-extract-desktop.sh
164
share/cmake/fcitx/fcitx-extract-gettext.sh
165
share/cmake/fcitx/fcitx-extract-kde.sh
166
share/cmake/fcitx/fcitx-extract-po.sh
167
share/cmake/fcitx/fcitx-extract-qt.sh
168
share/cmake/fcitx/fcitx-merge-config.sh
169
share/cmake/fcitx/fcitx-parse-po.sh
170
share/cmake/fcitx/fcitx-write-po.sh
114
share/cmake/fcitx/getdescpo
171
share/cmake/fcitx/getdescpo
172
share/dbus-1/services/org.fcitx.Fcitx.service
115
%%PORTDOCS%%%%DOCSDIR%%/API.txt
173
%%PORTDOCS%%%%DOCSDIR%%/API.txt
116
%%PORTDOCS%%%%DOCSDIR%%/Develop_Readme
174
%%PORTDOCS%%%%DOCSDIR%%/Develop_Readme
117
%%PORTDOCS%%%%DOCSDIR%%/cjkvinput.txt
175
%%PORTDOCS%%%%DOCSDIR%%/cjkvinput.txt
Lines 120-131 Link Here
120
%%DATADIR%%/addon/fcitx-autoeng.conf
178
%%DATADIR%%/addon/fcitx-autoeng.conf
121
%%DATADIR%%/addon/fcitx-chttrans.conf
179
%%DATADIR%%/addon/fcitx-chttrans.conf
122
%%DATADIR%%/addon/fcitx-classic-ui.conf
180
%%DATADIR%%/addon/fcitx-classic-ui.conf
181
%%DATADIR%%/addon/fcitx-clipboard.conf
123
%%DATADIR%%/addon/fcitx-dbus.conf
182
%%DATADIR%%/addon/fcitx-dbus.conf
183
%%DATADIR%%/addon/fcitx-freedesktop-notify.conf
124
%%DATADIR%%/addon/fcitx-fullwidth-char.conf
184
%%DATADIR%%/addon/fcitx-fullwidth-char.conf
125
%%DATADIR%%/addon/fcitx-imselector.conf
185
%%DATADIR%%/addon/fcitx-imselector.conf
126
%%DATADIR%%/addon/fcitx-ipc.conf
186
%%DATADIR%%/addon/fcitx-ipc.conf
127
%%DATADIR%%/addon/fcitx-keyboard.conf
187
%%DATADIR%%/addon/fcitx-keyboard.conf
128
%%DATADIR%%/addon/fcitx-kimpanel-ui.conf
188
%%DATADIR%%/addon/fcitx-kimpanel-ui.conf
189
%%DATADIR%%/addon/fcitx-notificationitem.conf
129
%%DATADIR%%/addon/fcitx-pinyin-enhance.conf
190
%%DATADIR%%/addon/fcitx-pinyin-enhance.conf
130
%%DATADIR%%/addon/fcitx-pinyin.conf
191
%%DATADIR%%/addon/fcitx-pinyin.conf
131
%%DATADIR%%/addon/fcitx-punc.conf
192
%%DATADIR%%/addon/fcitx-punc.conf
Lines 145-150 Link Here
145
%%DATADIR%%/configdesc/fcitx-autoeng.desc
206
%%DATADIR%%/configdesc/fcitx-autoeng.desc
146
%%DATADIR%%/configdesc/fcitx-chttrans.desc
207
%%DATADIR%%/configdesc/fcitx-chttrans.desc
147
%%DATADIR%%/configdesc/fcitx-classic-ui.desc
208
%%DATADIR%%/configdesc/fcitx-classic-ui.desc
209
%%DATADIR%%/configdesc/fcitx-clipboard.desc
148
%%DATADIR%%/configdesc/fcitx-imselector.desc
210
%%DATADIR%%/configdesc/fcitx-imselector.desc
149
%%DATADIR%%/configdesc/fcitx-keyboard.desc
211
%%DATADIR%%/configdesc/fcitx-keyboard.desc
150
%%DATADIR%%/configdesc/fcitx-pinyin-enhance.desc
212
%%DATADIR%%/configdesc/fcitx-pinyin-enhance.desc
Lines 161-171 Link Here
161
%%DATADIR%%/configdesc/table.desc
223
%%DATADIR%%/configdesc/table.desc
162
%%DATADIR%%/data/AutoEng.dat
224
%%DATADIR%%/data/AutoEng.dat
163
%%DATADIR%%/data/charselectdata
225
%%DATADIR%%/data/charselectdata
164
%%DATADIR%%/data/en_dict.fscd
226
%%DATADIR%%/data/env_setup.sh
165
%%DATADIR%%/data/gbks2t.tab
227
%%DATADIR%%/data/gbks2t.tab
166
%%DATADIR%%/data/punc.mb.zh_CN
228
%%DATADIR%%/data/punc.mb.zh_CN
167
%%DATADIR%%/data/punc.mb.zh_HK
229
%%DATADIR%%/data/punc.mb.zh_HK
168
%%DATADIR%%/data/punc.mb.zh_TW
230
%%DATADIR%%/data/punc.mb.zh_TW
231
%%DATADIR%%/data/quickphrase.d/emoji.mb
232
%%DATADIR%%/data/quickphrase.d/latex.mb
169
%%DATADIR%%/data/vk.conf
233
%%DATADIR%%/data/vk.conf
170
%%DATADIR%%/dbus/daemon.conf
234
%%DATADIR%%/dbus/daemon.conf
171
%%DATADIR%%/imicon/cangjie.png
235
%%DATADIR%%/imicon/cangjie.png
Lines 178-187 Link Here
178
%%DATADIR%%/inputmethod/pinyin.conf
242
%%DATADIR%%/inputmethod/pinyin.conf
179
%%DATADIR%%/inputmethod/qw.conf
243
%%DATADIR%%/inputmethod/qw.conf
180
%%DATADIR%%/inputmethod/shuangpin.conf
244
%%DATADIR%%/inputmethod/shuangpin.conf
181
%%DATADIR%%/pinyin/pySym.mb
182
%%DATADIR%%/pinyin/pybase.mb
245
%%DATADIR%%/pinyin/pybase.mb
183
%%DATADIR%%/pinyin/pyphrase.mb
246
%%DATADIR%%/pinyin/pyphrase.mb
184
%%DATADIR%%/pinyin/sp.dat
247
%%DATADIR%%/py-enhance/py_stroke.mb
248
%%DATADIR%%/py-enhance/py_table.mb
185
%%DATADIR%%/skin/classic/active.png
249
%%DATADIR%%/skin/classic/active.png
186
%%DATADIR%%/skin/classic/bar.png
250
%%DATADIR%%/skin/classic/bar.png
187
%%DATADIR%%/skin/classic/bingchan.png
251
%%DATADIR%%/skin/classic/bingchan.png
Lines 197-203 Link Here
197
%%DATADIR%%/skin/classic/fullwidth_inactive.png
261
%%DATADIR%%/skin/classic/fullwidth_inactive.png
198
%%DATADIR%%/skin/classic/inactive.png
262
%%DATADIR%%/skin/classic/inactive.png
199
%%DATADIR%%/skin/classic/input.png
263
%%DATADIR%%/skin/classic/input.png
200
%%DATADIR%%/skin/classic/kbd.png
201
%%DATADIR%%/skin/classic/logo.png
264
%%DATADIR%%/skin/classic/logo.png
202
%%DATADIR%%/skin/classic/menu.png
265
%%DATADIR%%/skin/classic/menu.png
203
%%DATADIR%%/skin/classic/next.png
266
%%DATADIR%%/skin/classic/next.png
Lines 230-236 Link Here
230
%%DATADIR%%/skin/dark/fullwidth_inactive.png
293
%%DATADIR%%/skin/dark/fullwidth_inactive.png
231
%%DATADIR%%/skin/dark/inactive.png
294
%%DATADIR%%/skin/dark/inactive.png
232
%%DATADIR%%/skin/dark/input.png
295
%%DATADIR%%/skin/dark/input.png
233
%%DATADIR%%/skin/dark/kbd.png
234
%%DATADIR%%/skin/dark/keyboard.png
296
%%DATADIR%%/skin/dark/keyboard.png
235
%%DATADIR%%/skin/dark/logo.png
297
%%DATADIR%%/skin/dark/logo.png
236
%%DATADIR%%/skin/dark/menu.png
298
%%DATADIR%%/skin/dark/menu.png
Lines 250-257 Link Here
250
%%DATADIR%%/skin/dark/wubi.png
312
%%DATADIR%%/skin/dark/wubi.png
251
%%DATADIR%%/skin/dark/ziranma.png
313
%%DATADIR%%/skin/dark/ziranma.png
252
%%DATADIR%%/skin/default/active.png
314
%%DATADIR%%/skin/default/active.png
315
%%DATADIR%%/skin/default/anthy.png
253
%%DATADIR%%/skin/default/bar.png
316
%%DATADIR%%/skin/default/bar.png
254
%%DATADIR%%/skin/default/bingchan.png
317
%%DATADIR%%/skin/default/bingchan.png
318
%%DATADIR%%/skin/default/bopomofo.png
319
%%DATADIR%%/skin/default/boshiamy.png
255
%%DATADIR%%/skin/default/cangjie.png
320
%%DATADIR%%/skin/default/cangjie.png
256
%%DATADIR%%/skin/default/chttrans_active.png
321
%%DATADIR%%/skin/default/chttrans_active.png
257
%%DATADIR%%/skin/default/chttrans_inactive.png
322
%%DATADIR%%/skin/default/chttrans_inactive.png
Lines 262-274 Link Here
262
%%DATADIR%%/skin/default/fcitx_skin.conf
327
%%DATADIR%%/skin/default/fcitx_skin.conf
263
%%DATADIR%%/skin/default/fullwidth_active.png
328
%%DATADIR%%/skin/default/fullwidth_active.png
264
%%DATADIR%%/skin/default/fullwidth_inactive.png
329
%%DATADIR%%/skin/default/fullwidth_inactive.png
330
%%DATADIR%%/skin/default/hangul.png
265
%%DATADIR%%/skin/default/inactive.png
331
%%DATADIR%%/skin/default/inactive.png
266
%%DATADIR%%/skin/default/input.png
332
%%DATADIR%%/skin/default/input.png
267
%%DATADIR%%/skin/default/kbd.png
268
%%DATADIR%%/skin/default/keyboard.png
333
%%DATADIR%%/skin/default/keyboard.png
334
%%DATADIR%%/skin/default/kkc.png
269
%%DATADIR%%/skin/default/logo.png
335
%%DATADIR%%/skin/default/logo.png
270
%%DATADIR%%/skin/default/menu.png
336
%%DATADIR%%/skin/default/menu.png
271
%%DATADIR%%/skin/default/next.png
337
%%DATADIR%%/skin/default/next.png
338
%%DATADIR%%/skin/default/pinyin-libpinyin.png
272
%%DATADIR%%/skin/default/pinyin.png
339
%%DATADIR%%/skin/default/pinyin.png
273
%%DATADIR%%/skin/default/prev.png
340
%%DATADIR%%/skin/default/prev.png
274
%%DATADIR%%/skin/default/punc_active.png
341
%%DATADIR%%/skin/default/punc_active.png
Lines 276-282 Link Here
276
%%DATADIR%%/skin/default/quwei.png
343
%%DATADIR%%/skin/default/quwei.png
277
%%DATADIR%%/skin/default/remind_active.png
344
%%DATADIR%%/skin/default/remind_active.png
278
%%DATADIR%%/skin/default/remind_inactive.png
345
%%DATADIR%%/skin/default/remind_inactive.png
346
%%DATADIR%%/skin/default/shuangpin-libpinyin.png
279
%%DATADIR%%/skin/default/shuangpin.png
347
%%DATADIR%%/skin/default/shuangpin.png
348
%%DATADIR%%/skin/default/sogoupinyin.png
349
%%DATADIR%%/skin/default/unikey.png
280
%%DATADIR%%/skin/default/vk_active.png
350
%%DATADIR%%/skin/default/vk_active.png
281
%%DATADIR%%/skin/default/vk_inactive.png
351
%%DATADIR%%/skin/default/vk_inactive.png
282
%%DATADIR%%/skin/default/wanfeng.png
352
%%DATADIR%%/skin/default/wanfeng.png
Lines 283-288 Link Here
283
%%DATADIR%%/skin/default/wbpy.png
353
%%DATADIR%%/skin/default/wbpy.png
284
%%DATADIR%%/skin/default/wubi.png
354
%%DATADIR%%/skin/default/wubi.png
285
%%DATADIR%%/skin/default/ziranma.png
355
%%DATADIR%%/skin/default/ziranma.png
356
%%DATADIR%%/spell/en_dict.fscd
286
%%DATADIR%%/table/cangjie.conf
357
%%DATADIR%%/table/cangjie.conf
287
%%DATADIR%%/table/cj.mb
358
%%DATADIR%%/table/cj.mb
288
%%DATADIR%%/table/db.conf
359
%%DATADIR%%/table/db.conf
Lines 299-365 Link Here
299
%%DATADIR%%/table/wbx.mb
370
%%DATADIR%%/table/wbx.mb
300
%%DATADIR%%/table/zrm.conf
371
%%DATADIR%%/table/zrm.conf
301
%%DATADIR%%/table/zrm.mb
372
%%DATADIR%%/table/zrm.mb
302
share/icons/gnome/scalable/status/fcitx-fullwidth-active.svg
373
share/gir-1.0/Fcitx-1.0.gir
303
share/icons/gnome/scalable/status/fcitx-fullwidth-inactive.svg
304
share/icons/gnome/scalable/status/fcitx-kbd.svg
305
share/icons/gnome/scalable/status/fcitx-punc-active.svg
306
share/icons/gnome/scalable/status/fcitx-punc-inactive.svg
307
share/icons/gnome/scalable/status/fcitx-vk-active.svg
308
share/icons/gnome/scalable/status/fcitx-vk-inactive.svg
309
share/icons/hicolor/128x128/apps/fcitx.png
374
share/icons/hicolor/128x128/apps/fcitx.png
375
share/icons/hicolor/16x16/apps/fcitx-fullwidth-active.png
376
share/icons/hicolor/16x16/apps/fcitx-fullwidth-inactive.png
377
share/icons/hicolor/16x16/apps/fcitx-kbd.png
378
share/icons/hicolor/16x16/apps/fcitx-punc-active.png
379
share/icons/hicolor/16x16/apps/fcitx-punc-inactive.png
380
share/icons/hicolor/16x16/apps/fcitx-vk-active.png
381
share/icons/hicolor/16x16/apps/fcitx-vk-inactive.png
310
share/icons/hicolor/16x16/apps/fcitx.png
382
share/icons/hicolor/16x16/apps/fcitx.png
311
share/icons/hicolor/16x16/status/fcitx-fullwidth-active.png
383
share/icons/hicolor/22x22/apps/fcitx-fullwidth-active.png
312
share/icons/hicolor/16x16/status/fcitx-fullwidth-inactive.png
384
share/icons/hicolor/22x22/apps/fcitx-fullwidth-inactive.png
313
share/icons/hicolor/16x16/status/fcitx-kbd.png
385
share/icons/hicolor/22x22/apps/fcitx-kbd.png
314
share/icons/hicolor/16x16/status/fcitx-punc-active.png
386
share/icons/hicolor/22x22/apps/fcitx-punc-active.png
315
share/icons/hicolor/16x16/status/fcitx-punc-inactive.png
387
share/icons/hicolor/22x22/apps/fcitx-punc-inactive.png
316
share/icons/hicolor/16x16/status/fcitx-vk-active.png
388
share/icons/hicolor/22x22/apps/fcitx-vk-active.png
317
share/icons/hicolor/16x16/status/fcitx-vk-inactive.png
389
share/icons/hicolor/22x22/apps/fcitx-vk-inactive.png
318
share/icons/hicolor/22x22/apps/fcitx.png
390
share/icons/hicolor/22x22/apps/fcitx.png
319
share/icons/hicolor/22x22/status/fcitx-fullwidth-active.png
391
share/icons/hicolor/24x24/apps/fcitx-fullwidth-active.png
320
share/icons/hicolor/22x22/status/fcitx-fullwidth-inactive.png
392
share/icons/hicolor/24x24/apps/fcitx-fullwidth-inactive.png
321
share/icons/hicolor/22x22/status/fcitx-kbd.png
393
share/icons/hicolor/24x24/apps/fcitx-kbd.png
322
share/icons/hicolor/22x22/status/fcitx-punc-active.png
394
share/icons/hicolor/24x24/apps/fcitx-punc-active.png
323
share/icons/hicolor/22x22/status/fcitx-punc-inactive.png
395
share/icons/hicolor/24x24/apps/fcitx-punc-inactive.png
324
share/icons/hicolor/22x22/status/fcitx-vk-active.png
396
share/icons/hicolor/24x24/apps/fcitx-vk-active.png
325
share/icons/hicolor/22x22/status/fcitx-vk-inactive.png
397
share/icons/hicolor/24x24/apps/fcitx-vk-inactive.png
326
share/icons/hicolor/24x24/apps/fcitx.png
398
share/icons/hicolor/24x24/apps/fcitx.png
327
share/icons/hicolor/24x24/status/fcitx-fullwidth-active.png
328
share/icons/hicolor/24x24/status/fcitx-fullwidth-inactive.png
329
share/icons/hicolor/24x24/status/fcitx-kbd.png
330
share/icons/hicolor/24x24/status/fcitx-punc-active.png
331
share/icons/hicolor/24x24/status/fcitx-punc-inactive.png
332
share/icons/hicolor/24x24/status/fcitx-vk-active.png
333
share/icons/hicolor/24x24/status/fcitx-vk-inactive.png
334
share/icons/hicolor/32x32/apps/fcitx.png
399
share/icons/hicolor/32x32/apps/fcitx.png
400
share/icons/hicolor/48x48/apps/fcitx-cangjie.png
401
share/icons/hicolor/48x48/apps/fcitx-chn.png
402
share/icons/hicolor/48x48/apps/fcitx-chttrans-active.png
403
share/icons/hicolor/48x48/apps/fcitx-chttrans-inactive.png
404
share/icons/hicolor/48x48/apps/fcitx-erbi.png
405
share/icons/hicolor/48x48/apps/fcitx-fullwidth-active.png
406
share/icons/hicolor/48x48/apps/fcitx-fullwidth-inactive.png
407
share/icons/hicolor/48x48/apps/fcitx-kbd.png
408
share/icons/hicolor/48x48/apps/fcitx-pinyin.png
409
share/icons/hicolor/48x48/apps/fcitx-punc-active.png
410
share/icons/hicolor/48x48/apps/fcitx-punc-inactive.png
411
share/icons/hicolor/48x48/apps/fcitx-remind-active.png
412
share/icons/hicolor/48x48/apps/fcitx-remind-inactive.png
413
share/icons/hicolor/48x48/apps/fcitx-shuangpin.png
414
share/icons/hicolor/48x48/apps/fcitx-vk-active.png
415
share/icons/hicolor/48x48/apps/fcitx-vk-inactive.png
416
share/icons/hicolor/48x48/apps/fcitx-wbpy.png
417
share/icons/hicolor/48x48/apps/fcitx-wubi.png
418
share/icons/hicolor/48x48/apps/fcitx-ziranma.png
335
share/icons/hicolor/48x48/apps/fcitx.png
419
share/icons/hicolor/48x48/apps/fcitx.png
336
share/icons/hicolor/48x48/status/fcitx-cangjie.png
420
share/icons/hicolor/scalable/apps/fcitx-fullwidth-active-symbolic.svg
337
share/icons/hicolor/48x48/status/fcitx-chn.png
421
share/icons/hicolor/scalable/apps/fcitx-fullwidth-active.svg
338
share/icons/hicolor/48x48/status/fcitx-chttrans-active.png
422
share/icons/hicolor/scalable/apps/fcitx-fullwidth-inactive-symbolic.svg
339
share/icons/hicolor/48x48/status/fcitx-chttrans-inactive.png
423
share/icons/hicolor/scalable/apps/fcitx-fullwidth-inactive.svg
340
share/icons/hicolor/48x48/status/fcitx-erbi.png
424
share/icons/hicolor/scalable/apps/fcitx-kbd-symbolic.svg
341
share/icons/hicolor/48x48/status/fcitx-fullwidth-active.png
425
share/icons/hicolor/scalable/apps/fcitx-kbd.svg
342
share/icons/hicolor/48x48/status/fcitx-fullwidth-inactive.png
426
share/icons/hicolor/scalable/apps/fcitx-punc-active-symbolic.svg
343
share/icons/hicolor/48x48/status/fcitx-kbd.png
427
share/icons/hicolor/scalable/apps/fcitx-punc-active.svg
344
share/icons/hicolor/48x48/status/fcitx-pinyin.png
428
share/icons/hicolor/scalable/apps/fcitx-punc-inactive-symbolic.svg
345
share/icons/hicolor/48x48/status/fcitx-punc-active.png
429
share/icons/hicolor/scalable/apps/fcitx-punc-inactive.svg
346
share/icons/hicolor/48x48/status/fcitx-punc-inactive.png
430
share/icons/hicolor/scalable/apps/fcitx-vk-active-symbolic.svg
347
share/icons/hicolor/48x48/status/fcitx-remind-active.png
431
share/icons/hicolor/scalable/apps/fcitx-vk-active.svg
348
share/icons/hicolor/48x48/status/fcitx-remind-inactive.png
432
share/icons/hicolor/scalable/apps/fcitx-vk-inactive-symbolic.svg
349
share/icons/hicolor/48x48/status/fcitx-shuangpin.png
433
share/icons/hicolor/scalable/apps/fcitx-vk-inactive.svg
350
share/icons/hicolor/48x48/status/fcitx-vk-active.png
434
share/icons/hicolor/scalable/apps/fcitx.svg
351
share/icons/hicolor/48x48/status/fcitx-vk-inactive.png
435
share/locale/de/LC_MESSAGES/fcitx.mo
352
share/icons/hicolor/48x48/status/fcitx-wbpy.png
436
share/locale/es/LC_MESSAGES/fcitx.mo
353
share/icons/hicolor/48x48/status/fcitx-wubi.png
354
share/icons/hicolor/48x48/status/fcitx-ziranma.png
355
share/icons/hicolor/scalable/status/fcitx-fullwidth-active.svg
356
share/icons/hicolor/scalable/status/fcitx-fullwidth-inactive.svg
357
share/icons/hicolor/scalable/status/fcitx-kbd.svg
358
share/icons/hicolor/scalable/status/fcitx-punc-active.svg
359
share/icons/hicolor/scalable/status/fcitx-punc-inactive.svg
360
share/icons/hicolor/scalable/status/fcitx-vk-active.svg
361
share/icons/hicolor/scalable/status/fcitx-vk-inactive.svg
362
share/locale/ja/LC_MESSAGES/fcitx.mo
437
share/locale/ja/LC_MESSAGES/fcitx.mo
438
share/locale/ko/LC_MESSAGES/fcitx.mo
363
share/locale/zh_CN/LC_MESSAGES/fcitx.mo
439
share/locale/zh_CN/LC_MESSAGES/fcitx.mo
364
share/locale/zh_TW/LC_MESSAGES/fcitx.mo
440
share/locale/zh_TW/LC_MESSAGES/fcitx.mo
365
share/mime/packages/x-fskin.xml
441
share/mime/packages/x-fskin.xml
(-)chinese/fcitx-chewing/Makefile (-5 / +5 lines)
Lines 2-21 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fcitx-chewing
4
PORTNAME=	fcitx-chewing
5
PORTVERSION=	0.1.3
5
PORTVERSION=	0.2.2
6
PORTREVISION=	1
7
CATEGORIES=	chinese
6
CATEGORIES=	chinese
8
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
7
MASTER_SITES=	http://download.fcitx-im.org/${PORTNAME}/
9
PROJECTHOST=	fcitx
10
DIST_SUBDIR=	fcitx
8
DIST_SUBDIR=	fcitx
11
9
12
MAINTAINER=	lichray@gmail.com
10
MAINTAINER=	lichray@gmail.com
13
COMMENT=	Chewing support for Fcitx
11
COMMENT=	Chewing support for Fcitx
14
12
13
LICENSE=	GPLv2
14
15
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
15
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
16
		libchewing.so:${PORTSDIR}/chinese/libchewing
16
		libchewing.so:${PORTSDIR}/chinese/libchewing
17
17
18
USES=		tar:xz cmake gettext pkgconfig
18
USES=		tar:xz cmake gettext pkgconfig
19
USE_GNOME=	intltool
19
INSTALLS_ICONS=	yes
20
20
21
.include <bsd.port.mk>
21
.include <bsd.port.mk>
(-)chinese/fcitx-chewing/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (fcitx/fcitx-chewing-0.1.3.tar.xz) = d9cdac1469ffe7e60f1d13f11257708361fdc4bfea487a8162b5a22aa23d775c
1
SHA256 (fcitx/fcitx-chewing-0.2.2.tar.xz) = fa278ee9d2c20f7ae0a3093a3e490553798186bd67dc1e83f2723bd15b47a450
2
SIZE (fcitx/fcitx-chewing-0.1.3.tar.xz) = 15160
2
SIZE (fcitx/fcitx-chewing-0.2.2.tar.xz) = 19684
(-)chinese/fcitx-chewing/files/patch-data__CMakeLists.txt (+12 lines)
Line 0 Link Here
1
--- ./data/CMakeLists.txt.orig	2013-06-04 03:02:38.000000000 +0900
2
+++ ./data/CMakeLists.txt	2014-03-19 14:07:16.000000000 +0900
3
@@ -1,5 +1,5 @@
4
-install(FILES chewing.png DESTINATION ${FCITX4_PREFIX}/share/fcitx/imicon/)
5
+install(FILES chewing.png DESTINATION share/fcitx/imicon/)
6
 install(FILES chewing.png DESTINATION share/icons/hicolor/48x48/apps/ RENAME fcitx-chewing.png)
7
-install(FILES default/chewing.png DESTINATION ${FCITX4_PREFIX}/share/fcitx/skin/default)
8
-install(FILES dark/chewing.png DESTINATION ${FCITX4_PREFIX}/share/fcitx/skin/dark)
9
-install(FILES classic/chewing.png DESTINATION ${FCITX4_PREFIX}/share/fcitx/skin/classic)
10
+install(FILES default/chewing.png DESTINATION share/fcitx/skin/default)
11
+install(FILES dark/chewing.png DESTINATION share/fcitx/skin/dark)
12
+install(FILES classic/chewing.png DESTINATION share/fcitx/skin/classic)
(-)chinese/fcitx-chewing/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
fcitx-chewing provides Chewing, an intelligent phonetic input method
1
fcitx-chewing provides Chewing, an intelligent phonetic input method
2
engine, as a back-end to the Fcitx IM framework.
2
engine, as a back-end to the Fcitx IM framework.
3
3
4
WWW: http://code.google.com/p/fcitx/
4
WWW: https://fcitx-im.org/wiki/Fcitx
(-)chinese/fcitx-chewing/pkg-plist (+4 lines)
Lines 1-9 Link Here
1
lib/fcitx/fcitx-chewing.so
1
lib/fcitx/fcitx-chewing.so
2
share/fcitx/addon/fcitx-chewing.conf
2
share/fcitx/addon/fcitx-chewing.conf
3
share/fcitx/configdesc/fcitx-chewing.desc
3
share/fcitx/configdesc/fcitx-chewing.desc
4
share/fcitx/imicon/chewing.png
4
share/fcitx/inputmethod/chewing.conf
5
share/fcitx/inputmethod/chewing.conf
5
share/fcitx/skin/classic/chewing.png
6
share/fcitx/skin/classic/chewing.png
6
share/fcitx/skin/dark/chewing.png
7
share/fcitx/skin/dark/chewing.png
7
share/fcitx/skin/default/chewing.png
8
share/fcitx/skin/default/chewing.png
9
share/icons/hicolor/48x48/apps/fcitx-chewing.png
10
share/locale/de/LC_MESSAGES/fcitx-chewing.mo
11
share/locale/ja/LC_MESSAGES/fcitx-chewing.mo
8
share/locale/zh_CN/LC_MESSAGES/fcitx-chewing.mo
12
share/locale/zh_CN/LC_MESSAGES/fcitx-chewing.mo
9
share/locale/zh_TW/LC_MESSAGES/fcitx-chewing.mo
13
share/locale/zh_TW/LC_MESSAGES/fcitx-chewing.mo
(-)chinese/fcitx-cloudpinyin/Makefile (-6 / +4 lines)
Lines 2-22 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fcitx-cloudpinyin
4
PORTNAME=	fcitx-cloudpinyin
5
PORTVERSION=	0.3.0
5
PORTVERSION=	0.3.4
6
PORTREVISION=	1
7
CATEGORIES=	chinese
6
CATEGORIES=	chinese
8
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
7
MASTER_SITES=	http://download.fcitx-im.org/${PORTNAME}/
9
DIST_SUBDIR=	fcitx
8
DIST_SUBDIR=	fcitx
10
9
11
MAINTAINER=	lichray@gmail.com
10
MAINTAINER=	lichray@gmail.com
12
COMMENT=	Cloud-based Pinyin module for Fcitx
11
COMMENT=	Cloud-based Pinyin module for Fcitx
13
12
13
LICENSE=	GPLv2
14
14
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
15
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
15
		libcurl.so:${PORTSDIR}/ftp/curl
16
		libcurl.so:${PORTSDIR}/ftp/curl
16
17
17
USES=		tar:xz cmake gettext pkgconfig
18
USES=		tar:xz cmake gettext pkgconfig
18
USE_GNOME=	intltool
19
19
20
PROJECTHOST=	fcitx
21
22
.include <bsd.port.mk>
20
.include <bsd.port.mk>
(-)chinese/fcitx-cloudpinyin/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (fcitx/fcitx-cloudpinyin-0.3.0.tar.xz) = a68f27d9785bb1e31610424acb81faa933bfe9b7e93140c9895cd34987547b84
1
SHA256 (fcitx/fcitx-cloudpinyin-0.3.4.tar.xz) = c131e8cfd4d171f7749c2934f13092dcdffcf3d4ff1cefde7ed67daed74b7d90
2
SIZE (fcitx/fcitx-cloudpinyin-0.3.0.tar.xz) = 19344
2
SIZE (fcitx/fcitx-cloudpinyin-0.3.4.tar.xz) = 20796
(-)chinese/fcitx-cloudpinyin/files/patch-CMakeLists.txt (-2 / +1 lines)
Lines 2-8 Link Here
2
+++ CMakeLists.txt	2012-09-19 15:10:32.000000000 +0800
2
+++ CMakeLists.txt	2012-09-19 15:10:32.000000000 +0800
3
@@ -33,4 +33,3 @@
3
@@ -33,4 +33,3 @@
4
 
4
 
5
 add_subdirectory(po)
5
 add_subdirectory(src)
6
 add_subdirectory(src)
6
 add_subdirectory(po)
7
-add_subdirectory(test)
7
-add_subdirectory(test)
8
\ No newline at end of file
(-)chinese/fcitx-cloudpinyin/pkg-descr (-1 / +1 lines)
Lines 2-5 Link Here
2
from the cloud-based Pinyin services (Sogou, QQ, Baidu, Google) to any
2
from the cloud-based Pinyin services (Sogou, QQ, Baidu, Google) to any
3
Pinyin IMEs in Fcitx.
3
Pinyin IMEs in Fcitx.
4
4
5
WWW:	http://code.google.com/p/fcitx/
5
WWW: https://fcitx-im.org/wiki/Fcitx
(-)chinese/fcitx-cloudpinyin/pkg-plist (+2 lines)
Lines 1-5 Link Here
1
lib/fcitx/fcitx-cloudpinyin.so
1
lib/fcitx/fcitx-cloudpinyin.so
2
share/fcitx/addon/fcitx-cloudpinyin.conf
2
share/fcitx/addon/fcitx-cloudpinyin.conf
3
share/fcitx/configdesc/fcitx-cloudpinyin.desc
3
share/fcitx/configdesc/fcitx-cloudpinyin.desc
4
share/locale/de/LC_MESSAGES/fcitx-cloudpinyin.mo
5
share/locale/ja/LC_MESSAGES/fcitx-cloudpinyin.mo
4
share/locale/zh_CN/LC_MESSAGES/fcitx-cloudpinyin.mo
6
share/locale/zh_CN/LC_MESSAGES/fcitx-cloudpinyin.mo
5
share/locale/zh_TW/LC_MESSAGES/fcitx-cloudpinyin.mo
7
share/locale/zh_TW/LC_MESSAGES/fcitx-cloudpinyin.mo
(-)chinese/fcitx-configtool/Makefile (-3 / +5 lines)
Lines 2-16 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fcitx-configtool
4
PORTNAME=	fcitx-configtool
5
PORTVERSION=	0.4.5.2
5
PORTVERSION=	0.4.8
6
CATEGORIES=	chinese x11
6
CATEGORIES=	chinese x11
7
MASTER_SITES=	GOOGLE_CODE
7
MASTER_SITES=	http://download.fcitx-im.org/${PORTNAME}/
8
PROJECTHOST=	fcitx
9
DIST_SUBDIR=	fcitx
8
DIST_SUBDIR=	fcitx
10
9
11
MAINTAINER=	lichray@gmail.com
10
MAINTAINER=	lichray@gmail.com
12
COMMENT=	Fcitx IM framework configuration tool
11
COMMENT=	Fcitx IM framework configuration tool
13
12
13
LICENSE=	GPLv2
14
14
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
15
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
15
		${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib
16
		${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib
16
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx
17
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx
Lines 17-22 Link Here
17
18
18
USE_GNOME=	intltool
19
USE_GNOME=	intltool
19
USES=		cmake gettext pkgconfig tar:xz
20
USES=		cmake gettext pkgconfig tar:xz
21
LDFLAGS+=	-lintl
20
22
21
OPTIONS_SINGLE=	UI
23
OPTIONS_SINGLE=	UI
22
UI_DESC=	Gtk version to use
24
UI_DESC=	Gtk version to use
(-)chinese/fcitx-configtool/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (fcitx/fcitx-configtool-0.4.5.2.tar.xz) = 3882ad86e7e5651dd6661dc19ecd24fa9e07a9a2c6a3d00a9184d71c87347f34
1
SHA256 (fcitx/fcitx-configtool-0.4.8.tar.xz) = 0ebc06d9d325fed096e9cb61fe53b82000d2de0e9aefe5945ba8f0aa2ca851ed
2
SIZE (fcitx/fcitx-configtool-0.4.5.2.tar.xz) = 42560
2
SIZE (fcitx/fcitx-configtool-0.4.8.tar.xz) = 47196
(-)chinese/fcitx-configtool/files/patch-CMakeLists.txt (+13 lines)
Line 0 Link Here
1
--- ./CMakeLists.txt.orig	2013-10-27 08:45:38.000000000 +0900
2
+++ ./CMakeLists.txt	2014-03-18 14:40:07.000000000 +0900
3
@@ -27,8 +27,8 @@
4
   "${PROJECT_SOURCE_DIR}/cmake/fcitx-extract-glade.sh" glade)
5
 
6
 add_definitions("-D_GNU_SOURCE")
7
-set(CMAKE_C_FLAGS "-Wall -Wextra -Wno-sign-compare -Wno-unused-local-typedefs -Wno-unused-parameter -fvisibility=hidden ${CMAKE_C_FLAGS}")
8
-set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-sign-compare -Wno-unused-local-typedefs -Wno-unused-parameter -fvisibility=hidden ${CMAKE_CXX_FLAGS}")
9
+set(CMAKE_C_FLAGS "-Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden ${CMAKE_C_FLAGS}")
10
+set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden ${CMAKE_CXX_FLAGS}")
11
 set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined,--as-needed ${CMAKE_SHARED_LINKER_FLAGS}")
12
 set(CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined,--as-needed ${CMAKE_MODULE_LINKER_FLAGS}")
13
 
(-)chinese/fcitx-configtool/files/patch-gtk3_CMakeLists.txt (-9 lines)
Lines 1-9 Link Here
1
--- gtk3/CMakeLists.txt~	2012-05-03 01:21:57.000000000 -0500
2
+++ gtk3/CMakeLists.txt	2012-05-14 01:55:09.806098826 -0500
3
@@ -42,5 +42,6 @@ target_link_libraries (fcitx-config-gtk3
4
                        ${FCITX4_FCITX_LIBRARIES}
5
                        ${GLIB2_LIBRARIES}
6
                        ${GIO2_LIBRARIES}
7
+                       -lintl
8
 )
9
 
(-)chinese/fcitx-configtool/files/patch-gtk_CMakeLists.txt (-15 lines)
Lines 1-15 Link Here
1
--- gtk/CMakeLists.txt.orig	2012-06-02 11:14:45.000000000 -0500
2
+++ gtk/CMakeLists.txt	2012-07-18 02:00:53.555897529 -0500
3
@@ -1,3 +1,4 @@
4
+PKG_CHECK_MODULES (GTK2 "gtk+-2.0 >= 2.22" REQUIRED)
5
 PKG_CHECK_MODULES (DBUS_GLIB "dbus-glib-1" REQUIRED)
6
 PKG_CHECK_MODULES (UNIQUE "unique-1.0")
7
 
8
@@ -49,6 +50,7 @@ target_link_libraries (fcitx-config-gtk
9
                        ${FCITX4_FCITX_LIBRARIES}
10
                        ${GLIB2_LIBRARIES}
11
                        ${DBUS_GLIB_LIBRARIES}
12
+                       -lintl
13
 )
14
 
15
 if (UNIQUE_FOUND)
(-)chinese/fcitx-configtool/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
Fcitx is a flexible input method framework. It comes with a script,
1
Fcitx is a flexible input method framework. It comes with a script,
2
fcitx-configtool, which looks for this configure tool and invokes it.
2
fcitx-configtool, which looks for this configure tool and invokes it.
3
3
4
WWW:	http://code.google.com/p/fcitx/
4
WWW: https://fcitx-im.org/wiki/Fcitx
(-)chinese/fcitx-configtool/pkg-plist (+2 lines)
Lines 1-4 Link Here
1
%%GTK2%%bin/fcitx-config-gtk
1
%%GTK2%%bin/fcitx-config-gtk
2
%%GTK3%%bin/fcitx-config-gtk3
2
%%GTK3%%bin/fcitx-config-gtk3
3
share/locale/de/LC_MESSAGES/fcitx-configtool.mo
4
share/locale/ja/LC_MESSAGES/fcitx-configtool.mo
3
share/locale/zh_CN/LC_MESSAGES/fcitx-configtool.mo
5
share/locale/zh_CN/LC_MESSAGES/fcitx-configtool.mo
4
share/locale/zh_TW/LC_MESSAGES/fcitx-configtool.mo
6
share/locale/zh_TW/LC_MESSAGES/fcitx-configtool.mo
(-)chinese/fcitx-googlepinyin/Makefile (+3 lines)
Lines 10-20 Link Here
10
MAINTAINER=	lichray@gmail.com
10
MAINTAINER=	lichray@gmail.com
11
COMMENT=	Libgooglepinyin support for Fcitx
11
COMMENT=	Libgooglepinyin support for Fcitx
12
12
13
LICENSE=	GPLv3
14
13
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
15
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
14
		libgooglepinyin.so:${PORTSDIR}/chinese/libgooglepinyin
16
		libgooglepinyin.so:${PORTSDIR}/chinese/libgooglepinyin
15
17
16
USES=		tar:xz cmake gettext pkgconfig iconv
18
USES=		tar:xz cmake gettext pkgconfig iconv
17
USE_GNOME=	intltool
19
USE_GNOME=	intltool
20
INSTALLS_ICONS=	yes
18
21
19
PROJECTHOST=	fcitx
22
PROJECTHOST=	fcitx
20
23
(-)chinese/fcitx-googlepinyin/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
fcitx-googlepinyin provides libgooglepinyin, a fork of Google Pinyin IME
1
fcitx-googlepinyin provides libgooglepinyin, a fork of Google Pinyin IME
2
on Android, as a back-end to the Fcitx IM framework.
2
on Android, as a back-end to the Fcitx IM framework.
3
3
4
WWW:	http://code.google.com/p/fcitx/
4
WWW: https://fcitx-im.org/wiki/Fcitx
(-)chinese/fcitx-libpinyin/Makefile (-11 / +27 lines)
Lines 2-30 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fcitx-libpinyin
4
PORTNAME=	fcitx-libpinyin
5
PORTVERSION=	0.2.1
5
PORTVERSION=	0.3.1
6
CATEGORIES=	chinese
6
CATEGORIES=	chinese
7
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE} \
7
MASTER_SITES=	http://download.fcitx-im.org/${PORTNAME}/:body \
8
		http://cloud.github.com/downloads/fcitx/fcitx-libpinyin/:libpinyin
8
		http://download.fcitx-im.org/data/:data
9
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} model.text.${MDVER}.tar.gz:libpinyin
9
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:body \
10
		model.text.${_MODEL_VER}.tar.gz:data
10
DIST_SUBDIR=	fcitx
11
DIST_SUBDIR=	fcitx
11
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
12
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
12
13
13
MAINTAINER=	lichray@gmail.com
14
MAINTAINER=	lichray@gmail.com
14
COMMENT=	The libpinyin support for Fcitx
15
COMMENT=	Libpinyin support for Fcitx
15
16
17
LICENSE=	GPLv2
18
16
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
19
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
17
		libpinyin.so:${PORTSDIR}/chinese/libpinyin
20
		libpinyin.so:${PORTSDIR}/chinese/libpinyin
18
21
19
USE_LDCONFIG=	${PREFIX}/lib/fcitx/
20
USES=		tar:xz cmake gettext pkgconfig
22
USES=		tar:xz cmake gettext pkgconfig
21
USE_GNOME=	intltool
22
INSTALLS_ICONS=	yes
23
INSTALLS_ICONS=	yes
23
24
25
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
26
_MODEL_VER=	20130308
27
28
OPTIONS_DEFINE=	QT4
29
OPTIONS_DEFAULT=QT4
30
QT4_DESC=	Enable Qt4 for dictmanager
31
32
.include <bsd.port.options.mk>
33
34
.if ${PORT_OPTIONS:MQT4}
35
USE_QT4=	qmake_build moc_build rcc_build uic_build gui webkit
36
USE_LDCONFIG=	${PREFIX}/lib/fcitx/qt
37
PLIST_SUB+=	QT4=""
38
.else
39
CMAKE_ARGS+=	-DENABLE_QT=OFF
40
PLIST_SUB+=	QT4="@comment "
41
.endif
42
24
post-patch:
43
post-patch:
25
	@${LN} -s ${_DISTDIR}/model.text.${MDVER}.tar.gz ${WRKSRC}/data
44
	@${CP} ${_DISTDIR}/model.text.${_MODEL_VER}.tar.gz ${WRKSRC}/data/.
26
45
27
PROJECTHOST=	fcitx
28
MDVER=		20120921
29
30
.include <bsd.port.mk>
46
.include <bsd.port.mk>
(-)chinese/fcitx-libpinyin/distinfo (-4 / +4 lines)
Lines 1-4 Link Here
1
SHA256 (fcitx/fcitx-libpinyin-0.2.1.tar.xz) = 6a5c9f7c7009a893b4beba85d6ee361253ca1211ce954da0e752c01a528c8c09
1
SHA256 (fcitx/fcitx-libpinyin-0.3.1.tar.xz) = 11112c29579af01c38b5af6069c6433c22ee538ebaad55577e5737d3e4fa9158
2
SIZE (fcitx/fcitx-libpinyin-0.2.1.tar.xz) = 24468
2
SIZE (fcitx/fcitx-libpinyin-0.3.1.tar.xz) = 41520
3
SHA256 (fcitx/model.text.20120921.tar.gz) = 84f086a8eb56a4a8ddab7d95ce1b386dfe292561a3271132e3aa6e85ba4ed339
3
SHA256 (fcitx/model.text.20130308.tar.gz) = 4595b5832ec1f81e93a37ec5841a57898c68f6024ef0593b8de127d1e3571a69
4
SIZE (fcitx/model.text.20120921.tar.gz) = 9980454
4
SIZE (fcitx/model.text.20130308.tar.gz) = 15100062
(-)chinese/fcitx-libpinyin/files/patch-CMakeLists.txt (-10 lines)
Lines 1-10 Link Here
1
--- CMakeLists.txt~	2012-07-05 04:14:59.000000000 -0500
2
+++ CMakeLists.txt	2012-09-04 16:36:28.118990420 -0500
3
@@ -9,7 +9,6 @@ FIND_PACKAGE(Gettext REQUIRED)
4
 FIND_PACKAGE(Fcitx 4.2.0 REQUIRED)
5
 find_package(GLIB2 REQUIRED)
6
 find_package(Libpinyin REQUIRED)
7
-find_program(WGET wget REQUIRED)
8
 find_program(TAR tar REQUIRED)
9
 
10
 # uninstall target
(-)chinese/fcitx-libpinyin/files/patch-dictmanager__CMakeLists.txt (+11 lines)
Line 0 Link Here
1
--- ./dictmanager/CMakeLists.txt.orig	2013-07-16 05:34:05.000000000 +0900
2
+++ ./dictmanager/CMakeLists.txt	2014-03-19 15:52:24.000000000 +0900
3
@@ -60,6 +60,7 @@
4
 ${FCITX_QT_LIBRARIES}
5
 ${FCITX4_FCITX_UTILS_LIBRARIES}
6
 ${FCITX4_FCITX_CONFIG_LIBRARIES}
7
+${LIBINTL_LIBRARIES}
8
 )
9
 
10
-install(TARGETS fcitx-libpinyin-dictmanager DESTINATION ${FCITX4_ADDON_INSTALL_DIR}/qt)
11
+install(TARGETS fcitx-libpinyin-dictmanager DESTINATION ${FCITX4_ADDON_INSTALL_DESTDIR}/qt)
(-)chinese/fcitx-libpinyin/files/patch-src__CMakeLists.txt (+10 lines)
Line 0 Link Here
1
--- ./src/CMakeLists.txt.orig	2013-07-16 05:34:05.000000000 +0900
2
+++ ./src/CMakeLists.txt	2014-03-19 15:51:24.000000000 +0900
3
@@ -22,6 +22,7 @@
4
     )
5
 
6
 add_definitions( -DLOCALEDIR=\"${CMAKE_INSTALL_PREFIX}/share/locale\" )
7
+add_definitions( -D_WITH_GETLINE )
8
 
9
 fcitx_add_addon_full(libpinyin DESC
10
 SOURCES ${fcitx_libpinyin_sources}
(-)chinese/fcitx-libpinyin/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
fcitx-libpinyin provides libpinyin, a Chinese pinyin input method algorithm
1
fcitx-libpinyin provides libpinyin, a Chinese pinyin input method algorithm
2
collection, as a back-end to the Fcitx IM framework.
2
collection, as a back-end to the Fcitx IM framework.
3
3
4
WWW:	http://code.google.com/p/fcitx/
4
WWW: https://fcitx-im.org/wiki/Fcitx
(-)chinese/fcitx-libpinyin/pkg-plist (+20 lines)
Lines 1-14 Link Here
1
lib/fcitx/fcitx-libpinyin.so
1
lib/fcitx/fcitx-libpinyin.so
2
%%QT4%%lib/fcitx/qt/libfcitx-libpinyin-dictmanager.so
2
share/fcitx/addon/fcitx-libpinyin.conf
3
share/fcitx/addon/fcitx-libpinyin.conf
3
share/fcitx/configdesc/fcitx-libpinyin.desc
4
share/fcitx/configdesc/fcitx-libpinyin.desc
5
share/fcitx/imicon/bopomofo.png
6
share/fcitx/imicon/pinyin-libpinyin.png
7
share/fcitx/imicon/shuangpin-libpinyin.png
4
share/fcitx/inputmethod/pinyin-libpinyin.conf
8
share/fcitx/inputmethod/pinyin-libpinyin.conf
5
share/fcitx/inputmethod/shuangpin-libpinyin.conf
9
share/fcitx/inputmethod/shuangpin-libpinyin.conf
6
share/fcitx/inputmethod/zhuyin-libpinyin.conf
10
share/fcitx/inputmethod/zhuyin-libpinyin.conf
11
share/fcitx/libpinyin/zhuyin_data/art.bin
7
share/fcitx/libpinyin/zhuyin_data/bigram.db
12
share/fcitx/libpinyin/zhuyin_data/bigram.db
13
share/fcitx/libpinyin/zhuyin_data/culture.bin
14
share/fcitx/libpinyin/zhuyin_data/economy.bin
8
share/fcitx/libpinyin/zhuyin_data/gb_char.bin
15
share/fcitx/libpinyin/zhuyin_data/gb_char.bin
9
share/fcitx/libpinyin/zhuyin_data/gbk_char.bin
16
share/fcitx/libpinyin/zhuyin_data/gbk_char.bin
17
share/fcitx/libpinyin/zhuyin_data/geology.bin
18
share/fcitx/libpinyin/zhuyin_data/history.bin
19
share/fcitx/libpinyin/zhuyin_data/life.bin
20
share/fcitx/libpinyin/zhuyin_data/merged.bin
21
share/fcitx/libpinyin/zhuyin_data/nature.bin
10
share/fcitx/libpinyin/zhuyin_data/phrase_index.bin
22
share/fcitx/libpinyin/zhuyin_data/phrase_index.bin
11
share/fcitx/libpinyin/zhuyin_data/pinyin_index.bin
23
share/fcitx/libpinyin/zhuyin_data/pinyin_index.bin
24
share/fcitx/libpinyin/zhuyin_data/scitech.bin
25
share/fcitx/libpinyin/zhuyin_data/society.bin
26
share/fcitx/libpinyin/zhuyin_data/sport.bin
27
share/fcitx/libpinyin/zhuyin_data/table.conf
12
share/icons/hicolor/48x48/status/fcitx-bopomofo.png
28
share/icons/hicolor/48x48/status/fcitx-bopomofo.png
29
share/icons/hicolor/48x48/status/fcitx-pinyin-libpinyin.png
30
share/icons/hicolor/48x48/status/fcitx-shuangpin-libpinyin.png
31
share/locale/de/LC_MESSAGES/fcitx-libpinyin.mo
32
share/locale/ja/LC_MESSAGES/fcitx-libpinyin.mo
13
share/locale/zh_CN/LC_MESSAGES/fcitx-libpinyin.mo
33
share/locale/zh_CN/LC_MESSAGES/fcitx-libpinyin.mo
14
share/locale/zh_TW/LC_MESSAGES/fcitx-libpinyin.mo
34
share/locale/zh_TW/LC_MESSAGES/fcitx-libpinyin.mo
(-)chinese/fcitx-rime/Makefile (-6 / +6 lines)
Lines 2-24 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fcitx-rime
4
PORTNAME=	fcitx-rime
5
PORTVERSION=	0.1.2
5
PORTVERSION=	0.3.1
6
PORTREVISION=	1
7
CATEGORIES=	chinese
6
CATEGORIES=	chinese
8
MASTER_SITES=	GOOGLE_CODE
7
MASTER_SITES=	http://download.fcitx-im.org/${PORTNAME}/
9
DIST_SUBDIR=	fcitx
8
DIST_SUBDIR=	fcitx
10
9
11
MAINTAINER=	lichray@gmail.com
10
MAINTAINER=	lichray@gmail.com
12
COMMENT=	RIME support for Fcitx
11
COMMENT=	RIME support for Fcitx
13
12
13
LICENSE=	GPLv2
14
14
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
15
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
15
		librime.so:${PORTSDIR}/chinese/librime
16
		librime.so:${PORTSDIR}/chinese/librime
17
RUN_DEPENDS=	${LOCALBASE}/share/brise/default.yaml:${PORTSDIR}/chinese/brise
16
18
17
USE_LDCONFIG=	${PREFIX}/lib/fcitx/
18
USES=		tar:xz cmake gettext
19
USES=		tar:xz cmake gettext
19
USE_GNOME=	intltool
20
INSTALLS_ICONS=	yes
20
INSTALLS_ICONS=	yes
21
21
22
PROJECTHOST=	fcitx
22
CMAKE_ARGS+=	-DBRISE_DIR=${LOCALBASE}/share/brise
23
23
24
.include <bsd.port.mk>
24
.include <bsd.port.mk>
(-)chinese/fcitx-rime/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (fcitx/fcitx-rime-0.1.2.tar.xz) = 528472c13adb050543ba0402077d2e2b37258cb494f7d7900411cfd8c1ad9048
1
SHA256 (fcitx/fcitx-rime-0.3.1.tar.xz) = 3ca74de4d20e8fd0e67eb4ccae8af3790bb1f557f183c2af32cb45f371e8521d
2
SIZE (fcitx/fcitx-rime-0.1.2.tar.xz) = 7356
2
SIZE (fcitx/fcitx-rime-0.3.1.tar.xz) = 39648
(-)chinese/fcitx-rime/files/patch-data_CMakeLists.txt (-7 lines)
Lines 1-7 Link Here
1
--- data/CMakeLists.txt~	2012-10-04 07:34:39.000000000 -0500
2
+++ data/CMakeLists.txt	2012-10-15 21:46:56.932232905 -0500
3
@@ -2,3 +2,4 @@ install(FILES zhung.png RENAME rime.png 
4
 install(FILES zhung.png RENAME rime.png DESTINATION ${FCITX4_PREFIX}/share/fcitx/skin/dark)
5
 install(FILES zhung.png RENAME rime.png DESTINATION ${FCITX4_PREFIX}/share/fcitx/skin/classic)
6
 install(FILES zhung.png RENAME fcitx-rime.png DESTINATION share/icons/hicolor/48x48/apps)
7
+install(FILES zhung.png RENAME rime.png DESTINATION share/fcitx/imicon)
(-)chinese/fcitx-rime/files/patch-data__CMakeLists.txt (+20 lines)
Line 0 Link Here
1
--- ./data/CMakeLists.txt.orig	2013-11-10 22:11:24.000000000 +0900
2
+++ ./data/CMakeLists.txt	2014-03-20 00:20:01.000000000 +0900
3
@@ -1,8 +1,8 @@
4
 # for im icon
5
-install(FILES rime.png RENAME rime.png DESTINATION ${FCITX4_PREFIX}/share/fcitx/imicon)
6
+install(FILES rime.png RENAME rime.png DESTINATION share/fcitx/imicon)
7
 
8
 # for skin
9
-install(DIRECTORY default DESTINATION ${FCITX4_PREFIX}/share/fcitx/skin)
10
+install(DIRECTORY default DESTINATION share/fcitx/skin)
11
 
12
 # with prefix
13
 foreach(svg rime rime-deploy rime-sync)
14
@@ -14,4 +14,4 @@
15
 foreach(svg rime-im rime-latin rime-disable)
16
 install(FILES ${svg}.png DESTINATION share/icons/hicolor/48x48/apps)
17
 install(FILES ${svg}.svg DESTINATION share/icons/hicolor/scalable/status)
18
-endforeach()
19
\ No newline at end of file
20
+endforeach()
(-)chinese/fcitx-rime/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
fcitx-rime provides RIME, a dialect-friendly intelligent Chinese input method
1
fcitx-rime provides RIME, a dialect-friendly intelligent Chinese input method
2
engine, as a back-end to the Fcitx IM framework.
2
engine, as a back-end to the Fcitx IM framework.
3
3
4
WWW: http://code.google.com/p/fcitx/
4
WWW: https://fcitx-im.org/wiki/Fcitx
(-)chinese/fcitx-rime/pkg-plist (-3 / +24 lines)
Lines 2-8 Link Here
2
share/fcitx/addon/fcitx-rime.conf
2
share/fcitx/addon/fcitx-rime.conf
3
share/fcitx/imicon/rime.png
3
share/fcitx/imicon/rime.png
4
share/fcitx/inputmethod/rime.conf
4
share/fcitx/inputmethod/rime.conf
5
share/fcitx/skin/classic/rime.png
5
share/fcitx/skin/default/rime-deploy.png
6
share/fcitx/skin/dark/rime.png
6
share/fcitx/skin/default/rime-disable.png
7
share/fcitx/skin/default/rime.png
7
share/fcitx/skin/default/rime-im-cangjie5.png
8
share/fcitx/skin/default/rime-im-luna_pinyin.png
9
share/fcitx/skin/default/rime-im-luna_pinyin_simp.png
10
share/fcitx/skin/default/rime-im.png
11
share/fcitx/skin/default/rime-latin.png
12
share/fcitx/skin/default/rime-sync.png
13
share/icons/hicolor/48x48/apps/fcitx-rime-deploy.png
14
share/icons/hicolor/48x48/apps/fcitx-rime-sync.png
8
share/icons/hicolor/48x48/apps/fcitx-rime.png
15
share/icons/hicolor/48x48/apps/fcitx-rime.png
16
share/icons/hicolor/48x48/apps/rime-disable.png
17
share/icons/hicolor/48x48/apps/rime-im.png
18
share/icons/hicolor/48x48/apps/rime-latin.png
19
share/icons/hicolor/scalable/status/fcitx-rime-deploy.svg
20
share/icons/hicolor/scalable/status/fcitx-rime-sync.svg
21
share/icons/hicolor/scalable/status/fcitx-rime.svg
22
share/icons/hicolor/scalable/status/rime-disable.svg
23
share/icons/hicolor/scalable/status/rime-im.svg
24
share/icons/hicolor/scalable/status/rime-latin.svg
25
share/locale/de/LC_MESSAGES/fcitx-rime.mo
26
share/locale/ja/LC_MESSAGES/fcitx-rime.mo
27
share/locale/vi/LC_MESSAGES/fcitx-rime.mo
28
share/locale/zh_CN/LC_MESSAGES/fcitx-rime.mo
29
share/locale/zh_TW/LC_MESSAGES/fcitx-rime.mo
(-)chinese/fcitx-sunpinyin/Makefile (-9 / +7 lines)
Lines 2-23 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fcitx-sunpinyin
4
PORTNAME=	fcitx-sunpinyin
5
PORTVERSION=	0.3.9
5
PORTVERSION=	0.4.1
6
CATEGORIES=	chinese
6
CATEGORIES=	chinese
7
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
7
MASTER_SITES=	http://download.fcitx-im.org/${PORTNAME}/
8
DIST_SUBDIR=	fcitx
8
DIST_SUBDIR=	fcitx
9
9
10
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	lichray@gmail.com
11
COMMENT=	SunPinyin support for Fcitx
11
COMMENT=	SunPinyin support for Fcitx
12
12
13
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx
13
LICENSE=	GPLv2
14
BUILD_DEPENDS=	zh-sunpinyin>=2.0.4.r2:${PORTSDIR}/chinese/sunpinyin
15
RUN_DEPENDS=	zh-sunpinyin>=2.0.4.r2:${PORTSDIR}/chinese/sunpinyin
16
14
15
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
16
		libsunpinyin.so:${PORTSDIR}/chinese/sunpinyin
17
17
USES=		cmake gettext pkgconfig tar:xz
18
USES=		cmake gettext pkgconfig tar:xz
18
USE_GNOME=	intltool
19
INSTALLS_ICONS=	yes
19
INSTALLS_ICONS=	yes
20
20
21
PROJECTHOST=	fcitx
22
23
.include <bsd.port.mk>
21
.include <bsd.port.mk>
(-)chinese/fcitx-sunpinyin/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (fcitx/fcitx-sunpinyin-0.3.9.tar.xz) = 7bf5f70c3653b5aebbbde96fd731ecbbce74cfd4d211620a5156b2700a63e47e
1
SHA256 (fcitx/fcitx-sunpinyin-0.4.1.tar.xz) = 7bd0c61a3c821719760bff72c3c114b28e277b87f54dcb61d83e3548b1eb6777
2
SIZE (fcitx/fcitx-sunpinyin-0.3.9.tar.xz) = 41268
2
SIZE (fcitx/fcitx-sunpinyin-0.4.1.tar.xz) = 41076
(-)chinese/fcitx-sunpinyin/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
fcitx-sunpinyin provides SunPinyin, a statistical language model based
1
fcitx-sunpinyin provides SunPinyin, a statistical language model based
2
input method engine, as a back-end to the Fcitx IM framework.
2
input method engine, as a back-end to the Fcitx IM framework.
3
3
4
WWW:	http://code.google.com/p/fcitx/
4
WWW: https://fcitx-im.org/wiki/Fcitx
(-)chinese/fcitx-sunpinyin/pkg-plist (+2 lines)
Lines 12-16 Link Here
12
share/icons/hicolor/24x24/apps/fcitx-sunpinyin.png
12
share/icons/hicolor/24x24/apps/fcitx-sunpinyin.png
13
share/icons/hicolor/32x32/apps/fcitx-sunpinyin.png
13
share/icons/hicolor/32x32/apps/fcitx-sunpinyin.png
14
share/icons/hicolor/48x48/apps/fcitx-sunpinyin.png
14
share/icons/hicolor/48x48/apps/fcitx-sunpinyin.png
15
share/locale/de/LC_MESSAGES/fcitx-sunpinyin.mo
16
share/locale/ja/LC_MESSAGES/fcitx-sunpinyin.mo
15
share/locale/zh_CN/LC_MESSAGES/fcitx-sunpinyin.mo
17
share/locale/zh_CN/LC_MESSAGES/fcitx-sunpinyin.mo
16
share/locale/zh_TW/LC_MESSAGES/fcitx-sunpinyin.mo
18
share/locale/zh_TW/LC_MESSAGES/fcitx-sunpinyin.mo
(-)chinese/fcitx-table-extra/Makefile (+21 lines)
Line 0 Link Here
1
# Created by: Zhihao Yuan <lichray@gmail.com>
2
# $FreeBSD$
3
4
PORTNAME=	fcitx-table-extra
5
PORTVERSION=	0.3.7
6
CATEGORIES=	chinese
7
MASTER_SITES=	http://download.fcitx-im.org/${PORTNAME}/
8
DIST_SUBDIR=	fcitx
9
10
MAINTAINER=	lichray@gmail.com
11
COMMENT=	Table-based input methods for Fcitx
12
13
LICENSE=	GPLv2
14
15
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx
16
17
USES=		tar:xz cmake gettext
18
INSTALLS_ICONS=	yes
19
STRIP=
20
21
.include <bsd.port.mk>
(-)chinese/fcitx-table-extra/distinfo (+2 lines)
Line 0 Link Here
1
SHA256 (fcitx/fcitx-table-extra-0.3.7.tar.xz) = 8933570ecd803a4f4fe932c983004e669d81b2f08c3bcaa532151545a42e659e
2
SIZE (fcitx/fcitx-table-extra-0.3.7.tar.xz) = 3704164
(-)chinese/fcitx-table-extra/files/patch-tables__CMakeLists.txt (+10 lines)
Line 0 Link Here
1
--- ./tables/CMakeLists.txt.orig	2013-09-02 08:32:18.000000000 +0900
2
+++ ./tables/CMakeLists.txt	2014-03-20 12:40:01.000000000 +0900
3
@@ -22,5 +22,5 @@
4
 endforeach()
5
 add_custom_target(table_data ALL DEPENDS ${MB_FILE})
6
 
7
-install(FILES ${CONF_FILE} DESTINATION ${FCITX4_PREFIX}/share/fcitx/table)
8
-install(FILES ${MB_FILE} DESTINATION ${FCITX4_PREFIX}/share/fcitx/table)
9
+install(FILES ${CONF_FILE} DESTINATION share/fcitx/table)
10
+install(FILES ${MB_FILE} DESTINATION share/fcitx/table)
(-)chinese/fcitx-table-extra/pkg-descr (+4 lines)
Line 0 Link Here
1
fcitx-table-extra provides Boshiamy, Zhengma, Cangjie, and Quick input
2
methods driven by the fcitx-table IM engine.
3
4
WWW: https://fcitx-im.org/wiki/Fcitx
(-)chinese/fcitx-table-extra/pkg-plist (+74 lines)
Line 0 Link Here
1
share/fcitx/imicon/array30-big.png
2
share/fcitx/imicon/array30.png
3
share/fcitx/imicon/boshiamy.png
4
share/fcitx/imicon/cantonese.png
5
share/fcitx/imicon/cantonhk.png
6
share/fcitx/imicon/easy-big.png
7
share/fcitx/imicon/jyutping.png
8
share/fcitx/imicon/quick-classic.png
9
share/fcitx/imicon/quick3.png
10
share/fcitx/imicon/quick5.png
11
share/fcitx/imicon/scj6.png
12
share/fcitx/imicon/stroke5.png
13
share/fcitx/imicon/t9.png
14
share/fcitx/imicon/wu.png
15
share/fcitx/imicon/zhengma.png
16
share/fcitx/table/array30-big.conf
17
share/fcitx/table/array30-big.mb
18
share/fcitx/table/array30.conf
19
share/fcitx/table/array30.mb
20
share/fcitx/table/boshiamy.conf
21
share/fcitx/table/boshiamy.mb
22
share/fcitx/table/cangjie-big.conf
23
share/fcitx/table/cangjie-big.mb
24
share/fcitx/table/cangjie3.conf
25
share/fcitx/table/cangjie3.mb
26
share/fcitx/table/cangjie5.conf
27
share/fcitx/table/cangjie5.mb
28
share/fcitx/table/cantonese.conf
29
share/fcitx/table/cantonese.mb
30
share/fcitx/table/cantonhk.conf
31
share/fcitx/table/cantonhk.mb
32
share/fcitx/table/easy-big.conf
33
share/fcitx/table/easy-big.mb
34
share/fcitx/table/jyutping.conf
35
share/fcitx/table/jyutping.mb
36
share/fcitx/table/quick-classic.conf
37
share/fcitx/table/quick-classic.mb
38
share/fcitx/table/quick3.conf
39
share/fcitx/table/quick3.mb
40
share/fcitx/table/quick5.conf
41
share/fcitx/table/quick5.mb
42
share/fcitx/table/scj6.conf
43
share/fcitx/table/scj6.mb
44
share/fcitx/table/stroke5.conf
45
share/fcitx/table/stroke5.mb
46
share/fcitx/table/t9.conf
47
share/fcitx/table/t9.mb
48
share/fcitx/table/wu.conf
49
share/fcitx/table/wu.mb
50
share/fcitx/table/wubi-large.conf
51
share/fcitx/table/wubi-large.mb
52
share/fcitx/table/zhengma-large.conf
53
share/fcitx/table/zhengma-large.mb
54
share/fcitx/table/zhengma.conf
55
share/fcitx/table/zhengma.mb
56
share/icons/hicolor/48x48/apps/fcitx-cantonese.png
57
share/icons/hicolor/48x48/apps/fcitx-cantonhk.png
58
share/icons/hicolor/48x48/apps/fcitx-jyutping.png
59
share/icons/hicolor/48x48/apps/fcitx-quick-classic.png
60
share/icons/hicolor/48x48/apps/fcitx-quick3.png
61
share/icons/hicolor/48x48/apps/fcitx-quick5.png
62
share/icons/hicolor/48x48/apps/fcitx-scj6.png
63
share/icons/hicolor/48x48/apps/fcitx-stroke5.png
64
share/icons/hicolor/48x48/apps/fcitx-wu.png
65
share/icons/hicolor/64x64/apps/fcitx-array30-big.png
66
share/icons/hicolor/64x64/apps/fcitx-array30.png
67
share/icons/hicolor/64x64/apps/fcitx-boshiamy.png
68
share/icons/hicolor/64x64/apps/fcitx-easy-big.png
69
share/icons/hicolor/64x64/apps/fcitx-t9.png
70
share/icons/hicolor/64x64/apps/fcitx-zhengma.png
71
share/locale/de/LC_MESSAGES/fcitx-table-extra.mo
72
share/locale/ja/LC_MESSAGES/fcitx-table-extra.mo
73
share/locale/zh_CN/LC_MESSAGES/fcitx-table-extra.mo
74
share/locale/zh_TW/LC_MESSAGES/fcitx-table-extra.mo
(-)chinese/fcitx-ui-light/Makefile (-3 / +3 lines)
Lines 5-16 Link Here
5
PORTVERSION=	0.1.3
5
PORTVERSION=	0.1.3
6
PORTREVISION=	1
6
PORTREVISION=	1
7
CATEGORIES=	chinese
7
CATEGORIES=	chinese
8
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
8
MASTER_SITES=	http://download.fcitx-im.org/${PORTNAME}/
9
DIST_SUBDIR=	fcitx
9
DIST_SUBDIR=	fcitx
10
10
11
MAINTAINER=	lichray@gmail.com
11
MAINTAINER=	lichray@gmail.com
12
COMMENT=	Alternative light weight UI for Fcitx
12
COMMENT=	Alternative light weight UI for Fcitx
13
13
14
LICENSE=	GPLv2
15
14
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
16
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
15
		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
17
		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
16
18
Lines 18-23 Link Here
18
USES=		tar:bzip2 cmake gettext pkgconfig
20
USES=		tar:bzip2 cmake gettext pkgconfig
19
USE_GNOME=	intltool
21
USE_GNOME=	intltool
20
22
21
PROJECTHOST=	fcitx
22
23
.include <bsd.port.mk>
23
.include <bsd.port.mk>
(-)chinese/fcitx-ui-light/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
fcitx-ui-light is a very light weight UI for Fcitx, only using Xpm
1
fcitx-ui-light is a very light weight UI for Fcitx, only using Xpm
2
and Xft, like go back to 3.6.x times.
2
and Xft, like go back to 3.6.x times.
3
3
4
WWW:	http://code.google.com/p/fcitx/
4
WWW: https://fcitx-im.org/wiki/Fcitx
(-)chinese/libgooglepinyin/Makefile (+2 lines)
Lines 9-14 Link Here
9
MAINTAINER=	lichray@gmail.com
9
MAINTAINER=	lichray@gmail.com
10
COMMENT=	Fork of Google Pinyin IME on Android
10
COMMENT=	Fork of Google Pinyin IME on Android
11
11
12
LICENSE=	APACHE20
13
12
USE_LDCONFIG=	yes
14
USE_LDCONFIG=	yes
13
USES=		tar:bzip2 cmake
15
USES=		tar:bzip2 cmake
14
16
(-)chinese/libgooglepinyin/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
libgooglepinyin is a Chinese input method engine, forked from Google
1
libgooglepinyin is a Chinese input method engine, forked from Google
2
Pinyin IME on Android.
2
Pinyin IME on Android.
3
3
4
WWW:	http://code.google.com/p/libgooglepinyin/
4
WWW: http://code.google.com/p/libgooglepinyin/
(-)chinese/libpinyin/Makefile (-8 / +7 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	libpinyin
4
PORTNAME=	libpinyin
5
PORTVERSION=	0.7.91
5
PORTVERSION=	1.1.0
6
PORTREVISION=	2
7
CATEGORIES=	chinese textproc
6
CATEGORIES=	chinese textproc
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
9
8
Lines 10-15 Link Here
10
MAINTAINER=	lichray@gmail.com
9
MAINTAINER=	lichray@gmail.com
11
COMMENT=	Library to deal with pinyin
10
COMMENT=	Library to deal with pinyin
12
11
12
LICENSE=	GPLv2
13
13
USE_BDB=	yes
14
USE_BDB=	yes
14
USE_GNOME=	glib20
15
USE_GNOME=	glib20
15
USES=		gettext gmake libtool pathfix pkgconfig
16
USES=		gettext gmake libtool pathfix pkgconfig
Lines 19-31 Link Here
19
CONFIGURE_ARGS+=CPPFLAGS="-I${LOCALBASE}/include \
20
CONFIGURE_ARGS+=CPPFLAGS="-I${LOCALBASE}/include \
20
		-I${BDB_INCLUDE_DIR} -D_WITH_GETLINE" \
21
		-I${BDB_INCLUDE_DIR} -D_WITH_GETLINE" \
21
		LDFLAGS="-L${LOCALBASE}/lib -l${BDB_LIB_NAME}"
22
		LDFLAGS="-L${LOCALBASE}/lib -l${BDB_LIB_NAME}"
23
INSTALL_TARGET=install-strip
22
24
23
PLIST_SUB+=	VER=${PORTVERSION}
25
PLIST_SUB+=	VER=${PORTVERSION}
24
26
25
.include <bsd.port.pre.mk>
27
post-install:
28
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpinyin.so.5.0.0
26
29
27
.if ${OSVERSION} < 800107
30
.include <bsd.port.mk>
28
IGNORE=		does not compile on FreeBSD 7.X
29
.endif
30
31
.include <bsd.port.post.mk>
(-)chinese/libpinyin/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (libpinyin-0.7.91.tar.gz) = 86d370d217183ec60223e71ff43002283cd7be888ceacf51c44090397b55259b
1
SHA256 (libpinyin-1.1.0.tar.gz) = 3f2a04f4aa39cdf0db7c098805ad02c7f66b030d14144deddd04b532f4eaa103
2
SIZE (libpinyin-0.7.91.tar.gz) = 10466494
2
SIZE (libpinyin-1.1.0.tar.gz) = 19737160
(-)chinese/libpinyin/files/patch-configure (-16 lines)
Lines 1-16 Link Here
1
--- configure~	2012-02-06 09:07:32.410719322 -0600
2
+++ configure	2012-02-06 09:26:16.354737313 -0600
3
@@ -17515,11 +17515,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
4
 #ifdef __cplusplus
5
 extern "C"
6
 #endif
7
-char db_create ();
8
+#include <db.h>
9
 int
10
 main ()
11
 {
12
-return db_create ();
13
+return db_create (0,0,0);
14
   ;
15
   return 0;
16
 }
(-)chinese/libpinyin/files/patch-data_Makefile.in (+11 lines)
Line 0 Link Here
1
--- data/Makefile.in.orig	2014-06-05 14:21:55.000000000 +0800
2
+++ data/Makefile.in	2014-06-05 14:22:17.000000000 +0800
3
@@ -288,7 +288,7 @@
4
 libpinyin_db_DATA = $(binary_model_data) \
5
                           table.conf
6
 
7
-libpinyin_dbdir = $(libdir)/libpinyin/data
8
+libpinyin_dbdir = $(datadir)/libpinyin/data
9
 CLEANFILES = $(binary_model_data)
10
 all: all-am
11
 
(-)chinese/libpinyin/files/patch-libpinyin.pc.in (+11 lines)
Line 0 Link Here
1
--- libpinyin.pc.in.orig	2014-06-05 14:28:26.000000000 +0800
2
+++ libpinyin.pc.in	2014-06-05 14:28:35.000000000 +0800
3
@@ -2,7 +2,7 @@
4
 exec_prefix=@exec_prefix@
5
 libdir=@libdir@
6
 includedir=@includedir@
7
-pkgdatadir=@libdir@/libpinyin
8
+pkgdatadir=@datadir@/libpinyin
9
 
10
 libpinyinincludedir=${includedir}/libpinyin-@VERSION@
11
 libpinyin_binary_version=@LIBPINYIN_BINARY_VERSION@
(-)chinese/libpinyin/files/patch-src_pinyin_internal.h (-10 lines)
Lines 1-10 Link Here
1
--- src/pinyin_internal.h.orig	2011-12-19 23:45:40.000000000 -0600
2
+++ src/pinyin_internal.h	2012-02-06 09:53:12.804569766 -0600
3
@@ -47,6 +47,7 @@
4
 #include "flexible_ngram.h"
5
 
6
 using namespace pinyin;
7
+#define ENODATA		ENOENT
8
 
9
 
10
 #endif
(-)chinese/libpinyin/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
The libpinyin project aims to provide the algorithms core for intelligent
1
The libpinyin project aims to provide the algorithms core for intelligent
2
sentence-based Chinese pinyin input methods.
2
sentence-based Chinese pinyin input methods.
3
3
4
WWW:	https://github.com/libpinyin/libpinyin
4
WWW: https://github.com/libpinyin/libpinyin
(-)chinese/libpinyin/pkg-plist (-7 / +14 lines)
Lines 1-22 Link Here
1
bin/gen_binary_files
1
bin/gen_binary_files
2
bin/gen_unigram
2
bin/gen_unigram
3
bin/import_interpolation
3
bin/import_interpolation
4
include/libpinyin-%%VER%%/chewing_enum.h
5
include/libpinyin-%%VER%%/chewing_key.h
6
include/libpinyin-%%VER%%/novel_types.h
4
include/libpinyin-%%VER%%/novel_types.h
7
include/libpinyin-%%VER%%/pinyin.h
5
include/libpinyin-%%VER%%/pinyin.h
8
include/libpinyin-%%VER%%/pinyin_custom2.h
6
include/libpinyin-%%VER%%/pinyin_custom2.h
9
lib/libpinyin.a
7
lib/libpinyin.a
10
lib/libpinyin.so
8
lib/libpinyin.so
11
lib/libpinyin.so.2
9
lib/libpinyin.so.5
12
lib/libpinyin.so.2.0.0
10
lib/libpinyin.so.5.0.0
13
libdata/pkgconfig/libpinyin.pc
11
libdata/pkgconfig/libpinyin.pc
14
man/man1/gen_binary_files.1.gz
15
man/man1/gen_unigram.1.gz
16
man/man1/import_interpolation.1.gz
17
man/man1/libpinyin.1.gz
12
man/man1/libpinyin.1.gz
13
%%DATADIR%%/data/art.bin
18
%%DATADIR%%/data/bigram.db
14
%%DATADIR%%/data/bigram.db
15
%%DATADIR%%/data/culture.bin
16
%%DATADIR%%/data/economy.bin
19
%%DATADIR%%/data/gb_char.bin
17
%%DATADIR%%/data/gb_char.bin
20
%%DATADIR%%/data/gbk_char.bin
18
%%DATADIR%%/data/gbk_char.bin
19
%%DATADIR%%/data/geology.bin
20
%%DATADIR%%/data/history.bin
21
%%DATADIR%%/data/life.bin
22
%%DATADIR%%/data/merged.bin
23
%%DATADIR%%/data/nature.bin
21
%%DATADIR%%/data/phrase_index.bin
24
%%DATADIR%%/data/phrase_index.bin
22
%%DATADIR%%/data/pinyin_index.bin
25
%%DATADIR%%/data/pinyin_index.bin
26
%%DATADIR%%/data/scitech.bin
27
%%DATADIR%%/data/society.bin
28
%%DATADIR%%/data/sport.bin
29
%%DATADIR%%/data/table.conf
(-)chinese/librime/Makefile (-27 / +9 lines)
Lines 2-15 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	librime
4
PORTNAME=	librime
5
PORTVERSION=	0.9.7
5
PORTVERSION=	1.1
6
PORTREVISION=	2
7
CATEGORIES=	chinese textproc
6
CATEGORIES=	chinese textproc
8
MASTER_SITES=	GOOGLE_CODE
7
MASTER_SITES=	http://github.com/rime/${PORTNAME}/archive/rime-${PORTVERSION}.tar.gz?dummy=/
9
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} brise-${DATA_VER}.tar.gz
8
DISTNAME=	${PORTNAME}-rime-${DISTVERSION}
10
9
11
MAINTAINER=	lichray@gmail.com
10
MAINTAINER=	lichray@gmail.com
12
COMMENT=	Rime Input Method Engine
11
COMMENT=	Rime Input Method Engine, the core library
13
12
14
LICENSE=	GPLv3
13
LICENSE=	GPLv3
15
14
Lines 17-53 Link Here
17
		libglog.so:${PORTSDIR}/devel/glog \
16
		libglog.so:${PORTSDIR}/devel/glog \
18
		libkyotocabinet.so:${PORTSDIR}/databases/kyotocabinet \
17
		libkyotocabinet.so:${PORTSDIR}/databases/kyotocabinet \
19
		libopencc.so:${PORTSDIR}/chinese/opencc \
18
		libopencc.so:${PORTSDIR}/chinese/opencc \
20
		libyaml-cpp03.so:${PORTSDIR}/devel/yaml-cpp03
19
		libyaml-cpp.so:${PORTSDIR}/devel/yaml-cpp
21
20
22
USES=		cmake pkgconfig gettext perl5
21
USES=		cmake compiler:c++11-lang pkgconfig gettext perl5
23
USE_PERL5=	build patch
22
USE_PERL5=	build patch
24
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
25
USE_XORG=	xproto
24
USE_XORG=	xproto
26
LDFLAGS+=	-lintl
25
LDFLAGS+=	-lintl
27
26
28
PLIST_SUB=	VER=${PORTVERSION}
27
PLIST_SUB=	VER=${PORTVERSION}.0
29
28
29
.include <bsd.port.options.mk>
30
30
post-patch:     .SILENT
31
post-patch:     .SILENT
31
	${FIND} ${WRKSRC} \( -name '*.cc' -or -name '*.h' \) \
32
	${FIND} ${WRKSRC} \( -name '*.cc' -or -name '*.h' \) \
32
		-exec ${PERL} -i -pe '$$. == 1 && s/^\xef\xbb\xbf//;' '{}' \;
33
		-exec ${PERL} -i -pe '$$. == 1 && s/^\xef\xbb\xbf//;' '{}' \;
33
	${REINPLACE_CMD} -e 's|yaml-cpp|&03|g' ${WRKSRC}/cmake/FindYamlCpp.cmake \
34
		${WRKSRC}/src/config.cc ${WRKSRC}/src/dict/dict_settings.cc
35
34
36
post-build:
37
	@echo "building rime data."
38
	@${MKDIR} ${DATASRC}
39
	@(cd ${WRKDIR}/brise; ${CP} \
40
	default.yaml essay.kct supplement/*.yaml preset/*.yaml ${DATASRC})
41
	${WRKSRC}/bin/rime_deployer --build ${DATASRC}
42
43
post-install:
44
	${MKDIR} ${STAGEDIR}${DATADIR}/data
45
	${INSTALL_DATA} ${DATASRC}/*.kct ${DATASRC}/*.bin ${STAGEDIR}${DATADIR}/data/
46
47
PROJECTHOST=	rimeime
48
DATA_VER=	0.16
49
WRKSRC=		${WRKDIR}/${PORTNAME}
50
DATASRC=	${WRKDIR}/tmp
51
DATADIR=	${PREFIX}/share/rime
52
53
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)chinese/librime/distinfo (-4 / +2 lines)
Lines 1-4 Link Here
1
SHA256 (librime-0.9.7.tar.gz) = 670ab6535bce9c44d2293f8b857ececbea6317b563c5686e750ffdf0532d85c2
1
SHA256 (librime-rime-1.1.tar.gz) = fb42324b7fa489708a0e2ffd75e90668678bd4d0ae68f9c8ff956cd3be3c7362
2
SIZE (librime-0.9.7.tar.gz) = 2535462
2
SIZE (librime-rime-1.1.tar.gz) = 2633096
3
SHA256 (brise-0.16.tar.gz) = a65693ed2bbf40ec579be8124d4cb909749a5a4dcd0e312d78891522c5eb881b
4
SIZE (brise-0.16.tar.gz) = 6781320
(-)chinese/librime/files/patch-CMakeLists.txt (-3 / +63 lines)
Lines 1-5 Link Here
1
--- CMakeLists.txt.bak	2012-09-26 00:03:24.000000000 -0500
1
--- ./CMakeLists.txt.orig	2013-12-26 17:37:25.000000000 +0900
2
+++ CMakeLists.txt	2012-11-26 22:38:10.883043680 -0600
2
+++ ./CMakeLists.txt	2014-03-26 13:02:33.000000000 +0900
3
@@ -1,5 +1,5 @@
3
@@ -1,5 +1,5 @@
4
-set(CMAKE_USER_MAKE_RULES_OVERRIDE ${CMAKE_CURRENT_SOURCE_DIR}/cmake/c_flag_overrides.cmake)
4
-set(CMAKE_USER_MAKE_RULES_OVERRIDE ${CMAKE_CURRENT_SOURCE_DIR}/cmake/c_flag_overrides.cmake)
5
-set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX ${CMAKE_CURRENT_SOURCE_DIR}/cmake/cxx_flag_overrides.cmake)
5
-set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX ${CMAKE_CURRENT_SOURCE_DIR}/cmake/cxx_flag_overrides.cmake)
Lines 8-14 Link Here
8
 
8
 
9
 project(rime)
9
 project(rime)
10
 cmake_minimum_required(VERSION 2.8)
10
 cmake_minimum_required(VERSION 2.8)
11
@@ -107,7 +107,7 @@ if(NOT BUILD_STATIC)
11
@@ -21,6 +21,20 @@
12
 
13
 set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
14
 
15
+include_directories(${PROJECT_SOURCE_DIR}/include)
16
+include_directories(${PROJECT_SOURCE_DIR}/thirdparty/include)
17
+link_directories(${PROJECT_SOURCE_DIR}/thirdparty/lib)
18
+if(MSVC)
19
+  if(MSVC10)
20
+    # stdint.h is missing from VS2010
21
+    include_directories(${PROJECT_SOURCE_DIR}/thirdparty/include/msvc)
22
+  endif(MSVC10)
23
+  add_definitions("/wd4244 /wd4996")
24
+endif(MSVC)
25
+if(UNIX)
26
+  add_definitions("-std=c++11")
27
+endif(UNIX)
28
+
29
 set(Boost_USE_STATIC_LIBS ${BUILD_STATIC})
30
 set(Gflags_STATIC ${BUILD_STATIC})
31
 set(Glog_STATIC ${BUILD_STATIC})
32
@@ -82,20 +96,6 @@
33
   message(WARNING "X11/keysym.h not found.")
34
 endif(X11Keysym)
35
 
36
-include_directories(${PROJECT_SOURCE_DIR}/include)
37
-include_directories(${PROJECT_SOURCE_DIR}/thirdparty/include)
38
-link_directories(${PROJECT_SOURCE_DIR}/thirdparty/lib)
39
-if(MSVC)
40
-  if(MSVC10)
41
-    # stdint.h is missing from VS2010
42
-    include_directories(${PROJECT_SOURCE_DIR}/thirdparty/include/msvc)
43
-  endif(MSVC10)
44
-  add_definitions("/wd4244 /wd4996")
45
-endif(MSVC)
46
-if(UNIX)
47
-  add_definitions("-std=c++11")
48
-endif(UNIX)
49
-
50
 if(NOT DEFINED LIB_INSTALL_DIR)
51
     set(LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib)
52
 endif()
53
@@ -104,7 +104,7 @@
54
     set(BIN_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/bin)
55
 endif()
56
 
57
-if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
58
+if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
59
   # uninstall target
60
   configure_file(
61
     "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
62
@@ -120,7 +120,7 @@
12
   set(includedir "${CMAKE_INSTALL_PREFIX}/include")
63
   set(includedir "${CMAKE_INSTALL_PREFIX}/include")
13
   configure_file(${PROJECT_SOURCE_DIR}/rime.pc.in ${PROJECT_BINARY_DIR}/rime.pc)
64
   configure_file(${PROJECT_SOURCE_DIR}/rime.pc.in ${PROJECT_BINARY_DIR}/rime.pc)
14
   install(FILES include/rime_api.h DESTINATION include)
65
   install(FILES include/rime_api.h DESTINATION include)
Lines 17-19 Link Here
17
   install(FILES cmake/RimeConfig.cmake DESTINATION share/cmake/rime)
68
   install(FILES cmake/RimeConfig.cmake DESTINATION share/cmake/rime)
18
   if(BUILD_DATA)
69
   if(BUILD_DATA)
19
     install(FILES ${PROJECT_SOURCE_DIR}/data/default.yaml DESTINATION ${pkgdatadir})
70
     install(FILES ${PROJECT_SOURCE_DIR}/data/default.yaml DESTINATION ${pkgdatadir})
71
@@ -131,7 +131,7 @@
72
     file(GLOB supplement_schema ${PROJECT_SOURCE_DIR}/data/supplement/*.yaml)
73
     install(FILES ${supplement_schema} DESTINATION ${pkgdatadir})
74
   endif(BUILD_DATA)
75
-endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
76
+endif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
77
 
78
 if(BUILD_SHARED_LIBS)
79
   set(RIME_LIBRARY rime)
(-)chinese/librime/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
Rime Input Method Engine is a customizable and dialect-friendly intelligent
1
Rime Input Method Engine is a customizable and dialect-friendly intelligent
2
Chinese input method.
2
Chinese input method.
3
3
4
WWW: http://code.google.com/p/rimeime/
4
WWW: https://rime.github.io/
(-)chinese/librime/pkg-plist (-10 / +1 lines)
Lines 2-17 Link Here
2
bin/rime_dict_manager
2
bin/rime_dict_manager
3
include/rime_api.h
3
include/rime_api.h
4
lib/librime.so
4
lib/librime.so
5
lib/librime.so.0
6
lib/librime.so.%%VER%%
5
lib/librime.so.%%VER%%
6
lib/librime.so.1
7
libdata/pkgconfig/rime.pc
7
libdata/pkgconfig/rime.pc
8
share/cmake/rime/RimeConfig.cmake
8
share/cmake/rime/RimeConfig.cmake
9
%%DATADIR%%/data/cangjie5.prism.bin
10
%%DATADIR%%/data/cangjie5.reverse.bin
11
%%DATADIR%%/data/cangjie5.table.bin
12
%%DATADIR%%/data/essay.kct
13
%%DATADIR%%/data/luna_pinyin.prism.bin
14
%%DATADIR%%/data/luna_pinyin.reverse.bin
15
%%DATADIR%%/data/luna_pinyin.table.bin
16
%%DATADIR%%/data/luna_pinyin_fluency.prism.bin
17
%%DATADIR%%/data/luna_pinyin_simp.prism.bin
(-)chinese/opencc/Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	opencc
4
PORTNAME=	opencc
5
PORTVERSION=	0.3.0
5
PORTVERSION=	0.4.3
6
CATEGORIES=	chinese converters
6
CATEGORIES=	chinese converters
7
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
7
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
8
8
(-)chinese/opencc/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (opencc-0.3.0.tar.gz) = ce397244e698d0fd42d5e0b240a6eca2a82f29ef76f433c71ab2e5a3c54ac5be
1
SHA256 (opencc-0.4.3.tar.gz) = 7bdcf9e38ac05a16750d5276494d810db107c8a8b5f8b87e2357ee167a13a587
2
SIZE (opencc-0.3.0.tar.gz) = 491179
2
SIZE (opencc-0.4.3.tar.gz) = 535151
(-)chinese/opencc/files/patch-src_utils.c (+46 lines)
Line 0 Link Here
1
--- src/utils.c.orig	2014-04-07 11:37:35.909060780 -0400
2
+++ src/utils.c	2014-04-07 11:53:24.429168115 -0400
3
@@ -19,6 +19,11 @@
4
 #include "utils.h"
5
 #include <unistd.h>
6
 
7
+#ifdef __FreeBSD__
8
+  #include <sys/types.h>
9
+  #include <sys/sysctl.h>
10
+#endif
11
+
12
 #ifdef __APPLE__
13
   #include "TargetConditionals.h"
14
   #ifdef TARGET_OS_MAC
15
@@ -95,14 +100,19 @@ const char* executable_path(void) {
16
   static int calculated = 0;
17
 
18
   if (!calculated) {
19
-#ifdef __linux
20
+#if defined(__linux)
21
     ssize_t res = readlink("/proc/self/exe", path_buffer, sizeof(path_buffer));
22
     assert(res != -1);
23
-#elif __APPLE__
24
+#elif defined(__FreeBSD__)
25
+    int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 };
26
+    size_t size = sizeof(path_buffer);
27
+    int res = sysctl(mib, 4, path_buffer, &size, NULL, 0);
28
+    assert(res == 0);
29
+#elif defined(__APPLE__)
30
     uint32_t size = sizeof(path_buffer);
31
     int res = _NSGetExecutablePath(path_buffer, &size);
32
     assert(res == 0);
33
-#elif _WIN32 || _WIN64
34
+#elif defined(_WIN32) || defined(_WIN64)
35
     // NOTE: for "C:\\opencc.exe" on Windows, the returned path "C:" is
36
     // incorrect until a '/' is appended to it later in try_open_file()
37
     DWORD res = GetModuleFileNameA(NULL, path_buffer, PATH_BUFFER_SIZE);
38
@@ -110,7 +120,7 @@ const char* executable_path(void) {
39
 #else
40
     /* Other unsupported os */
41
     assert(0);
42
-#endif /* ifdef __linux */
43
+#endif /* if defined(__linux) */
44
     char* last_sep = strrchr(path_buffer, PATH_SEPARATOR);
45
     assert(last_sep != NULL);
46
     *last_sep = '\0';
(-)chinese/opencc/pkg-descr (-1 / +1 lines)
Lines 2-5 Link Here
2
Chinese conversion project, providing high quality thesaurus and libopencc,
2
Chinese conversion project, providing high quality thesaurus and libopencc,
3
as well as a conversion utility and a dictionary generator.
3
as well as a conversion utility and a dictionary generator.
4
4
5
WWW:	https://code.google.com/p/opencc/
5
WWW: https://github.com/BYVoid/OpenCC
(-)japanese/fcitx-anthy/Makefile (-7 / +6 lines)
Lines 2-22 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fcitx-anthy
4
PORTNAME=	fcitx-anthy
5
PORTVERSION=	0.1.1
5
PORTVERSION=	0.2.1
6
PORTREVISION=	1
7
CATEGORIES=	japanese
6
CATEGORIES=	japanese
8
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
7
MASTER_SITES=	http://download.fcitx-im.org/${PORTNAME}/
9
DIST_SUBDIR=	fcitx
8
DIST_SUBDIR=	fcitx
10
9
11
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	lichray@gmail.com
12
COMMENT=	Anthy support for Fcitx
11
COMMENT=	Anthy support for Fcitx
13
12
13
LICENSE=	GPLv2
14
14
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
15
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
15
		libanthy.so:${PORTSDIR}/japanese/anthy
16
		libanthy.so:${PORTSDIR}/japanese/anthy
16
17
17
USES=		cmake gettext pkgconfig tar:xz
18
USES=		cmake gettext pkgconfig tar:xz
18
USE_GNOME=	intltool
19
INSTALLS_ICONS=	yes
19
20
20
PROJECTHOST=	fcitx
21
22
.include <bsd.port.mk>
21
.include <bsd.port.mk>
(-)japanese/fcitx-anthy/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (fcitx/fcitx-anthy-0.1.1.tar.xz) = c508068c7c9a56c26ea44b8e6ddb90a2ea75860031f89e171dcda8ec4cd08955
1
SHA256 (fcitx/fcitx-anthy-0.2.1.tar.xz) = fd208474666f09f1c189c10c2c0fa9cfda33948b704410e02878fdd92174d78d
2
SIZE (fcitx/fcitx-anthy-0.1.1.tar.xz) = 68604
2
SIZE (fcitx/fcitx-anthy-0.2.1.tar.xz) = 72196
(-)japanese/fcitx-anthy/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
fcitx-anthy provides Anthy, the most popular Japanese input method
1
fcitx-anthy provides Anthy, the most popular Japanese input method
2
system, as a back-end to the Fcitx IM framework.
2
system, as a back-end to the Fcitx IM framework.
3
3
4
WWW:	http://code.google.com/p/fcitx/
4
WWW: https://fcitx-im.org/wiki/Fcitx
(-)japanese/fcitx-anthy/pkg-plist (+1 lines)
Lines 25-30 Link Here
25
share/icons/hicolor/scalable/status/fcitx-anthy-period-wide-japanese.svg
25
share/icons/hicolor/scalable/status/fcitx-anthy-period-wide-japanese.svg
26
share/icons/hicolor/scalable/status/fcitx-anthy-period-wide-latin.svg
26
share/icons/hicolor/scalable/status/fcitx-anthy-period-wide-latin.svg
27
share/icons/hicolor/scalable/status/fcitx-anthy-symbol.svg
27
share/icons/hicolor/scalable/status/fcitx-anthy-symbol.svg
28
share/locale/de/LC_MESSAGES/fcitx-anthy.mo
28
share/locale/ja/LC_MESSAGES/fcitx-anthy.mo
29
share/locale/ja/LC_MESSAGES/fcitx-anthy.mo
29
share/locale/zh_CN/LC_MESSAGES/fcitx-anthy.mo
30
share/locale/zh_CN/LC_MESSAGES/fcitx-anthy.mo
30
share/locale/zh_TW/LC_MESSAGES/fcitx-anthy.mo
31
share/locale/zh_TW/LC_MESSAGES/fcitx-anthy.mo
(-)japanese/fcitx-skk/Makefile (+37 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	fcitx-skk
4
PORTVERSION=	0.1.1
5
CATEGORIES=	japanese
6
MASTER_SITES=	http://download.fcitx-im.org/${PORTNAME}/
7
DIST_SUBDIR=	fcitx
8
9
MAINTAINER=	hiroto.kagotani@gmail.com
10
COMMENT=	SKK support for Fcitx
11
12
LICENSE=	GPLv3
13
14
RUN_DEPENDS=	${LOCALBASE}/share/skk/SKK-JISYO.L:${PORTSDIR}/japanese/skk-jisyo
15
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
16
		libskk.so:${PORTSDIR}/japanese/libskk
17
18
USES=		tar:xz compiler:c++11-lang cmake gettext pkgconfig
19
INSTALLS_ICONS=	yes
20
CMAKE_ARGS+=	-DSKK_DEFAULT_PATH=${LOCALBASE}/share/skk/SKK-JISYO.L
21
22
OPTIONS_DEFINE=	QT4
23
OPTIONS_DEFAULT=QT4
24
QT4_DESC=	Enable Qt for GUI configuration
25
26
.include <bsd.port.options.mk>
27
28
.if ${PORT_OPTIONS:MQT4}
29
USE_QT4=	qmake_build moc_build rcc_build uic_build gui
30
USE_LDCONFIG=	${PREFIX}/lib/fcitx/qt
31
PLIST_SUB+=	QT4=""
32
.else
33
CMAKE_ARGS+=	-DENABLE_QT=OFF
34
PLIST_SUB+=	 QT4="@comment "
35
.endif
36
37
.include <bsd.port.mk>
(-)japanese/fcitx-skk/distinfo (+2 lines)
Line 0 Link Here
1
SHA256 (fcitx/fcitx-skk-0.1.1.tar.xz) = 023a1d9b075c02c7e394a689e7b2452a1df1e062b2953892aed7c694fb55591c
2
SIZE (fcitx/fcitx-skk-0.1.1.tar.xz) = 31136
(-)japanese/fcitx-skk/files/patch-gui__CMakeLists.txt (+8 lines)
Line 0 Link Here
1
--- ./gui/CMakeLists.txt.orig	2013-10-28 01:07:26.000000000 +0900
2
+++ ./gui/CMakeLists.txt	2014-03-20 13:44:23.000000000 +0900
3
@@ -47,4 +47,4 @@
4
   ${LIBSKK_LIBRARIES}
5
   )
6
 
7
-install(TARGETS fcitx-skk-config DESTINATION ${FCITX4_ADDON_INSTALL_DIR}/qt)
8
+install(TARGETS fcitx-skk-config DESTINATION ${FCITX4_ADDON_INSTALL_DESTDIR}/qt)
(-)japanese/fcitx-skk/files/patch-src__CMakeLists.txt (+8 lines)
Line 0 Link Here
1
--- ./src/CMakeLists.txt.orig	2013-10-28 01:07:26.000000000 +0900
2
+++ ./src/CMakeLists.txt	2014-03-20 13:45:23.000000000 +0900
3
@@ -15,4 +15,4 @@
4
 
5
 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/dictionary_list.in ${CMAKE_CURRENT_BINARY_DIR}/dictionary_list @ONLY)
6
 
7
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/dictionary_list rule DESTINATION "${FCITX4_PREFIX}/share/fcitx/skk")
8
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/dictionary_list rule DESTINATION "share/fcitx/skk")
(-)japanese/fcitx-skk/pkg-descr (+3 lines)
Line 0 Link Here
1
fcitx-skk provides SKK as a back-end to the Fcitx IM framework.
2
3
WWW: https://fcitx-im.org/wiki/Fcitx
(-)japanese/fcitx-skk/pkg-plist (+13 lines)
Line 0 Link Here
1
share/fcitx/imicon/skk.png
2
share/icons/hicolor/64x64/apps/fcitx-skk.png
3
share/locale/de/LC_MESSAGES/fcitx-skk.mo
4
share/locale/ja/LC_MESSAGES/fcitx-skk.mo
5
share/locale/vi/LC_MESSAGES/fcitx-skk.mo
6
share/locale/zh_CN/LC_MESSAGES/fcitx-skk.mo
7
lib/fcitx/fcitx-skk.so
8
%%QT4%%lib/fcitx/qt/libfcitx-skk-config.so
9
share/fcitx/addon/fcitx-skk.conf
10
share/fcitx/configdesc/fcitx-skk.desc
11
share/fcitx/inputmethod/skk.conf
12
share/fcitx/skk/dictionary_list
13
share/fcitx/skk/rule
(-)korean/fcitx-hangul/Makefile (-4 / +2 lines)
Lines 2-11 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fcitx-hangul
4
PORTNAME=	fcitx-hangul
5
PORTVERSION=	0.2.0
5
PORTVERSION=	0.3.0
6
CATEGORIES=	korean
6
CATEGORIES=	korean
7
MASTER_SITES=	GOOGLE_CODE
7
MASTER_SITES=	http://download.fcitx-im.org/${PORTNAME}/
8
PROJECTHOST=	fcitx
9
DIST_SUBDIR=	fcitx
8
DIST_SUBDIR=	fcitx
10
9
11
MAINTAINER=	lichray@gmail.com
10
MAINTAINER=	lichray@gmail.com
Lines 17-23 Link Here
17
		libhangul.so:${PORTSDIR}/korean/libhangul
16
		libhangul.so:${PORTSDIR}/korean/libhangul
18
17
19
USES=		cmake gettext pkgconfig tar:xz
18
USES=		cmake gettext pkgconfig tar:xz
20
USE_GNOME=	intltool
21
INSTALLS_ICONS=	yes
19
INSTALLS_ICONS=	yes
22
20
23
CFLAGS+=	-I${LOCALBASE}/include
21
CFLAGS+=	-I${LOCALBASE}/include
(-)korean/fcitx-hangul/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (fcitx/fcitx-hangul-0.2.0.tar.xz) = 4dbb5e9de7472b5310610b15b85a3156c0f6427ef9dabfd060f230cee40e387c
1
SHA256 (fcitx/fcitx-hangul-0.3.0.tar.xz) = 978a66471eb200cc3807fe84e9b5f1392fefdcd51031e5a0bd8647fa994507cb
2
SIZE (fcitx/fcitx-hangul-0.2.0.tar.xz) = 25020
2
SIZE (fcitx/fcitx-hangul-0.3.0.tar.xz) = 25600
(-)korean/fcitx-hangul/files/patch-data__CMakeLists.txt (+10 lines)
Line 0 Link Here
1
--- ./data/CMakeLists.txt.orig	2013-07-01 06:07:48.000000000 +0900
2
+++ ./data/CMakeLists.txt	2014-03-20 13:22:18.000000000 +0900
3
@@ -1,5 +1,5 @@
4
-install(FILES symbol.txt DESTINATION ${FCITX4_PREFIX}/share/fcitx/hangul/)
5
-install(FILES hangul.png DESTINATION ${FCITX4_PREFIX}/share/fcitx/imicon/)
6
+install(FILES symbol.txt DESTINATION share/fcitx/hangul/)
7
+install(FILES hangul.png DESTINATION share/fcitx/imicon/)
8
 install(FILES hangul.png RENAME fcitx-hangul.png DESTINATION share/icons/hicolor/64x64/apps/)
9
 install(FILES hanja_active.png RENAME fcitx-hanja-active.png DESTINATION share/icons/hicolor/48x48/status/)
10
 install(FILES hanja_inactive.png RENAME fcitx-hanja-inactive.png DESTINATION share/icons/hicolor/48x48/status/)
(-)korean/fcitx-hangul/pkg-descr (-1 / +1 lines)
Lines 1-3 Link Here
1
fcitx-hangul provides Korean input back-end to the Fcitx IM framework.
1
fcitx-hangul provides Korean input back-end to the Fcitx IM framework.
2
2
3
WWW: http://code.google.com/p/fcitx/
3
WWW: https://fcitx-im.org/wiki/Fcitx
(-)korean/fcitx-hangul/pkg-plist (-3 / +5 lines)
Lines 2-12 Link Here
2
share/fcitx/addon/fcitx-hangul.conf
2
share/fcitx/addon/fcitx-hangul.conf
3
share/fcitx/configdesc/fcitx-hangul.desc
3
share/fcitx/configdesc/fcitx-hangul.desc
4
share/fcitx/hangul/symbol.txt
4
share/fcitx/hangul/symbol.txt
5
share/fcitx/imicon/hangul.png
5
share/fcitx/inputmethod/hangul.conf
6
share/fcitx/inputmethod/hangul.conf
6
share/fcitx/skin/imicon/hangul.png
7
share/icons/hicolor/48x48/status/fcitx-hanja-active.png
8
share/icons/hicolor/48x48/status/fcitx-hanja-inactive.png
7
share/icons/hicolor/64x64/apps/fcitx-hangul.png
9
share/icons/hicolor/64x64/apps/fcitx-hangul.png
8
share/icons/hicolor/64x64/status/fcitx-hanja-active.png
10
share/locale/de/LC_MESSAGES/fcitx-hangul.mo
9
share/icons/hicolor/64x64/status/fcitx-hanja-inactive.png
11
share/locale/ja/LC_MESSAGES/fcitx-hangul.mo
10
share/locale/ko/LC_MESSAGES/fcitx-hangul.mo
12
share/locale/ko/LC_MESSAGES/fcitx-hangul.mo
11
share/locale/zh_CN/LC_MESSAGES/fcitx-hangul.mo
13
share/locale/zh_CN/LC_MESSAGES/fcitx-hangul.mo
12
share/locale/zh_TW/LC_MESSAGES/fcitx-hangul.mo
14
share/locale/zh_TW/LC_MESSAGES/fcitx-hangul.mo
(-)textproc/fcitx-m17n/Makefile (-5 / +4 lines)
Lines 2-21 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fcitx-m17n
4
PORTNAME=	fcitx-m17n
5
PORTVERSION=	0.1.4
5
PORTVERSION=	0.2.3
6
PORTREVISION=	1
7
CATEGORIES=	textproc
6
CATEGORIES=	textproc
8
MASTER_SITES=	GOOGLE_CODE
7
MASTER_SITES=	http://download.fcitx-im.org/${PORTNAME}/
9
PROJECTHOST=	fcitx
10
DIST_SUBDIR=	fcitx
8
DIST_SUBDIR=	fcitx
11
9
12
MAINTAINER=	lichray@gmail.com
10
MAINTAINER=	lichray@gmail.com
13
COMMENT=	Multilingualization support for Fcitx
11
COMMENT=	Multilingualization support for Fcitx
14
12
13
LICENSE=	LGPL21
14
15
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
15
LIB_DEPENDS=	libfcitx-config.so:${PORTSDIR}/chinese/fcitx \
16
		libm17n.so:${PORTSDIR}/devel/m17n-lib
16
		libm17n.so:${PORTSDIR}/devel/m17n-lib
17
17
18
USES=		cmake gettext pkgconfig tar:xz
18
USES=		cmake gettext pkgconfig tar:xz
19
USE_GNOME=	intltool
20
19
21
.include <bsd.port.mk>
20
.include <bsd.port.mk>
(-)textproc/fcitx-m17n/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (fcitx/fcitx-m17n-0.1.4.tar.xz) = 6e45a7659bb62b1d039ff75b011420a224a4d22be28bf1d7e787dabad3a77187
1
SHA256 (fcitx/fcitx-m17n-0.2.3.tar.xz) = 84f9a9ac9e8c94db0c124d1c9cafa352191894b4d04d926611c5b0759e86de39
2
SIZE (fcitx/fcitx-m17n-0.1.4.tar.xz) = 33176
2
SIZE (fcitx/fcitx-m17n-0.2.3.tar.xz) = 33504
(-)textproc/fcitx-m17n/files/patch-im__CMakeLists.txt (+8 lines)
Line 0 Link Here
1
--- ./im/CMakeLists.txt.orig	2013-11-03 20:33:26.000000000 +0900
2
+++ ./im/CMakeLists.txt	2014-03-20 13:05:01.000000000 +0900
3
@@ -31,4 +31,4 @@
4
     LINK_LIBS ${M17N_LIBRARIES}
5
 )
6
 
7
-install(FILES default DESTINATION ${FCITX4_PREFIX}/share/fcitx/m17n)
8
+install(FILES default DESTINATION share/fcitx/m17n)
(-)textproc/fcitx-m17n/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
fcitx-m17n provides the libm17n, a multilingual input method engine,
1
fcitx-m17n provides the libm17n, a multilingual input method engine,
2
as a back-end to the Fcitx IM framework.
2
as a back-end to the Fcitx IM framework.
3
3
4
WWW: http://code.google.com/p/fcitx/
4
WWW: https://fcitx-im.org/wiki/Fcitx
(-)textproc/fcitx-m17n/pkg-plist (+2 lines)
Lines 2-6 Link Here
2
share/fcitx/addon/fcitx-m17n.conf
2
share/fcitx/addon/fcitx-m17n.conf
3
share/fcitx/configdesc/fcitx-m17n.desc
3
share/fcitx/configdesc/fcitx-m17n.desc
4
share/fcitx/m17n/default
4
share/fcitx/m17n/default
5
share/locale/de/LC_MESSAGES/fcitx-m17n.mo
6
share/locale/ja/LC_MESSAGES/fcitx-m17n.mo
5
share/locale/zh_CN/LC_MESSAGES/fcitx-m17n.mo
7
share/locale/zh_CN/LC_MESSAGES/fcitx-m17n.mo
6
share/locale/zh_TW/LC_MESSAGES/fcitx-m17n.mo
8
share/locale/zh_TW/LC_MESSAGES/fcitx-m17n.mo

Return to bug 198743