[gnome-power-manager/gnome-2-28] Use separate variables for dbus and dbus-glib



commit b20bf3fa23943b463e78727aec2410741f18a9db
Author: Michael Biebl <biebl debian org>
Date:   Tue Sep 29 07:32:55 2009 +0200

    Use separate variables for dbus and dbus-glib
    
    dbus and dbus-glib have been split into separate packages quite some
    time ago, so also use separate version requirements.
    For dbus, require at least version 1.0, which has a stable API and no
    longer requires DBUS_API_SUBJECT_TO_CHANGE

 configure.ac |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8380b03..6a6c8f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,7 +95,8 @@ GTK_REQUIRED=2.17.7
 GDK_REQUIRED=2.11.0
 GCONF_REQUIRED=2.10.0
 GNOME_KEYRING_REQUIRED=0.6.0
-DBUS_REQUIRED=0.70
+DBUS_REQUIRED=1.0
+DBUS_GLIB_REQUIRED=0.70
 LIBNOTIFY_REQUIRED=0.4.3
 LIBWNCK_REQUIRED=2.10.0
 CAIRO_REQUIRED=1.0.0
@@ -112,6 +113,7 @@ AC_SUBST(GLIB_REQUIRED)
 AC_SUBST(GTK_REQUIRED)
 AC_SUBST(GDK_REQUIRED)
 AC_SUBST(DBUS_REQUIRED)
+AC_SUBST(DBUS_GLIB_REQUIRED)
 AC_SUBST(LIBNOTIFY_REQUIRED)
 AC_SUBST(LIBWNCK_REQUIRED)
 AC_SUBST(CAIRO_REQUIRED)
@@ -131,7 +133,7 @@ AC_SUBST(CANBERRA_CFLAGS)
 AC_SUBST(CANBERRA_LIBS)
 
 PKG_CHECK_MODULES(DBUS,[
- dbus-glib-1 >= $DBUS_REQUIRED
+ dbus-glib-1 >= $DBUS_GLIB_REQUIRED
  dbus-1 >= $DBUS_REQUIRED
  gthread-2.0])
 AC_SUBST(DBUS_CFLAGS)



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