diff --git a/ibus.spec b/ibus.spec index 5e7b30b..d1e1e2e 100644 --- a/ibus.spec +++ b/ibus.spec @@ -11,7 +11,7 @@ Name: ibus Version: 1.3.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Intelligent Input Bus for Linux OS License: LGPLv2+ Group: System Environment/Libraries @@ -23,6 +23,10 @@ Patch0: ibus-HEAD.patch # Patch2: ibus-530711-preload-sys.patch Patch3: ibus-541492-xkb.patch Patch4: ibus-435880-surrounding-text.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=649058 +Patch5: notify.patch + # WORKAROUND_GTK3_BUILD_FAILURE @ fedora14 Patch99: ibus-xx-workaround-gtk3.patch @@ -137,6 +141,7 @@ The ibus-devel-docs package contains developer documentation for ibus %patch3 -p1 -b .xkb %endif %patch4 -p1 -b .surrounding +%patch5 -p1 -b .notify #### start WORKAROUND_GTK3_BUILD_FAILURE WORKAROUND_GTK3_BUILD_FAILURE=0 @@ -295,6 +300,9 @@ fi %{_datadir}/gtk-doc/html/* %changelog +* Wed Nov 3 2010 Matthias Clasen - 1.3.8-3 +- Rebuild against libnotify 0.7.0 + * Tue Nov 02 2010 Takao Fujiwara - 1.3.8-2 - Added ibus-HEAD.patch. Fix Bug 640038 - unresolved reference to symbol gdk_drawable_get_size diff --git a/notify.patch b/notify.patch new file mode 100644 index 0000000..f935f86 --- /dev/null +++ b/notify.patch @@ -0,0 +1,11 @@ +diff -up ibus-1.3.8/ui/gtk/main.py.notify ibus-1.3.8/ui/gtk/main.py +--- ibus-1.3.8/ui/gtk/main.py.notify 2010-11-02 16:35:17.339180001 -0400 ++++ ibus-1.3.8/ui/gtk/main.py 2010-11-02 16:35:26.780180001 -0400 +@@ -58,7 +58,6 @@ class UIApplication: + "Please restart ibus input platform."), \ + "ibus") + self.__notify.set_timeout(10 * 1000) +- self.__notify.attach_to_status_icon (self.__panel.get_status_icon()) + self.__notify.add_action("restart", _("Restart Now"), self.__restart_cb, None) + self.__notify.add_action("ignore", _("Later"), lambda *args: None, None) +