#! /bin/sh cd $HOME/cvs/evo-dbus #export CC="ccache distcc" #export CPUS="-j1" #export DISTCC_HOSTS="localhost" export CVSROOT=:ext:pvanhoof@cvs.gnome.org/cvs/gnome #export CVSROOT=:pserver:anonymous@anoncvs.gnome.org/cvs/gnome HEAD_MODULES="gal gtkhtml evolution evolution-exchange" for a in $HEAD_MODULES do if test ! -d $a; then cvs -z3 co $a fi done if test ! -d libsoup then cvs -z3 co -r gnome-2-10 libsoup fi if test ! -d evolution-data-server then mkdir -p evolution-data-server pushd evolution-data-server svn svn checkout http://svn.o-hand.com/repos/eds-dbus/trunk popd fi pushd gal cvs update -d make $CPUS && sudo make install || (make distclean; ./autogen.sh --prefix=/opt/evo-dbus/; make $CPUS && sudo make install) if test $? != 0 then echo "Failure trying to upgrade gal" exit 1 fi popd pushd libsoup cvs update -d make $CPUS && sudo make install || (make distclean; PKG_CONFIG_PATH=/opt/evo-dbus/lib/pkgconfig/ ./autogen.sh --prefix=/opt/evo-dbus/; make $CPUS && sudo make install) if test $? != 0 then echo "Failure trying to upgrade libsoup" exit 1 fi popd pushd gtkhtml cvs update -d make $CPUS && sudo make install || (make distclean; PKG_CONFIG_PATH=/opt/evo-dbus/lib/pkgconfig/ ./autogen.sh --prefix=/opt/evo-dbus/; make $CPUS && sudo make install) if test $? != 0 then echo "Failure trying to upgrade gtkhtml" exit 1 fi popd pushd evolution-data-server/trunk svn update make $CPUS && sudo make install || (make distclean; PKG_CONFIG_PATH=/opt/evo-dbus/lib/pkgconfig/ ./autogen.sh --prefix=/opt/evo-dbus/; make $CPUS && sudo make install) if test $? != 0 then echo "Failure trying to upgrade evolution-data-server" exit 1 fi popd pushd evolution cvs update -d make $CPUS && sudo make install || (make distclean; PKG_CONFIG_PATH=/opt/evo-dbus/lib/pkgconfig/ ./autogen.sh --prefix=/opt/evo-dbus/ --with-openldap=yes --enable-nntp=yes --enable-ipv6=yes --enable-test-component=no --enable-nss=yes --enable-smime=yes --enable-plugins=all; make $CPUS && sudo make install) if test $? != 0 then echo "Failure trying to upgrade evolution" exit 1 fi popd echo "Success" exit 0 pushd evolution-exchange cvs update -d make $CPUS && sudo make install || (make distclean; PKG_CONFIG_PATH=/opt/evo-dbus/lib/pkgconfig/ ./autogen.sh --prefix=/opt/evo-dbus/; make $CPUS && sudo make install) if test $? != 0 then echo "Failure trying to upgrade evolution-exchange" exit 1 fi popd echo "Success" exit 0