[Evolution-hackers] Ross' D-BUS port of evolution-data-server on maemo x86



Hi there fellow hackitiehackers,

I've just tried compiling libsoup and Ross's D-BUS port of evolution-
data-server on Maemo-x86 in a scratchbox.

Note that this is only the first part of evolution, of course. The shell
is, of course, the most difficult part. Mainly because it heavily relies
on Bonobo and ORBit-2. So to get Evolution running on Maemo, it might be
more easy to get ORBit-2/Bonobo running first rather than to attempt
removing this dependency right now.

I had to alter the configure.in of Ross's evolution-data-server a little
bit. I attached the patch.

        evolution-data-server has been configured as follows:
        LDAP support:     no
        NNTP support:     yes
        LibSoup support:yes
        Kerberos 4/5:     no/no
        SSL support:      no
        SMIME support:    no
        IPv6 support:     yes
        Exchange support: no
        Dot Locking:      yes
        File Locking:     fcntl
        Gtk Doc:          no


Steps:

cvs -z3 co -r gnome-2-10 libsoup
cd libsoup
./autogen.sh --prefix=/opt/evo
make
make install
cd ..
cd evolution-data-server/trunk
patch < patch.diff
PKG_CONFIG_PATH=/opt/evo/lib/pkgconfig ./autogen.sh --with-dbus=yes
--with-libgnome=no --prefix=/opt/evo/
make
make install


ps. It stops here. But I'm not sure whether this is related to the Maemo
platform, since I can reproduce this build-error on a non scratchbox
environment.

se-transport.Tpo -c camel-groupwise-transport.c  -fPIC -DPIC
-o .libs/camel-groupwise-transport.o
make[4]: *** No rule to make target
`../../../servers/groupwise/libegroupwise-1.2.la', needed by
`libcamelgroupwise.la'.  Stop.
make[4]: Leaving directory
`/home/freax/dev/evolution-data-server/camel/providers/groupwise'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/freax/dev/evolution-data-server/camel/providers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/freax/dev/evolution-data-server/camel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/freax/dev/evolution-data-server'
make: *** [all] Error 2
[sbox-SDK_PC: ~/dev/evolution-data-server] >



By the way, Nokia dudes: We are waiting for the device to become
available here in Belgium. Oh and ... since I won one at Guadec. I can't
wait! Send it! :-) *spasm, spasm*

-- 
Philip Van Hoof, software developer at x-tend
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
work: vanhoof at x-tend dot be
http://www.pvanhoof.be - http://www.x-tend.be

Index: configure.in
===================================================================
--- configure.in	(revision 212)
+++ configure.in	(working copy)
@@ -1124,6 +1124,7 @@
 AC_MSG_RESULT($with_dbus)
 
 dnl Should we use libgnome functions or not
+if test "x${with_dbus}" = "xno"; then
 AC_MSG_CHECKING(if we should use libgnome)
 AC_ARG_WITH(libgnome, [  --with-libgnome=[yes,no]        Disable the use of libgnome.],
 	with_libgnome="$withval", with_libgnome="yes")
@@ -1131,9 +1132,10 @@
         AC_DEFINE(WITH_LIBGNOME, 1, [Define if libgnome should be used])
 fi
 AC_MSG_RESULT($with_libgnome)
+fi
 
 if test "x${with_dbus}" = "xno"; then
-        AM_PATH_ORBIT2(2.9.8)
+        dnl AM_PATH_ORBIT2(2.9.8)
 
         AC_MSG_CHECKING(for CORBA include paths)
         IDL_INCLUDES="-I "`pkg-config --variable=idldir libbonobo-2.0`" -I "`pkg-config --variable=idldir bonobo-activation-2.0`
@@ -1145,12 +1147,14 @@
         IPC_DEPS="dbus-glib-1"
 fi
 
+if test "x${with_dbus}" = "xno"; then
 if test "x${with_libgnome}" != "xno"; then
         AC_MSG_CHECKING(for libgnomeui server directory)
         GNOMEUI_SERVERDIR="`$PKG_CONFIG --variable=libgnomeui_serverdir libgnomeui-2.0`"
         AC_MSG_RESULT($GNOMEUI_SERVERDIR)
         AC_DEFINE_UNQUOTED(GNOMEUI_SERVERDIR, "$GNOMEUI_SERVERDIR", [Path where we can find gnome_segv2])
 fi
+fi
 
 dnl Utility macro to set compiler flags for a specific lib.
 dnl  EVO_SET_COMPILE_FLAGS(VAR-PREFIX, DEPS, EXTRA-CFLAGS, EXTRA-LIBS)
@@ -1172,7 +1176,11 @@
 AC_SUBST(E_DATA_SERVER_CFLAGS)
 AC_SUBST(E_DATA_SERVER_LIBS)
 
+if test "x${with_dbus}" = "xno"; then
 E_DATA_SERVER_UI_DEPS="gtk+-2.0 libglade-2.0 gconf-2.0 libgnome-2.0"
+else
+E_DATA_SERVER_UI_DEPS="gtk+-2.0 libglade-2.0 gconf-2.0"
+fi
 
 EVO_SET_COMPILE_FLAGS(E_DATA_SERVER_UI, $E_DATA_SERVER_UI_DEPS, $THREADS_CFLAGS, $THREADS_LIBS)
 AC_SUBST(E_DATA_SERVER_UI_CFLAGS)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]