[planner: 26/32] build: Require >=gtk+-3.10




commit aa1521892abdc18606a92c030d2d045543d863eb
Author: Mart Raudsepp <leio gentoo org>
Date:   Mon Jun 14 00:16:42 2021 +0300

    build: Require >=gtk+-3.10
    
    Deprecation warnings are kept at 3.8 for now on purpose, as there is a
    lot of work to do to handle deprecations from 3.10 (GtkUIManager,
    GtkAction, etc).

 meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index b89c2647..df0eea38 100644
--- a/meson.build
+++ b/meson.build
@@ -41,7 +41,7 @@ libplanner_inc = include_directories('libplanner')
 
 glib_req_version = '2.50'
 glib_req = '>= @0@'.format(glib_req_version)
-gtk_req_version = '3.2'
+gtk_req_version = '3.10'
 gtk_req = '>= @0@'.format(gtk_req_version)
 eds_req = '>= 3.6'
 
@@ -73,7 +73,7 @@ gtk_minor_version = gtk_version_arr[1]
 add_project_arguments([
   '-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_@0@_@1@'.format(glib_major_version, glib_minor_version),
   '-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_@0@_@1@'.format(glib_major_version, glib_minor_version),
-  '-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_@0@_@1@'.format(gtk_major_version, gtk_minor_version),
+  '-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_@0@_@1@'.format(3, 8), # TODO: Move back to dynamic after 3.10 
deprecations are handled (GtkUIManager/GtkAction vs GAction)
   '-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_@0@_@1@'.format(gtk_major_version, gtk_minor_version),
 ], language: 'c')
 


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