[imsettings] rebuild against libnotify 0.7.0
Matthias Clasen
mclasen at fedoraproject.org
Wed Nov 3 14:44:38 UTC 2010
commit 5c8c7bceb4f34fdd7cff05ccae1f8d855621bd7b
Author: Matthias Clasen <mclasen at redhat.com>
Date: Wed Nov 3 10:43:56 2010 -0400
rebuild against libnotify 0.7.0
imsettings-libnotify07.patch | 24 ++++++++++++++++++++++++
imsettings.spec | 8 +++++++-
2 files changed, 31 insertions(+), 1 deletions(-)
---
diff --git a/imsettings-libnotify07.patch b/imsettings-libnotify07.patch
new file mode 100644
index 0000000..f17f290
--- /dev/null
+++ b/imsettings-libnotify07.patch
@@ -0,0 +1,24 @@
+diff -up imsettings-0.108.1/applet/main.c.notify imsettings-0.108.1/applet/main.c
+--- imsettings-0.108.1/applet/main.c.notify 2010-11-02 16:45:02.906180002 -0400
++++ imsettings-0.108.1/applet/main.c 2010-11-02 16:45:27.050180002 -0400
+@@ -1167,7 +1167,7 @@ _create_applet(void)
+ _update_icon(applet);
+
+ notify_init("imsettings-applet");
+- applet->notify = notify_notification_new_with_status_icon("foo", "bar", NULL, applet->status_icon);
++ applet->notify = notify_notification_new("foo", "bar", NULL);
+
+ client = gconf_client_get_default();
+
+diff -up imsettings-0.108.1/src/factory.c.notify imsettings-0.108.1/src/factory.c
+--- imsettings-0.108.1/src/factory.c.notify 2010-11-02 16:46:40.104180001 -0400
++++ imsettings-0.108.1/src/factory.c 2010-11-02 16:46:16.374180001 -0400
+@@ -1385,7 +1385,7 @@ imsettings_manager_init(IMSettingsManage
+
+ if (!notify_is_initted())
+ notify_init("im-settings-daemon");
+- priv->notify = notify_notification_new("_", "_", NULL, NULL);
++ priv->notify = notify_notification_new("_", "_", NULL);
+ }
+
+ static IMSettingsManager *
diff --git a/imsettings.spec b/imsettings.spec
index 18c5d14..06863e2 100644
--- a/imsettings.spec
+++ b/imsettings.spec
@@ -1,6 +1,6 @@
Name: imsettings
Version: 0.108.1
-Release: 2%{?dist}
+Release: 3%{?dist}
License: LGPLv2+
URL: http://code.google.com/p/imsettings/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -20,6 +20,8 @@ Source1: imsettings-kde.sh
Patch0: imsettings-constraint-of-language.patch
Patch1: imsettings-disable-xim.patch
Patch2: imsettings-xinput-xcompose.patch
+# https://bugzilla.redhat.com/show_bug.cgi?id=649063
+Patch3: imsettings-libnotify07.patch
Summary: Delivery framework for general Input Method configuration
Group: Applications/System
@@ -103,6 +105,7 @@ This package contains a helper program to get this working on LXDE.
%patch0 -p1 -b .0-lang
%patch1 -p1 -b .1-xim
%patch2 -p1 -b .2-xcompose
+%patch3 -p1 -b .3-libnotify07
%build
%configure \
@@ -239,6 +242,9 @@ fi
%changelog
+* Wed Nov 3 2010 Matthias Clasen <mclasen at redhat.com>
+- rebuild against libnotify 0.7.0 (#649063)
+
* Thu Aug 19 2010 Jens Petersen <petersen at redhat.com>
- add also am_ET, el_GR, and ru_RU to X compose lang list (#623931)
More information about the scm-commits
mailing list