Commit graph

19 commits

Author SHA1 Message Date
Patrick Ohly
d71a296525 dist: fixed distcheck, bundle Synthesis
When --with-synthesis-src is used, then the Synthesis source code is compiled
automatically and included in a .tar.gz.

Added some missing EXTRA_DIST files.
2009-03-25 14:43:44 +01:00
Patrick Ohly
8e9512cd20 testing: fixed log handling during Client::Sync
The logdir is now overridden so that all files (client.log, message
dumps, Synthesis logs) are written in a subdirectory names after
the current test. A <test>.log file captures all output written
outside of the sync itself.
2009-03-25 14:43:37 +01:00
Patrick Ohly
41aaec7eb2 testing: compiles and runs again, but output redirection is not working yet 2009-03-25 14:43:36 +01:00
Patrick Ohly
43f2c5fec5 removed all references to Funambol header files and definitions 2009-03-25 14:43:35 +01:00
Patrick Ohly
5f0ecf5835 Synthesis: connect engine with EvolutionSyncSource
SynthesisDBPlugin provides all C calls potentially used by
the Synthesis engine. It needs to be linked into the executable
or libsyncevolution.so so that the SyncEvolution_* calls
are visible to libsynthesis. They will get called when "SyncEvolution"
is specified as plugin name, using dlsym(RTLD_DEFAULT).

The "-uSyncEvolution_Module_Version -Wl,--export-dynamic" flags
are a bit platform specific; a configure check would be useful,
with compilation as a normal plugin as default.

syncevolution.xml is compiled into libsyncevolution. The <datastore>
entries are created for all active sync sources and replace
the <datastore/> place holder in the default configuration.

The configuration can be overridden by placing a syncevolution.xml
file in the current directory, with or without <datastore>
specifications. <datastore/> is replaced as usual.

<dbtypeid> values are generated as hash from the sync source name.
Collisions are not handled yet.
2009-03-25 14:43:34 +01:00
Patrick Ohly
de8ee098e7 use Synthesis SDK to run a sync session
Copying SyncEvolution settings into the corresponding
Synthesis properties is implemented. A "syncevolution.xml"
with the client configuration must be in the current
directory. Currently it contains no configuration
for SyncEvolution data backends, only for SDK_textdb
addressbook.

As there is no synthesis.pc yet, use SYNTHESIS_CFLAGS=-Ifoo/include
and SYNTHESIS_LIBS=-Lfoo/lib -lsynthesissdk where foo is the
installation prefix of the Synthesis SDK.
2009-03-25 14:43:32 +01:00
Patrick Ohly
894c61951e improved handling of Funambol client library source
configure checks out the right source automatically. Subversion
and git are supported. When given an existing directory with sources,
out-of-tree compilation is used instead of making a copy first.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@744 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-09-14 17:52:08 +00:00
Patrick Ohly
319a873b57 removed obsolete LIBDBUS hack
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@729 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-17 08:50:42 +00:00
Patrick Ohly
f8ba6fcf71 previous commit disabled 'all' target - use BUILT_SOURCES instead
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@726 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-16 10:35:37 +00:00
Patrick Ohly
4903ca6918 fixed issue with inconsistent use of ClientTest.h after copying it to SyncEvolution
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@725 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-16 10:02:41 +00:00
Patrick Ohly
545757d700 added missing imemo20.ics test cases to build
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@713 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-05 20:11:11 +00:00
Patrick Ohly
d1b881b490 more dependency fixes
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@699 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 19:48:38 +00:00
Patrick Ohly
6b6fb65fda minor fixes for recent introduction of libsyncevolution
syncevolution and client-test were not rebuilt when lib changed.
Unit tests in lib were not pulled into client-test.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@695 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 12:58:30 +00:00
Patrick Ohly
218646af41 re-added 'test' target (alias for client-test now)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@694 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 12:35:00 +00:00
Patrick Ohly
d08d1f7e88 added automatic registration of test
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@692 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-02 15:46:23 +00:00
Patrick Ohly
55e82b4101 client-test now depends on libsyncevolution.la and backends, i.e. 'all'
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@691 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-02 12:51:11 +00:00
Patrick Ohly
a248d0cc1d fixed inclusion of moved boost in distribution
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@690 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-02 07:55:51 +00:00
Patrick Ohly
f9e0745e72 unit tests in Register.cpp files not active without --enable-unit-tests
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@688 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-30 20:31:27 +00:00
Patrick Ohly
63e14ddc9c file layout restructuring, take II
Added missing files, finished automatic registration
of backends, Emacs mode for renamed files.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@685 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-30 17:30:10 +00:00
Renamed from src/Makefile.am.gen (Browse further)