[the-board] [build] Define explicit versions for all dependencies
- From: Lucas Rocha <lucasr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [the-board] [build] Define explicit versions for all dependencies
- Date: Mon, 6 Dec 2010 22:47:20 +0000 (UTC)
commit 05389ef41081a89297343bb8927cf591b31c8e22
Author: Lucas Rocha <lucasr gnome org>
Date: Mon Dec 6 22:43:21 2010 +0000
[build] Define explicit versions for all dependencies
configure.ac | 38 ++++++++++++++++++++++++++------------
1 files changed, 26 insertions(+), 12 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 241deee..7eaebf0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,17 +44,29 @@ AC_PROG_LIBTOOL
## don't rerun to this point if we abort
AC_CACHE_SAVE
+CLUTTER_MIN_VERSION=1.5.8
+GLIB_MIN_VERSION=2.27.3
+GTK_MIN_VERSION=2.91.5
+GJS_MIN_VERSION=0.7.7
+CLUTTER_GTK_MIN_VERSION=0.91.4
+CLUTTER_GST_MIN_VERSION=1.3.2
+GOBJECT_INTROSPECTION_MIN_VERSION=0.9.6
+MX_MIN_VERSION=1.1.1
+GDK_PIXBUF_MIN_VERSION=2.22.1
+LIBNOTIFY_MIN_VERSION=0.7
+NAUTILUS_MIN_VERSION=2.91.3
+
PKG_CHECK_MODULES(THE_BOARD,
- glib-2.0
- gobject-introspection-1.0
- gjs-1.0
- gjs-dbus-1.0
- gobject-2.0
- clutter-1.0
- mx-1.0
- gtk+-3.0
- clutter-gtk-1.0
- clutter-gst-1.0)
+ glib-2.0 >= $GLIB_MIN_VERSION
+ gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_MIN_VERSION
+ gjs-1.0 >= $GJS_MIN_VERSION
+ gjs-dbus-1.0 >= $GJS_MIN_VERSION
+ gobject-2.0 >= $GLIB_MIN_VERSION
+ clutter-1.0 >= $CLUTTER_MIN_VERSION
+ mx-1.0 >= $MX_MIN_VERSION
+ gtk+-3.0 >= $GTK_MIN_VERSION
+ clutter-gtk-1.0 >= $CLUTTER_GTK_MIN_VERSION
+ clutter-gst-1.0 >= $CLUTTER_GST_MIN_VERSION)
AC_ARG_ENABLE([libnotify],
AC_HELP_STRING([--enable-libnotify],[enable libnotify support]),,
@@ -64,7 +76,7 @@ HAVE_LIBNOTIFY=0
if test x$enable_libnotify = xyes ; then
PKG_CHECK_MODULES([LIBNOTIFY],
- [libnotify >= 0.7],
+ [libnotify >= $LIBNOTIFY_MIN_VERSION],
[HAVE_LIBNOTIFY=1],[HAVE_LIBNOTIFY=0])
fi
@@ -106,7 +118,9 @@ HAVE_NAUTILUS=0
if test x$enable_nautilus = xyes ; then
PKG_CHECK_MODULES([NAUTILUS],
- [glib-2.0 >= 2.27.4 gdk-pixbuf-2.0 libnautilus-extension],
+ [glib-2.0 >= $GLIB_MIN_VERSION
+ gdk-pixbuf-2.0 >= $GDK_PIXBUF_MIN_VERSION
+ libnautilus-extension >= $NAUTILUS_MIN_VERSION],
[HAVE_NAUTILUS=1],[HAVE_NAUTILUS=0])
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]