Hello community, here is the log from the commit of package ibus for openSUSE:Factory checked in at 2015-08-12 15:09:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ibus (Old) and /work/SRC/openSUSE:Factory/.ibus.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ibus" Changes: -------- --- /work/SRC/openSUSE:Factory/ibus/ibus.changes 2015-04-06 00:24:34.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ibus.new/ibus.changes 2015-08-12 15:09:07.000000000 +0200 @@ -1,0 +2,26 @@ +Mon Aug 10 05:03:43 UTC 2015 - [email protected] + +- Update to 1.5.11 + * Add Swedish svdvorak layout support + * Improve UI of ibus-setup + * Show property panel at bottom right under KDE + * Enable absolute path to icon for appindicator + * Support showing language icon and a property for Plasma 5 + * Use GTK 3 for xim + * Load locale compose files dynamically + * Enable sync mode for xim + * Support vertical writing +- Enable appindicator status icon for SLE12 and Leap 42.1 + (boo#939506) +- Remove a bashism from /etc/xim.d/ibus (boo#941052) +- Requires newer vala compiler + * Cannot compile with an incompatible return type error + * 13.1 support should be dropped after the cause is confirmed +- Drop appindicator-absolute-icon-path.patch + * Merged by upstream +- Add ibus-fix-check-abs-icon-path-support.patch + * Allows to force absolute path regardless of Qt version +- Refresh show-input-mode-icon.patch + * Do not scale up icon for the new appindicator status icon + +------------------------------------------------------------------- Old: ---- appindicator-absolute-icon-path.patch ibus-1.5.10.tar.gz New: ---- ibus-1.5.11.tar.gz ibus-fix-check-abs-icon-path-support.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ibus.spec ++++++ --- /var/tmp/diff_new_pack.dzQvz0/_old 2015-08-12 15:09:08.000000000 +0200 +++ /var/tmp/diff_new_pack.dzQvz0/_new 2015-08-12 15:09:08.000000000 +0200 @@ -30,7 +30,7 @@ %endif Name: ibus -Version: 1.5.10 +Version: 1.5.11 Release: 0 Summary: Intelligent Input Bus for Linux OS License: LGPL-2.1+ @@ -66,7 +66,7 @@ # Select an IM engine at the first login Patch8: im-engines-precede-xkb.patch # PATCH-FIX-UPSTREAM [email protected] -Patch9: appindicator-absolute-icon-path.patch +Patch9: ibus-fix-check-abs-icon-path-support.patch BuildRequires: dbus-1-glib-devel BuildRequires: dbus-1-python-devel >= 0.83.0 BuildRequires: dconf-devel >= 0.7.5 @@ -102,6 +102,11 @@ BuildRequires: pkgconfig(wayland-client) >= 1.2.0 %endif BuildRequires: pkgconfig(xkbcommon) +# It seems that old vala compiler cannot build with an incompatible +# return type error among two overriding functions with +# "GLib.Variant?" type +# 13.1 support should be dropped after the cause is confirmed +BuildRequires: vala >= 0.26.0 Requires: dbus-1-python Requires: dconf Requires: iso-codes @@ -260,10 +265,11 @@ %if %{with_wayland} --enable-wayland \ %endif -%if 0%{?suse_version} < 1320 +%if 0%{?suse_version} < 1315 --disable-appindicator \ %endif --enable-surrounding-text \ + --enable-appindicator_engine_icon \ --libexecdir=%{_libdir}/ibus make %{?_smp_mflags} ++++++ ibus-1.5.10.tar.gz -> ibus-1.5.11.tar.gz ++++++ ++++ 128658 lines of diff (skipped) ++++++ ibus-fix-check-abs-icon-path-support.patch ++++++ --- ibus-1.5.11/configure.ac.org 2015-07-26 02:12:53.141514441 +0900 +++ ibus-1.5.11/configure.ac 2015-07-26 02:34:17.589225723 +0900 @@ -267,7 +267,14 @@ enable_wayland="no (disabled, use --enable-wayland to enable)" fi -enable_appindicator_engine_icon="no" +# --enable_appindicator_engine_icon option. +AC_ARG_ENABLE(appindicator_engine_icon, + AS_HELP_STRING([--enable-appindicator_engine_icon], + [Build appindicator engine icon support]), + [enable_appindicator_engine_icon=$enableval], + [enable_appindicator_engine_icon=no] +) + if test x"$enable_appindicator" = x"yes"; then enable_appindicator="yes (enabled, use --disable-appindicator to disable)" ++++++ show-input-mode-icon.patch ++++++ --- /var/tmp/diff_new_pack.dzQvz0/_old 2015-08-12 15:09:09.000000000 +0200 +++ /var/tmp/diff_new_pack.dzQvz0/_new 2015-08-12 15:09:09.000000000 +0200 @@ -1,42 +1,23 @@ -commit ed74a67ff98750903e6ce2e0e638f3e956eab66b -Author: Fuminobu TAKEYAMA <[email protected]> -Date: Fri Mar 13 00:04:22 2015 +0900 - - Show input mode icons if the current engine provides - -diff --git a/ui/gtk3/panel.vala b/ui/gtk3/panel.vala -index 4b59eeb..99a768a 100644 ---- a/ui/gtk3/panel.vala -+++ b/ui/gtk3/panel.vala -@@ -1183,11 +1183,57 @@ class Panel : IBus.PanelService { - public override void register_properties(IBus.PropList props) { - m_property_manager.set_properties(props); - m_property_panel.set_properties(props); -+ int i = 0; -+ while (true) { -+ IBus.Property prop = props.get(i); -+ if (prop == null) -+ break; -+ if (prop.key == "InputMode") { -+ update_input_mode_icon(prop.icon); -+ break; -+ } -+ i++; -+ } - } +--- ibus-1.5.11/ui/gtk3/panel.vala.org 2015-07-26 00:33:34.593235534 +0900 ++++ ibus-1.5.11/ui/gtk3/panel.vala 2015-07-26 00:47:19.476663700 +0900 +@@ -1179,12 +1179,48 @@ - public override void update_property(IBus.Property prop) { - m_property_manager.update_property(prop); - m_property_panel.update_property(prop); + private new void set_property(IBus.Property prop, bool all_update) { + string symbol = prop.get_symbol().get_text(); ++ + if (prop.key == "InputMode") { -+ update_input_mode_icon(prop.icon); ++ update_input_mode_icon(prop.icon); + } -+ } -+ + + if (m_icon_prop_key != "" && prop.get_key() == m_icon_prop_key + && symbol != "") + animate_icon(symbol, all_update); + } + + // If InputMode has an icon, use it instead of engine's icon. + public void update_input_mode_icon(string icon) { + var icon_name = icon; -+ if (icon == "") { ++ if (icon == "") { + var engine = m_bus.get_global_engine(); + icon_name = engine.get_icon(); + } @@ -44,9 +25,9 @@ + if (icon_name[0] == '/') { + if (m_icon_type == IconType.STATUS_ICON) { + try { -+ // resize icon because icons were desinged for ibus tool bar of 1.4.x -+ // use 22 px because icons are wrongly cropped on KDE -+ var icon_img = new Gdk.Pixbuf.from_file_at_size(icon_name, 22, 22); ++ // ++ // Do not need to scale icons for ibus 1.5.10+ indicator ++ var icon_img = new Gdk.Pixbuf.from_file(icon_name); + m_status_icon.set_from_pixbuf(icon_img); + } catch (Error e) { + warning("could not load icon: %s", icon_name); @@ -63,6 +44,8 @@ + m_status_icon.set_from_icon_name("ibus-engine"); + } + } - } - - public override void update_preedit_text(IBus.Text text, ++ } ++ + private void animate_icon(string symbol, bool all_update) { + if (m_property_icon_delay_time < 0) + return; ++++++ xim.d-ibus-121 ++++++ --- /var/tmp/diff_new_pack.dzQvz0/_old 2015-08-12 15:09:09.000000000 +0200 +++ /var/tmp/diff_new_pack.dzQvz0/_new 2015-08-12 15:09:09.000000000 +0200 @@ -1,4 +1,4 @@ -if ! type -p ibus-daemon > /dev/null 2>&1 ; then +if ! type ibus-daemon > /dev/null 2>&1 ; then echo "ibus is not available." return 1 fi
