[gnome-power-manager/gnome-3-0] Remove the BR of libgnome-control-center, the prefs capplet is now seporate. Fixes #648615



commit a0183f8f39022ad6b6cc99c572add7e6dddfad5e
Author: Richard Hughes <richard hughsie com>
Date:   Thu May 5 11:54:39 2011 +0200

    Remove the BR of libgnome-control-center, the prefs capplet is now seporate. Fixes #648615

 configure.ac                        |    6 ------
 contrib/gnome-power-manager.spec.in |    1 -
 src/Makefile.am                     |    1 -
 3 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4e6131c..845229e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -128,12 +128,6 @@ PKG_CHECK_MODULES(UPOWER, upower-glib >= 0.9.1)
 dnl **** Check for NOTIFY ****
 PKG_CHECK_MODULES(NOTIFY, libnotify >= 0.7.0)
 
-dnl Required for the properties window
-PKG_CHECK_MODULES(CONTROL_CENTER, [
- libgnome-control-center >= 2.31.4])
-PANELS_DIR="${libdir}/control-center-1/panels"
-AC_SUBST(PANELS_DIR)
-
 dnl ---------------------------------------------------------------------------
 dnl - Check XF86XK_Keys
 dnl ---------------------------------------------------------------------------
diff --git a/contrib/gnome-power-manager.spec.in b/contrib/gnome-power-manager.spec.in
index d5e9116..6cd778d 100644
--- a/contrib/gnome-power-manager.spec.in
+++ b/contrib/gnome-power-manager.spec.in
@@ -24,7 +24,6 @@ BuildRequires: glib2-devel >= 2.25.9
 BuildRequires: GConf2-devel >= 2.31.1
 BuildRequires: gtk3-devel >= 2.91.3
 BuildRequires: dbus-glib-devel
-BuildRequires: control-center-devel >= 2.91.1
 BuildRequires: libwnck-devel
 Requires: gnome-icon-theme
 
diff --git a/src/Makefile.am b/src/Makefile.am
index 73d184b..807757b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -11,7 +11,6 @@ INCLUDES =						\
 	$(NOTIFY_CFLAGS)				\
 	$(CANBERRA_CFLAGS)				\
 	$(GSTREAMER_CFLAGS)				\
-	$(CONTROL_CENTER_CFLAGS)			\
 	$(UPOWER_CFLAGS)				\
 	-DBINDIR=\"$(bindir)\"			 	\
 	-DSBINDIR=\"$(sbindir)\"			\



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