EDS compatibility: bumped version check for EDS 3.2
SyncEvolution is known to work with EDS 3.2. Therefore use the libebook/ecal/edataserver libs from 3.2 if available, without warnings in the --version output. Also happens with inconsistent distro setups where the old libs are available and would have been prefered by SyncEvolution 1.2.1 even though the old libs no longer work with EDS 3.2.
This commit is contained in:
parent
72a7f3d939
commit
ba96fca0ec
1 changed files with 2 additions and 2 deletions
|
@ -198,7 +198,7 @@ extern "C" void EDSAbiWrapperInit()
|
|||
|
||||
# ifdef ENABLE_EBOOK
|
||||
ebookhandle =
|
||||
findSymbols("libebook-1.2.so", 5, 10,
|
||||
findSymbols("libebook-1.2.so", 5, 12,
|
||||
FIND_SYMBOLS_NEED_ALL|FIND_SYMBOLS_LENIENT_MAX_VERSION, NULL,
|
||||
&EDSAbiWrapperSingleton.e_book_add_contact, "e_book_add_contact",
|
||||
&EDSAbiWrapperSingleton.e_book_authenticate_user, "e_book_authenticate_user",
|
||||
|
@ -232,7 +232,7 @@ extern "C" void EDSAbiWrapperInit()
|
|||
|
||||
# ifdef ENABLE_ECAL
|
||||
static const int libecalMinVersion = 3,
|
||||
libecalMaxVersion = 8;
|
||||
libecalMaxVersion = 10;
|
||||
ecalhandle =
|
||||
findSymbols("libecal-1.2.so", libecalMinVersion, libecalMaxVersion,
|
||||
FIND_SYMBOLS_NEED_ALL|FIND_SYMBOLS_LENIENT_MAX_VERSION, NULL,
|
||||
|
|
Loading…
Reference in a new issue