[gnome-power-manager] Only use libpanel-applet flags to build applets
- From: Vincent Untz <vuntz src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-power-manager] Only use libpanel-applet flags to build applets
- Date: Mon, 20 Jul 2009 12:23:33 +0000 (UTC)
commit 959750806ceddbe35a63475b8c7feb5dacb94b87
Author: Vincent Untz <vuntz gnome org>
Date: Mon Jul 20 14:23:07 2009 +0200
Only use libpanel-applet flags to build applets
http://bugzilla.gnome.org/show_bug.cgi?id=575468
applets/brightness/Makefile.am | 4 +++-
applets/inhibit/Makefile.am | 4 +++-
configure.ac | 9 ++++++++-
3 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/applets/brightness/Makefile.am b/applets/brightness/Makefile.am
index 4ba35a9..b8d5f77 100644
--- a/applets/brightness/Makefile.am
+++ b/applets/brightness/Makefile.am
@@ -3,6 +3,7 @@ INCLUDES = \
$(GLIB_CFLAGS) \
$(DBUS_CFLAGS) \
$(GNOME_CFLAGS) \
+ $(PANEL_CFLAGS) \
$(LIBNOTIFY_CFLAGS) \
$(GTKUNIQUE_CFLAGS) \
-DBINDIR=\"$(bindir)\" \
@@ -33,7 +34,8 @@ gnome_brightness_applet_SOURCES = \
gnome_brightness_applet_LDADD = \
$(DBUS_LIBS) \
- $(GNOME_LIBS)
+ $(GNOME_LIBS) \
+ $(PANEL_LIBS)
serverdir = $(libdir)/bonobo/servers
server_in_files = GNOME_BrightnessApplet.server.in
diff --git a/applets/inhibit/Makefile.am b/applets/inhibit/Makefile.am
index 788a7e8..7b44240 100644
--- a/applets/inhibit/Makefile.am
+++ b/applets/inhibit/Makefile.am
@@ -3,6 +3,7 @@ INCLUDES = \
$(GLIB_CFLAGS) \
$(DBUS_CFLAGS) \
$(GNOME_CFLAGS) \
+ $(PANEL_CFLAGS) \
$(LIBNOTIFY_CFLAGS) \
$(GTKUNIQUE_CFLAGS) \
-DBINDIR=\"$(bindir)\" \
@@ -33,7 +34,8 @@ gnome_inhibit_applet_SOURCES = \
gnome_inhibit_applet_LDADD = \
$(DBUS_LIBS) \
- $(GNOME_LIBS)
+ $(GNOME_LIBS) \
+ $(PANEL_LIBS)
serverdir = $(libdir)/bonobo/servers
server_in_files = GNOME_InhibitApplet.server.in
diff --git a/configure.ac b/configure.ac
index c723401..e84579f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -93,6 +93,7 @@ dnl ---------------------------------------------------------------------------
GLIB_REQUIRED=2.13.0
GTK_REQUIRED=2.11.0
GDK_REQUIRED=2.11.0
+GCONF_REQUIRED=2.10.0
GNOME_KEYRING_REQUIRED=0.6.0
HAL_REQUIRED=0.5.8
DBUS_REQUIRED=0.70
@@ -146,12 +147,18 @@ AC_SUBST(DBUS_LIBS)
PKG_CHECK_MODULES(GNOME, [
libwnck-1.0 >= $LIBWNCK_REQUIRED
gtk+-2.0 >= $GTK_REQUIRED
+ gconf-2.0 >= $GCONF_REQUIRED
gnome-keyring-1 >= $GNOME_KEYRING_REQUIRED
- libpanelapplet-2.0 >= $LIBPANEL_REQUIRED
cairo >= $CAIRO_REQUIRED])
AC_SUBST(GNOME_CFLAGS)
AC_SUBST(GNOME_LIBS)
+PKG_CHECK_MODULES(PANEL, [
+ libpanelapplet-2.0 >= $LIBPANEL_REQUIRED])
+AC_SUBST(PANEL_CFLAGS)
+AC_SUBST(PANEL_LIBS)
+
+
PKG_CHECK_MODULES(GDK, [
gdk-2.0 >= $GDK_REQUIRED
gdk-x11-2.0 >= $GDK_REQUIRED])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]