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



commit 6994a8e7902630532ce521d6ef6346e359436bf2
Author: Richard Hughes <richard hughsie com>
Date:   Tue Apr 26 09:12:10 2011 +0100

    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 86d616c..5a1e271 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]