On Sun, 2011-06-19 at 15:17 +0200, Patrick Ohly wrote:
>
> I only tried compilation inside SyncEvolution. I haven't even tried to
> run it at this point. I'll try to find the time for that tomorrow.
I tried to fix up compilation within the activesyncd repository, which I
suspect is going to be easier for development and packaging for now.
The patch below is a start, but it fails to link:
/usr/bin/ld: cannot find -lsynthesissdk
Perhaps this is just an issue with the Fedora 15 packaging of
syncevolution? It seems to list -lsynthesissdk in the output of
'pkg-config --libs syncevolution' but that library doesn't *exist*.
(Note also the 'Ick' comment about the backend dir. Am I missing
something, or should that be added to syncevolution.pc?)
diff --git a/Makefile.am b/Makefile.am
index cbf1161..1feec1a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
ACLOCAL_AMFLAGS = -I m4
#SUBDIRS = libeasmail/tests
-SUBDIRS = . logger libeassync/src libeasmail/src eas-daemon/libeas
eas-daemon/src eas-daemon/tests check_tests camel
+SUBDIRS = . logger libeassync/src libeasmail/src eas-daemon/libeas
eas-daemon/src eas-daemon/tests check_tests camel syncevolution
EXTRA_DIST = autogen.sh
diff --git a/configure.ac b/configure.ac
index f4049d3..f479813 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,10 +54,15 @@ PKG_CHECK_MODULES(WBXML, libwbxml2 >= 0.11)
PKG_CHECK_MODULES(LIBICAL, libical)
PKG_CHECK_MODULES(CAMEL, camel-provider-1.2)
PKG_CHECK_MODULES(LIBEBACKEND, libebackend-1.2)
+PKG_CHECK_MODULES(SYNCEVOLUTION, syncevolution)
camel_providerdir=`$PKG_CONFIG --variable=camel_providerdir camel-provider-1.2`
AC_SUBST(camel_providerdir)
+# Ick. Shouldn't this be in syncevolution.pc like camel_providerdir above ?
+syncevo_backenddir=$libdir/syncevolution/backends
+AC_SUBST(syncevo_backenddir)
+
AC_CONFIG_FILES([
Makefile
eas-daemon/data/Makefile
@@ -69,6 +74,7 @@ AC_CONFIG_FILES([
check_tests/Makefile
logger/Makefile
camel/Makefile
+ syncevolution/Makefile
])
diff --git a/syncevolution/Makefile.am b/syncevolution/Makefile.am
index 73fd343..2f0bc81 100644
--- a/syncevolution/Makefile.am
+++ b/syncevolution/Makefile.am
@@ -2,13 +2,15 @@ AM_CPPFLAGS = $(SYNCEVOLUTION_CFLAGS) -I$(top_srcdir)/test
$(BACKEND_CPPFLAGS)
EXTRA_DIST = configure-sub.in
+backenddir = $(syncevo_backenddir)
+
SYNCSOURCES = syncactivesync.la
MOSTLYCLEANFILES = $(SYNCSOURCES)
-if ENABLE_MODULES
+#if ENABLE_MODULES
backend_LTLIBRARIES = $(SYNCSOURCES)
-else
-noinst_LTLIBRARIES = $(SYNCSOURCES)
-endif
+#else
+#noinst_LTLIBRARIES = $(SYNCSOURCES)
+#endif
MAINTAINERCLEANFILES = Makefile.in
--
dwmw2
_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution