[xchat-gnome] - patch for new libnotify
Adam Williamson
adamwill at fedoraproject.org
Mon Nov 8 21:59:29 UTC 2010
commit abfb7c9834f1d023b19564e9f09d44a626a10601
Author: Adam Williamson <adamwill at shaw.ca>
Date: Mon Nov 8 13:45:05 2010 -0800
- patch for new libnotify
xchat-gnome-0.26.1-libnotify.patch | 11 +++++++++++
xchat-gnome.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/xchat-gnome-0.26.1-libnotify.patch b/xchat-gnome-0.26.1-libnotify.patch
new file mode 100644
index 0000000..40c29a4
--- /dev/null
+++ b/xchat-gnome-0.26.1-libnotify.patch
@@ -0,0 +1,11 @@
+--- xchat-gnome-0.26.1/plugins/notify-osd/notify-osd.c 2008-09-07 06:18:27.000000000 -0700
++++ xchat-gnome-0.26.1/plugins/notify-osd/notify-osd.c.new 2010-11-08 13:42:40.856127590 -0800
+@@ -67,7 +67,7 @@
+ gchar *escaped;
+
+ escaped = g_markup_escape_text (message, strlen(message));
+- notify = notify_notification_new (summary, escaped, NULL, NULL);
++ notify = notify_notification_new (summary, escaped, NULL);
+ notify_notification_set_urgency (notify, NOTIFY_URGENCY_NORMAL);
+ notify_notification_set_icon_from_pixbuf (notify, notify_icon);
+ if (!notify_notification_show (notify, &error)) {
diff --git a/xchat-gnome.spec b/xchat-gnome.spec
index c0cac9f..464e21f 100644
--- a/xchat-gnome.spec
+++ b/xchat-gnome.spec
@@ -25,6 +25,8 @@ Patch6: xg-depreciated-macros.patch
Patch7: 0001-Fix-DCC-transfer-timeouts-when-dcc_auto_send-2.patch
# FTBFS, upstream commit 8d35b36baa8204b68c9520ec92327e34c1d7c580
Patch8: xchat-gnome-0.26.1-deprecated-symbol.patch
+# Patch for libnotify 0.70 (just drop one parameter from one function)
+Patch9: xchat-gnome-0.26.1-libnotify.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -140,7 +142,7 @@ fi
%changelog
* Mon Nov 08 2010 Adam Williamson <awilliam at redhat.com> - 0.26.1-15
-- rebuild for new libnotify
+- add libnotify.patch for new libnotify
* Sat Jul 31 2010 Adam Williamson <awilliam at redhat.com> - 0.26.1-14
- Add deprecated-symbol.patch - upstream commit
More information about the scm-commits
mailing list