wiki:trunk/installation/checkout

Getting the source tree - Trunk

As the trunk stands for the latest version control change, it changes on a daily basis and thus there are no tarballs available. OpenSync project uses Subversion for version control and thus that is required to get the lastest source tree to the local system where the build is done.

Repository URLs

Main Librarys

libopensync: http://svn.opensync.org/trunk
libsyncml:   http://svn.opensync.org/libsyncml/trunk
libwbxml:    http://svn.opensync.org/libwbxml/wbxml2/trunk

Format Librarys

libopensync-plugin-vformat:     http://svn.opensync.org/format-plugins/vformat
libopensync-plugin-xmlformat:   http://svn.opensync.org/format-plugins/xmlformat/trunk
libopensync-plugin-xsltformat:  http://svn.opensync.org/format-plugins/xsltformat

Device Plugins

libopensync-plugin-file:             http://svn.opensync.org/plugins/file-sync
libopensync-plugin-python:           http://svn.opensync.org/plugins/python-module

libopensync-plugin-evolution2:       http://svn.opensync.org/plugins/evolution2 
libopensync-plugin-kdepim:           http://svn.opensync.org/plugins/kdepim
libopensync-plugin-mozilla:          http://svn.opensync.org/plugins/mozilla-sync/trunk
libopensync-plugin-google-calendar:  http://svn.opensync.org/plugins/google-calendar

libopensync-plugin-akonadi:          svn://anonsvn.kde.org/home/kde/trunk/KDE/kdepim/akonadi/opensync
libopensync-plugin-qtopia4:          http://svn.opensync.org/plugins/qtopia4-sync

Applications

osynctool:   http://svn.opensync.org/osynctool/trunk 
msynctool:   http://svn.opensync.org/multisync/trunk-gui               
kitchensync: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdepim/kitchensync

Note that msynctool was renamed to osynctool and urls cleaned from old multisync project.

Subversion commands

Following command checks out the trunk from repository:

svn co http://svn.opensync.org/trunk/ libopensync

Once done first time, the local copy can be updated with:

cd libopensync
svn update

Following Bourne shell commands export the current versions without the repository metadata and creates tar archive files suitable for OS packaging:

svn cat  http://svn.opensync.org/trunk/CMakeLists.txt > /tmp/oscmakelist.txt
export MAJOR=`grep "^SET.*OPENSYNC_VERSION_MAJOR" /tmp/oscmakelist.txt |cut -d\" -f2 `
export MINOR=`grep "^SET.*OPENSYNC_VERSION_MINOR" /tmp/oscmakelist.txt |cut -d\" -f2 `
rm -f /tmp/oscmakelist.txt
export REL="${MAJOR}.${MINOR}"
export VER=`svn info http://svn.opensync.org/trunk/ |grep Revision|cut -d\  -f2`

svn export http://svn.opensync.org/trunk libopensync-${REL}svn${VER}
tar zcvf libopensync-${REL}svn${VER}.tar.gz  libopensync-${REL}svn${VER}

svn co http://svn.opensync.org/format-plugins/vformat libopensync-plugin-vformat-${REL}svn${VER}
tar zcvf libopensync-plugin-vformat-${REL}svn${VER}.tar.gz  libopensync-plugin-vformat-${REL}svn${VER}

svn co http://svn.opensync.org/plugins/file-sync libopensync-plugin-file-${REL}svn${VER}
tar zcvf libopensync-plugin-file-${REL}svn${VER}.tar.gz  libopensync-plugin-file-${REL}svn${VER}

svn co http://svn.opensync.org/plugins/syncml libopensync-plugin-syncml-${REL}svn${VER}
tar zcvf libopensync-plugin-syncml-${REL}svn${VER}.tar.gz  libopensync-plugin-syncml-${REL}svn${VER}