Hello community, here is the log from the commit of package ibus for openSUSE:Factory checked in at 2015-03-16 06:54:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-01-25 21:16:11.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ibus.new/ibus.changes 2015-03-16 06:54:47.000000000 +0100 @@ -1,0 +2,18 @@ +Thu Mar 12 15:27:11 UTC 2015 - [email protected] + +- Update to 1.5.9 + * Fix losing focus in/out on Google Chrome + * Fix SEGV of ibus-ui-gtk3 caused by inappropriate 'preload-engines' + * ibus-setup tries C locale to support environment without + en_US.UTF-8 + * Remove "Release" modifier key from ibus-setup + * Show language rather than layout for xkb panel icon + * Track window property offsets correctly + * Add IBus panel icon for Plasma 5 desktop + * Minor bug fixes +- Update show-input-mode-icon.patch + * Support the new panel icon +- Add appindicator-absolute-icon-path.patch + * Show icons installed out of theme directories + +------------------------------------------------------------------- Old: ---- ibus-1.5.9.tar.gz New: ---- appindicator-absolute-icon-path.patch ibus-1.5.10.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ibus.spec ++++++ --- /var/tmp/diff_new_pack.1UxBYI/_old 2015-03-16 06:54:49.000000000 +0100 +++ /var/tmp/diff_new_pack.1UxBYI/_new 2015-03-16 06:54:49.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package ibus # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,7 +30,7 @@ %endif Name: ibus -Version: 1.5.9 +Version: 1.5.10 Release: 0 Summary: Intelligent Input Bus for Linux OS License: LGPL-2.1+ @@ -65,6 +65,8 @@ # PATCH-FIX-UPSTREAM [email protected] # 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 BuildRequires: dbus-1-glib-devel BuildRequires: dbus-1-python-devel >= 0.83.0 BuildRequires: dconf-devel >= 0.7.5 @@ -236,6 +238,7 @@ %endif %patch8 -p1 +%patch9 -p1 cp -r %{SOURCE2} . cp -r %{SOURCE3} . ++++++ appindicator-absolute-icon-path.patch ++++++ commit 18d92c792210ede2e1e8f77bff2c4921a106f5cf Author: Fuminobu TAKEYAMA <[email protected]> Date: Thu Mar 12 23:47:08 2015 +0900 Send an absolute path to icon file because the KDE status notifier can handle it. diff --git a/ui/gtk3/panel.vala b/ui/gtk3/panel.vala index 1379860..4b59eeb 100644 --- a/ui/gtk3/panel.vala +++ b/ui/gtk3/panel.vala @@ -1248,9 +1248,7 @@ class Panel : IBus.PanelService { m_status_icon.set_from_file(icon_name); } else if (m_icon_type == IconType.INDICATOR) { - warning("appindicator requires an icon name in a theme " + - "path instead of the full path: %s", icon_name); - m_indicator.set_icon_full("ibus-engine", ""); + m_indicator.set_icon_full(icon_name, ""); } } else { string language = null; ++++++ ibus-1.5.9.tar.gz -> ibus-1.5.10.tar.gz ++++++ ++++ 20804 lines of diff (skipped) ++++++ show-input-mode-icon.patch ++++++ --- /var/tmp/diff_new_pack.1UxBYI/_old 2015-03-16 06:54:49.000000000 +0100 +++ /var/tmp/diff_new_pack.1UxBYI/_new 2015-03-16 06:54:49.000000000 +0100 @@ -1,6 +1,14 @@ ---- ibus-1.5.5/ui/gtk3/panel.vala.orig 2014-01-19 01:53:48.144138225 +0900 -+++ ibus-1.5.5/ui/gtk3/panel.vala 2014-01-19 02:03:54.627409768 +0900 -@@ -863,11 +863,52 @@ +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); @@ -34,13 +42,18 @@ + } + + if (icon_name[0] == '/') { -+ 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); -+ m_status_icon.set_from_pixbuf(icon_img); -+ } catch (Error e) { -+ warning("could not load icon: %s", icon_name); ++ 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); ++ m_status_icon.set_from_pixbuf(icon_img); ++ } catch (Error e) { ++ warning("could not load icon: %s", icon_name); ++ } ++ } ++ else if (m_icon_type == IconType.INDICATOR) { ++ m_indicator.set_icon_full(icon_name, ""); + } + } else { + var theme = Gtk.IconTheme.get_default(); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
