Hi folks,

Using the latest CVS, and opensync 0.22, I've successfully synced
contact and calendar data with Evolution on my Debian stable system.
I'm calling the Barry opensync plugin codename "DoubleQuarterBack". :-)

The following packages were compiled manually:

        libopensync-0.22
        libopensync-plugin-evolution2-0.22 (patched)
        kitchensync (using svn as of 2007/07/12) (patched)
        msynctool-0.22
        latest Barry CVS

The rest of the dependencies were installed as dev packages straight
from Debian's package archive.

Go to www.opensync.org for the opensync tarballs.

First the caveats:

        - this doesn't support recurring appointments
        - this doesn't support any timezone accuracy
        - this doesn't support the improved merging in opensync 0.3x
        - this can affect not only your device, but also your
                desktop data... so make lots of backups!
        - this may eat and then silently digest your data :-)

I've attached the two patches that I've used in the packages above
which makes the GUI sequence go more smoothly.

OpenSync 0.22, and KitchenSync, are a bit flakey, which is to be expected
at this stage of development.  I saw recently that KitchenSync was being
worked on for the new 0.3x tree, so that's good news.  Maybe now is
a good time to submit bug reports on Kitchensync, over at opensync.org. :-)

The conflict resolution screen seemed a bit odd... I don't know if
that is just an artifact of my system or not.

The Barry plugin itself uses vevent20 and vcard30 for the underlying data
exchange.  If you turn on trace logging (see the opensync website for
documentation), there is lots of detail to see.

If anyone gives it a whirl, post to the list so we can share our progress.
If you find any format conversion bugs, or irregularities in the sync,
please let me know!

Thanks, and enjoy,
- Chris

diff -ru libopensync-plugin-evolution2-0.22/src/evolution2_xml.c 
libopensync-plugin-evolution2-0.22-cdf/src/evolution2_xml.c
--- libopensync-plugin-evolution2-0.22/src/evolution2_xml.c     2007-03-27 
07:49:55.000000000 -0400
+++ libopensync-plugin-evolution2-0.22-cdf/src/evolution2_xml.c 2007-07-27 
22:47:43.000000000 -0400
@@ -59,13 +59,13 @@
                char *str = (char*)xmlNodeGetContent(cur);
                if (str) {
                        if (!xmlStrcmp(cur->name, (const xmlChar 
*)"address_path")) {
-                               env->addressbook_path = g_strdup(str);
+                               env->addressbook_path = g_strdup_printf("%s%s", 
(str[0] == '/') ? "file://" : "", str);
                        }
                        if (!xmlStrcmp(cur->name, (const xmlChar 
*)"calendar_path")) {
-                               env->calendar_path = g_strdup(str);
+                               env->calendar_path = g_strdup_printf("%s%s", 
(str[0] == '/') ? "file://" : "", str);
                        }
                        if (!xmlStrcmp(cur->name, (const xmlChar 
*)"tasks_path")) {
-                               env->tasks_path = g_strdup(str);        
+                               env->tasks_path = g_strdup_printf("%s%s", 
(str[0] == '/') ? "file://" : "", str);
                        }
                        xmlFree(str);
                }
Index: kitchensync/src/syncprocess.cpp
===================================================================
--- kitchensync/src/syncprocess.cpp     (revision 687137)
+++ kitchensync/src/syncprocess.cpp     (working copy)
@@ -98,6 +98,7 @@
        *
        * mGroup.setObjectTypeEnabled( objectTypes[ i ], true );
        */
+       mGroup.setObjectTypeEnabled( objectTypes[ i ], true );
     } else {
       kdDebug() << "Disabled object type: " <<  objectTypes[ i ] << endl;
       mGroup.setObjectTypeEnabled( objectTypes[ i ], false );
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Barry-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to