Merge lp:~rodrigo-moya/ubuntu/natty/evolution-data-server/2_32_1_release into lp:~ubuntu-desktop/evolution-data-server/ubuntu

Proposed by Rodrigo Moya on 2010-11-25
Status: Merged
Merged at revision: 67
Proposed branch: lp:~rodrigo-moya/ubuntu/natty/evolution-data-server/2_32_1_release
Merge into: lp:~ubuntu-desktop/evolution-data-server/ubuntu
Diff against target: 722 lines (+217/-462)
8 files modified
debian/changelog (+58/-0)
debian/patches/01_various_linking_issues.patch (+78/-0)
debian/patches/02_fix_sources_migration.patch (+79/-0)
debian/patches/107-git-consider-local-inbox-as-inbox.patch (+0/-264)
debian/patches/25_mute-debug-messages.patch (+0/-64)
debian/patches/80_git_show_recurrent_event.patch (+0/-21)
debian/patches/90-building-on-natty.patch (+0/-109)
debian/patches/series (+2/-4)
To merge this branch: bzr merge lp:~rodrigo-moya/ubuntu/natty/evolution-data-server/2_32_1_release
Reviewer Review Type Date Requested Status
Didier Roche 2010-11-25 Pending
Ubuntu Desktop 2010-11-25 Pending
Review via email: mp+41879@code.launchpad.net
To post a comment you must log in.
68. By Rodrigo Moya on 2010-11-25

Add missing patch from git for the sources migration

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2010-11-23 18:36:26 +0000
3+++ debian/changelog 2010-11-25 16:59:29 +0000
4@@ -1,3 +1,61 @@
5+evolution-data-server (2.32.1-0ubuntu1) natty; urgency=low
6+
7+ * Upstream release 2.32.1
8+ - Bug #634658 - Unread counts for vfolders never update
9+ - Bug #632692 - Thread by In-Reply-To, then first found reference
10+ - Bug #538716 - Do not set expiration on POP3 message cache
11+ - Bug #631804 - Aborts with pthread error in imapx_server_dispose()
12+ - Bug #634084 - ECal reports loaded state too early
13+ - Bug #632532 - Double free in imapx_job_done, imapx_command_step_fetch_done
14+ - Bug #631842 - Improve error reporting in some ECal/EBook functions
15+ - Bug #632030 - Crashed while Groupwise server is not responding
16+ - Bug #631953 - A possible double-free in google backend
17+ - Bug #632771 - Recurring calendar events set to recur forever do not
18+ display past first week
19+ - Bug #597567 - Crash in comp_subject()
20+ - Bug #631290 - Crash in vee_folder_synchronize_sync
21+ - Bug #631073 - Task update operation has some delay
22+ - Bug #558478 - Autocompletion inserts comma
23+ - Bug 632376 - Rewind in camel-disco-diary to fix a crash
24+ - Bug #534369 - New mail notifications for local Inbox don't work
25+ - Bug #608557 - CamelOfflineJournal can call fclose with NULL
26+ - Bug #347520 - Names containing a dot in address parsed incorrectly
27+ - Bug #630361 - Categories editing fixes
28+ - Bug #631122 - Change %-H to %k in Italian translation
29+ - Bug #616598 - AM/PM in Date header confuses parser
30+ - Bug #616596 - Disable debug prints from e-categories.c
31+ - Bug #615828 - Incorrectly set off-line state on CamelOfflineStore
32+ - Bug #616172 - Return NULL from imapx_find_commad_tag when not found
33+ - Bug #629507 - e_book_backend_cache_set_time doesn't rewrite old value
34+ - Bug #630321 - Disabling IMAPX account produces runtime warnings
35+ - Bug #628655 - imapx parser thread gerror memory leak
36+ - Bug #629752 - ldap doesn't work in offline
37+ - Bug #629908 - assertion failed: (E_IS_BOOK (book))
38+ - Bug #615274 - Encode proxy user/password in proxy URL
39+ - Bug #599741 - Cannot accept meeting request
40+ - Bug #630265 - Refetches unchanged 'On The Web' calendar
41+ - Fix memory leak recently introduced in imapx QRESYNC
42+ - Fix QRESYNC protocol violation (RH #648082)
43+ - Fix a build failure due to used CPPFLAGS
44+ - Fix linking against out-of-tree e-d-s
45+ - [IMAPX] Crash on QRESYNC line formatting on 32bit platform
46+ - Opening default/system addressbook doesn't always work
47+ - Limit libgdata support to 0.6.
48+ - Avoid passing NULL to g_strstrip in e_contact_get calls (part ][)
49+ - Don't link libebook to GTK+
50+ - Updated translations: ca, cs, ca@valencia, nl, ast, et
51+ * debian/patches/01_various_linking_issues.patch:
52+ - Add upstream patch to fix linking issues on Natty
53+ * debian/patches/02_fix_sources_migration.patch:
54+ - Add upstream patch to fix sources migration from previous versions
55+ * debian/patches/25_mute-debug-messages.patch:
56+ * debian/patches/80_git_show_recurrent_event.patch:
57+ * debian/patches/90-building-on-natty.patch:
58+ * debian/patches/107-git-consider-local-inbox-as-inbox.patch:
59+ - Remove upstreamed patches
60+
61+ -- Rodrigo Moya <rodrigo.moya@canonical.com> Thu, 25 Nov 2010 16:51:06 +0100
62+
63 evolution-data-server (2.32.0-0ubuntu2) natty; urgency=low
64
65 * debian/patches/108-git-build-against-gtk-2.91.patch: fixes building now
66
67=== added file 'debian/patches/01_various_linking_issues.patch'
68--- debian/patches/01_various_linking_issues.patch 1970-01-01 00:00:00 +0000
69+++ debian/patches/01_various_linking_issues.patch 2010-11-25 16:59:29 +0000
70@@ -0,0 +1,78 @@
71+commit 15c7d8948cd0f628097976b7c054c79a6627841c
72+Author: Diego Escalante Urrelo <descalante@igalia.com>
73+Date: Mon Nov 22 20:02:16 2010 -0500
74+
75+ Bug 635572 - Various linking failures
76+
77+ On Debian sid, using binutils-gold, a couple missing links are discovered.
78+
79+diff --git a/addressbook/libedata-book/Makefile.am b/addressbook/libedata-book/Makefile.am
80+index 12db8f8..997c727 100644
81+--- a/addressbook/libedata-book/Makefile.am
82++++ b/addressbook/libedata-book/Makefile.am
83+@@ -82,6 +82,7 @@ e_addressbook_factory_SOURCES = \
84+
85+ e_addressbook_factory_LDADD = \
86+ libedata-book-1.2.la \
87++ $(EVOLUTION_ADDRESSBOOK_LIBS) \
88+ $(top_builddir)/libedataserver/libedataserver-1.2.la \
89+ $(top_builddir)/libebackend/libebackend-1.2.la
90+
91+diff --git a/calendar/libedata-cal/Makefile.am b/calendar/libedata-cal/Makefile.am
92+index 82dd911..cb9ad96 100644
93+--- a/calendar/libedata-cal/Makefile.am
94++++ b/calendar/libedata-cal/Makefile.am
95+@@ -111,6 +111,7 @@ e_calendar_factory_CPPFLAGS = \
96+ $(EVOLUTION_CALENDAR_CFLAGS)
97+
98+ e_calendar_factory_LDADD = \
99++ $(top_builddir)/calendar/libecal/libecal-1.2.la \
100+ $(top_builddir)/calendar/libegdbus/libegdbus-cal.la \
101+ libedata-cal-1.2.la \
102+ $(top_builddir)/libedataserver/libedataserver-1.2.la \
103+@@ -128,9 +129,10 @@ test_e_sexp_CPPFLAGS = \
104+ -DTESTER=1
105+
106+ test_e_sexp_LDADD = \
107+- libedata-cal-1.2.la \
108+- $(top_builddir)/calendar/libecal/libecal-1.2.la \
109+- $(top_builddir)/libedataserver/libedataserver-1.2.la \
110++ libedata-cal-1.2.la \
111++ $(top_builddir)/calendar/libecal/libecal-1.2.la \
112++ $(top_builddir)/libedataserver/libedataserver-1.2.la \
113++ $(EVOLUTION_CALENDAR_LIBS) \
114+ $(E_DATA_SERVER_LIBS)
115+
116+ test_intervaltree_SOURCES = test-intervaltree.c e-cal-backend-intervaltree.c
117+diff --git a/camel/providers/imapx/Makefile.am b/camel/providers/imapx/Makefile.am
118+index 1e7a0a3..a8ae7be 100644
119+--- a/camel/providers/imapx/Makefile.am
120++++ b/camel/providers/imapx/Makefile.am
121+@@ -54,6 +54,7 @@ test_imapx_CPPFLAGS = \
122+ -DG_LOG_DOMAIN=\"camel-imapx\"
123+ test_imapx_SOURCES = test-imapx.c
124+ test_imapx_LDADD = \
125++ $(CAMEL_LIBS) \
126+ $(top_builddir)/camel/libcamel-1.2.la \
127+ $(top_builddir)/camel/libcamel-provider-1.2.la
128+
129+diff --git a/libedataserverui/Makefile.am b/libedataserverui/Makefile.am
130+index 0337fae..f746165 100644
131+--- a/libedataserverui/Makefile.am
132++++ b/libedataserverui/Makefile.am
133+@@ -98,11 +98,15 @@ TEST_EDATASERVERUI_CPPFLAGS= \
134+ if ENABLE_GTK3
135+ TEST_EDATASERVERUI_LDFLAGS = \
136+ libedataserverui-3.0.la \
137++ $(top_builddir)/camel/libcamel-1.2.la \
138++ $(top_builddir)/addressbook/libebook/libebook-1.2.la \
139+ $(top_builddir)/libedataserver/libedataserver-1.2.la \
140+ $(E_DATA_SERVER_UI_LIBS)
141+ else
142+ TEST_EDATASERVERUI_LDFLAGS = \
143+ libedataserverui-1.2.la \
144++ $(top_builddir)/camel/libcamel-1.2.la \
145++ $(top_builddir)/addressbook/libebook/libebook-1.2.la \
146+ $(top_builddir)/libedataserver/libedataserver-1.2.la \
147+ $(E_DATA_SERVER_UI_LIBS)
148+ endif
149
150=== added file 'debian/patches/02_fix_sources_migration.patch'
151--- debian/patches/02_fix_sources_migration.patch 1970-01-01 00:00:00 +0000
152+++ debian/patches/02_fix_sources_migration.patch 2010-11-25 16:59:29 +0000
153@@ -0,0 +1,79 @@
154+commit 132709ba897951b7cf080d68cf98262de4c81e5d
155+Author: Milan Crha <mcrha@redhat.com>
156+Date: Wed Nov 24 13:38:09 2010 +0100
157+
158+ Bug #632962 - Duplicate "On this computer" sources after update
159+
160+diff --git a/libedataserver/e-source-group.c b/libedataserver/e-source-group.c
161+index 1f70d5e..a0cfe3e 100644
162+--- a/libedataserver/e-source-group.c
163++++ b/libedataserver/e-source-group.c
164+@@ -246,8 +246,10 @@ e_source_group_new (const gchar *name,
165+ return new;
166+ }
167+
168+-ESourceGroup *
169+-e_source_group_new_from_xml (const gchar *xml)
170++static ESourceGroup *source_group_new_from_xmldoc (xmlDocPtr doc, gboolean can_migrate);
171++
172++static ESourceGroup *
173++source_group_new_from_xml (const gchar *xml, gboolean can_migrate)
174+ {
175+ xmlDocPtr doc;
176+ ESourceGroup *group;
177+@@ -256,14 +258,20 @@ e_source_group_new_from_xml (const gchar *xml)
178+ if (doc == NULL)
179+ return NULL;
180+
181+- group = e_source_group_new_from_xmldoc (doc);
182++ group = source_group_new_from_xmldoc (doc, can_migrate);
183+ xmlFreeDoc (doc);
184+
185+ return group;
186+ }
187+
188+ ESourceGroup *
189+-e_source_group_new_from_xmldoc (xmlDocPtr doc)
190++e_source_group_new_from_xml (const gchar *xml)
191++{
192++ return source_group_new_from_xml (xml, TRUE);
193++}
194++
195++static ESourceGroup *
196++source_group_new_from_xmldoc (xmlDocPtr doc, gboolean can_migrate)
197+ {
198+ xmlNodePtr root, p;
199+ xmlChar *uid;
200+@@ -300,7 +308,7 @@ e_source_group_new_from_xmldoc (xmlDocPtr doc)
201+ * directory, but that caused all kinds of portability
202+ * issues so now we just use "local:" and leave the
203+ * absolute file system path implicit. */
204+- if (g_str_has_prefix (GC base_uri, "file:"))
205++ if (can_migrate && g_str_has_prefix (GC base_uri, "file:"))
206+ e_source_group_set_base_uri (new, "local:");
207+ else
208+ e_source_group_set_base_uri (new, GC base_uri);
209+@@ -339,6 +347,12 @@ e_source_group_new_from_xmldoc (xmlDocPtr doc)
210+ return new;
211+ }
212+
213++ESourceGroup *
214++e_source_group_new_from_xmldoc (xmlDocPtr doc)
215++{
216++ return source_group_new_from_xmldoc (doc, TRUE);
217++}
218++
219+ gboolean
220+ e_source_group_update_from_xml (ESourceGroup *group,
221+ const gchar *xml,
222+@@ -896,8 +910,8 @@ e_source_group_xmlstr_equal (const gchar *a, const gchar *b)
223+ ESourceGroup *grpa, *grpb;
224+ gboolean retval;
225+
226+- grpa = e_source_group_new_from_xml (a);
227+- grpb = e_source_group_new_from_xml (b);
228++ grpa = source_group_new_from_xml (a, FALSE);
229++ grpb = source_group_new_from_xml (b, FALSE);
230+
231+ retval = e_source_group_equal (grpa, grpb);
232+
233
234=== removed file 'debian/patches/107-git-consider-local-inbox-as-inbox.patch'
235--- debian/patches/107-git-consider-local-inbox-as-inbox.patch 2010-10-18 14:04:21 +0000
236+++ debian/patches/107-git-consider-local-inbox-as-inbox.patch 1970-01-01 00:00:00 +0000
237@@ -1,264 +0,0 @@
238-From e40d8940d41ca0e2dba197ac015fc7f21d43016b Mon Sep 17 00:00:00 2001
239-From: Milan Crha <mcrha@redhat.com>
240-Date: Thu, 14 Oct 2010 11:05:57 +0000
241-Subject: Bug #534369 - New mail notifications for local Inbox don't work
242-
243----
244-diff --git a/camel/providers/local/camel-local-folder.c b/camel/providers/local/camel-local-folder.c
245-index fa07e5d..3b7443c 100644
246---- a/camel/providers/local/camel-local-folder.c
247-+++ b/camel/providers/local/camel-local-folder.c
248-@@ -299,7 +299,6 @@ CamelLocalFolder *
249- camel_local_folder_construct(CamelLocalFolder *lf, guint32 flags, GError **error)
250- {
251- CamelFolder *folder;
252-- CamelFolderInfo *fi;
253- const gchar *root_dir_path;
254- gchar *tmp, *statepath;
255- #ifndef G_OS_WIN32
256-@@ -307,7 +306,6 @@ camel_local_folder_construct(CamelLocalFolder *lf, guint32 flags, GError **error
257- struct stat st;
258- #endif
259- gint forceindex, len;
260-- CamelURL *url;
261- CamelLocalStore *ls;
262- CamelStore *parent_store;
263- const gchar *full_name;
264-@@ -409,17 +407,10 @@ camel_local_folder_construct(CamelLocalFolder *lf, guint32 flags, GError **error
265-
266- /* TODO: This probably shouldn't be here? */
267- if ((flags & CAMEL_STORE_FOLDER_CREATE) != 0) {
268-- url = camel_url_copy (((CamelService *) parent_store)->url);
269-- camel_url_set_fragment (url, full_name);
270--
271-- fi = camel_folder_info_new ();
272-- fi->full_name = g_strdup (full_name);
273-- fi->name = g_strdup (name);
274-- fi->uri = camel_url_to_string (url, 0);
275-- fi->unread = camel_folder_get_unread_message_count(folder);
276-- fi->flags = CAMEL_FOLDER_NOCHILDREN;
277-+ CamelFolderInfo *fi;
278-
279-- camel_url_free (url);
280-+ fi = camel_store_get_folder_info (parent_store, full_name, 0, NULL);
281-+ g_return_val_if_fail (fi != NULL, lf);
282-
283- camel_store_folder_created (parent_store, fi);
284- camel_folder_info_free(fi);
285-diff --git a/camel/providers/local/camel-local-store.c b/camel/providers/local/camel-local-store.c
286-index ddfdb52..6fa3434 100644
287---- a/camel/providers/local/camel-local-store.c
288-+++ b/camel/providers/local/camel-local-store.c
289-@@ -32,6 +32,8 @@
290- #include <glib/gi18n-lib.h>
291- #include <glib/gstdio.h>
292-
293-+#include <libedataserver/e-data-server-util.h>
294-+
295- #include "camel-local-folder.h"
296- #include "camel-local-store.h"
297-
298-@@ -110,6 +112,7 @@ construct (CamelService *service,
299- CamelLocalStore *local_store = CAMEL_LOCAL_STORE (service);
300- CamelServiceClass *service_class;
301- gint len;
302-+ gchar *local_store_path, *local_store_uri;
303-
304- /* Chain up to parent's construct() method. */
305- service_class = CAMEL_SERVICE_CLASS (camel_local_store_parent_class);
306-@@ -122,6 +125,24 @@ construct (CamelService *service,
307- else
308- local_store->toplevel_dir = g_strdup (service->url->path);
309-
310-+ local_store->is_main_store = FALSE;
311-+
312-+ local_store_path = g_build_filename (e_get_user_data_dir (), "mail", "local", NULL);
313-+ local_store_uri = g_filename_to_uri (local_store_path, NULL, NULL);
314-+ if (local_store_uri) {
315-+ CamelProvider *provider = service->provider;
316-+ CamelURL *local_store_url = camel_url_new (local_store_uri, NULL);
317-+
318-+ camel_url_set_protocol (local_store_url, service->url->protocol);
319-+ camel_url_set_host (local_store_url, service->url->host);
320-+
321-+ local_store->is_main_store = (provider && provider->url_equal) ? provider->url_equal (service->url, local_store_url) : camel_url_equal (service->url, local_store_url);
322-+ camel_url_free (local_store_url);
323-+ }
324-+
325-+ g_free (local_store_uri);
326-+ g_free (local_store_path);
327-+
328- return TRUE;
329- }
330-
331-@@ -527,3 +548,31 @@ local_can_refresh_folder (CamelStore *store, CamelFolderInfo *info, GError **err
332- /* any local folder can be refreshed */
333- return TRUE;
334- }
335-+
336-+/* Returns whether is this store used as 'On This Computer' main store */
337-+gboolean
338-+camel_local_store_is_main_store (CamelLocalStore *store)
339-+{
340-+ g_return_val_if_fail (store != NULL, FALSE);
341-+
342-+ return store->is_main_store;
343-+}
344-+
345-+guint32
346-+camel_local_store_get_folder_type_by_full_name (CamelLocalStore *store, const gchar *full_name)
347-+{
348-+ g_return_val_if_fail (store != NULL, 0);
349-+ g_return_val_if_fail (full_name != NULL, 0);
350-+
351-+ if (!camel_local_store_is_main_store (store))
352-+ return CAMEL_FOLDER_TYPE_NORMAL;
353-+
354-+ if (g_ascii_strcasecmp (full_name, "Inbox") == 0)
355-+ return CAMEL_FOLDER_TYPE_INBOX;
356-+ else if (g_ascii_strcasecmp (full_name, "Outbox") == 0)
357-+ return CAMEL_FOLDER_TYPE_OUTBOX;
358-+ else if (g_ascii_strcasecmp (full_name, "Sent") == 0)
359-+ return CAMEL_FOLDER_TYPE_SENT;
360-+
361-+ return CAMEL_FOLDER_TYPE_NORMAL;
362-+}
363-diff --git a/camel/providers/local/camel-local-store.h b/camel/providers/local/camel-local-store.h
364-index 93f66c0..7198fb9 100644
365---- a/camel/providers/local/camel-local-store.h
366-+++ b/camel/providers/local/camel-local-store.h
367-@@ -53,6 +53,7 @@ struct _CamelLocalStore {
368- CamelStore parent;
369-
370- gchar *toplevel_dir;
371-+ gboolean is_main_store;
372- };
373-
374- struct _CamelLocalStoreClass {
375-@@ -66,6 +67,9 @@ GType camel_local_store_get_type (void);
376-
377- const gchar *camel_local_store_get_toplevel_dir (CamelLocalStore *store);
378-
379-+gboolean camel_local_store_is_main_store (CamelLocalStore *store);
380-+guint32 camel_local_store_get_folder_type_by_full_name (CamelLocalStore *store, const gchar *full_name);
381-+
382- #define camel_local_store_get_full_path(ls, name) \
383- (CAMEL_LOCAL_STORE_GET_CLASS (ls)->get_full_path \
384- (CAMEL_LOCAL_STORE (ls), (name)))
385-diff --git a/camel/providers/local/camel-maildir-store.c b/camel/providers/local/camel-maildir-store.c
386-index 3b60c22..7fbf1f3 100644
387---- a/camel/providers/local/camel-maildir-store.c
388-+++ b/camel/providers/local/camel-maildir-store.c
389-@@ -328,7 +328,7 @@ fill_fi (CamelStore *store,
390- {
391- CamelFolder *folder;
392-
393-- folder = camel_object_bag_get(store->folders, fi->full_name);
394-+ folder = camel_object_bag_peek (store->folders, fi->full_name);
395-
396- if (folder == NULL
397- && (flags & CAMEL_STORE_FOLDER_INFO_FAST) == 0)
398-@@ -358,6 +358,11 @@ fill_fi (CamelStore *store,
399- g_free(folderpath);
400- g_free(path);
401- }
402-+
403-+ if (camel_local_store_is_main_store (CAMEL_LOCAL_STORE (store)) && fi->full_name
404-+ && (fi->flags & CAMEL_FOLDER_TYPE_MASK) == CAMEL_FOLDER_TYPE_NORMAL)
405-+ fi->flags = (fi->flags & ~CAMEL_FOLDER_TYPE_MASK)
406-+ | camel_local_store_get_folder_type_by_full_name (CAMEL_LOCAL_STORE (store), fi->full_name);
407- }
408-
409- struct _scan_node {
410-diff --git a/camel/providers/local/camel-mbox-store.c b/camel/providers/local/camel-mbox-store.c
411-index c6d9a55..a3d66be 100644
412---- a/camel/providers/local/camel-mbox-store.c
413-+++ b/camel/providers/local/camel-mbox-store.c
414-@@ -650,7 +650,7 @@ fill_fi(CamelStore *store, CamelFolderInfo *fi, guint32 flags)
415-
416- fi->unread = -1;
417- fi->total = -1;
418-- folder = camel_object_bag_get(store->folders, fi->full_name);
419-+ folder = camel_object_bag_peek (store->folders, fi->full_name);
420- if (folder) {
421- if ((flags & CAMEL_STORE_FOLDER_INFO_FAST) == 0)
422- camel_folder_refresh_info(folder, NULL);
423-@@ -676,6 +676,11 @@ fill_fi(CamelStore *store, CamelFolderInfo *fi, guint32 flags)
424- g_free(folderpath);
425- g_free(path);
426- }
427-+
428-+ if (camel_local_store_is_main_store (CAMEL_LOCAL_STORE (store)) && fi->full_name
429-+ && (fi->flags & CAMEL_FOLDER_TYPE_MASK) == CAMEL_FOLDER_TYPE_NORMAL)
430-+ fi->flags = (fi->flags & ~CAMEL_FOLDER_TYPE_MASK)
431-+ | camel_local_store_get_folder_type_by_full_name (CAMEL_LOCAL_STORE (store), fi->full_name);
432- }
433-
434- static CamelFolderInfo *
435-@@ -859,14 +864,13 @@ get_folder_info(CamelStore *store, const gchar *top, guint32 flags, GError **err
436- fi->unread = -1;
437- fi->total = -1;
438-
439-+ fill_fi (store, fi, flags);
440-+
441- subdir = g_strdup_printf("%s.sbd", path);
442- if (g_stat(subdir, &st) == 0) {
443- if (S_ISDIR(st.st_mode))
444- fi->child = scan_dir (store, url, visited, fi, subdir, top, flags, error);
445-- else
446-- fill_fi(store, fi, flags);
447-- } else
448-- fill_fi(store, fi, flags);
449-+ }
450-
451- camel_url_free (url);
452-
453-diff --git a/camel/providers/local/camel-mh-store.c b/camel/providers/local/camel-mh-store.c
454-index 7ff99bb..2da64d6 100644
455---- a/camel/providers/local/camel-mh-store.c
456-+++ b/camel/providers/local/camel-mh-store.c
457-@@ -328,7 +328,7 @@ fill_fi (CamelStore *store,
458- {
459- CamelFolder *folder;
460-
461-- folder = camel_object_bag_get(store->folders, fi->full_name);
462-+ folder = camel_object_bag_peek (store->folders, fi->full_name);
463-
464- if (folder == NULL
465- && (flags & CAMEL_STORE_FOLDER_INFO_FAST) == 0)
466-@@ -363,6 +363,11 @@ fill_fi (CamelStore *store,
467- g_free(folderpath);
468- g_free(path);
469- }
470-+
471-+ if (camel_local_store_is_main_store (CAMEL_LOCAL_STORE (store)) && fi->full_name
472-+ && (fi->flags & CAMEL_FOLDER_TYPE_MASK) == CAMEL_FOLDER_TYPE_NORMAL)
473-+ fi->flags = (fi->flags & ~CAMEL_FOLDER_TYPE_MASK)
474-+ | camel_local_store_get_folder_type_by_full_name (CAMEL_LOCAL_STORE (store), fi->full_name);
475- }
476-
477- static CamelFolderInfo *
478-diff --git a/camel/providers/local/camel-spool-store.c b/camel/providers/local/camel-spool-store.c
479-index a83ce0b..b917f0d 100644
480---- a/camel/providers/local/camel-spool-store.c
481-+++ b/camel/providers/local/camel-spool-store.c
482-@@ -275,7 +275,7 @@ spool_fill_fi (CamelStore *store,
483-
484- fi->unread = -1;
485- fi->total = -1;
486-- folder = camel_object_bag_get(store->folders, fi->full_name);
487-+ folder = camel_object_bag_peek (store->folders, fi->full_name);
488- if (folder) {
489- if ((flags & CAMEL_STORE_FOLDER_INFO_FAST) == 0)
490- camel_folder_refresh_info(folder, NULL);
491-@@ -404,7 +404,7 @@ scan_dir (CamelStore *store,
492- gint isfolder = FALSE;
493-
494- /* first, see if we already have it open */
495-- folder = camel_object_bag_get(store->folders, fname);
496-+ folder = camel_object_bag_peek (store->folders, fname);
497- if (folder == NULL) {
498- fp = fopen(tmp, "r");
499- if (fp != NULL) {
500---
501-cgit v0.8.3.1
502
503=== removed file 'debian/patches/25_mute-debug-messages.patch'
504--- debian/patches/25_mute-debug-messages.patch 2010-08-31 09:26:04 +0000
505+++ debian/patches/25_mute-debug-messages.patch 1970-01-01 00:00:00 +0000
506@@ -1,64 +0,0 @@
507-diff --git a/libedataserver/e-categories.c b/libedataserver/e-categories.c
508-index c581efd..277ca50 100644
509---- a/libedataserver/e-categories.c
510-+++ b/libedataserver/e-categories.c
511-@@ -26,6 +26,8 @@
512-
513- #include "libedataserver-private.h"
514-
515-+#define d(x)
516-+
517- typedef struct {
518- gchar *display_name; /* localized category name */
519- gchar *clocale_name; /* only for default categories */
520-@@ -204,7 +206,7 @@ idle_saver_cb (gpointer user_data)
521-
522- filename = build_categories_filename ();
523-
524-- g_debug ("Saving categories to \"%s\"", filename);
525-+ d (g_debug ("Saving categories to \"%s\"", filename));
526-
527- /* Build the file contents. */
528- buffer = g_string_new ("<categories>\n");
529-@@ -348,7 +350,7 @@ load_categories (void)
530- if (!g_file_test (filename, G_FILE_TEST_EXISTS))
531- goto exit;
532-
533-- g_debug ("Loading categories from \"%s\"", filename);
534-+ d (g_debug ("Loading categories from \"%s\"", filename));
535-
536- if (!g_file_get_contents (filename, &contents, &length, &error)) {
537- g_warning ("Unable to load categories: %s", error->message);
538-@@ -404,7 +406,7 @@ migrate_old_categories (void)
539- if (string == NULL || *string == '\0')
540- goto exit;
541-
542-- g_debug ("Loading categories from GConf key \"%s\"", key);
543-+ d (g_debug ("Loading categories from GConf key \"%s\"", key));
544-
545- n_added = parse_categories (string, strlen (string));
546- if (n_added == 0)
547-@@ -489,20 +491,20 @@ initialize_categories (void)
548-
549- n_added = load_categories ();
550- if (n_added > 0) {
551-- g_debug ("Loaded %d categories", n_added);
552-+ d (g_debug ("Loaded %d categories", n_added));
553- save_is_pending = FALSE;
554- return;
555- }
556-
557- n_added = migrate_old_categories ();
558- if (n_added > 0) {
559-- g_debug ("Loaded %d categories", n_added);
560-+ d (g_debug ("Loaded %d categories", n_added));
561- save_categories ();
562- return;
563- }
564-
565- load_default_categories ();
566-- g_debug ("Loaded default categories");
567-+ d (g_debug ("Loaded default categories"));
568- save_categories ();
569- }
570-
571
572=== removed file 'debian/patches/80_git_show_recurrent_event.patch'
573--- debian/patches/80_git_show_recurrent_event.patch 2010-11-09 14:04:51 +0000
574+++ debian/patches/80_git_show_recurrent_event.patch 1970-01-01 00:00:00 +0000
575@@ -1,21 +0,0 @@
576-From f555497c88476812d610c1fbb08f68bf0c9bd5d5 Mon Sep 17 00:00:00 2001
577-From: Chenthill Palanisamy <pchenthill@novell.com>
578-Date: Fri, 22 Oct 2010 08:19:58 +0000
579-Subject: Bug 632771 - Recurring calendar events set to recur forever do not display past first week
580-
581----
582-diff --git a/calendar/libecal/e-cal-util.c b/calendar/libecal/e-cal-util.c
583-index 0e96504..6ba8f8b 100644
584---- a/calendar/libecal/e-cal-util.c
585-+++ b/calendar/libecal/e-cal-util.c
586-@@ -1273,7 +1273,7 @@ e_cal_util_get_component_occur_times (ECalComponent *comp,
587- rule_end = e_cal_recur_obtain_enddate (&ir, prop, utc_zone, TRUE);
588-
589- if (rule_end == -1) /* repeats forever */
590-- *end = -1;
591-+ *end = _TIME_MAX;
592- else if (rule_end > *end) /* new maximum */
593- *end = rule_end;
594- }
595---
596-cgit v0.8.3.1
597
598=== removed file 'debian/patches/90-building-on-natty.patch'
599--- debian/patches/90-building-on-natty.patch 2010-11-02 00:30:32 +0000
600+++ debian/patches/90-building-on-natty.patch 1970-01-01 00:00:00 +0000
601@@ -1,109 +0,0 @@
602-From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
603-Subject: Fix build failures on Ubuntu Natty Narwhal.
604-Last-Update: 2010-11-01
605-
606-Index: evolution-data-server-2.32.0/camel/providers/imapx/Makefile.am
607-===================================================================
608---- evolution-data-server-2.32.0.orig/camel/providers/imapx/Makefile.am 2010-09-13 08:16:52.000000000 -0400
609-+++ evolution-data-server-2.32.0/camel/providers/imapx/Makefile.am 2010-11-01 19:16:18.883464001 -0400
610-@@ -55,7 +55,8 @@
611- test_imapx_SOURCES = test-imapx.c
612- test_imapx_LDADD = \
613- $(top_builddir)/camel/libcamel-1.2.la \
614-- $(top_builddir)/camel/libcamel-provider-1.2.la
615-+ $(top_builddir)/camel/libcamel-provider-1.2.la \
616-+ $(E_OTHER_LIBS)
617-
618- BUILT_SOURCES = camel-imapx-tokenise.h
619- CLEANFILES = $(BUILT_SOURCES)
620-Index: evolution-data-server-2.32.0/configure.ac
621-===================================================================
622---- evolution-data-server-2.32.0.orig/configure.ac 2010-09-27 06:25:46.000000000 -0400
623-+++ evolution-data-server-2.32.0/configure.ac 2010-11-01 19:16:18.883464001 -0400
624-@@ -1186,6 +1186,15 @@
625- ])
626-
627- dnl ******************************
628-+dnl extra flags (gcc-4.5)
629-+dnl ******************************
630-+E_OTHER_DEPS="gobject-2.0 gio-2.0"
631-+
632-+EVO_SET_COMPILE_FLAGS(E_OTHER, $E_OTHER_DEPS)
633-+AC_SUBST(E_OTHER_CFLAGS)
634-+AC_SUBST(E_OTHER_LIBS)
635-+
636-+dnl ******************************
637- dnl libedataserver flags
638- dnl ******************************
639- E_DATA_SERVER_DEPS="gio-2.0 libxml-2.0 libsoup-2.4 gconf-2.0 $mozilla_nspr"
640-Index: evolution-data-server-2.32.0/Makefile.in
641-===================================================================
642---- evolution-data-server-2.32.0.orig/Makefile.in 2010-09-27 07:22:09.000000000 -0400
643-+++ evolution-data-server-2.32.0/Makefile.in 2010-11-01 19:16:18.883464001 -0400
644-@@ -199,6 +199,8 @@
645- E_DATA_SERVER_LIBS = @E_DATA_SERVER_LIBS@
646- E_DATA_SERVER_UI_CFLAGS = @E_DATA_SERVER_UI_CFLAGS@
647- E_DATA_SERVER_UI_LIBS = @E_DATA_SERVER_UI_LIBS@
648-+E_OTHER_CFLAGS = @E_OTHER_CFLAGS@
649-+E_OTHER_LIBS = @E_OTHER_LIBS@
650- FGREP = @FGREP@
651- GCONFTOOL = @GCONFTOOL@
652- GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
653-Index: evolution-data-server-2.32.0/addressbook/libedata-book/Makefile.am
654-===================================================================
655---- evolution-data-server-2.32.0.orig/addressbook/libedata-book/Makefile.am 2010-09-13 08:16:52.000000000 -0400
656-+++ evolution-data-server-2.32.0/addressbook/libedata-book/Makefile.am 2010-11-01 19:16:18.883464001 -0400
657-@@ -83,7 +83,8 @@
658- e_addressbook_factory_LDADD = \
659- libedata-book-1.2.la \
660- $(top_builddir)/libedataserver/libedataserver-1.2.la \
661-- $(top_builddir)/libebackend/libebackend-1.2.la
662-+ $(top_builddir)/libebackend/libebackend-1.2.la \
663-+ $(E_OTHER_LIBS)
664-
665- %-$(API_VERSION).pc: %.pc
666- cp $< $@
667-Index: evolution-data-server-2.32.0/calendar/libedata-cal/Makefile.am
668-===================================================================
669---- evolution-data-server-2.32.0.orig/calendar/libedata-cal/Makefile.am 2010-09-13 08:16:52.000000000 -0400
670-+++ evolution-data-server-2.32.0/calendar/libedata-cal/Makefile.am 2010-11-01 19:16:18.883464001 -0400
671-@@ -112,6 +112,7 @@
672-
673- e_calendar_factory_LDADD = \
674- $(top_builddir)/calendar/libegdbus/libegdbus-cal.la \
675-+ $(top_builddir)/calendar/libecal/libecal-1.2.la \
676- libedata-cal-1.2.la \
677- $(top_builddir)/libedataserver/libedataserver-1.2.la \
678- $(top_builddir)/libebackend/libebackend-1.2.la
679-@@ -130,7 +131,8 @@
680- libedata-cal-1.2.la \
681- $(top_builddir)/calendar/libecal/libecal-1.2.la \
682- $(top_builddir)/libedataserver/libedataserver-1.2.la \
683-- $(E_DATA_SERVER_LIBS)
684-+ $(E_DATA_SERVER_LIBS) \
685-+ $(EVOLUTION_CALENDAR_LIBS)
686-
687- test_intervaltree_SOURCES = test-intervaltree.c e-cal-backend-intervaltree.c
688-
689-Index: evolution-data-server-2.32.0/libedataserverui/Makefile.am
690-===================================================================
691---- evolution-data-server-2.32.0.orig/libedataserverui/Makefile.am 2010-09-13 08:16:52.000000000 -0400
692-+++ evolution-data-server-2.32.0/libedataserverui/Makefile.am 2010-11-01 19:17:56.423464019 -0400
693-@@ -122,11 +122,15 @@
694-
695- test_contact_store_CPPFLAGS = $(TEST_EDATASERVERUI_CPPFLAGS)
696- test_contact_store_SOURCES = test-contact-store.c
697--test_contact_store_LDADD = $(TEST_EDATASERVERUI_LDFLAGS)
698-+test_contact_store_LDADD = \
699-+ $(TEST_EDATASERVERUI_LDFLAGS) \
700-+ $(top_builddir)/addressbook/libebook/libebook-1.2.la
701-
702- test_name_selector_CPPFLAGS = $(TEST_EDATASERVERUI_CPPFLAGS)
703- test_name_selector_SOURCES = test-name-selector.c
704--test_name_selector_LDADD = $(TEST_EDATASERVERUI_LDFLAGS)
705-+test_name_selector_LDADD = \
706-+ $(TEST_EDATASERVERUI_LDFLAGS) \
707-+ $(top_builddir)/camel/libcamel-1.2.la
708-
709- %-$(LIBEDATASERVERUI_API_VERSION).pc: %.pc
710- cp $< $@
711
712=== modified file 'debian/patches/series'
713--- debian/patches/series 2010-11-23 18:19:44 +0000
714+++ debian/patches/series 2010-11-25 16:59:29 +0000
715@@ -1,5 +1,3 @@
716-25_mute-debug-messages.patch
717-80_git_show_recurrent_event.patch
718-90-building-on-natty.patch
719-107-git-consider-local-inbox-as-inbox.patch
720+01_various_linking_issues.patch
721+02_fix_sources_migration.patch
722 108-git-build-against-gtk-2.91.patch

Subscribers

People subscribed via source and target branches

to all changes: