[gnome-panel/wip/swilmet-fixes] build: gweather-3.0 < 3.9 required



commit 30799f7c5eca86bed2f45ec36c16c865dcb1cdfb
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Aug 3 14:41:57 2013 +0200

    build: gweather-3.0 < 3.9 required
    
    libgweather 3.9 broke the API, gweather_info_new_for_world() has been
    removed. This fix should be trivial, but will be done later.

 configure.ac |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 710550a..0bc215a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,6 +76,7 @@ LIBECAL_REQUIRED=3.5.3
 LIBEDATASERVER_REQUIRED=3.5.3
 CAIRO_REQUIRED=1.0.0
 GWEATHER_REQUIRED=3.5.1
+GWEATHER_MAX_REQUIRED=3.8.99
 DBUS_GLIB_REQUIRED=0.80
 DCONF_REQUIRED=0.13.4
 
@@ -131,7 +132,15 @@ PKG_CHECK_MODULES(TZ, gio-2.0 >= $GLIB_REQUIRED)
 AC_SUBST(TZ_CFLAGS)
 AC_SUBST(TZ_LIBS)
 
-PKG_CHECK_MODULES(CLOCK, pango >= $PANGO_REQUIRED gtk+-3.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED 
gio-2.0 >= $GLIB_REQUIRED librsvg-2.0 gweather-3.0 >= $GWEATHER_REQUIRED gnome-desktop-3.0 >= 
$LIBGNOME_DESKTOP_REQUIRED polkit-gobject-1)
+PKG_CHECK_MODULES(CLOCK, pango >= $PANGO_REQUIRED
+                        gtk+-3.0 >= $GTK_REQUIRED
+                        glib-2.0 >= $GLIB_REQUIRED
+                        gio-2.0 >= $GLIB_REQUIRED
+                        librsvg-2.0
+                        gweather-3.0 >= $GWEATHER_REQUIRED
+                        gweather-3.0 <= $GWEATHER_MAX_REQUIRED
+                        gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
+                        polkit-gobject-1)
 AC_SUBST(CLOCK_CFLAGS)
 AC_SUBST(CLOCK_LIBS)
 


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