Project

General

Profile

Feature #1024 ยป 0061-gtk4x-Require-gtk-4.14.patch

Marko Lindqvist, 10/26/2024 06:43 AM

View differences:

m4/gtk5-client.m4
[
if test "x$gui_gtk5" = "xyes" ||
test "x$client" = "xall" || test "x$client" = "xauto" ; then
PKG_CHECK_MODULES([GTK5], [gtk4 >= 4.10.0],
PKG_CHECK_MODULES([GTK5], [gtk4 >= 4.14.0],
[
GTK5_CFLAGS="$GTK5_CFLAGS -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_4_8"
GTK5_CFLAGS="$GTK5_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66"
GTK5_CFLAGS="$GTK5_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_76"
gui_gtk5=yes
if test "x$client" = "xauto" ; then
client=yes
meson.build
'client/gui-gtk-5.0/wldlg.c',
clienticon,
c_args: [ '-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_4_8',
'-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_4_10',
'-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66',
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_66'],
'-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_4_14',
'-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_76',
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_76'],
include_directories: client_inc,
dependencies: [gtk5_dep, net_dep, gettext_dep, mw_extra_dep],
link_with: client_common,
    (1-1/1)