r3214 - in /unstable/evolution-rss/debian: changelog patches/git_evolution324.patch patches/series
jbicha at users.alioth.debian.org
jbicha at users.alioth.debian.org
Sun Sep 3 02:45:50 UTC 2017
Author: jbicha
Date: Sun Sep 3 02:45:48 2017
New Revision: 3214
URL: http://svn.debian.org/wsvn/pkg-evolution/?sc=1&rev=3214
Log:
Backport patch for evolution 3.24 compatibility
Added:
unstable/evolution-rss/debian/patches/git_evolution324.patch
Modified:
unstable/evolution-rss/debian/changelog
unstable/evolution-rss/debian/patches/series
Modified: unstable/evolution-rss/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-evolution/unstable/evolution-rss/debian/changelog?rev=3214&op=diff
==============================================================================
--- unstable/evolution-rss/debian/changelog (original)
+++ unstable/evolution-rss/debian/changelog Sun Sep 3 02:45:48 2017
@@ -1,3 +1,10 @@
+evolution-rss (0.3.95-7) UNRELEASED; urgency=medium
+
+ * Add git_evolution324.patch:
+ - Backport patch for evolution 3.24 compatibility
+
+ -- Jeremy Bicha <jbicha at debian.org> Sat, 02 Sep 2017 22:45:21 -0400
+
evolution-rss (0.3.95-6) unstable; urgency=medium
* Team upload.
Added: unstable/evolution-rss/debian/patches/git_evolution324.patch
URL: http://svn.debian.org/wsvn/pkg-evolution/unstable/evolution-rss/debian/patches/git_evolution324.patch?rev=3214&op=file
==============================================================================
--- unstable/evolution-rss/debian/patches/git_evolution324.patch (added)
+++ unstable/evolution-rss/debian/patches/git_evolution324.patch Sun Sep 3 02:45:48 2017
@@ -0,0 +1,121 @@
+From c78ce3988f68d030b01723fa33ebb64d7a86ed7d Mon Sep 17 00:00:00 2001
+From: Milan Crha <mcrha at redhat.com>
+Date: Tue, 8 Nov 2016 15:56:44 +0100
+Subject: Bug 764065 - [Camel] Port more classes to GObject
+
+---
+ src/rss.c | 39 ++++++++++++++++++++++++++++++++++++++-
+ 1 file changed, 38 insertions(+), 1 deletion(-)
+
+diff --git a/src/rss.c b/src/rss.c
+index e21f0f1..469fdaf 100644
+--- a/src/rss.c
++++ b/src/rss.c
+@@ -3978,7 +3978,8 @@ create_mail(create_feed *CF)
+ #endif
+
+ info = camel_message_info_new(NULL);
+- camel_message_info_set_flags(info, CAMEL_MESSAGE_SEEN, 1);
++ /* Unset the Seen flag, thus the messages are marked as new/unread */
++ camel_message_info_set_flags(info, CAMEL_MESSAGE_SEEN, 0);
+
+ tmp = decode_entities(CF->subj);
+ tmp2 = markup_decode(tmp);
+@@ -4267,7 +4268,11 @@ out:
+ camel_object_unref(mail_folder);
+ #endif
+ #if (DATASERVER_VERSION >= 3011001)
++ #if (DATASERVER_VERSION >= 3023002)
++ g_clear_object (&info);
++ #else
+ camel_message_info_unref(info);
++ #endif
+ #else
+ camel_message_info_free(info);
+ #endif
+@@ -4746,10 +4751,18 @@ delete_oldest_article(CamelFolder *folder, guint unread)
+ if (info) {
+ if (rf->current_uid && !strcmp(rf->current_uid, uids->pdata[i]))
+ goto out;
++ #if (DATASERVER_VERSION >= 3023002)
++ date = camel_message_info_get_date_sent (info);
++ #else
+ date = camel_message_info_date_sent(info);
++ #endif
+ if (!date)
+ goto out;
++ #if (DATASERVER_VERSION >= 3023002)
++ flags = camel_message_info_get_flags (info);
++ #else
+ flags = camel_message_info_flags(info);
++ #endif
+ if (flags & CAMEL_MESSAGE_FLAGGED)
+ goto out;
+ if (flags & CAMEL_MESSAGE_DELETED)
+@@ -4782,7 +4795,11 @@ delete_oldest_article(CamelFolder *folder, guint unread)
+ // i, j, q, min_date, ctime(&min_date), imax);
+ out:
+ #if (DATASERVER_VERSION >= 3011001)
++ #if (DATASERVER_VERSION >= 3023002)
++ g_clear_object (&info);
++ #else
+ camel_message_info_unref(info);
++ #endif
+ #else
+ camel_message_info_free(info);
+ #endif
+@@ -4869,7 +4886,11 @@ get_feed_age(RDF *r, gpointer name)
+ }
+ if (!match) {
+ info = camel_folder_get_message_info(folder, uids->pdata[i]);
++ #if (DATASERVER_VERSION >= 3023002)
++ flags = camel_message_info_get_flags (info);
++ #else
+ flags = camel_message_info_flags(info);
++ #endif
+ if ((del_unread) && !(flags & CAMEL_MESSAGE_FLAGGED)) {
+ gchar *feed_dir, *feed_name;
+ camel_folder_delete_message(folder, uids->pdata[i]);
+@@ -4882,7 +4903,11 @@ get_feed_age(RDF *r, gpointer name)
+ g_free(feed_name);
+ }
+ #if (DATASERVER_VERSION >= 3011001)
++ #if (DATASERVER_VERSION >= 3023002)
++ g_clear_object (&info);
++ #else
+ camel_message_info_unref(info);
++ #endif
+ #else
+ camel_folder_free_message_info(folder, info);
+ #endif
+@@ -4911,9 +4936,17 @@ get_feed_age(RDF *r, gpointer name)
+ if (info == NULL)
+ continue;
+ if (rf->current_uid && strcmp(rf->current_uid, uids->pdata[i])) {
++ #if (DATASERVER_VERSION >= 3023002)
++ date = camel_message_info_get_date_sent (info);
++ #else
+ date = camel_message_info_date_sent(info);
++ #endif
+ if (date < now - del_days * 86400) {
++ #if (DATASERVER_VERSION >= 3023002)
++ flags = camel_message_info_get_flags (info);
++ #else
+ flags = camel_message_info_flags(info);
++ #endif
+ if (!(flags & CAMEL_MESSAGE_SEEN)) {
+ if ((del_unread) && !(flags & CAMEL_MESSAGE_FLAGGED)) {
+ camel_folder_delete_message(folder, uids->pdata[i]);
+@@ -4925,7 +4958,11 @@ get_feed_age(RDF *r, gpointer name)
+ }
+ }
+ #if (DATASERVER_VERSION >= 3011001)
++ #if (DATASERVER_VERSION >= 3023002)
++ g_clear_object (&info);
++ #else
+ camel_message_info_unref(info);
++ #endif
+ #else
+ camel_folder_free_message_info(folder, info);
+ #endif
+
Modified: unstable/evolution-rss/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-evolution/unstable/evolution-rss/debian/patches/series?rev=3214&op=diff
==============================================================================
--- unstable/evolution-rss/debian/patches/series (original)
+++ unstable/evolution-rss/debian/patches/series Sun Sep 3 02:45:48 2017
@@ -1,3 +1,4 @@
01_deprecated.patch
git_evolution322.patch
+git_evolution324.patch
git_disable-webkit.patch
More information about the pkg-evolution-commits
mailing list