[evolution-data-server] Limit supported gweather to < 3.5.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Limit supported gweather to < 3.5.
- Date: Mon, 26 Mar 2012 14:35:48 +0000 (UTC)
commit 61ee9730ec22b2c578569efc747a65d9734d6789
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Mar 26 10:07:49 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 3b1fd66..a4853d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1091,6 +1091,11 @@ AC_MSG_RESULT([$use_gweather])
if test "x$use_gweather" = "xyes"; then
PKG_CHECK_MODULES([LIBGWEATHER], [gweather-3.0 >= gweather_minimum_version],[],
[AC_MSG_ERROR([The weather calendar backend requires GWeather >= gweather_minimum_version. Alternatively, you may specify --disable-weather as a configure option to avoid building the backend.])])
+
+ 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 avoid building the backend.])
+ fi
fi
AM_CONDITIONAL(ENABLE_WEATHER, [test $use_gweather = yes])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]