Funambol on Mac OS X, part 1

Update Jan 12th 2010: the best way to sync Funambol on Mac OS X is to use the official Mac OS Sync app. Check How to sync Mac OS with Funambol (part 3).

While the world goes crazy with the iPhone, I decided to spend some time testing the two options for syncing on Mac OS X using myFUNAMBOL. There are two options available, both are community contributions. Today’s post is about SyncEvolution, contributed by Patrick Ohly.

Patrick Ohly’s SyncEvolution provides the missing link between Mac OSX and SyncML. The application is’  *nix style, command line based, originally for GNOME Evolution GNU/Linux and later ported to iPhone, OS X, Maemo.’  Old school *nix users will find it very easy to setup and run on Apple’s system.

Download the package from the Mac directory (I used the latest version, SyncEvolution 0.7). Expand the tarball and copy the binaryes in ~/bin (modify the .bashrc PATH variable to include your $HOME/bin, as follows).

PATH=$PATH:~/bin

Then create the directory ~/.sync4j/evolution/myfunambol and copy in it the files share/doc/syncevolution/funambol from the original tarball. Since I couldn’t find a way to make Finder show the hidden directories, I used the unix cp and mkdir commands (I’m at home with those, but YMMV).’  Now it’s time to edit the configurations. I use smultron as text editor,

$ smultron /~.sync4j/evolution/myfunambol/spds/syncml/config.txt

Change deviceId to something unique (especially if you’re syncing from many computers or more than one account on the same computer) and add your myFUNAMBOL username and password.’  Then it’s time to edit the addressbook configuration:

$ smultron myfunambol/spds/sources/addressbook/config.txt

change the type to the Mac type and make sure that the sync is configured as follows (unless you need different setup)::

type = addressbook
sync = two-way

That’s it. Now go on with the sync:

$ syncevolution myfunambol

and that’s it.’  SyncEvolution doesn’t support tasks nor calendar yet, but at least the AddressBook support is pretty good and stable. If you are a Mac programmer or you want to try becoming one, help Patrick to add a GUI to SyncEvolution and extend its functions.