From 87743c333e463a92a31beb5d1876b1ae6066ae36 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 26 Mar 2024 08:34:20 +0800 Subject: at-spi2-core: upgrade 2.50.1 -> 2.52.0 Changelog: =========== * tests: Fix missing declaration for getpid(). * Back out code to generate mouse events on mutter. It had a couple of unwanted side effects. Also remove dependencies on libei and xkbcommon. * atk-adaptor: Fix collection role matching. * Have atspi_text_get_string_at_offset fall back to calling GetTextAtOffset if GetStringAtOffset is unimplemented. * Don't use g_assert in the unit tests. * Add an attribute-changed signal in atk, and update libatspi attribute cache. * Add GetTextSelection and SetTextSelection to Document interface. * Add atspi_device_generate_mouse_event, and implement for mutter. * Have atspi_device_add_key_grab return 0 if XIGrabKeycode fails. * xml: Add Embedded to the Socket interface * Don't return uninitialized values if atspi_component_get_size/position fail. * atk-adaptor: Fix critical when no table cell array is returned. * accessible: Do not rename deprecated methods to the new names. * Add HelpText property and corresponding functions in atk and libatspi. (From OE-Core rev: 46ce33ca32d67bfb1a995adbd957722323887c92) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- meta/recipes-support/atk/at-spi2-core_2.50.1.bb | 48 ------------------------- meta/recipes-support/atk/at-spi2-core_2.52.0.bb | 48 +++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 48 deletions(-) delete mode 100644 meta/recipes-support/atk/at-spi2-core_2.50.1.bb create mode 100644 meta/recipes-support/atk/at-spi2-core_2.52.0.bb diff --git a/meta/recipes-support/atk/at-spi2-core_2.50.1.bb b/meta/recipes-support/atk/at-spi2-core_2.50.1.bb deleted file mode 100644 index 6996ebebcd..0000000000 --- a/meta/recipes-support/atk/at-spi2-core_2.50.1.bb +++ /dev/null @@ -1,48 +0,0 @@ -SUMMARY = "Assistive Technology Service Provider Interface (dbus core)" - -DESCRIPTION = "It provides a Service Provider Interface for the Assistive Technologies available on the GNOME platform and a library against which applications can be linked." - -HOMEPAGE = "https://wiki.linuxfoundation.org/accessibility/d-bus" -BUGTRACKER = "http://bugzilla.gnome.org/" -LICENSE = "LGPL-2.1-or-later" -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" - -MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" - -SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz" - -SRC_URI[sha256sum] = "5727b5c0687ac57ba8040e79bd6731b714a36b8fcf32190f236b8fb3698789e7" - -DEPENDS = " \ - dbus \ - glib-2.0 \ - glib-2.0-native \ - libxml2 \ - ${@'python3-sphinx-native' if d.getVar('GIDOCGEN_ENABLED') == 'True' else ''} \ -" - -# For backwards compatibility -PROVIDES += "atk at-spi2-atk" -RPROVIDES:${PN} += "atk at-spi2-atk" - -inherit meson gi-docgen gettext systemd pkgconfig upstream-version-is-even gobject-introspection - -EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \ - -Ddbus_daemon=${bindir}/dbus-daemon" - -PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" -PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libxi libxtst" - -GIDOCGEN_MESON_OPTION = "docs" -GIR_MESON_OPTION = 'introspection' -GIR_MESON_ENABLE_FLAG = 'enabled' -GIR_MESON_DISABLE_FLAG = 'disabled' - -FILES:${PN} += "${libdir}/gnome-settings-daemon-3.0/gtk-modules/at-spi2-atk.desktop \ - ${libdir}/gtk-2.0/modules/libatk-bridge.so \ - ${datadir}/dbus-1/services/*.service \ - ${datadir}/dbus-1/accessibility-services/*.service \ - ${datadir}/defaults/at-spi2 \ - ${systemd_user_unitdir}/at-spi-dbus-bus.serviceĀ \ - " -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-support/atk/at-spi2-core_2.52.0.bb b/meta/recipes-support/atk/at-spi2-core_2.52.0.bb new file mode 100644 index 0000000000..cf221e0389 --- /dev/null +++ b/meta/recipes-support/atk/at-spi2-core_2.52.0.bb @@ -0,0 +1,48 @@ +SUMMARY = "Assistive Technology Service Provider Interface (dbus core)" + +DESCRIPTION = "It provides a Service Provider Interface for the Assistive Technologies available on the GNOME platform and a library against which applications can be linked." + +HOMEPAGE = "https://wiki.linuxfoundation.org/accessibility/d-bus" +BUGTRACKER = "http://bugzilla.gnome.org/" +LICENSE = "LGPL-2.1-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" + +MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" + +SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz" + +SRC_URI[sha256sum] = "0ac3fc8320c8d01fa147c272ba7fa03806389c6b03d3c406d0823e30e35ff5ab" + +DEPENDS = " \ + dbus \ + glib-2.0 \ + glib-2.0-native \ + libxml2 \ + ${@'python3-sphinx-native' if d.getVar('GIDOCGEN_ENABLED') == 'True' else ''} \ +" + +# For backwards compatibility +PROVIDES += "atk at-spi2-atk" +RPROVIDES:${PN} += "atk at-spi2-atk" + +inherit meson gi-docgen gettext systemd pkgconfig upstream-version-is-even gobject-introspection + +EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \ + -Ddbus_daemon=${bindir}/dbus-daemon" + +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" +PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libxi libxtst" + +GIDOCGEN_MESON_OPTION = "docs" +GIR_MESON_OPTION = 'introspection' +GIR_MESON_ENABLE_FLAG = 'enabled' +GIR_MESON_DISABLE_FLAG = 'disabled' + +FILES:${PN} += "${libdir}/gnome-settings-daemon-3.0/gtk-modules/at-spi2-atk.desktop \ + ${libdir}/gtk-2.0/modules/libatk-bridge.so \ + ${datadir}/dbus-1/services/*.service \ + ${datadir}/dbus-1/accessibility-services/*.service \ + ${datadir}/defaults/at-spi2 \ + ${systemd_user_unitdir}/at-spi-dbus-bus.serviceĀ \ + " +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf