Add iBus configuration

This commit is contained in:
Kevin Lo 2010-11-01 09:38:47 +00:00
parent 0c54af6891
commit 3f3838b673
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=263883
2 changed files with 28 additions and 7 deletions

View File

@ -6,7 +6,7 @@
PORTNAME= auto-tw-l10n
PORTVERSION= 1.10
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= chinese
MASTER_SITES= LOCAL/chinsan
DISTNAME= zh-${PORTNAME}-${PORTVERSION}
@ -23,7 +23,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-install pkg-message
SUB_LIST= PREFIX=${PREFIX} ZONE=${ZONE} SOURCE_DIR=${WRKSRC} \
WRKDIR=${WRKDIR} FASTEST_CVSUP=${FASTEST_CVSUP}
OPTIONS= KDE "Enable KDE support" Off
OPTIONS= KDE3 "Enable KDE support" Off
FASTEST_CVSUP?= ${LOCALBASE}/bin/fastest_cvsup
ZONE?= tw
@ -31,7 +31,7 @@ ZONE?= tw
.include <bsd.port.pre.mk>
post-patch:
.if defined(WITH_KDE)
.if defined(WITH_KDE3)
@${REINPLACE_CMD} -e '5 s/en_US.ISO8859-1/zh_TW.Big5/g' \
${WRKSRC}/dot.cshrc
@${REINPLACE_CMD} -e '1 s/en_US.ISO8859-1/zh_TW.Big5/g' \

View File

@ -1,12 +1,33 @@
--- dot.xinitrc.orig 2010-04-12 10:24:29.000000000 +0800
+++ dot.xinitrc 2010-04-12 10:26:46.000000000 +0800
@@ -1,3 +1,5 @@
--- dot.xinitrc.orig 2007-10-23 18:39:29.000000000 +0800
+++ dot.xinitrc 2010-11-01 17:23:01.000000000 +0800
@@ -1,14 +1,18 @@
+# KDE4
+#export PATH=/usr/local/kde4/bin:$PATH
export TERM=xterm
@@ -34,4 +36,4 @@
export XMODIFIERS='@im=xcin'
#export XMODIFIERS='@im=SCIM'
#export XMODIFIERS='@im=oxim'
+#export XMODIFIERS=@im=ibus
#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 QT_IM_MODULE=xim
@@ -19,6 +23,7 @@
#exec xcin2.5 &
#scim -d &
#exec oxim &
+#ibus-daemon -d -x &
# turn on numlock (x11/numlockx)
numlockx
@@ -34,4 +39,4 @@
#exec startkde
#exec wmaker
#exec startxfce4