Problem: configure: GTK4 build requires GTK >= 4.10
Solution: Update configure script and require at least GTK 4.10 version
(Yasuhiro Matsumoto).
The GTK4 GUI uses GtkFontDialog, GtkFileDialog and GtkAlertDialog,
all introduced in GTK 4.10. Without this bump, configure passes on
systems with older GTK4 (e.g. Debian Bookworm ships 4.8) and the
build fails later in gui_gtk4.c with unknown type / implicit
function declaration errors.
fixes: #20340
closes: #20360
Co-Authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
if test "x$PKG_CONFIG" != "xno"; then
- min_gtk_version="4.0.0"
+ min_gtk_version="4.10.0"
if test "$PKG_CONFIG" != "no"; then
case $min_gtk_version in #(
fi
if test "x$PKG_CONFIG" != "xno"; then
- AM_PATH_GTK(4.0.0,
+ AM_PATH_GTK(4.10.0,
[GUI_LIB_LOC="$GTK_LIBDIR"
GTK_LIBNAME="$GTK_LIBS"
GUI_INC_LOC="$GTK_CPPFLAGS"])
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 546,
/**/
545,
/**/