ActiveSync: use activesyncd header files
After adding the missing G_END_DECLS in libeassync.h it is possible to use the header files by specifying the paths explicitly in configure. activesyncd commit ID: 3557477ad79c0113a2a3f7ea3b250cf5ff4ac020
This commit is contained in:
parent
6ba4b8680d
commit
55f0789c4a
|
@ -30,20 +30,7 @@
|
|||
#include <string>
|
||||
#include <map>
|
||||
|
||||
// TODO: include header files instead
|
||||
typedef enum {
|
||||
EAS_ITEM_FOLDER=0,
|
||||
EAS_ITEM_MAIL,
|
||||
EAS_ITEM_CALENDAR, ///< iCalendar 2.0 VEVENT
|
||||
EAS_ITEM_CONTACT, ///< vCard 3.0 contact
|
||||
EAS_ITEM_TODO, ///< iCalendar 2.0 VTODO
|
||||
EAS_ITEM_JOURNAL, ///< iCalendar 2.0 VJOURNAL
|
||||
|
||||
//TODO: add all other items here
|
||||
|
||||
EAS_ITEM_LAST
|
||||
}EasItemType;
|
||||
|
||||
#include "libeassync.h"
|
||||
|
||||
#include <syncevo/declarations.h>
|
||||
SE_BEGIN_CXX
|
||||
|
|
|
@ -174,7 +174,7 @@ public:
|
|||
}
|
||||
} ActiveSyncMemoTest;
|
||||
|
||||
}
|
||||
} // anonymous namespace
|
||||
#endif // ENABLE_INTEGRATION_TESTS
|
||||
|
||||
#endif // ENABLE_ACTIVESYNC
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
To compile this backend as part of SyncEvolution, ensure that this directory
|
||||
is visible at src/backends/activesync (symlink or copy), run ./autogen.sh at
|
||||
the top level, and use --enable-activesync in configure.
|
||||
the top level, and use --enable-activesync in configure. To work around the
|
||||
missing libeassync.pc, on MeeGo install activesyncd-devel and use:
|
||||
ACTIVESYNC_CFLAGS="-I<path to sources>/libeassync/src/ -I/usr/include/libwbxml-1.0 -I/usr/include/libxml2/ -I/usr/include/evolution-data-server-2.32" ACTIVESYNC_LIBS=-leassync
|
||||
|
||||
Beware that the pre-compiled activesyncd must match the header files from
|
||||
the sources.
|
||||
|
||||
To compile as part of the activesync repo, please add a configure
|
||||
script which uses syncevolution.pc to find include files and libs. The
|
||||
|
|
Loading…
Reference in New Issue