diff mbox series

[1/3] at-spi2-core: RDEPENDS on gsettings-desktop-schemas

Message ID 20260919162323.3862788-2-tim.orling@konsulko.com
State New
Headers show
Series [1/3] at-spi2-core: RDEPENDS on gsettings-desktop-schemas | expand

Commit Message

Tim Orling Sept. 19, 2026, 4:23 p.m. UTC
From: Tim Orling <tim.orling@konsulko.com>

at-spi-bus-launcher aborts when no compiled GSettings schema is present.

This has been a fatal error since [1]:
"26f75dc0 bus: Abort if we cannot get the default GSettingsSchemaSource"

[1] https://gitlab.gnome.org/GNOME/at-spi2-core/-/commit/26f75dc00eb16ccec89561aefe15f4036d45b4ec

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 meta/recipes-support/atk/at-spi2-core_2.60.6.bb | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-support/atk/at-spi2-core_2.60.6.bb b/meta/recipes-support/atk/at-spi2-core_2.60.6.bb
index 1e7a16d747..5c676d639f 100644
--- a/meta/recipes-support/atk/at-spi2-core_2.60.6.bb
+++ b/meta/recipes-support/atk/at-spi2-core_2.60.6.bb
@@ -23,6 +23,13 @@  DEPENDS = " \
 PROVIDES += "atk at-spi2-atk"
 RPROVIDES:${PN} += "atk at-spi2-atk"
 
+# at-spi-bus-launcher calls g_error() -- which aborts -- when
+# g_settings_schema_source_get_default() returns NULL, which is what happens
+# when no gschemas.compiled exists anywhere in XDG_DATA_DIRS. It also reads and
+# writes org.gnome.desktop.interface's toolkit-accessibility key to persist the
+# accessibility enable/disable state across sessions.
+RDEPENDS:${PN}:append:class-target = " gsettings-desktop-schemas"
+
 inherit gnomebase gi-docgen gettext systemd upstream-version-is-even gobject-introspection python3-dir
 
 EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \