Accepting request 124646 from M17N
(forwarded request 124645 from MargueriteSu) OBS-URL: https://build.opensuse.org/request/show/124646 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fcitx?expand=0&rev=8
This commit is contained in:
commit
008db7c0ad
3
fcitx-4.2.4.1.tar.bz2
Normal file
3
fcitx-4.2.4.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:27d21fc2a37255219b0ff643be72614f3a3314b46c9d7a263e965b096efded52
|
||||||
|
size 904487
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0889c6ea3dd2066ca582ac3cd5b18c293ee01123d2a454a5731af9da42a24542
|
|
||||||
size 11133679
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 12 07:22:31 UTC 2012 - i@marguerite.su
|
||||||
|
|
||||||
|
- update to 4.2.4.1
|
||||||
|
* urgent fix for compose key.
|
||||||
|
- use new xim.d-fcitx.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jun 3 13:05:53 UTC 2012 - i@marguerite.su
|
Sun Jun 3 13:05:53 UTC 2012 - i@marguerite.su
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
%define libver -4_2_4
|
%define libver -4_2_4
|
||||||
|
|
||||||
Name: fcitx
|
Name: fcitx
|
||||||
Version: 4.2.4
|
Version: 4.2.4.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Flexible Input Method Framework for CJK
|
Summary: A Flexible Input Method Framework for CJK
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
|
37
xim.d-fcitx
37
xim.d-fcitx
@ -1,48 +1,21 @@
|
|||||||
OLD_PATH=$PATH
|
|
||||||
PATH=/usr/bin:/usr/X11R6/bin:/opt/kde3/bin:$PATH
|
|
||||||
|
|
||||||
if ! type -p fcitx > /dev/null 2>&1 ; then
|
if ! type -p fcitx > /dev/null 2>&1 ; then
|
||||||
echo "fcitx is not available."
|
echo "fcitx is not available."
|
||||||
PATH=$OLD_PATH
|
PATH=$OLD_PATH
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#when skim installed, Autostart must be "false".
|
# Avoid relying on autolaunch to improvise D-Bus sessions for each process
|
||||||
#here we move $HOME/.kde/share/config/skimrc to skimrc.orig.fcitx
|
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
|
||||||
case "$WINDOWMANAGER" in
|
|
||||||
*kde*)
|
|
||||||
if type -p skim > /dev/null 2>&1 \
|
|
||||||
&& ! grep -i -q "^[[:space:]]*Autostart.*=.*false" $HOME/.kde/share/config/skimrc
|
|
||||||
then
|
|
||||||
if [ -f $HOME/.kde/share/config/skimrc.orig.fcitx ] ; then
|
|
||||||
mv -f $HOME/.kde/share/config/skimrc $HOME/.kde/share/config/skimrc.orig.fcitx
|
|
||||||
chmod 777 $HOME/.kde/share/config/skimrc.orig.fcitx
|
|
||||||
fi
|
|
||||||
cat > $HOME/.kde/share/config/skimrc << __END
|
|
||||||
[General]
|
|
||||||
Autostart=false
|
|
||||||
__END
|
|
||||||
chmod 777 $HOME/.kde/share/config/skimrc
|
|
||||||
else
|
|
||||||
# do nothing
|
|
||||||
:
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
# do nothing
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
eval `dbus-launch --sh-syntax --exit-with-session`
|
eval `dbus-launch --sh-syntax --exit-with-session`
|
||||||
|
fi
|
||||||
|
|
||||||
export LC_CTYPE=$LANG
|
export LC_CTYPE=$LANG
|
||||||
# So you can use either zh_CN.UTF-8 or zh_CN.GB2312
|
# So you can use either zh_CN.UTF-8 or zh_CN.GB2312
|
||||||
export XMODIFIERS="@im=fcitx"
|
export XMODIFIERS="@im=fcitx"
|
||||||
export GTK_IM_MODULE=fcitx
|
export GTK_IM_MODULE=fcitx
|
||||||
export QT_IM_SWITCHER=imsw-multi
|
export QT_IM_SWITCHER=imsw-multi
|
||||||
export QT_IM_MODULE=xim
|
export QT_IM_MODULE=fcitx
|
||||||
fcitx -d
|
fcitx -d
|
||||||
|
|
||||||
PATH=$OLD_PATH
|
|
||||||
|
|
||||||
# success:
|
# success:
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user