rpms/mail-notification/devel mail-notification-5.4-evolution.patch, NONE, 1.1 mail-notification.spec, 1.59, 1.60

Dmitry Butskoy buc at fedoraproject.org
Wed Oct 1 14:31:01 UTC 2008


Author: buc

Update of /cvs/extras/rpms/mail-notification/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5655

Modified Files:
	mail-notification.spec 
Added Files:
	mail-notification-5.4-evolution.patch 
Log Message:


mail-notification-5.4-evolution.patch:

--- NEW FILE mail-notification-5.4-evolution.patch ---
--- build/src/mn-evolution-server.c.orig	2008-09-30 15:30:07.756216978 +0200
+++ build/src/mn-evolution-server.c	2008-09-30 15:30:49.950220711 +0200
@@ -27,6 +27,7 @@
 #include <stdio.h>
 #include <libintl.h>
 #include <gobject/gvaluecollector.h>
+#include <libedataserver/eds-version.h>
 #include <camel/camel-folder.h>
 #include <mail/em-folder-view.h>
 #include <mail/em-format.h>
@@ -595,7 +596,12 @@
 
 	for (i = 0; i < summary->len; i++)
 	  {
+#if EDS_CHECK_VERSION(2,23,5)
+	    char *uid = summary->pdata[i];
+	    CamelMessageInfo *info = camel_folder_get_message_info(folder, uid);
+#else
 	    CamelMessageInfo *info = summary->pdata[i];
+#endif
 
 	    if ((camel_message_info_flags(info) & CAMEL_MESSAGE_SEEN) == 0)
 	      g_ptr_array_add(*ret, self_camel_message_info_to_dbus_struct(info));


Index: mail-notification.spec
===================================================================
RCS file: /cvs/extras/rpms/mail-notification/devel/mail-notification.spec,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- mail-notification.spec	11 Aug 2008 12:47:10 -0000	1.59
+++ mail-notification.spec	1 Oct 2008 14:30:31 -0000	1.60
@@ -1,12 +1,13 @@
 Name:           mail-notification
 Version:        5.4
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Status icon that informs you if you have new mail
 
 Group:          Applications/Internet
 License:        GPLv3+
 URL:            http://www.nongnu.org/mailnotify/
 Source0:        http://savannah.nongnu.org/download/mailnotify/mail-notification-%{version}.tar.bz2
+Patch0:		mail-notification-5.4-evolution.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gettext
@@ -53,6 +54,7 @@
 
 %prep
 %setup -q
+%patch0 -p0 -b .evolution
 
 #  Drop #line statements in C sources generated bu .gob,
 #  for the proper debuginfo package
@@ -174,6 +176,9 @@
 
 
 %changelog
+* Wed Oct  1 2008 Dmitry Butskoy <Dmitry at Butskoy.name> - 5.4-3
+- add patch for evolution >= 2.23.5 (#464779)
+
 * Mon Aug 11 2008 Dmitry Butskoy <Dmitry at Butskoy.name> - 5.4-2
 - rebuild for new evolution-2.24 (#458587)
 




More information about the fedora-extras-commits mailing list