mcrha pushed to evolution-data-server (f22). "Add patch for GNOME bug #719476 (IMAPx IDLE could cause folder content vanish locally)"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed May 13 13:32:37 UTC 2015


From 21768620098d66cc20d42eb5184f9bcf811d892f Mon Sep 17 00:00:00 2001
From: Milan Crha <mcrha at redhat.com>
Date: Wed, 13 May 2015 15:32:26 +0200
Subject: Add patch for GNOME bug #719476 (IMAPx IDLE could cause folder
 content vanish locally)


diff --git a/evolution-data-server-3.16.2-imapx-idle-folder-vanish.patch b/evolution-data-server-3.16.2-imapx-idle-folder-vanish.patch
new file mode 100644
index 0000000..3a52dbc
--- /dev/null
+++ b/evolution-data-server-3.16.2-imapx-idle-folder-vanish.patch
@@ -0,0 +1,14 @@
+diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
+index 5a9856a..bc02031 100644
+--- a/camel/providers/imapx/camel-imapx-server.c
++++ b/camel/providers/imapx/camel-imapx-server.c
+@@ -3747,7 +3747,9 @@ camel_imapx_server_idle (CamelIMAPXServer *is,
+ 	job->start = imapx_job_idle_start;
+ 
+ 	camel_imapx_job_set_mailbox (job, mailbox);
++	QUEUE_LOCK (is);
+ 	imapx_maybe_select (is, job, mailbox);
++	QUEUE_UNLOCK (is);
+ 
+ 	previous_connection_timeout = imapx_server_set_connection_timeout (is->priv->connection, 0);
+ 
diff --git a/evolution-data-server.spec b/evolution-data-server.spec
index a0afd2f..ebbc69e 100644
--- a/evolution-data-server.spec
+++ b/evolution-data-server.spec
@@ -33,7 +33,7 @@
 
 Name: evolution-data-server
 Version: 3.16.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: System Environment/Libraries
 Summary: Backend data server for Evolution
 License: LGPLv2+
@@ -54,6 +54,9 @@ Obsoletes: compat-evolution-data-server310-libcamel < 3.12
 # RH bug #243296
 Patch01: evolution-data-server-1.11.5-fix-64bit-acinclude.patch
 
+# GNOME bug #719476
+Patch02: evolution-data-server-3.16.2-imapx-idle-folder-vanish.patch
+
 ### Dependencies ###
 
 Requires: dconf
@@ -150,6 +153,7 @@ the functionality of the installed %{name} package.
 %setup -q
 
 %patch01 -p1 -b .fix-64bit-acinclude
+%patch02 -p1 -b .imapx-idle-folder-vanish
 
 %build
 %if %{ldap_support}
@@ -411,6 +415,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
 %{_datadir}/installed-tests
 
 %changelog
+* Wed May 13 2015 Milan Crha <mcrha at redhat.com> - 3.16.2-2
+- Add patch for GNOME bug #719476 (IMAPx IDLE could cause folder content vanish locally)
+
 * Mon May 11 2015 Milan Crha <mcrha at redhat.com> - 3.16.2-1
 - Update to 3.16.2
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/evolution-data-server.git/commit/?h=f22&id=21768620098d66cc20d42eb5184f9bcf811d892f


More information about the scm-commits mailing list