syncevolution/src/backends/akonadi
Patrick Ohly a7f7c8eacf Merge remote branch 'origin/syncevolution-1-2-branch'
Conflicts:
	configure.ac
	test/ClientTest.cpp
	test/testcases/eds_event.ics.funambol.tem.patch

Conflicts because of version number and updated test cases resp. local
delete optimization.

ActiveSync backend had to be adapted to modified InsertItemResult: now
it requests a merge when it detects duplicates, like the CalDAV backend
already did on the 1.2 branch.
2011-10-17 13:16:33 +02:00
..
akonadi.am Port build system to non-recursive Automake. 2011-08-30 16:38:34 +02:00
akonadisyncsource.cpp SyncSource API: support and use Synthesis DB_DataMerged/Replace/Conflict result codes (BMC #22783) 2011-09-14 15:07:30 +02:00
akonadisyncsource.h Akonadi: preliminary support for KJot 2011-04-13 10:34:14 +02:00
AkonadiSyncSourceRegister.cpp testing: cleaned up ClientTestConfig 2011-09-13 08:43:23 +00:00
configure-sub.in Akonadi: fix link issues on Debian Testing 2011-09-13 08:35:24 +00:00
contactssyncsource.cpp added Akonadi/KDE backend 2011-04-13 10:32:55 +02:00
contactssyncsource.h Akonadi: first functional version 2011-04-13 10:34:07 +02:00
eventssyncsource.cpp added Akonadi/KDE backend 2011-04-13 10:32:55 +02:00
eventssyncsource.h added Akonadi/KDE backend 2011-04-13 10:32:55 +02:00
notessyncsource.cpp added Akonadi/KDE backend 2011-04-13 10:32:55 +02:00
notessyncsource.h added Akonadi/KDE backend 2011-04-13 10:32:55 +02:00
README Akonadi: fixed issue with running inside syncevo-dbus-server 2011-04-13 10:34:14 +02:00
todossyncsource.cpp added Akonadi/KDE backend 2011-04-13 10:32:55 +02:00
todossyncsource.h added Akonadi/KDE backend 2011-04-13 10:32:55 +02:00

Getting started with Akonadi on Debian testing:
aptitude install libakonadi-dev akonadi-server \
                 libqt4-dev kdepim-runtime \
                 kdepimlibs5-dev

Controlling Akonadi server:
akonadictl start/stop/restart

Debugging Akonadi:
akonadiconsole (from kdepim-runtime)

Configuring without Evolution and with Akonadi:
<path>/syncevolution/configure --with-synthesis-src=<path>/libsynthesis \
                               CFLAGS="-g -Wall -Werror -Wno-unknown-pragmas" \
                               CXXFLAGS="-g -Wall -Werror -Wno-unknown-pragmas" \
                               --disable-shared --enable-static \
                               --enable-libcurl \
                               --enable-unit-tests --enable-integration-tests \
                               --disable-ecal --disable-ebook --disable-libsoup \
                               --enable-akonadi --enable-kwallet

This creates src/syncevolution and src/client-test which can be run under
a debugger directly.

Query databases:
syncevolution

Configuring syncevolution for contacts with Akonadi as backend:
syncevolution --configure --source-property sync=none \
              --sync-property username=... \
              --sync-property password=... \
              scheduleworld
syncevolution --configure --source-property sync=two-way \
              --source-property type=kde-contacts \
              --source-property evolutionsource=akonadi:?... \
              scheduleworld addressbook

Initial run:
syncevolution --sync slow scheduleworld addressbook

All following runs:
syncevolution scheduleworld