mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-08 17:50:10 +00:00
c63087a563
To build a better world sometimes means having to tear the old one down. -- Alexander Pierce, "Captain America: The Winter Soldier" ATK served us well for nearly 20 years, but the world has changed, and GTK has changed with it. Now ATK is mostly a hindrance towards improving the accessibility stack: - it maps to a very specific implementation, AT-SPI, which is Linux and Unix specific - it requires implementing the same functionality in three different layers of the stack: AT-SPI, ATK, and GTK - only GTK uses it; every other Linux and Unix toolkit and application talks to AT-SPI directly, including assistive technologies Sadly, we cannot incrementally port GTK to a new accessibility stack; since ATK insulates us entirely from the underlying implementation, we cannot replace it piecemeal. Instead, we're going to remove everything and then incrementally build on a clean slate: - add an "accessible" interface, implemented by GTK objects directly, which describe the accessible role and state changes for every UI element - add an "assistive technology context" to proxy a native accessibility API, and assign it to every widget - implement the AT context depending on the platform For more information, see: https://gitlab.gnome.org/GNOME/gtk/-/issues/2833
47 lines
1.3 KiB
Meson
47 lines
1.3 KiB
Meson
gtk_libexecdir = join_paths(gtk_prefix, get_option('libexecdir'))
|
|
installed_test_bindir = join_paths(gtk_libexecdir, 'installed-tests', 'gtk-4.0')
|
|
installed_test_datadir = join_paths(gtk_datadir, 'installed-tests', 'gtk-4.0')
|
|
|
|
# We call diff in various tests, so we need to check it's available,
|
|
# otherwise we're going to have failures down the line
|
|
diff = find_program('diff', required: true)
|
|
|
|
common_env = [
|
|
'GIO_USE_VOLUME_MONITOR=unix',
|
|
'GSETTINGS_BACKEND=memory',
|
|
'GTK_CSD=1',
|
|
'G_ENABLE_DIAGNOSTIC=0',
|
|
'GSETTINGS_SCHEMA_DIR=@0@'.format(gtk_schema_build_dir),
|
|
]
|
|
|
|
if get_option('debug')
|
|
common_env += [ 'GDK_DEBUG=default-settings' ]
|
|
endif
|
|
|
|
add_test_setup ('x11',
|
|
is_default: true,
|
|
env: common_env + [
|
|
'GDK_BACKEND=x11',
|
|
'TEST_OUTPUT_SUBDIR=x11',
|
|
])
|
|
|
|
add_test_setup ('wayland',
|
|
env: common_env + [
|
|
'GDK_BACKEND=wayland',
|
|
'TEST_OUTPUT_SUBDIR=wayland',
|
|
])
|
|
|
|
add_test_setup ('broadway',
|
|
env: common_env + [
|
|
'GDK_BACKEND=broadway',
|
|
'TEST_OUTPUT_SUBDIR=broadway',
|
|
])
|
|
|
|
subdir('performance')
|
|
subdir('gdk')
|
|
subdir('gsk')
|
|
subdir('gtk')
|
|
subdir('css')
|
|
subdir('tools')
|
|
subdir('reftests')
|