From: "Nirbheek Chauhan" <nirbheek@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/evolution-data-server/files/, gnome-extra/evolution-data-server/
Date: Mon, 25 Mar 2013 13:19:41 +0000 (UTC) [thread overview]
Message-ID: <1364217564.2c1336ff29072752c349e5f53d7427a8d3c103c6.nirbheek@gentoo> (raw)
commit: 2c1336ff29072752c349e5f53d7427a8d3c103c6
Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 25 13:19:24 2013 +0000
Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Mon Mar 25 13:19:24 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=2c1336ff
gnome-extra/evolution-data-server: Fix critical bug
All users of Evolution should upgrade.
https://bugzilla.gnome.org/show_bug.cgi?id=693101
---
...uild => evolution-data-server-3.7.92-r1.ebuild} | 3 ++
...n-data-server-3.7.92-fix-imapx-redownload.patch | 39 ++++++++++++++++++++
2 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/gnome-extra/evolution-data-server/evolution-data-server-3.7.92.ebuild b/gnome-extra/evolution-data-server/evolution-data-server-3.7.92-r1.ebuild
similarity index 97%
rename from gnome-extra/evolution-data-server/evolution-data-server-3.7.92.ebuild
rename to gnome-extra/evolution-data-server/evolution-data-server-3.7.92-r1.ebuild
index 9b27f80..cee2bb1 100644
--- a/gnome-extra/evolution-data-server/evolution-data-server-3.7.92.ebuild
+++ b/gnome-extra/evolution-data-server/evolution-data-server-3.7.92-r1.ebuild
@@ -82,6 +82,9 @@ pkg_setup() {
src_prepare() {
DOCS="ChangeLog MAINTAINERS NEWS TODO"
+ # https://bugzilla.gnome.org/show_bug.cgi?id=693101
+ epatch "${FILESDIR}/${P}-fix-imapx-redownload.patch"
+
gnome2_src_prepare
use vala && vala_src_prepare
diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-3.7.92-fix-imapx-redownload.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-3.7.92-fix-imapx-redownload.patch
new file mode 100644
index 0000000..f6e17f0
--- /dev/null
+++ b/gnome-extra/evolution-data-server/files/evolution-data-server-3.7.92-fix-imapx-redownload.patch
@@ -0,0 +1,39 @@
+https://bugzilla.gnome.org/show_bug.cgi?id=693101
+
+diff --git a/camel/camel-imapx-store.c b/camel/camel-imapx-store.c
+index 33ee30e..0161536 100644
+--- a/camel/camel-imapx-store.c
++++ b/camel/camel-imapx-store.c
+@@ -1132,11 +1132,30 @@ sync_folders (CamelIMAPXStore *istore,
+ GHashTable *folders_from_server;
+ gboolean notify_all;
+ gint i, total;
++ GError *local_error = NULL;
+
+ folders_from_server = fetch_folders_for_namespaces (
+- istore, pattern, sync, cancellable, error);
+- if (folders_from_server == NULL)
++ istore, pattern, sync, cancellable, &local_error);
++ if (folders_from_server == NULL) {
++ if (local_error)
++ g_propagate_error (error, local_error);
+ return FALSE;
++ }
++
++ /* In certain situations can happen that the function returns data,
++ even either the operation was cancelled or an error was set,
++ thus check for this and do not update local list of folders
++ with incomplete data
++ */
++ if (g_cancellable_is_cancelled (cancellable) || local_error) {
++ g_hash_table_foreach (folders_from_server, imapx_get_folders_free, NULL);
++ g_hash_table_destroy (folders_from_server);
++
++ if (local_error)
++ g_propagate_error (error, local_error);
++
++ return FALSE;
++ }
+
+ settings = camel_service_ref_settings (CAMEL_SERVICE (istore));
+ notify_all = !camel_imapx_settings_get_use_subscriptions (CAMEL_IMAPX_SETTINGS (settings));
next reply other threads:[~2013-03-25 13:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-25 13:19 Nirbheek Chauhan [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-11-13 13:15 [gentoo-commits] proj/gnome:master commit in: gnome-extra/evolution-data-server/files/, gnome-extra/evolution-data-server/ Priit Laes
2013-03-03 15:07 Priit Laes
2013-03-03 12:50 Priit Laes
2012-08-24 17:08 Priit Laes
2012-08-10 13:17 Priit Laes
2012-05-26 8:10 Alexandre Restovtsev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1364217564.2c1336ff29072752c349e5f53d7427a8d3c103c6.nirbheek@gentoo \
--to=nirbheek@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox