Moin,
On Oct 27, 04 09:23:48 -0400, Armin Bauer wrote:
> You are not using the latest version of the evo2 plugin if you have
> something like EVO_VER=`evolution --version | sed -e
> 's/.nome .volution //g'` in your configure.in.
>
> I will try to setup a crontab that automatically make a tar of the
> current dev cvs since anon seems not to be updated.
Thanks, it really looks like the anon-cvs didn't update. Sigh.
I've appended a patch for two problems with the evolution2-plugin:
a) no return-values for two functions (evo2_calendar_open() and
evo2_tasks_open() should return TRUE )
b) missing prototypes for functions in xml.c
The diff is against the files from
http://www.multisync.org/files/multisync-cvs-snapshot.tar.gz
I downloaded the file yesterday, so it might not be the most recent.
I'm currently still getting a SEGV because of a non-existing file named
"remotesettings". I have to investigate if that's a local problem or a
general one. Has anyone else seen this?
ciao,
Stefan
--
Stefan Behlert
diff -urN plugins/evolution2_sync.orig/src/evolution_ecal.c
plugins/evolution2_sync/src/evolution_ecal.c
--- plugins/evolution2_sync.orig/src/evolution_ecal.c 2004-10-27 17:18:46.000000000
+0200
+++ plugins/evolution2_sync/src/evolution_ecal.c 2004-10-28 10:22:13.594570832
+0200
@@ -28,6 +28,7 @@
evo_debug(env, 1, "failed to open calendar");
return FALSE;
}
+ return TRUE;
}
gboolean evo2_calendar_modify(evo_environment *env, char *data, char *uid, char
*uidret, int *uidretlen)
Files plugins/evolution2_sync.orig/src/.evolution_ecal.c.swp and
plugins/evolution2_sync/src/.evolution_ecal.c.swp differ
diff -urN plugins/evolution2_sync.orig/src/evolution_etodo.c
plugins/evolution2_sync/src/evolution_etodo.c
--- plugins/evolution2_sync.orig/src/evolution_etodo.c 2004-10-27 17:18:46.000000000
+0200
+++ plugins/evolution2_sync/src/evolution_etodo.c 2004-10-28 10:22:13.310614000
+0200
@@ -28,6 +28,7 @@
evo_debug(env, 1, "failed to open tasks");
return FALSE;
}
+ return TRUE;
}
gboolean evo2_tasks_modify(evo_environment *env, char *data, char *uid, char *uidret,
int *uidretlen)
diff -urN plugins/evolution2_sync.orig/src/xml.c plugins/evolution2_sync/src/xml.c
--- plugins/evolution2_sync.orig/src/xml.c 2004-10-27 17:18:46.000000000 +0200
+++ plugins/evolution2_sync/src/xml.c 2004-10-27 18:47:55.000000000 +0200
@@ -1,4 +1,5 @@
#include "evolution_sync.h"
+#include "xml.h"
/*open xml file check it an return pointer to first entry*/
int open_xml_file(evo_environment *env, xmlDocPtr *doc, xmlNodePtr *cur, char *file,
char *topentry)
diff -urN plugins/evolution2_sync.orig/src/xml.h plugins/evolution2_sync/src/xml.h
--- plugins/evolution2_sync.orig/src/xml.h 1970-01-01 01:00:00.000000000 +0100
+++ plugins/evolution2_sync/src/xml.h 2004-10-27 18:48:47.000000000 +0200
@@ -0,0 +1,9 @@
+#ifndef _EVO2_XML_H_
+#define _EVO2_XML_H_
+
+int open_xml_file(evo_environment *env, xmlDocPtr *doc, xmlNodePtr *cur, char *file,
char *topentry);
+int load_evo_settings(evo_environment *env);
+void save_evo_settings(evo_environment *env);
+
+#endif /* _EVO2_XML_H_*/
+