View Single Post
  #16 (permalink)  
Old 10-24-2007, 09:58 PM
gnyce1 gnyce1 is offline
Intermediate Member
 
Posts: 17
Default have zimbra evolution plugin working on ubuntu 7.10

I'm not sure that I "know what I'm doing" but as proof of concept, I got it working. Here are the notes that I wrote up for myself so that I could remember. Note well - did not do a huge amount of testing, but saw contacts and calendar sync worked, even did a free/busy search from Evo which seemed to work. HTH, Greg
__________________________

I got the Zimbra Evolution plugins to work - this was on Ubuntu 7.10. You have to download the Evolution development libraries, plus some other evo plugin development packages, plus libcurl.

Then, checkout the Evolution svn repo from here:
svn co Revision 2: / zimbra_evo_plugin

Then, I had to edit the configure.ac and make these changes:
____________________

#####Enable for Evolution 2.12 (defaulted to 2.10)

if test -z "$EVOLUTION_VERSION"; then
dnl No 2.8 check for 2.12
EVOLUTION_VERSION=`pkg-config --modversion evolution-shell 2>/dev/null`

#####and just down a bit

else
EVOLUTION_API_VERSION=2.12
EAPI_MAJOR_VERSION=2
EAPI_MINOR_VERSION=12
CAMEL_API_VERSION=1.2
EDS_API_VERSION=1.2
fi


##### Fix for Evo plugin pkg-config

eplugindir=`pkg-config --variable=plugindir evolution-plugin`
AC_SUBST(eplugindir)
_____________________

Lastly, it was mostly compiling, but bombed on a couple of missing header files. I could not find in what Ubuntu package they belonged in - or even if they HAD been packaged. So, I downloaded some .h files from here

http://codebrowse.launchpad.net/~vcs...ehx9w14jai-671

specifically, the e-shell.h, e-component-registry.h, e-shell-window.h, and e-siderbar.h need to be retrieved and placed in the /usr/include/evolution-2.12/shell directory.
______________________

Finally, when I created the account and picked Zimbra Collaboration Suite, it sets up mail for IMAP. At first there was no indication that there were any calendar or contacts that referred to Zimbra. Wasn't quite sure what I needed to do, so I poked around in the compiled source. There were a few binaries there, including in the /calendar directory, "create-account" and "list-account". list-account didn't do anything, meaning there was no account to list, I guess, but "create-account --help" gave some options

gnyce@merit-laptop:~/ZimbraEvo/trunk/calendar$ ./create-account --help
Usage: ./create-account account hostname username port use_ssl

So I followed that and created an account. Whether that was related to what happened next, I'm not sure - guess yes - but soon thereafter, within Evolution I had a calendar listing with my Zimbra events, and the two different address books. I setup Evolution to look in those address books when sending mail, and created a Calendar event within Evolution (and verified that it was posted via Webmail). Also tested a Free/Busy search - seemed to work right away. That's about all the testing I did.
Reply With Quote