View | Details | Raw Unified | Return to bug 210782 | Differences between
and this patch

Collapse All | Expand All

(-)b/chinese/fcitx/Makefile (-12 / +21 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fcitx
4
PORTNAME=	fcitx
5
PORTVERSION=	4.2.8.6
5
PORTVERSION=	4.2.9.1
6
PORTREVISION=	3
7
CATEGORIES=	chinese x11
6
CATEGORIES=	chinese x11
8
MASTER_SITES=	http://download.fcitx-im.org/fcitx/:fcitx \
7
MASTER_SITES=	http://download.fcitx-im.org/fcitx/:fcitx \
9
		http://download.fcitx-im.org/data/:data
8
		http://download.fcitx-im.org/data/:data
Lines 21-29 COMMENT= Flexible Input Method Framework Link Here
21
20
22
LICENSE=	GPLv2
21
LICENSE=	GPLv2
23
22
24
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes
23
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \
25
LIB_DEPENDS=	libdbus-1.so:devel/dbus \
24
		${LOCALBASE}/share/ECM/cmake/ECMConfig.cmake:devel/extra-cmake-modules
26
		libicuuc.so:devel/icu
25
LIB_DEPENDS=	libcairo.so:graphics/cairo \
26
		libdbus-1.so:devel/dbus \
27
		libgettextpo.so:devel/gettext-tools \
28
		libicuuc.so:devel/icu \
29
		libXfixes.so:x11/libXfixes \
30
		libXinerama.so:x11/libXinerama \
31
		libXrender.so:x11/libXrender \
32
		libxkbcommon.so:x11/libxkbcommon
27
RUN_DEPENDS=	xdg-open:devel/xdg-utils
33
RUN_DEPENDS=	xdg-open:devel/xdg-utils
28
34
29
SUB_FILES=	pkg-message
35
SUB_FILES=	pkg-message
Lines 40-48 INSTALLS_ICONS= yes Link Here
40
46
41
OPTIONS_DEFINE=	GTK2 GTK3 QT4 OPENCC TPUNC DOCS
47
OPTIONS_DEFINE=	GTK2 GTK3 QT4 OPENCC TPUNC DOCS
42
OPTIONS_DEFAULT=GTK2 QT4
48
OPTIONS_DEFAULT=GTK2 QT4
49
OPTIONS_SUB=	yes
43
50
44
GTK2_DESC=	Enable Gtk2 IM module
51
GTK2_DESC=	Enable Gtk2 IM module
52
GTK2_USE=	GNOME=gtk20
53
GTK2_CMAKE_ON=	-DENABLE_GTK2_IM_MODULE=ON
54
45
GTK3_DESC=	Enable Gtk3 IM module
55
GTK3_DESC=	Enable Gtk3 IM module
56
GTK3_USE=	GNOME=gtk30
57
GTK3_CMAKE_ON=	-DENABLE_GTK3_IM_MODULE=ON
58
46
QT4_DESC=	Enable Qt4 IM module
59
QT4_DESC=	Enable Qt4 IM module
47
OPENCC_DESC=	Enable OpenCC for Chinese Transform
60
OPENCC_DESC=	Enable OpenCC for Chinese Transform
48
TPUNC_DESC=	Use traditional quotation marks
61
TPUNC_DESC=	Use traditional quotation marks
Lines 59-77 CMAKE_ARGS+= -DENABLE_XDGAUTOSTART=OFF -DFORCE_ENCHANT=ON \ Link Here
59
		-DPREFIX=${PREFIX} \
72
		-DPREFIX=${PREFIX} \
60
		-DQT_PLUGINS_DIR=${PREFIX}/lib/qt4/plugins
73
		-DQT_PLUGINS_DIR=${PREFIX}/lib/qt4/plugins
61
74
75
62
.if ${PORT_OPTIONS:MGTK2}
76
.if ${PORT_OPTIONS:MGTK2}
63
USE_GNOME+=	gtk20
64
PLIST_SUB+=	GTK2=""
65
SUB_LIST+=	GTK2_IM=fcitx
77
SUB_LIST+=	GTK2_IM=fcitx
66
.else
78
.else
67
CMAKE_ARGS+=	-DENABLE_GTK2_IM_MODULE=OFF
68
PLIST_SUB+=	GTK2="@comment "
69
SUB_LIST+=	GTK2_IM=xim
79
SUB_LIST+=	GTK2_IM=xim
70
.endif
80
.endif
71
81
72
.if ${PORT_OPTIONS:MGTK3}
82
.if ${PORT_OPTIONS:MGTK3}
73
USE_GNOME+=	gtk30
74
CMAKE_ARGS+=	-DENABLE_GTK3_IM_MODULE=ON
75
PLIST_SUB+=	GTK3=""
83
PLIST_SUB+=	GTK3=""
76
SUB_LIST+=	GTK3_IM=fcitx
84
SUB_LIST+=	GTK3_IM=fcitx
77
.else
85
.else
Lines 80-86 SUB_LIST+= GTK3_IM=xim Link Here
80
.endif
88
.endif
81
89
82
.if ${PORT_OPTIONS:MQT4}
90
.if ${PORT_OPTIONS:MQT4}
83
USE_QT4+=	qmake_build moc_build rcc_build uic_build dbus gui inputmethods
91
USE_QT4+=	qmake_build corelib moc_build rcc_build uic_build dbus gui inputmethods
92
USE_XORG+=	ice sm
84
USE_LDCONFIG+=	${PREFIX}/lib/fcitx/qt
93
USE_LDCONFIG+=	${PREFIX}/lib/fcitx/qt
85
PLIST_SUB+=	QT4=""
94
PLIST_SUB+=	QT4=""
86
.else
95
.else
(-)b/chinese/fcitx/distinfo (-2 / +3 lines)
Lines 1-5 Link Here
1
SHA256 (fcitx/fcitx-4.2.8.6.tar.xz) = 60cbaaf73d2a8b96b6e1c3772473f4fba5271521af7edbdacaed92ea284a125b
1
TIMESTAMP = 1464749421
2
SIZE (fcitx/fcitx-4.2.8.6.tar.xz) = 1664648
2
SHA256 (fcitx/fcitx-4.2.9.1.tar.xz) = 25661907903e4ccaa4cf62cc389c006e280d31bce84147e203d7310fb4cd42ed
3
SIZE (fcitx/fcitx-4.2.9.1.tar.xz) = 1655504
3
SHA256 (fcitx/en_dict-20121020.tar.gz) = c44a5d7847925eea9e4d2d04748d442cd28dd9299a0b572ef7d91eac4f5a6ceb
4
SHA256 (fcitx/en_dict-20121020.tar.gz) = c44a5d7847925eea9e4d2d04748d442cd28dd9299a0b572ef7d91eac4f5a6ceb
4
SIZE (fcitx/en_dict-20121020.tar.gz) = 630491
5
SIZE (fcitx/en_dict-20121020.tar.gz) = 630491
5
SHA256 (fcitx/pinyin.tar.gz) = 583829b24a758c087c08de4a69480d0bf5946354fe77db360d6d7f467c2bd8e1
6
SHA256 (fcitx/pinyin.tar.gz) = 583829b24a758c087c08de4a69480d0bf5946354fe77db360d6d7f467c2bd8e1

Return to bug 210782