aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2016-11-23 10:32:46 +0800
committerkevlo <kevlo@FreeBSD.org>2016-11-23 10:32:46 +0800
commit6c88823048f79fc908ccb280713d1208b5b409cd (patch)
tree28454a03ef05dd1a3f60253e1b2aeeb00216ab91 /chinese
parent18eb2a1c3d1a4068c20e26c155ca30f5bdd9f5ae (diff)
downloadfreebsd-ports-gnome-6c88823048f79fc908ccb280713d1208b5b409cd.tar.gz
freebsd-ports-gnome-6c88823048f79fc908ccb280713d1208b5b409cd.tar.zst
freebsd-ports-gnome-6c88823048f79fc908ccb280713d1208b5b409cd.zip
Mention fcitx.
Diffstat (limited to 'chinese')
-rw-r--r--chinese/auto-tw-l10n/Makefile4
-rw-r--r--chinese/auto-tw-l10n/files/patch-dot.xinitrc26
2 files changed, 30 insertions, 0 deletions
diff --git a/chinese/auto-tw-l10n/Makefile b/chinese/auto-tw-l10n/Makefile
index 79b473335cc9..39ecc0cc2c4a 100644
--- a/chinese/auto-tw-l10n/Makefile
+++ b/chinese/auto-tw-l10n/Makefile
@@ -3,6 +3,7 @@
PORTNAME= auto-tw-l10n
PORTVERSION= 1.15
+PORTREVISION= 1
CATEGORIES= chinese
MASTER_SITES= LOCAL/sunpoet
@@ -15,6 +16,9 @@ USES= tar:xz
SUB_FILES= pkg-message
+pre-install:
+ @${FIND} ${WRKSRC} -name "*.orig" -delete
+
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/skel/zh_TW.UTF-8/
${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${PREFIX}/share/skel/zh_TW.UTF-8/
diff --git a/chinese/auto-tw-l10n/files/patch-dot.xinitrc b/chinese/auto-tw-l10n/files/patch-dot.xinitrc
new file mode 100644
index 000000000000..a5e685e275a4
--- /dev/null
+++ b/chinese/auto-tw-l10n/files/patch-dot.xinitrc
@@ -0,0 +1,26 @@
+--- dot.xinitrc.orig 2016-04-30 18:04:47 UTC
++++ dot.xinitrc
+@@ -4,19 +4,23 @@ export XMODIFIERS='@im=xcin'
+ #export XMODIFIERS='@im=SCIM'
+ #export XMODIFIERS='@im=oxim'
+ #export XMODIFIERS=@im=ibus
++#export XMODIFIERS='@im=fcitx'
+
+ #export GTK_IM_MODULE=xcin
+ export GTK_IM_MODULE=xim
+ #export GTK_IM_MODULE=scim
+ #export GTK_IM_MODULE=oxim
+ #export GTK_IM_MODULE=ibus
++#export GTK_IM_MODULE=fcitx
+
+ export QT_IM_MODULE=xim
++#export QT_IM_MODULE=fcitx
+
+ export GCIN_XIM=xcin
+
+ # Input Method
+ exec gcin &
++#exec fcitx &
+ #exec xcin2.5 &
+ #scim -d &
+ #exec oxim &