summaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-08-03 17:35:46 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2013-08-14 13:34:28 +0200
commitc52054f3383120438cb52252f8c1622e73946349 (patch)
tree559e6c111236b66d3ef6ddfdeac2f93a035c8b80 /meta-gnome
parent84e8fee8b8631138ef52ef3dcf0ab7c8ce2925d0 (diff)
downloadmeta-openembedded-c52054f3383120438cb52252f8c1622e73946349.tar.gz
evolution-data-server: upgrade to 3.2.3
* I've only build tested this, because it was broken for long time and bothering me in world builds (and test-dependencies builds), but I'm not using any eds dependant app, so I cannot test it properly in runtime * I've dropped some patches with unclear purpose * enabled nss/nspr as they are now available in oe-core and simplifies the build (needs patch to fix build when nss is disabled) * it was broken for more then 4 months since glib upgrade to 2.36.* and nobody complained, I'm tempted to just remove it next time (together with cheese, dates, contacts, tasks) * too late I've found this commit https://lists.yoctoproject.org/pipermail/poky/2010-November/000526.html which does some similar things but only for 2.32.1 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-gnome/eds/evolution-data-server/0001-contact-Replace-the-Novell-sample-contact-with-somet.patch (renamed from meta-gnome/recipes-gnome/eds/evolution-data-server/oh-contact.patch)46
-rw-r--r--meta-gnome/recipes-gnome/eds/evolution-data-server/0002-Fix-for-automake-1.12.x.patch32
-rw-r--r--meta-gnome/recipes-gnome/eds/evolution-data-server/0003-Disable-Werror-for-automake.patch (renamed from meta-gnome/recipes-gnome/eds/evolution-data-server/avoid_automake_errors.patch)32
-rw-r--r--meta-gnome/recipes-gnome/eds/evolution-data-server/0004-configure-Fix-libical-pkg-config-trying-to-use-host-.patch39
-rw-r--r--meta-gnome/recipes-gnome/eds/evolution-data-server/0005-soup-adapt-to-new-libxml2-API-from-2.9.0.patch (renamed from meta-gnome/recipes-gnome/eds/evolution-data-server/0001-soup-adapt-to-new-libxml2-API-from-2.9.0.patch)41
-rw-r--r--meta-gnome/recipes-gnome/eds/evolution-data-server/depbuildfix.patch78
-rw-r--r--meta-gnome/recipes-gnome/eds/evolution-data-server/fix_for_automake-1.12.x.patch28
-rw-r--r--meta-gnome/recipes-gnome/eds/evolution-data-server/new-contact-fix.patch23
-rw-r--r--meta-gnome/recipes-gnome/eds/evolution-data-server/nossl.patch70
-rw-r--r--meta-gnome/recipes-gnome/eds/evolution-data-server/old-gdk-api.patch19
-rw-r--r--meta-gnome/recipes-gnome/eds/evolution-data-server/optional_imapx_provider.patch64
-rw-r--r--meta-gnome/recipes-gnome/eds/evolution-data-server_git.bb49
12 files changed, 157 insertions, 364 deletions
diff --git a/meta-gnome/recipes-gnome/eds/evolution-data-server/oh-contact.patch b/meta-gnome/recipes-gnome/eds/evolution-data-server/0001-contact-Replace-the-Novell-sample-contact-with-somet.patch
index b746044ff..b77e7b9bd 100644
--- a/meta-gnome/recipes-gnome/eds/evolution-data-server/oh-contact.patch
+++ b/meta-gnome/recipes-gnome/eds/evolution-data-server/0001-contact-Replace-the-Novell-sample-contact-with-somet.patch
@@ -1,11 +1,32 @@
1Replace the Novell sample contact with something more appropriate 1From 4df8bd8ae4258289663b27af1207027c7ee06340 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sun, 4 Aug 2013 09:13:25 +0200
4Subject: [PATCH 1/5] contact: Replace the Novell sample contact with something
5 more appropriate
2 6
3Upstream-Status: Inappropriate [configuration] 7Upstream-Status: Inappropriate [configuration]
8Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
9---
10 addressbook/backends/file/Makefile.am | 1 +
11 addressbook/libedata-book/ximian-vcard.h | 179 ++++++++++++++++++-------------
12 2 files changed, 103 insertions(+), 77 deletions(-)
4 13
5Index: addressbook/libedata-book/ximian-vcard.h 14diff --git a/addressbook/backends/file/Makefile.am b/addressbook/backends/file/Makefile.am
6=================================================================== 15index 08cf58f..17e7149 100644
7--- addressbook/libedata-book/ximian-vcard.h.orig 2011-12-19 13:58:29.058859231 +0000 16--- a/addressbook/backends/file/Makefile.am
8+++ addressbook/libedata-book/ximian-vcard.h 2011-12-19 14:41:48.678918549 +0000 17+++ b/addressbook/backends/file/Makefile.am
18@@ -2,6 +2,7 @@ ebook_backend_LTLIBRARIES = libebookbackendfile.la
19
20 libebookbackendfile_la_CPPFLAGS = \
21 $(AM_CPPFLAGS) \
22+ -DCREATE_DEFAULT_VCARD \
23 -DG_LOG_DOMAIN=\"libebookbackend\" \
24 -I$(top_srcdir) \
25 -I$(top_builddir) \
26diff --git a/addressbook/libedata-book/ximian-vcard.h b/addressbook/libedata-book/ximian-vcard.h
27index 782d37b..5b0b250 100644
28--- a/addressbook/libedata-book/ximian-vcard.h
29+++ b/addressbook/libedata-book/ximian-vcard.h
9@@ -1,80 +1,105 @@ 30@@ -1,80 +1,105 @@
10 #define XIMIAN_VCARD \ 31 #define XIMIAN_VCARD \
11 "BEGIN:VCARD\n" \ 32 "BEGIN:VCARD\n" \
@@ -189,15 +210,6 @@ Index: addressbook/libedata-book/ximian-vcard.h
189+" cgM7OzmqAwLdaARzP6QCobajrA5gza+5LALfefuJ+BsKgt7d3xtjP6urqxP2u1OF3XnFiETIkRI\n" \ 210+" cgM7OzmqAwLdaARzP6QCobajrA5gza+5LALfefuJ+BsKgt7d3xtjP6urqxP2u1OF3XnFiETIkRI\n" \
190+" gQIUKE+H+C/wMGX8Ias1s6CQAAAABJRU5ErkJggg==\n" \ 211+" gQIUKE+H+C/wMGX8Ias1s6CQAAAABJRU5ErkJggg==\n" \
191 "END:VCARD" 212 "END:VCARD"
192Index: addressbook/backends/file/Makefile.am 213--
193=================================================================== 2141.8.3.2
194--- addressbook/backends/file/Makefile.am.orig 2011-12-19 13:58:28.954859229 +0000 215
195+++ addressbook/backends/file/Makefile.am 2011-12-19 13:58:31.442859286 +0000
196@@ -2,6 +2,7 @@
197
198 libebookbackendfile_la_CPPFLAGS = \
199 $(AM_CPPFLAGS) \
200+ -DCREATE_DEFAULT_VCARD \
201 -DG_LOG_DOMAIN=\"libebookbackend\" \
202 -I$(top_srcdir) \
203 -I$(top_builddir) \
diff --git a/meta-gnome/recipes-gnome/eds/evolution-data-server/0002-Fix-for-automake-1.12.x.patch b/meta-gnome/recipes-gnome/eds/evolution-data-server/0002-Fix-for-automake-1.12.x.patch
new file mode 100644
index 000000000..5f222aeaa
--- /dev/null
+++ b/meta-gnome/recipes-gnome/eds/evolution-data-server/0002-Fix-for-automake-1.12.x.patch
@@ -0,0 +1,32 @@
1From f46423c9e4b8b19eda27b307456a717de79b75f3 Mon Sep 17 00:00:00 2001
2From: Nitin A Kamble <nitin.a.kamble@intel.com>
3Date: Sun, 4 Aug 2013 09:15:43 +0200
4Subject: [PATCH 2/5] Fix for automake-1.12.x
5
6Fixed these kinds if warning-errors
7
8warning: 'libebookbackendfile.la': linking libtool libraries using a non-POSIX archiver requires 'AM_PROG_AR' in 'configure.ac'
9
10Upstream-Status: Pending
11
12Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
13Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14---
15 configure.ac | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/configure.ac b/configure.ac
19index 9bd97db..49d7506 100644
20--- a/configure.ac
21+++ b/configure.ac
22@@ -31,6 +31,7 @@ AC_LANG(C)
23
24 dnl Automake 1.11 - Silent Build Rules
25 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
26+m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) # required by automake 1.12
27
28 dnl Required Package Versions
29 m4_define([glib_minimum_version], [2.28])
30--
311.8.3.2
32
diff --git a/meta-gnome/recipes-gnome/eds/evolution-data-server/avoid_automake_errors.patch b/meta-gnome/recipes-gnome/eds/evolution-data-server/0003-Disable-Werror-for-automake.patch
index ebf00c394..a182d4d5e 100644
--- a/meta-gnome/recipes-gnome/eds/evolution-data-server/avoid_automake_errors.patch
+++ b/meta-gnome/recipes-gnome/eds/evolution-data-server/0003-Disable-Werror-for-automake.patch
@@ -1,4 +1,7 @@
1Upstream-Status: Inappropriate [embedded specific] 1From 37b227cff78fd4c652651662dafd71537280824e Mon Sep 17 00:00:00 2001
2From: Nitin A Kamble <nitin.a.kamble@intel.com>
3Date: Sun, 4 Aug 2013 09:16:59 +0200
4Subject: [PATCH 3/5] Disable Werror for automake
2 5
3Avoid these warning-errors 6Avoid these warning-errors
4 7
@@ -65,19 +68,30 @@ servers/groupwise/Makefile.am:85: warning: '%'-style pattern rules are a GNU mak
65servers/groupwise/Makefile.am:91: warning: pkgconfig_DATA:-$(API_VERSION: non-POSIX variable name 68servers/groupwise/Makefile.am:91: warning: pkgconfig_DATA:-$(API_VERSION: non-POSIX variable name
66autoreconf: automake failed with exit status: 1 69autoreconf: automake failed with exit status: 1
67 70
71Upstream-Status: Inappropriate [embedded specific]
72
68Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> 73Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
692012/07/09 74Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
70 75
71Index: git/configure.ac 76Conflicts:
72=================================================================== 77 configure.ac
73--- git.orig/configure.ac 78---
74+++ git/configure.ac 79 configure.ac | 2 +-
80 1 file changed, 1 insertion(+), 1 deletion(-)
81
82diff --git a/configure.ac b/configure.ac
83index 49d7506..1c802ff 100644
84--- a/configure.ac
85+++ b/configure.ac
75@@ -21,7 +21,7 @@ m4_define([api_version], [1.2]) 86@@ -21,7 +21,7 @@ m4_define([api_version], [1.2])
76 dnl Autoconf / Automake Initialization 87 dnl Autoconf / Automake Initialization
77 AC_PREREQ(2.58) 88 AC_PREREQ(2.62)
78 AC_INIT([evolution-data-server],[eds_version],[http://bugzilla.gnome.org/enter_bug.cgi?product=Evolution-Data-Server]) 89 AC_INIT([evolution-data-server],[eds_version],[http://bugzilla.gnome.org/enter_bug.cgi?product=Evolution-Data-Server])
79-AM_INIT_AUTOMAKE([gnu 1.9 tar-ustar -Wall -Werror foreign]) 90-AM_INIT_AUTOMAKE([gnu 1.10 tar-ustar dist-xz no-dist-gzip -Wall -Wno-portability -Werror foreign])
80+AM_INIT_AUTOMAKE([gnu 1.9 tar-ustar -Wall foreign]) 91+AM_INIT_AUTOMAKE([gnu 1.10 tar-ustar dist-xz no-dist-gzip -Wall -Wno-portability foreign])
81 AC_CONFIG_MACRO_DIR([m4]) 92 AC_CONFIG_MACRO_DIR([m4])
82 AC_CONFIG_SRCDIR(README) 93 AC_CONFIG_SRCDIR(README)
83 AC_CONFIG_HEADERS(config.h) 94 AC_CONFIG_HEADERS(config.h)
95--
961.8.3.2
97
diff --git a/meta-gnome/recipes-gnome/eds/evolution-data-server/0004-configure-Fix-libical-pkg-config-trying-to-use-host-.patch b/meta-gnome/recipes-gnome/eds/evolution-data-server/0004-configure-Fix-libical-pkg-config-trying-to-use-host-.patch
new file mode 100644
index 000000000..138334798
--- /dev/null
+++ b/meta-gnome/recipes-gnome/eds/evolution-data-server/0004-configure-Fix-libical-pkg-config-trying-to-use-host-.patch
@@ -0,0 +1,39 @@
1From 2c73b588b9018cb59c666eae3a15fa1af42c56be Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sun, 4 Aug 2013 10:57:08 +0200
4Subject: [PATCH 4/5] configure: Fix libical pkg-config trying to use host
5 paths
6
7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
8---
9 calendar/libecal/libecal.pc.in | 2 +-
10 configure.ac | 3 ++-
11 2 files changed, 3 insertions(+), 2 deletions(-)
12
13diff --git a/calendar/libecal/libecal.pc.in b/calendar/libecal/libecal.pc.in
14index fc6b359..d3435bb 100644
15--- a/calendar/libecal/libecal.pc.in
16+++ b/calendar/libecal/libecal.pc.in
17@@ -12,4 +12,4 @@ Description: Client library for evolution calendars
18 Version: @VERSION@
19 Requires: libical >= @LIBICAL_REQUIRED@ libedataserver-1.2 gio-2.0
20 Libs: -L${libdir} -lecal-1.2
21-Cflags: -I${privincludedir} @LIBICAL_EXTRA_CFLAGS@
22+Cflags: -I${privincludedir}
23diff --git a/configure.ac b/configure.ac
24index 1c802ff..f1d4ce8 100644
25--- a/configure.ac
26+++ b/configure.ac
27@@ -1351,7 +1351,8 @@ dnl to differentiate between <libical/ical.h> and <ical.h>
28 dnl We have fixed all our instances to use <libical/ical.h>. Until the .pc from
29 dnl libical is fixed, we have to work-around the buggy CFlags.
30 dnl *****
31- LIBICAL_EXTRA_CFLAGS=" -I`$PKG_CONFIG --variable=includedir libical` "
32+ m4_pattern_allow([^PKG_CONFIG_SYSROOT_DIR$])
33+ LIBICAL_EXTRA_CFLAGS=" -I$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=includedir libical` "
34 LIBICAL_EXTRA_LIBS=""
35 AC_SUBST(LIBICAL_EXTRA_CFLAGS)
36 AC_SUBST(LIBICAL_EXTRA_LIBS)
37--
381.8.3.2
39
diff --git a/meta-gnome/recipes-gnome/eds/evolution-data-server/0001-soup-adapt-to-new-libxml2-API-from-2.9.0.patch b/meta-gnome/recipes-gnome/eds/evolution-data-server/0005-soup-adapt-to-new-libxml2-API-from-2.9.0.patch
index 79058019b..addf2ee8d 100644
--- a/meta-gnome/recipes-gnome/eds/evolution-data-server/0001-soup-adapt-to-new-libxml2-API-from-2.9.0.patch
+++ b/meta-gnome/recipes-gnome/eds/evolution-data-server/0005-soup-adapt-to-new-libxml2-API-from-2.9.0.patch
@@ -1,7 +1,7 @@
1From 5083b22669f0d2102b72956a2b8afd9432303ce5 Mon Sep 17 00:00:00 2001 1From ac95e89749a01618f98b554a98e78d7c988bfc10 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Tue, 27 Nov 2012 08:46:51 +0100 3Date: Tue, 27 Nov 2012 08:46:51 +0100
4Subject: [PATCH] soup: adapt to new libxml2 API from 2.9.0 4Subject: [PATCH 5/5] soup: adapt to new libxml2 API from 2.9.0
5 5
6* for more info see 6* for more info see
7 https://mail.gnome.org/archives/xml/2012-August/msg00005.html 7 https://mail.gnome.org/archives/xml/2012-August/msg00005.html
@@ -9,14 +9,13 @@ Subject: [PATCH] soup: adapt to new libxml2 API from 2.9.0
9Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 9Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
10--- 10---
11 calendar/backends/caldav/e-cal-backend-caldav.c | 21 +++++++++++++++++++++ 11 calendar/backends/caldav/e-cal-backend-caldav.c | 21 +++++++++++++++++++++
12 servers/google/libgdata/gdata-entry.c | 8 ++++++++ 12 1 file changed, 21 insertions(+)
13 2 files changed, 29 insertions(+)
14 13
15diff --git a/calendar/backends/caldav/e-cal-backend-caldav.c b/calendar/backends/caldav/e-cal-backend-caldav.c 14diff --git a/calendar/backends/caldav/e-cal-backend-caldav.c b/calendar/backends/caldav/e-cal-backend-caldav.c
16index 5e7ecc4..b7f4afb 100644 15index 12f8f22..5555a3e 100644
17--- a/calendar/backends/caldav/e-cal-backend-caldav.c 16--- a/calendar/backends/caldav/e-cal-backend-caldav.c
18+++ b/calendar/backends/caldav/e-cal-backend-caldav.c 17+++ b/calendar/backends/caldav/e-cal-backend-caldav.c
19@@ -1038,8 +1038,13 @@ check_calendar_changed_on_server (ECalBackendCalDAV *cbdav) 18@@ -1172,8 +1172,13 @@ check_calendar_changed_on_server (ECalBackendCalDAV *cbdav)
20 soup_message_set_request (message, 19 soup_message_set_request (message,
21 "application/xml", 20 "application/xml",
22 SOUP_MEMORY_COPY, 21 SOUP_MEMORY_COPY,
@@ -30,7 +29,7 @@ index 5e7ecc4..b7f4afb 100644
30 29
31 /* Send the request now */ 30 /* Send the request now */
32 send_and_handle_redirection (priv->session, message, NULL); 31 send_and_handle_redirection (priv->session, message, NULL);
33@@ -1180,8 +1185,13 @@ caldav_server_list_objects (ECalBackendCalDAV *cbdav, CalDAVObject **objs, gint 32@@ -1321,8 +1326,13 @@ caldav_server_list_objects (ECalBackendCalDAV *cbdav,
34 soup_message_set_request (message, 33 soup_message_set_request (message,
35 "application/xml", 34 "application/xml",
36 SOUP_MEMORY_COPY, 35 SOUP_MEMORY_COPY,
@@ -44,7 +43,7 @@ index 5e7ecc4..b7f4afb 100644
44 43
45 /* Send the request now */ 44 /* Send the request now */
46 send_and_handle_redirection (priv->session, message, NULL); 45 send_and_handle_redirection (priv->session, message, NULL);
47@@ -1502,8 +1512,14 @@ caldav_receive_schedule_outbox_url (ECalBackendCalDAV *cbdav) 46@@ -1715,8 +1725,14 @@ caldav_receive_schedule_outbox_url (ECalBackendCalDAV *cbdav)
48 soup_message_set_request (message, 47 soup_message_set_request (message,
49 "application/xml", 48 "application/xml",
50 SOUP_MEMORY_COPY, 49 SOUP_MEMORY_COPY,
@@ -59,7 +58,7 @@ index 5e7ecc4..b7f4afb 100644
59 58
60 /* Send the request now */ 59 /* Send the request now */
61 send_and_handle_redirection (priv->session, message, NULL); 60 send_and_handle_redirection (priv->session, message, NULL);
62@@ -1552,8 +1568,13 @@ caldav_receive_schedule_outbox_url (ECalBackendCalDAV *cbdav) 61@@ -1765,8 +1781,13 @@ caldav_receive_schedule_outbox_url (ECalBackendCalDAV *cbdav)
63 soup_message_set_request (message, 62 soup_message_set_request (message,
64 "application/xml", 63 "application/xml",
65 SOUP_MEMORY_COPY, 64 SOUP_MEMORY_COPY,
@@ -73,28 +72,6 @@ index 5e7ecc4..b7f4afb 100644
73 72
74 /* Send the request now */ 73 /* Send the request now */
75 send_and_handle_redirection (priv->session, message, NULL); 74 send_and_handle_redirection (priv->session, message, NULL);
76diff --git a/servers/google/libgdata/gdata-entry.c b/servers/google/libgdata/gdata-entry.c
77index ab69eb0..3f05b17 100644
78--- a/servers/google/libgdata/gdata-entry.c
79+++ b/servers/google/libgdata/gdata-entry.c
80@@ -877,9 +877,17 @@ gdata_entry_new_from_xmlptr (xmlDocPtr doc, xmlNodePtr cur)
81 xmlOutputBufferFlush (buf);
82
83 if (buf->conv == NULL)
84+#ifdef LIBXML2_NEW_BUFFER
85+ xmlString = g_strdup ((gchar *) xmlOutputBufferGetContent(buf));
86+#else
87 xmlString = g_strdup ((gchar *)buf->buffer->content);
88+#endif
89 else
90+#ifdef LIBXML2_NEW_BUFFER
91+ xmlString = g_strdup ((gchar *) xmlBufContent(buf));
92+#else
93 xmlString = g_strdup ((gchar *)buf->conv->content);
94+#endif
95 xmlOutputBufferClose (buf);
96 }
97
98-- 75--
991.8.0 761.8.3.2
100 77
diff --git a/meta-gnome/recipes-gnome/eds/evolution-data-server/depbuildfix.patch b/meta-gnome/recipes-gnome/eds/evolution-data-server/depbuildfix.patch
deleted file mode 100644
index 0785a9387..000000000
--- a/meta-gnome/recipes-gnome/eds/evolution-data-server/depbuildfix.patch
+++ /dev/null
@@ -1,78 +0,0 @@
1G_CONST_RETURN is deprecated in glib 2.30 so remove to to avoid
2build failures. Also resolve other deprecation issues.
3
4RP 2011/10/12
5
6Upstream-Status: Pending
7
8Index: git/libedataserver/e-data-server-util.c
9===================================================================
10--- git.orig/libedataserver/e-data-server-util.c 2011-10-12 01:42:40.622045788 +0100
11+++ git/libedataserver/e-data-server-util.c 2011-10-12 01:48:16.732045664 +0100
12@@ -165,7 +165,8 @@
13 static gunichar
14 stripped_char (gunichar ch)
15 {
16- gunichar *decomp, retval;
17+ gunichar decomp[4];
18+ gunichar retval;
19 GUnicodeType utype;
20 gsize dlen;
21
22@@ -175,7 +176,7 @@
23 case G_UNICODE_CONTROL:
24 case G_UNICODE_FORMAT:
25 case G_UNICODE_UNASSIGNED:
26- case G_UNICODE_COMBINING_MARK:
27+ case G_UNICODE_SPACING_MARK:
28 /* Ignore those */
29 return 0;
30 break;
31@@ -183,7 +184,7 @@
32 /* Convert to lowercase, fall through */
33 ch = g_unichar_tolower (ch);
34 case G_UNICODE_LOWERCASE_LETTER:
35- if ((decomp = g_unicode_canonical_decomposition (ch, &dlen))) {
36+ if ((dlen = g_unichar_fully_decompose (ch, FALSE, decomp, 4))) {
37 retval = decomp[0];
38 g_free (decomp);
39 return retval;
40Index: git/addressbook/libedata-book/e-data-book-factory.c
41===================================================================
42--- git.orig/addressbook/libedata-book/e-data-book-factory.c 2011-10-12 01:52:25.692045500 +0100
43+++ git/addressbook/libedata-book/e-data-book-factory.c 2011-10-12 01:53:31.862045707 +0100
44@@ -238,7 +238,7 @@
45 return g_strdup_printf (
46 "/org/gnome/evolution/dataserver/addressbook/%d/%u",
47 getpid (),
48- g_atomic_int_exchange_and_add (&counter, 1));
49+ g_atomic_int_add (&counter, 1));
50 }
51
52 static void
53Index: git/addressbook/libedata-book/e-data-book.c
54===================================================================
55--- git.orig/addressbook/libedata-book/e-data-book.c 2011-10-12 01:54:40.752045465 +0100
56+++ git/addressbook/libedata-book/e-data-book.c 2011-10-12 01:55:16.012045897 +0100
57@@ -553,7 +553,7 @@
58
59 return g_strdup_printf ("/org/gnome/evolution/dataserver/addressbook/BookView/%d/%d",
60 getpid (),
61- g_atomic_int_exchange_and_add ((int*)&counter, 1));
62+ g_atomic_int_add ((int*)&counter, 1));
63 }
64
65 static void
66Index: git/calendar/libedata-cal/e-data-cal-factory.c
67===================================================================
68--- git.orig/calendar/libedata-cal/e-data-cal-factory.c 2011-10-12 01:57:56.612045081 +0100
69+++ git/calendar/libedata-cal/e-data-cal-factory.c 2011-10-12 01:57:58.832045211 +0100
70@@ -227,7 +227,7 @@
71 return g_strdup_printf (
72 "/org/gnome/evolution/dataserver/calendar/%d/%u",
73 getpid (),
74- g_atomic_int_exchange_and_add (&counter, 1));
75+ g_atomic_int_add (&counter, 1));
76 }
77
78 static void
diff --git a/meta-gnome/recipes-gnome/eds/evolution-data-server/fix_for_automake-1.12.x.patch b/meta-gnome/recipes-gnome/eds/evolution-data-server/fix_for_automake-1.12.x.patch
deleted file mode 100644
index ac77a6d5a..000000000
--- a/meta-gnome/recipes-gnome/eds/evolution-data-server/fix_for_automake-1.12.x.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1Upstream-Status: Pending
2
3Fixed these kinds if warning-errors
4
5warning: 'libebookbackendfile.la': linking libtool libraries using a non-POSIX archiver requires 'AM_PROG_AR' in 'configure.ac'
6Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
72012/07/09
8
9Index: git/configure.ac
10===================================================================
11--- git.orig/configure.ac
12+++ git/configure.ac
13@@ -17,6 +17,7 @@ dnl This number is meaningless, but we'r
14 dnl library names for backward compatibility.
15 m4_define([api_version], [1.2])
16
17+
18 dnl Autoconf / Automake Initialization
19 AC_PREREQ(2.58)
20 AC_INIT([evolution-data-server],[eds_version],[http://bugzilla.gnome.org/enter_bug.cgi?product=Evolution-Data-Server])
21@@ -30,6 +31,7 @@ AC_LANG(C)
22
23 dnl Automake 1.11 - Silent Build Rules
24 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
25+m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) # required by automake 1.12
26
27 dnl Required Package Versions
28 m4_define([glib_minimum_version], [2.16.1])
diff --git a/meta-gnome/recipes-gnome/eds/evolution-data-server/new-contact-fix.patch b/meta-gnome/recipes-gnome/eds/evolution-data-server/new-contact-fix.patch
deleted file mode 100644
index 22c293dda..000000000
--- a/meta-gnome/recipes-gnome/eds/evolution-data-server/new-contact-fix.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1When contacts called for the 1st time, adding new contact always failed but
2worked after restart. The reason is e-addressbook-factory used to handle
3addressbook leads a segmentation fault. Root cause is that factory would create
4the data base if not exist, but use it without proper initialization.
5
6This patch fix it.
7
8Upstream-Status: Submitted
9
10Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
11Index: git/addressbook/backends/file/e-book-backend-file.c
12===================================================================
13--- git.orig/addressbook/backends/file/e-book-backend-file.c 2010-10-20 16:14:31.000000000 +0800
14+++ git/addressbook/backends/file/e-book-backend-file.c 2010-10-22 14:11:47.000000000 +0800
15@@ -1217,6 +1217,8 @@
16 EContact *contact = NULL;
17 EBookBackendSyncStatus status;
18
19+ /* Initialize file_db, or else following do_create cause seg fault */
20+ bf->priv->file_db = db;
21 status = do_create (bf, XIMIAN_VCARD, &contact);
22 if (status != GNOME_Evolution_Addressbook_Success)
23 g_warning ("Cannot create default contact: %d", status);
diff --git a/meta-gnome/recipes-gnome/eds/evolution-data-server/nossl.patch b/meta-gnome/recipes-gnome/eds/evolution-data-server/nossl.patch
deleted file mode 100644
index 67b6d071e..000000000
--- a/meta-gnome/recipes-gnome/eds/evolution-data-server/nossl.patch
+++ /dev/null
@@ -1,70 +0,0 @@
1Upstream-Status: Inappropriate [disable feature]
2
3Index: git/camel/Makefile.am
4===================================================================
5--- git.orig/camel/Makefile.am 2010-02-05 15:25:09.000000000 +0000
6+++ git/camel/Makefile.am 2010-02-05 15:25:20.000000000 +0000
7@@ -80,7 +80,6 @@
8 camel-store-summary.c \
9 camel-store.c \
10 camel-tcp-stream-raw.c \
11- camel-tcp-stream-ssl.c \
12 camel-tcp-stream.c \
13 camel-transport.c \
14 camel-uid-cache.c \
15@@ -133,7 +132,6 @@
16 camel-store-summary.h \
17 camel-store.h \
18 camel-tcp-stream-raw.h \
19- camel-tcp-stream-ssl.h \
20 camel-tcp-stream.h \
21 camel-transport.h \
22 camel-uid-cache.h \
23Index: git/camel/camel.h
24===================================================================
25--- git.orig/camel/camel.h 2010-02-05 15:26:30.000000000 +0000
26+++ git/camel/camel.h 2010-02-05 15:26:52.000000000 +0000
27@@ -122,7 +122,6 @@
28 #include <camel/camel-string-utils.h>
29 #include <camel/camel-tcp-stream.h>
30 #include <camel/camel-tcp-stream-raw.h>
31-#include <camel/camel-tcp-stream-ssl.h>
32 #include <camel/camel-text-index.h>
33 #include <camel/camel-transport.h>
34 #include <camel/camel-trie.h>
35Index: git/camel/providers/imap/camel-imap-store.c
36===================================================================
37--- git.orig/camel/providers/imap/camel-imap-store.c 2010-02-05 15:28:19.000000000 +0000
38+++ git/camel/providers/imap/camel-imap-store.c 2010-02-05 15:28:38.000000000 +0000
39@@ -51,7 +51,6 @@
40 #include "camel/camel-stream.h"
41 #include "camel/camel-string-utils.h"
42 #include "camel/camel-tcp-stream-raw.h"
43-#include "camel/camel-tcp-stream-ssl.h"
44 #include "camel/camel-url.h"
45 #include "camel/camel-utf8.h"
46
47Index: git/configure.ac
48===================================================================
49--- git.orig/configure.ac 2010-02-05 15:31:59.000000000 +0000
50+++ git/configure.ac 2010-02-05 15:33:00.000000000 +0000
51@@ -1272,7 +1272,8 @@
52 dnl We have fixed all our instances to use <libical/ical.h>. Until the .pc from
53 dnl libical is fixed, we have to work-around the buggy CFlags.
54 dnl *****
55- LIBICAL_EXTRA_CFLAGS=" -I`$PKG_CONFIG --variable=includedir libical` "
56+ m4_pattern_allow([^PKG_CONFIG_SYSROOT_DIR$])
57+ LIBICAL_EXTRA_CFLAGS=" -I$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=includedir libical` "
58 LIBICAL_EXTRA_LIBS=""
59 AC_SUBST(LIBICAL_EXTRA_CFLAGS)
60 AC_SUBST(LIBICAL_EXTRA_LIBS)
61Index: git/calendar/libecal/libecal.pc.in
62===================================================================
63--- git.orig/calendar/libecal/libecal.pc.in 2010-02-05 15:39:41.000000000 +0000
64+++ git/calendar/libecal/libecal.pc.in 2010-02-05 15:39:55.000000000 +0000
65@@ -12,4 +12,4 @@
66 Version: @VERSION@
67 Requires: libical >= @LIBICAL_REQUIRED@ libedataserver-1.2 dbus-glib-1
68 Libs: -L${libdir} -lecal-1.2
69-Cflags: -I${privincludedir} @LIBICAL_EXTRA_CFLAGS@
70+Cflags: -I${privincludedir}
diff --git a/meta-gnome/recipes-gnome/eds/evolution-data-server/old-gdk-api.patch b/meta-gnome/recipes-gnome/eds/evolution-data-server/old-gdk-api.patch
deleted file mode 100644
index 7ef2956e3..000000000
--- a/meta-gnome/recipes-gnome/eds/evolution-data-server/old-gdk-api.patch
+++ /dev/null
@@ -1,19 +0,0 @@
1Do not disable old API after upgrading gtk+.
2This avoid build error due to defination missing.
3
4Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
5
6Upstream-Status: Inappropriate [configuration]
7
8Index: git/configure.ac
9===================================================================
10--- git.orig/configure.ac 2010-12-16 10:25:24.000000000 +0800
11+++ git/configure.ac 2010-12-16 10:25:58.000000000 +0800
12@@ -147,7 +147,6 @@
13 AS_COMPILER_FLAGS(WARNING_FLAGS,
14 "-DG_DISABLE_DEPRECATED
15 -DPANGO_DISABLE_DEPRECATED
16- -DGDK_DISABLE_DEPRECATED
17 -DGDK_PIXBUF_DISABLE_DEPRECATED
18 -DG_DISABLE_SINGLE_INCLUDES
19 -DGTK_DISABLE_SINGLE_INCLUDES
diff --git a/meta-gnome/recipes-gnome/eds/evolution-data-server/optional_imapx_provider.patch b/meta-gnome/recipes-gnome/eds/evolution-data-server/optional_imapx_provider.patch
deleted file mode 100644
index d9b094082..000000000
--- a/meta-gnome/recipes-gnome/eds/evolution-data-server/optional_imapx_provider.patch
+++ /dev/null
@@ -1,64 +0,0 @@
1Upstream-Status: Inappropriate [disable feature]
2
3Index: git/camel/providers/Makefile.am
4===================================================================
5--- git.orig/camel/providers/Makefile.am 2010-07-06 18:49:34.000000000 +0800
6+++ git/camel/providers/Makefile.am 2010-07-08 17:23:56.000000000 +0800
7@@ -6,6 +6,10 @@
8 IMAP4_DIR=imap4
9 endif
10
11+if ENABLE_IMAPX
12+IMAPX_DIR=imapx
13+endif
14+
15 if ENABLE_HULA
16 HULA_DIR=hula
17 endif
18@@ -15,6 +19,6 @@
19 SENDMAIL_DIR=sendmail
20 endif
21
22-SUBDIRS = pop3 $(SENDMAIL_DIR) smtp imap imapx $(IMAP4_DIR) $(NNTP_DIR) local groupwise $(HULA_DIR)
23+SUBDIRS = pop3 $(SENDMAIL_DIR) smtp imap $(IMAPX_DIR) $(IMAP4_DIR) $(NNTP_DIR) local groupwise $(HULA_DIR)
24
25 -include $(top_srcdir)/git.mk
26Index: git/configure.ac
27===================================================================
28--- git.orig/configure.ac 2010-07-08 17:24:36.000000000 +0800
29+++ git/configure.ac 2010-07-08 17:32:06.000000000 +0800
30@@ -1002,6 +1002,26 @@
31 AM_CONDITIONAL(ENABLE_IMAP4, [test x$enable_imap4 = xyes])
32
33 dnl ******************************
34+dnl IMAPX code support.
35+dnl ******************************
36+AC_ARG_ENABLE(imapx,
37+ AS_HELP_STRING([--enable-imapx=no/yes],
38+ [Attempt to compile yet another, incomplete, very unsupported IMAPv4r1 implementation]),
39+ [],[enable_imapx=no])
40+
41+if test "x$enable_imapx" = "xyes"; then
42+ AC_DEFINE(ENABLE_IMAPX,1,[Really don't try this at home])
43+ AC_PATH_PROG(GPERF, gperf)
44+ if test -z "$GPERF" ; then
45+ AC_MSG_ERROR([You need gperf to compile imapx provider])
46+ fi
47+ msg_imapx=yes
48+else
49+ msg_imapx=no
50+fi
51+AM_CONDITIONAL(ENABLE_IMAPX, [test x$enable_imapx = xyes])
52+
53+dnl ******************************
54 dnl Hula support
55 dnl ******************************
56 AC_ARG_ENABLE([hula],
57@@ -1541,3 +1561,7 @@
58 if test "x$msg_hula" = "xyes"; then
59 echo "Hula support: $msg_hula"
60 fi
61+
62+if test "x$msg_imapx" = "xyes"; then
63+ echo "IMAPX support: $msg_imapx"
64+fi
diff --git a/meta-gnome/recipes-gnome/eds/evolution-data-server_git.bb b/meta-gnome/recipes-gnome/eds/evolution-data-server_git.bb
index 23a6cefeb..155945f64 100644
--- a/meta-gnome/recipes-gnome/eds/evolution-data-server_git.bb
+++ b/meta-gnome/recipes-gnome/eds/evolution-data-server_git.bb
@@ -5,31 +5,29 @@ BUGTRACKER = "https://bugzilla.gnome.org/"
5LICENSE = "LGPLv2 & LGPLv2+" 5LICENSE = "LGPLv2 & LGPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=6a6e689d19255cf0557f3fe7d7068212 \ 6LIC_FILES_CHKSUM = "file://COPYING;md5=6a6e689d19255cf0557f3fe7d7068212 \
7 file://camel/camel.h;endline=24;md5=b02175c88f821224746b347a89731a2b \ 7 file://camel/camel.h;endline=24;md5=b02175c88f821224746b347a89731a2b \
8 file://libedataserver/e-data-server-util.h;endline=23;md5=9df8127bd8cfdc5469e938fc710d1f40 \ 8 file://libedataserver/e-data-server-util.h;endline=20;md5=934502f03c84523aa059d4825887b380 \
9 file://calendar/libecal/e-cal.h;endline=24;md5=5d496b9b6fd2a4fdbbfc31ef9455c9d0" 9 file://calendar/libecal/e-cal.h;endline=24;md5=5d496b9b6fd2a4fdbbfc31ef9455c9d0"
10 10
11DEPENDS = "intltool-native glib-2.0 gtk+ gconf dbus db gnome-common virtual/libiconv zlib libsoup-2.4 libglade libical gnome-keyring gperf-native" 11DEPENDS = "intltool-native glib-2.0 gtk+3 gconf dbus db gnome-common virtual/libiconv zlib libsoup-2.4 libglade libical libgnome-keyring gperf-native libgdata nss"
12 12
13SRCREV = "3ca578d968d09785933ebbb45b66b3bccdbd5832" 13SRCREV = "a9e4e74ec4473a4fd09e56b690bd4fa72f686687"
14 14
15PV = "2.30+git${SRCPV}" 15# 3.4 series needs libgdata-0.10*, 3.8 series needs also libsecret instead of gnome-keyring
16PR = "r4" 16PV = "3.2.3+git${SRCPV}"
17 17
18SRC_URI = "git://git.gnome.org/evolution-data-server;protocol=git \ 18SRC_URI = " \
19 file://oh-contact.patch;striplevel=0 \ 19 git://git.gnome.org/evolution-data-server;protocol=git \
20 file://nossl.patch \ 20 file://0001-contact-Replace-the-Novell-sample-contact-with-somet.patch \
21 file://optional_imapx_provider.patch \ 21 file://0002-Fix-for-automake-1.12.x.patch \
22 file://new-contact-fix.patch \ 22 file://0003-Disable-Werror-for-automake.patch \
23 file://old-gdk-api.patch \ 23 file://0004-configure-Fix-libical-pkg-config-trying-to-use-host-.patch \
24 file://depbuildfix.patch \ 24 file://0005-soup-adapt-to-new-libxml2-API-from-2.9.0.patch \
25 file://fix_for_automake-1.12.x.patch \ 25 file://iconv-detect.h \
26 file://avoid_automake_errors.patch \ 26"
27 file://0001-soup-adapt-to-new-libxml2-API-from-2.9.0.patch \
28 file://iconv-detect.h"
29 27
30S = "${WORKDIR}/git" 28S = "${WORKDIR}/git"
31 29
32inherit autotools gtk-doc pkgconfig 30inherit autotools gtk-doc pkgconfig gettext
33 31
34# -ldb needs this on some platforms 32# -ldb needs this on some platforms
35LDFLAGS += "-lpthread" 33LDFLAGS += "-lpthread"
@@ -41,12 +39,12 @@ LDFLAGS += "-lpthread"
41 39
42do_configure_append () { 40do_configure_append () {
43 cp ${WORKDIR}/iconv-detect.h ${S} 41 cp ${WORKDIR}/iconv-detect.h ${S}
44 sed -i 's/-DG_DISABLE_DEPRECATED//g' ${S}/libedataserver/Makefile
45} 42}
46 43
47EXTRA_OECONF = "--without-openldap --with-dbus --without-bug-buddy \ 44EXTRA_OECONF = "--without-openldap --with-dbus --without-bug-buddy \
48 --with-soup --with-libdb=${STAGING_DIR_HOST}${prefix} \ 45 --with-soup --with-libdb=${STAGING_DIR_HOST}${prefix} \
49 --disable-smime --disable-ssl --disable-nntp --without-weather" 46 --disable-nntp --without-weather --disable-goa --disable-uoa --disable-weather"
47# --disable-ssl --disable-smime --disable-ssl
50 48
51PACKAGES =+ "libcamel libcamel-dev libebook libebook-dev libecal libecal-dev \ 49PACKAGES =+ "libcamel libcamel-dev libebook libebook-dev libecal libecal-dev \
52 libedata-book libedata-book-dev libedata-cal libedata-cal-dev \ 50 libedata-book libedata-book-dev libedata-cal libedata-cal-dev \
@@ -55,17 +53,20 @@ PACKAGES =+ "libcamel libcamel-dev libebook libebook-dev libecal libecal-dev \
55 53
56FILES_${PN} =+ "${datadir}/evolution-data-server-*/ui/" 54FILES_${PN} =+ "${datadir}/evolution-data-server-*/ui/"
57FILES_${PN}-dev =+ "${libdir}/pkgconfig/evolution-data-server-*.pc" 55FILES_${PN}-dev =+ "${libdir}/pkgconfig/evolution-data-server-*.pc"
58FILES_${PN}-dbg =+ "${libdir}/evolution-data-server-*/camel-providers/.debug \ 56FILES_${PN}-dbg =+ "${libdir}/evolution-data-server*/camel-providers/.debug \
57 ${libdir}/evolution-data-server*/calendar-backends/.debug \
58 ${libdir}/evolution-data-server*/addressbook-backends/.debug \
59 ${libdir}/evolution-data-server*/extensions/.debug/" 59 ${libdir}/evolution-data-server*/extensions/.debug/"
60
60RRECOMMENDS_${PN}-dev += "libecal-dev libebook-dev" 61RRECOMMENDS_${PN}-dev += "libecal-dev libebook-dev"
61 62
62FILES_libcamel = "${libexecdir}/camel-* ${libdir}/libcamel-*.so.* \ 63FILES_libcamel = "${libdir}/libcamel-*.so.* \
63 ${libdir}/libcamel-provider-*.so.* \ 64 ${libdir}/libcamel-provider-*.so.* \
64 ${libdir}/evolution-data-server-*/camel-providers/*.so \ 65 ${libdir}/evolution-data-server*/camel-providers/*.so \
65 ${libdir}/evolution-data-server-*/camel-providers/*.urls" 66 ${libdir}/evolution-data-server*/camel-providers/*.urls"
66FILES_libcamel-dev = "${libdir}/libcamel-*.so ${libdir}/libcamel-provider-*.so \ 67FILES_libcamel-dev = "${libdir}/libcamel-*.so ${libdir}/libcamel-provider-*.so \
67 ${libdir}/pkgconfig/camel*pc \ 68 ${libdir}/pkgconfig/camel*pc \
68 ${libdir}/evolution-data-server-*/camel-providers/*.la \ 69 ${libdir}/evolution-data-server*/camel-providers/*.la \
69 ${includedir}/evolution-data-server*/camel" 70 ${includedir}/evolution-data-server*/camel"
70 71
71FILES_libebook = "${libdir}/libebook-*.so.*" 72FILES_libebook = "${libdir}/libebook-*.so.*"