GNOME Bugzilla – Bug 677725
Patch for Evolution-Data-Server API changes
Last modified: 2012-08-20 08:49:02 UTC
Created attachment 215987 [details] [review] Adapt to Evolution-Data-Server API changes Evolution-Data-Server just landed some major API changes in an effort to get off of GConf and overhaul the way it stores account information. I blogged about this recently with more details: http://mbarnes.livejournal.com/4631.html This is an untested patch since I guess I don't have a new enough vala or something. The EDS part builds fine. Most of the crap is gone, what remains is pretty straight forward. You might just want to rewrite it all directly in vala.
Created attachment 216283 [details] [review] More adaption to EDS API changes This makes Contacts compile again, though it's still broken when running it ... Feel free to squash this. I'm afraid to actually fix the functionality, someone with a better understanding of e-d-s and/or contacts will be better suited than me ...
I pushed something based on this, but I can't really test it at runtime because the folks eds backend is totally busted and just spews warnings all over the place.
master doesn't build here: In file included from /home/cassidy/usr/include/folks/folks-eds.h:12:0, from contacts-app.c:31: /home/cassidy/usr/include/evolution-data-server-3.6/libebook/e-book-client.h:23:2: error: #error "Only <libebook/libebook.h> should be included directly." In file included from /home/cassidy/usr/include/evolution-data-server-3.6/libebook/e-book-client.h:31:0, from /home/cassidy/usr/include/folks/folks-eds.h:12, from contacts-app.c:31: /home/cassidy/usr/include/evolution-data-server-3.6/libebook/e-book-client-view.h:22:2: error: #error "Only <libebook/libebook.h> should be included directly." In file included from /home/cassidy/usr/include/evolution-data-server-3.6/libebook/e-book-client.h:32:0, from /home/cassidy/usr/include/folks/folks-eds.h:12, from contacts-app.c:31: /home/cassidy/usr/include/evolution-data-server-3.6/libebook/e-contact.h:10:2: error: #error "Only <libebook/libebook.h> should be included directly." In file included from /home/cassidy/usr/include/evolution-data-server-3.6/libebook/e-contact.h:18:0, from /home/cassidy/usr/include/evolution-data-server-3.6/libebook/e-book-client.h:32, from /home/cassidy/usr/include/folks/folks-eds.h:12, from contacts-app.c:31: /home/cassidy/usr/include/evolution-data-server-3.6/libebook/e-vcard.h:24:2: error: #error "Only <libebook/libebook.h> should be included directly." In file included from contacts-app.c:31:0: /home/cassidy/usr/include/folks/folks-eds.h:13:38: fatal error: libedataserver/e-account.h: No such file or directory compilation terminated.
My folks is not 100% up to date as I can't build it atm (bug #679020) but Contact's configure did pass.
Weird. It builds fine here.
works for me and others, open a new bug if it still fails to build