[network-manager-applet/lr/meson-fixes: 3/6] build: fix required GTK3 version
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/lr/meson-fixes: 3/6] build: fix required GTK3 version
- Date: Mon, 18 Feb 2019 14:08:59 +0000 (UTC)
commit 1eb17ef9e3acb22123fb49078eb25679bad61f93
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Fri Feb 15 17:19:47 2019 +0100
build: fix required GTK3 version
The GtkBuilder files and the autoconf script all depend on 3.10.
However, a few places were left where 3.4 was forgotten.
Also "GTK_VERSION" was used instead of "GDK_VERSION" in some spots --
fix that too.
configure.ac | 2 +-
meson.build | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 10a92f56..42a49716 100644
--- a/configure.ac
+++ b/configure.ac
@@ -163,7 +163,7 @@ fi
PKG_CHECK_MODULES(NOTIFY, [libnotify >= 0.4.3])
PKG_CHECK_MODULES(GTK3, gtk+-3.0 >= 3.10)
-GTK3_CFLAGS="$GTK3_CFLAGS -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_4
-DGTK_VERSION_MAX_ALLOWED=GTK_VERSION_3_4"
+GTK3_CFLAGS="$GTK3_CFLAGS -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_10
-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_10"
AC_ARG_WITH([appindicator],
AS_HELP_STRING([--with-appindicator=no|yes|auto|ayatana|ubuntu], [Build with
lib(ayatana-)appindicator support in addition to xembed systray support.]),
diff --git a/meson.build b/meson.build
index 7f226256..9a063a16 100644
--- a/meson.build
+++ b/meson.build
@@ -147,13 +147,13 @@ libsecret_dep = dependency('libsecret-1', version: '>= 0.18')
m_dep = cc.find_library('m')
# Check for gtk+
-gtk_req_version = '>= 3.4'
+gtk_req_version = '>= 3.10'
gtk_dep = declare_dependency(
dependencies: dependency('gtk+-3.0', version: gtk_req_version),
compile_args: [
- '-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_4',
- '-DGTK_VERSION_MAX_ALLOWED=GTK_VERSION_3_4'
+ '-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_10',
+ '-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_10'
]
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]