[claws-mail-plugins] Fixing broken dep: - patch notification plugin and rebuild for new libnotify 0.7.0
Michael Schwendt
mschwendt at fedoraproject.org
Fri Nov 12 12:56:07 UTC 2010
commit 49dba3614fff81c4981d03b794352ace2c98b604
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Fri Nov 12 13:56:04 2010 +0100
Fixing broken dep:
- patch notification plugin and rebuild for new libnotify 0.7.0
claws-mail-extra-plugins-3.7.6-libnotify07.patch | 25 ++++++++++++++++++++++
claws-mail-plugins.spec | 10 ++++++++-
2 files changed, 34 insertions(+), 1 deletions(-)
---
diff --git a/claws-mail-extra-plugins-3.7.6-libnotify07.patch b/claws-mail-extra-plugins-3.7.6-libnotify07.patch
new file mode 100644
index 0000000..efc06a4
--- /dev/null
+++ b/claws-mail-extra-plugins-3.7.6-libnotify07.patch
@@ -0,0 +1,25 @@
+diff -Nur claws-mail-extra-plugins-3.7.6-orig/notification_plugin-0.25/src/notification_popup.c claws-mail-extra-plugins-3.7.6/notification_plugin-0.25/src/notification_popup.c
+--- claws-mail-extra-plugins-3.7.6-orig/notification_plugin-0.25/src/notification_popup.c 2009-04-26 03:05:05.000000000 +0200
++++ claws-mail-extra-plugins-3.7.6/notification_plugin-0.25/src/notification_popup.c 2010-11-12 13:39:02.363909583 +0100
+@@ -339,7 +339,7 @@
+ break;
+ }
+
+- ppopup->notification = notify_notification_new(summary, utf8_str, NULL, NULL);
++ ppopup->notification = notify_notification_new(summary, utf8_str, NULL);
+ g_free(utf8_str);
+ if(ppopup->notification == NULL) {
+ debug_print("Notification Plugin: Failed to create a new "
+diff -Nur claws-mail-extra-plugins-3.7.6-orig/notification_plugin-0.25/src/notification_trayicon.c claws-mail-extra-plugins-3.7.6/notification_plugin-0.25/src/notification_trayicon.c
+--- claws-mail-extra-plugins-3.7.6-orig/notification_plugin-0.25/src/notification_trayicon.c 2010-03-25 09:56:34.000000000 +0100
++++ claws-mail-extra-plugins-3.7.6/notification_plugin-0.25/src/notification_trayicon.c 2010-11-12 13:38:30.809340907 +0100
+@@ -589,8 +589,7 @@
+ summary = notification_trayicon_popup_assemble_summary();
+ utf8_str = notification_trayicon_popup_assemble_body(msginfo);
+
+- popup.notification = notify_notification_new(summary, utf8_str, NULL, NULL);
+- notify_notification_attach_to_status_icon(popup.notification, trayicon);
++ popup.notification = notify_notification_new(summary, utf8_str, NULL);
+
+ g_free(summary);
+ g_free(utf8_str);
diff --git a/claws-mail-plugins.spec b/claws-mail-plugins.spec
index 54260a2..91b3356 100644
--- a/claws-mail-plugins.spec
+++ b/claws-mail-plugins.spec
@@ -22,7 +22,7 @@
Name: claws-mail-plugins
Version: 3.7.6
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Additional plugins for claws-mail
Group: Applications/Internet
@@ -31,6 +31,8 @@ URL: http://claws-mail.org
Source0: http://downloads.sourceforge.net/sylpheed-claws/claws-mail-extra-plugins-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0: claws-mail-extra-plugins-3.7.6-libnotify07.patch
+
BuildRequires: claws-mail-devel >= %{version}
BuildRequires: glib2-devel
BuildRequires: gtk2-devel
@@ -315,6 +317,9 @@ sed -i -e 's!champlain-gtk-0.4!champlain-gtk-0.6!g' geolocation_plugin-0.0.3/con
%if 0%{?fedora} > 14
sed -i -e 's!champlain-gtk-0.4!champlain-gtk-0.8!g' geolocation_plugin-0.0.3/configure
%endif
+%if 0%{?fedora} > 14
+%patch0 -p1 -b .libnotify07
+%endif
%build
#acpi_notifier
@@ -717,6 +722,9 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/claws-mail/plugins/vcalendar/
%changelog
+* Fri Nov 12 2010 Michael Schwendt <mschwendt at fedoraproject.org> - 3.7.6-9
+- patch notification plugin and rebuild for new libnotify 0.7.0
+
* Mon Nov 08 2010 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- 3.7.6-8
- rebuild against new libnotify
More information about the scm-commits
mailing list