[yocto] [matchbox-panel-2][PATCH 01/25] build: check for GTK+3, and require 3.0

Jussi Kukkonen jussi.kukkonen at intel.com
Tue May 3 04:30:20 PDT 2016


From: Ross Burton <ross.burton at intel.com>

---
 configure.ac | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 55de6ae..4f38032 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,10 +17,12 @@ GNOME_COMPILE_WARNINGS
 # base deps
 PKG_CHECK_MODULES(MATCHBOX_PANEL,
                   glib-2.0
+                  gmodule-export-2.0
                   x11
-                  gdk-x11-2.0
-                  gtk+-2.0 >= 2.18
-                  gmodule-export-2.0)
+                  gdk-x11-3.0
+                  gtk+-3.0)
+
+AC_DEFINE_UNQUOTED(GDK_VERSION_MIN_REQUIRED, [GDK_VERSION_3_0], [GTK+ API we require])
 
 # startup-notification
 AC_ARG_ENABLE(startup_notification,
-- 
2.8.1




More information about the yocto mailing list