Hi Team,
I'm new to linux and very skilled.
Trying to apply the patch above to fix the same issues experienced reported
here.
The command I run is:
sudo patch /usr/lib/evolution/plugins/liborg-jylefort-mail-notification.so <
mail-notification.diff
The result I get is:
patching file /usr/lib/evolution/plugins/liborg-jylefort-mail-notification.so
Hunk #1 FAILED at 223.
Hunk #2 FAILED at 273.
2 out of 2 hunks FAILED -- saving rejects to file
/usr/lib/evolution/plugins/liborg-jylefort-mail-notification.so.rej
And this is the reject file:
mars@workbook:~/Desktop$ cat
/usr/lib/evolution/plugins/liborg-jylefort-mail-notification.so.rej
--- mn-evolution-server.gob 2018-02-08 19:16:36.880357838 +0100
+++ mn-evolution-server.gob 2018-02-08 20:21:39.000000000 +0100
@@ -223,24 +223,24 @@
char hexhash[sizeof(CamelSummaryMessageID) * 2 + 1];
int i;
- id = camel_message_info_get_message_id(info);
+ id = camel_message_info_message_id(info);
for (i = 0; i < sizeof(id->id.hash); i++)
sprintf(hexhash + i * 2, "%.2x", id->id.hash[i]);
- g_assert(camel_message_info_get_uid(info) != NULL);
+ g_assert(camel_message_info_uid(info) != NULL);
return self_value_array_new(/* char *uid */
- G_TYPE_STRING, camel_message_info_get_uid(info),
+ G_TYPE_STRING, camel_message_info_uid(info),
/* unsigned int sent_time */
- G_TYPE_UINT, (unsigned int)
camel_message_info_get_date_sent(info),
+ G_TYPE_UINT, (unsigned int)
camel_message_info_date_sent(info),
/* unsigned int received_time */
- G_TYPE_UINT, (unsigned int)
camel_message_info_get_date_received(info),
+ G_TYPE_UINT, (unsigned int)
camel_message_info_date_received(info),
/* char *id */
G_TYPE_STRING, hexhash,
/* char *from */
- G_TYPE_STRING,
camel_message_info_get_from(info),
+ G_TYPE_STRING, camel_message_info_from(info),
/* char *subject */
- G_TYPE_STRING,
camel_message_info_get_subject(info),
+ G_TYPE_STRING, camel_message_info_subject(info),
(GType) 0);
}
@@ -273,7 +273,7 @@
CamelMessageInfo *info = summary->pdata[i];
#endif
- if ((camel_message_info_get_flags(info) & (CAMEL_MESSAGE_SEEN |
CAMEL_MESSAGE_JUNK)) == 0)
+ if ((camel_message_info_flags(info) & (CAMEL_MESSAGE_SEEN |
CAMEL_MESSAGE_JUNK)) == 0)
g_ptr_array_add(*ret,
self_camel_message_info_to_dbus_struct(info));
}
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741931
Title:
Cannot enable Jean-Yves Lefort's Mail Notification plugin in Evolution
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mail-notification/+bug/1741931/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs