Feature #902 ยป 0055-gtk4x-fcmp-Disallow-anything-deprecated-in-gtk-4.10.patch
configure.ac | ||
---|---|---|
test "x$modinst" = "xall" || test "x$modinst" = "xauto" ; then
|
||
PKG_CHECK_MODULES([GTK5_MP], [gtk4 >= 4.10.0],
|
||
[
|
||
GTK5_MP_CFLAGS="$GTK5_MP_CFLAGS -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_4_8"
|
||
GTK5_MP_CFLAGS="$GTK5_MP_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66"
|
||
GTK5_MP_CFLAGS="$GTK5_MP_CFLAGS -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_4_10"
|
||
GTK5_MP_CFLAGS="$GTK5_MP_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_72"
|
||
PKG_CHECK_MODULES([GTHREAD_GTK5], [gthread-2.0],
|
||
[
|
||
fcmp_gtk5=yes
|
meson.build | ||
---|---|---|
executable('freeciv-mp-gtk4x',
|
||
'tools/fcmp/mpgui_gtk5.c',
|
||
mpicon,
|
||
c_args: [ '-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_4_8',
|
||
c_args: [ '-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_4_10',
|
||
'-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_4_10',
|
||
'-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66',
|
||
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_66'],
|
||
'-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_72',
|
||
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_72'],
|
||
include_directories: tool_inc,
|
||
sources: [verhdr],
|
||
dependencies: [gtk5_dep, sqlite3_dep, gettext_dep],
|