commit fcitx for openSUSE:Factory
Hello community, here is the log from the commit of package fcitx for openSUSE:Factory checked in at 2015-08-11 08:27:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fcitx (Old) and /work/SRC/openSUSE:Factory/.fcitx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "fcitx" Changes: -------- --- /work/SRC/openSUSE:Factory/fcitx/fcitx.changes 2015-06-02 10:08:33.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.fcitx.new/fcitx.changes 2015-08-11 08:27:19.000000000 +0200 @@ -1,0 +2,12 @@ +Mon Aug 10 14:19:20 UTC 2015 - i@marguerite.su + +- fix boo#941052: /etc/X11/xim is broken: input methods + (Fcitx, IBus and etc) do not start at all +- fix bashism in xim.d-fcitx + * "return 0" can only be used in function or sourcing, + so define functions + * "type -p" command is not available in sh builtins, + change to "-x" + * other minor stuff + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xim.d-fcitx ++++++ --- /var/tmp/diff_new_pack.iPLNtK/_old 2015-08-11 08:27:20.000000000 +0200 +++ /var/tmp/diff_new_pack.iPLNtK/_new 2015-08-11 08:27:20.000000000 +0200 @@ -1,6 +1,16 @@ -if ! type -p fcitx > /dev/null 2>&1 ; then - echo "fcitx is not installed. please run `sudo zypper in fcitx`." - return 1 +function failure +{ + return 1 +} + +function success +{ + return 0 +} + +if ! [ -x /usr/bin/fcitx ] ; then + echo "fcitx is not installed. please 'sudo zypper in fcitx'." + $failure fi #make sure set these vars before dbus-launch @@ -13,11 +23,11 @@ export QT4_IM_MODULE=fcitx # Avoid relying on autolaunch to improvise D-Bus sessions for each process -if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then - eval `dbus-launch --sh-syntax --exit-with-session` +if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] ; then + eval $(dbus-launch --sh-syntax --exit-with-session) fi fcitx -d # success: -return 0 +$success
participants (1)
-
root@hilbert.suse.de