200.1. at-spi2-core-2.62.0.1
Assistive Technology Service Provider Interface — the accessibility bus, ATK and the ATK bridge
2.62.0.1-1 · LGPL-2.1-or-later · 0.5 SBU · 3.3 MiB, 98 files · 42_graphics, 29 of 189 · ports/core/accessibility/at-spi2-core
Homepage: https://gitlab.gnome.org/GNOME/at-spi2-core
Why it is in KDOS. The comment above it in script/phases/42_graphics/packages.d/accessibility.txt:
The accessibility bus GTK, Qt and Orca share.
at-spi2-core is the accessibility layer of the Linux desktop: the accessibility bus, a D-Bus bus of its own on which applications publish the tree of what they show; the registry daemon; the libatspi client library that screen readers use; and ATK with its bridge to the bus, which GTK uses. Orca reads GTK and Qt applications through it. The bus is started on demand, by D-Bus activation of org.a11y.Bus the first time something asks for it (see The environment a box receives and Accessibility).
Depends on: meson, glib, dbus, libxml2, libX11, libXtst, libXi, libXres, python3, gobject-introspection, glib-introspection.
Required by (18): accessibility-inspector, atkmm2.28, chromium, dasher, firefox-esr, gimp, gtk3, gtk4, libreoffice, librewolf, orca, python3-pyatspi, qt5-qtbase, qt6-qtbase, selenium-webdriver-at-spi, thunderbird, webkitgtk, webkitgtk6.
Sources: at-spi2-core-2.62.0.1.tar.xz (585.6 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install at-spi2-core'
build.sh:
meson setup build \
--prefix=/usr --sysconfdir=/etc --libdir=lib --libexecdir=/usr/lib \
--buildtype=release \
-Duse_systemd=false \
-Ddefault_bus=dbus-daemon \
-Ddbus_daemon=/usr/bin/dbus-daemon \
-Dgtk2_atk_adaptor=false \
-Dx11=enabled \
-Dintrospection=enabled \
-Ddbus_glib=disabled \
-Ddocs=false
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build
--libexecdir=/usr/lib— Install the bus launcher and the registry daemon, which only D-Bus activation starts, under/usr/librather than in a separatelibexecdirectory.-Duse_systemd=false— Do not hand the bus to a systemd user unit; KDOS has no systemd (see No systemd).-Ddefault_bus=dbus-daemon— Run the accessibility bus withdbus-daemon. Upstream’s default is dbus-broker, which needs systemd and is not a port.-Ddbus_daemon=/usr/bin/dbus-daemon— The path the bus launcher executes. Named, it is compiled in rather than looked up on the build machine.-Dgtk2_atk_adaptor=false— Do not build the module GTK 2 loads; there is no GTK 2 in the tree.-Dx11=enabled— Build the X11 support, and fail the configure without it: the launcher then publishes the bus address as theAT_SPI_BUSproperty on the X root window, where an X client under Xwayland finds it, and the device layer can synthesise input for X clients through XTest.-Dintrospection=enabled— Generate the GObject introspection data,Atspi-2.0.typelibamong it, through which Orca, a Python program, useslibatspi.-Ddbus_glib=disabled— Do not integrate with dbus-glib’s main loop. It is upstream’s default, and dbus-glib is not a port.-Ddocs=false— No API reference. It is upstream’s default.
Libraries: libatk-1.0.so, libatk-bridge-2.0.so, libatspi.so.
Directories: /etc/xdg/Xwayland-session.d, /usr/include/at-spi-2.0, /usr/include/at-spi2-atk, /usr/include/atk-1.0, /usr/lib/gnome-settings-daemon-3.0, /usr/share/dbus-1/accessibility-services, /usr/share/defaults, /usr/share/licenses/at-spi2-core.
meson looks for libXres without requiring it and builds the X resource support when it finds the library, so libXres is in depends to keep that from following build order.