[evolution] Limit supported gweather to < 3.5.



commit bda78f1da8e077aee9f799825e15c5920a667d47
Author: Matthew Barnes <mbarnes redhat com>
Date:   Mon Mar 26 10:18:53 2012 -0400

    Limit supported gweather to < 3.5.
    
    gweather-3.5 introduces API changes we do not yet support.
    
    A patch for gweather-3.5 support exists in bug 672805, but since our
    policy forbids requiring unstable libraries, gweather-3.4 support must
    be retained until GNOME 3.6 is released.  gweather-3.5/3.6 support will
    remain optional until 3.7.1.

 configure.ac |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5ae8633..00d00ab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1401,6 +1401,11 @@ if test "x$enable_weather" = "xyes"; then
 	else
 		AC_MSG_ERROR([gweather-3.0 >= gweather_minimum_version is required for the calendar-weather plugin.  Use --disable-weather to exclude the plugin.])
 	fi
+
+	dnl gweather-3.5 introduces API changes we do not yet support.
+	if `$PKG_CONFIG --atleast-version=3.5 gweather-3.0`; then
+		AC_MSG_ERROR([gweather-3.5 is not yet supported.  Install gweather-3.4 or specify --disable-weather as a configure option to exclude the calendar-weather plugin.])
+	fi
 fi
 
 dnl ********************************************************************



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