On Mon, 2013-12-02 at 12:14 +0200, Alberto Mardegan wrote: > I'm working on adding Ubuntu Online Accounts (UOA) support to > SyncEvolution
Good to hear :-) I'm sure Ubuntu users will appreciate that. > Code wise, is it fine if I modify the existing gSSO code, and add some > #ifdef so that it can work with UOA as well? Or is it preferrable if I > duplicate the whole backend, so that they can be used in parallel? Please use ifdefs. If there ever is a need to use them in parallel, then we can add namespaces and compile the code twice, with different defines. > I managed to build SyncEvolution with my changes; but when I run it I > get this error: > > ================ > $ SYNCEVOLUTION_DEBUG=1 syncevolution --daemon=no loglevel=4 \ > --print-databases backend=caldav \ > username=gsso:24,google-caldav \ > syncURL=https://apidata.googleusercontent.com/caldav/v2 > caldav: > CalDAV: not enabled during compilation or not usable in the current > environment > ================ > > And the same error if I try with carddav. I don't see any mention of > them in the configure log; how can I check if they are actually built or > if it's a runtime error? You need to use --enable-dav. The configure prints a summary at the end which includes information about enabled backends. If it gets built, then check that loading the backends worked. "syncevolution --daemon=no --version" shows the loaded backends. I personally compile with "--disable-dynamic --enable-static", because then I get binaries which I can run directly in gdb. The README.rst documents environment variables for running SyncEvolution without "make install", which may also be useful. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter. _______________________________________________ SyncEvolution mailing list [email protected] https://lists.syncevolution.org/mailman/listinfo/syncevolution
