Hello community, here is the log from the commit of package fcitx for openSUSE:Factory checked in at 2015-10-06 13:25:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-08-11 08:27:19.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.fcitx.new/fcitx.changes 2015-10-06 13:25:49.000000000 +0200 @@ -1,0 +2,26 @@ +Fri Oct 2 02:50:30 UTC 2015 - i...@marguerite.su + +- drop xinput-fcitx, which is not used by openSUSE +- simplify xim.d-fcitx again + * do not define shell functions for success/failure, because + previous x11-tools change has been reverted, we can use + bash again. + * do not detect existence for fcitx itself, because this + scriptlet is installed with fcitx. + * drop usage of GTK3_IM_MODULE/QT4_IM_MODULE, the former + doesn't exist while the later is covered by QT_IM_MODULE + +------------------------------------------------------------------- +Thu Oct 1 11:30:10 CEST 2015 - ti...@suse.de + +- Add missing post/postun macro calls for updating desktops and + icons (boo#947842) +- Remove superfluous ldconfig calls from the main package + post/postun + +------------------------------------------------------------------- +Wed Oct 1 06:06:23 UTC 2015 - hillw...@linuxfans.org + +- Use lua 5.2+, fix build in openSUSE_Factory + +------------------------------------------------------------------- Old: ---- xinput-fcitx ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fcitx.spec ++++++ --- /var/tmp/diff_new_pack.DIInU8/_old 2015-10-06 13:25:50.000000000 +0200 +++ /var/tmp/diff_new_pack.DIInU8/_new 2015-10-06 13:25:50.000000000 +0200 @@ -29,8 +29,6 @@ Source1: xim.d-fcitx Source2: fcitx-README.suse Source3: xim.fcitx.suse.template -# for fedora auto-start -Source7: xinput-fcitx Source8: openSUSE-themes.tar.gz Source9: macros.%{name} Source99: baselibs.conf @@ -54,20 +52,17 @@ %if 0%{?suse_version} > 1110 BuildRequires: libqt4-devel %endif -%if 0%{?suse_version} <= 1210 -BuildRequires: lua-devel -%else -BuildRequires: lua51-devel -%endif BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: gtk2-devel BuildRequires: opencc-devel +BuildRequires: pkgconfig(lua) %if 0%{?suse_version} >= 1140 BuildRequires: gobject-introspection-devel BuildRequires: gtk3-devel %endif BuildRequires: gcc-c++ +BuildRequires: hicolor-icon-theme BuildRequires: libicu-devel BuildRequires: libxml2-devel BuildRequires: pkg-config @@ -493,9 +488,15 @@ %endif -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%post +%desktop_database_post +%icon_theme_cache_post +exit 0 + +%postun +%desktop_database_postun +%icon_theme_cache_postun +exit 0 %post -n lib%{name}%{libver} -p /sbin/ldconfig ++++++ xim.d-fcitx ++++++ --- /var/tmp/diff_new_pack.DIInU8/_old 2015-10-06 13:25:50.000000000 +0200 +++ /var/tmp/diff_new_pack.DIInU8/_new 2015-10-06 13:25:50.000000000 +0200 @@ -1,26 +1,9 @@ -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 export LC_CTYPE=$LANG export XMODIFIERS="@im=fcitx" export GTK_IM_MODULE=fcitx -export GTK3_IM_MODULE=fcitx export QT_IM_SWITCHER=imsw-multi export QT_IM_MODULE=fcitx -export QT4_IM_MODULE=fcitx # Avoid relying on autolaunch to improvise D-Bus sessions for each process if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] ; then @@ -30,4 +13,4 @@ fcitx -d # success: -$success +return 0