[gnome-color-manager] Add a dbus-glib buildrequire for the new brightness stuff that's coming
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Add a dbus-glib buildrequire for the new brightness stuff that's coming
- Date: Wed, 4 Nov 2009 10:00:34 +0000 (UTC)
commit 625c03e5f10f2e2d1a6585b51b8f62985f230b60
Author: Richard Hughes <richard hughsie com>
Date: Wed Nov 4 09:30:48 2009 +0000
Add a dbus-glib buildrequire for the new brightness stuff that's coming
configure.ac | 5 +++++
contrib/gnome-color-manager.spec.in | 4 ++++
src/Makefile.am | 2 ++
3 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2d1a096..ebde8e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -99,6 +99,7 @@ GNOMEDESKTOP_REQUIRED=2.14.0
GCONF_REQUIRED=0.22
UNIQUE_REQUIRED=1.0.0
VTE_REQUIRED=0.22.2
+DBUS_GLIB_REQUIRED=0.73
dnl ---------------------------------------------------------------------------
dnl - Check library dependencies
@@ -132,6 +133,10 @@ PKG_CHECK_MODULES(GUDEV, gudev-1.0)
AC_SUBST(GUDEV_CFLAGS)
AC_SUBST(GUDEV_LIBS)
+PKG_CHECK_MODULES(DBUS_GLIB, dbus-glib-1 >= $DBUS_GLIB_REQUIRED)
+AC_SUBST(DBUS_GLIB_CFLAGS)
+AC_SUBST(DBUS_GLIB_LIBS)
+
AC_PATH_PROG(GCONFTOOL, gconftool-2)
AM_GCONF_SOURCE_2
diff --git a/contrib/gnome-color-manager.spec.in b/contrib/gnome-color-manager.spec.in
index c601891..26bbb2d 100644
--- a/contrib/gnome-color-manager.spec.in
+++ b/contrib/gnome-color-manager.spec.in
@@ -1,4 +1,5 @@
%define gtk2_version 2.16.0
+%define dbus_glib_version 0.73
%define unique_version 1.0.0
%define alphatag #ALPHATAG#
@@ -19,6 +20,8 @@ Requires: gtk2 >= %{gtk2_version}
Requires: gnome-icon-theme
Requires: unique >= %{unique_version}
Requires: shared-mime-info
+Requires: dbus-glib >= %{dbus_glib_version}
+Requires: dbus-x11 >= %{dbus_version}
Requires: vte
Requires: argyllcms
Requires(post): scrollkeeper
@@ -39,6 +42,7 @@ BuildRequires: gnome-doc-utils
BuildRequires: unique-devel >= %{unique_version}
BuildRequires: intltool
BuildRequires: libgudev1-devel
+BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
%description
gnome-color-manager provides a way to control ICC colour profiles.
diff --git a/src/Makefile.am b/src/Makefile.am
index 6bda94f..235ed20 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,6 +5,7 @@ INCLUDES = \
$(UNIQUE_CFLAGS) \
$(GCONF_CFLAGS) \
$(VTE_CFLAGS) \
+ $(DBUS_GLIB_CFLAGS) \
-DG_UDEV_API_IS_SUBJECT_TO_CHANGE \
$(GUDEV_CFLAGS) \
-DBINDIR=\"$(bindir)\" \
@@ -90,6 +91,7 @@ gcm_prefs_LDADD = \
$(GCONF_LIBS) \
$(VTE_LIBS) \
$(GUDEV_LIBS) \
+ $(DBUS_GLIB_LIBS) \
$(GTK_LIBS)
gcm_prefs_CFLAGS = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]