[evolution-rss] Adapt to evolution folder structure changes in 3.13.6



commit c280715f008b1137f3a94c8268b58d5a26af50f1
Author: Milan Crha <mcrha redhat com>
Date:   Mon Sep 22 17:23:35 2014 +0200

    Adapt to evolution folder structure changes in 3.13.6
    
    Since 3.13.6 evolution doesn't use versioned folders, which requires
    changes to copy plugin files to the correct folders, thus they are
    found by the evolution itself.

 configure.ac |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6679ab5..3e7a323 100644
--- a/configure.ac
+++ b/configure.ac
@@ -377,13 +377,21 @@ serverdir="$BONOBO_LIBDIR/bonobo/servers"
 AC_SUBST(serverdir)
 fi
 
+if test $evolution_int_version -ge 31306; then
+privdatadir='${datadir}'/evolution
+else
 privdatadir='${datadir}'/evolution/$EVOLUTION_EXEC_VERSION
+fi
 AC_SUBST(privdatadir)
 
 uidir="$privdatadir/ui"
 AC_SUBST(uidir)
 
+if test $evolution_int_version -ge 31306; then
+privlibdir=`$PKG_CONFIG --variable=privlibdir evolution-shell-3.0`
+else
 privlibdir='${libdir}'/evolution/$EVOLUTION_EXEC_VERSION
+fi
 AC_SUBST(privlibdir)
 
 moduledir="$privlibdir/modules"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]