Ubuntu – How to synchronize a Palm PDA with Evolution 2.30

10.10evolutionsync

Ubuntu 10.04 allowed me to sync my Palm PDA (such as memos, calendar, address book) with Evolution using Gnome Pilot. However, in 10.10, the options for Evolution syncing in Gnome Pilot no longer exist.

Having Googled my issue, it seems Evolution 2.30 was built without the "–with-pilot-conduits" flag.
(http://www.linuxfromscratch.org/blfs/view/cvs/xsoft/evolution.html)

Is there a way I can either install a version of Evolution built with support for Gnome Pilot (preferably from a .deb file or repository), or compile it myself?

Best Answer

I couldn't tell you if that is indeed the problem, as I don't own a palm device, but I can confirm by looking at evolution's build log that that flag was not passed. http://paste.ubuntu.com/512047/

If you'd like to try building evolution with that flag, here are some steps.

apt-get source evolution # Download the evolution source package
sudo apt-get build-dep evolution # Install all of evolution's build dependencies
sudo apt-get install devscripts # Tools for working with Debian packages
sudo apt-get install libgnome-pilot2-dev # Extra build dependency need for the "--with-pilot-conduits" flag. 

Next, you want to edit the debian/rules file. Find the section that looks like:

DEB_CONFIGURE_EXTRA_FLAGS += \
    --with-openldap \
    --enable-nls \
    --disable-scrollkeeper \
    --disable-pilot-conduits \
    --with-krb5=/usr \
    --sysconfdir=/etc \
    --libexecdir=/usr/lib \
    --enable-plugins=experimental \
    --enable-python \
    --disable-pst-import \
    --disable-image-inline \
    --disable-contacts-map

And replace the --disable-pilot-conduits \ flag with --enable-pilot-conduits \

You'll probably want to bump the version number in debian/changelog as well. You can do that by hand, or run something like dch -v 2.30.3-1ubuntu6+pilot-build -m "Enable pilot-conduits"

Next, the line debian/tmp/usr/share/gnome-pilot must be added to the debian/evolution-common.install file and debian/tmp/usr/lib/evolution/2.30/conduits/*.so must be added to debian/evolution.install

Then you can build the package by running debuild from inside the evolution-2.30.3 directory. Finally, install the resulting debs.