configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6888ee9ba8f5c4f4bc43d49d7443489c13e469d4
Author: Michael Weghorn <[email protected]>
AuthorDate: Fri Aug 29 15:42:32 2025 +0200
Commit: Michael Weghorn <[email protected]>
CommitDate: Sat Aug 30 00:06:34 2025 +0200
gtk4 a11y: Don't require ATK
Other than GTK 3, GTK 4 no longer uses ATK, but
has its own GtkAccessible API to implement accessibility (see [1]).
Therefore, don't require ATK to be present for the --enable-gtk4
build.
Requiring atk was probably simply initially copied over from the
gtk3 logic above.
[1] https://docs.gtk.org/gtk4/section-accessibility.html
Change-Id: If2b4b44fd99c4a55a0efcf89690a72d316dc4245
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190374
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <[email protected]>
diff --git a/configure.ac b/configure.ac
index 4714fa7aef6b..99ccaf54f748 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12587,7 +12587,7 @@ if test "$test_gtk4" = yes -a "x$enable_gtk4" = "xyes";
then
add_warning 'Non-system cairo combined with gtk4 is assumed to cause
trouble; proceed at your own risk.'
fi
: ${with_system_cairo:=yes}
- PKG_CHECK_MODULES(GTK4, gtk4 >= 4.10 gmodule-no-export-2.0 glib-2.0 >=
2.38 cairo atk)
+ PKG_CHECK_MODULES(GTK4, gtk4 >= 4.10 gmodule-no-export-2.0 glib-2.0 >=
2.38 cairo)
GTK4_CFLAGS=$(printf '%s' "$GTK4_CFLAGS" | sed -e "s/-I/${ISYSTEM?}/g")
GTK4_CFLAGS="$GTK4_CFLAGS -DGDK_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED"
FilterLibs "${GTK4_LIBS}"