[libnma/lr/gtk-4.0: 6/7] all: bump Gtk3 version requirement




commit 1e2d36b8636dbbded96504dcddec68947a2dc0bf
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Fri Oct 15 13:53:37 2021 +0200

    all: bump Gtk3 version requirement
    
    Bump it by one release -- should be uniquitous. We need the GtkPopover.

 configure.ac | 4 ++--
 meson.build  | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 98f61f5a..cb3d6c3b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -131,8 +131,8 @@ LIBNM_CFLAGS="$LIBNM_CFLAGS -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_38"
 LIBNM_CFLAGS="$LIBNM_CFLAGS -DNM_VERSION_MIN_REQUIRED=NM_VERSION_1_8"
 LIBNM_CFLAGS="$LIBNM_CFLAGS -DNM_VERSION_MAX_ALLOWED=NM_VERSION_1_8"
 
-PKG_CHECK_MODULES(GTK3, gtk+-3.0 >= 3.10)
-GTK3_CFLAGS="$GTK3_CFLAGS -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_10 
-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_10"
+PKG_CHECK_MODULES(GTK3, gtk+-3.0 >= 3.12)
+GTK3_CFLAGS="$GTK3_CFLAGS -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_12 
-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_12"
 
 AC_ARG_WITH(libnma-gtk4, AS_HELP_STRING([--with-libnma-gtk4], [build EXPERIMENTAL libnma-gtk4 library for 
use with GTK4]))
 if test "$with_libnma_gtk4" == yes; then
diff --git a/meson.build b/meson.build
index 1021878a..220acb3e 100644
--- a/meson.build
+++ b/meson.build
@@ -154,13 +154,13 @@ gmodule_export_dep = dependency('gmodule-export-2.0')
 m_dep = cc.find_library('m')
 
 # Check for gtk+
-gtk_req_version = '>= 3.10'
+gtk_req_version = '>= 3.12'
 
 gtk_dep = declare_dependency(
   dependencies: dependency('gtk+-3.0', version: gtk_req_version),
   compile_args: [
-    '-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_10',
-    '-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_10'
+    '-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_12',
+    '-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_12'
   ]
 )
 


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