Building blueZync
This is the building page for blueZync 0.1.6. See also Building latest blueZync version.Building blueZync
blueZync currently only builds on LinuxPrerequisites
You will need- cmake (at least version 2.4.7)
You will need the development packages for the following:
- libical
- glib2
- libxml2
- thunderbird
Those can probably be installed with your package manager.
You will also need
- sunbird-xpcom-devel
If it is not offered by your distro, you can use this
You will also need to
- download at least version 0.34 of OpenSync, including downloading at least version 0.4.5 of LibSyncML.
This is not likely to be available in your package manager.
You may find the following scripts in the blueZync utils
directory useful:
download-opensync.sh
build-install-prereqs.sh
build-install-opensync.sh
Please note that if you build OpenSync out of SVN, there are currently (2007-12-01) some bugs in the syncml plugin (see this message), but using the 0.34 packages should work.
Downloading
Check out the source:svn co https://bluezync.svn.sourceforge.net/svnroot/bluezync/trunk/libopensync-plugin-mozilla libopensync-plugin-mozilla svn co https://bluezync.svn.sourceforge.net/svnroot/bluezync/trunk/blueZync4thunderbird blueZync4thunderbird svn co https://bluezync.svn.sourceforge.net/svnroot/bluezync/trunk/utils utils
or download source tarballs from the SourceForge repository
Building
Either use the scriptbuild-install-bluezync.sh
in the blueZync utils
directory, or build manually:You should set a prefix and the path to your package files:
export PREFIX="/usr/local" export PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/local/lib/pkgconfig"
Create a buid directory and cd
into it. Now run
cmake -DCMAKE_INSTALL_PREFIX="$PREFIX" <path-to-libopensync-plugin-mozilla-source-dir> make install cmake -DCMAKE_INSTALL_PREFIX="$PREFIX" <path-to-blueZync4thunderbird-source-dir> make install
Try it out
You must do something likeexport LD_LIBRARY_PATH=/usr/lib/thunderbird-2.0.0.6/:/usr/local/lib/opensync/formats
- Obviously the paths need to point to where thunderbird and opensync respectively, are installed
- The
thunderbird
path is only necessary if you run e.g.msynctool
outside of thunderbird - I guess the need for
opensync/formats
is a bug in OpenSync...
make install
in blueZync4thunderbird
installs the extension files into /usr/local/share/blueZync
(depending on your PREFIX setting, of course).
In your Thunderbird profile extension directory (something like /home/someone/.thunderbird/ab1cde23/extensions
) create a file called blueZync@KaarPoSoft.dk
with a single line in it:
/usr/local/share/blueZync/
- Look in Thunderbird's Tools menu - at the bottom you should find blueZync
See also the (very incomplete) blueZync manual