From ac787d51c9bc74725f99bf748abd7b2da05ed326 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 14 May 2025 14:39:04 +0000 Subject: [PATCH] import UBI at-spi2-core-2.52.0-3.el10 --- .at-spi2-core.metadata | 1 - .gitignore | 2 +- SPECS/at-spi2-core.spec => at-spi2-core.spec | 313 +++++++++++++++++-- sources | 1 + xwayland-session-scriptlet | 3 + 5 files changed, 300 insertions(+), 20 deletions(-) delete mode 100644 .at-spi2-core.metadata rename SPECS/at-spi2-core.spec => at-spi2-core.spec (59%) create mode 100644 sources create mode 100644 xwayland-session-scriptlet diff --git a/.at-spi2-core.metadata b/.at-spi2-core.metadata deleted file mode 100644 index 6fe2e82..0000000 --- a/.at-spi2-core.metadata +++ /dev/null @@ -1 +0,0 @@ -45e15ab3c1cfe0a8b4ea333c448f3fc1cd634c4e SOURCES/at-spi2-core-2.28.0.tar.xz diff --git a/.gitignore b/.gitignore index 0b637b1..50f68d8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/at-spi2-core-2.28.0.tar.xz +at-spi2-core-2.52.0.tar.xz diff --git a/SPECS/at-spi2-core.spec b/at-spi2-core.spec similarity index 59% rename from SPECS/at-spi2-core.spec rename to at-spi2-core.spec index 8572e01..e0a8e86 100644 --- a/SPECS/at-spi2-core.spec +++ b/at-spi2-core.spec @@ -1,23 +1,31 @@ Name: at-spi2-core -Version: 2.28.0 -Release: 1%{?dist} +Version: 2.52.0 +Release: 3%{?dist} Summary: Protocol definitions and daemon for D-Bus at-spi -License: LGPLv2+ +License: LGPL-2.1-or-later URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus -Source0: http://download.gnome.org/sources/at-spi2-core/2.28/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/%{name}/2.52/%{name}-%{version}.tar.xz +# scriptlet to set AT_SPI_BUS for XWayland apps that run as root (i.e. anaconda) +# https://bugzilla.redhat.com/show_bug.cgi?id=1821345 +Source1: xwayland-session-scriptlet -BuildRequires: dbus-devel +BuildRequires: /usr/bin/sphinx-build BuildRequires: gettext -BuildRequires: glib2-devel +BuildRequires: gi-docgen BuildRequires: gobject-introspection-devel -BuildRequires: gtk-doc -BuildRequires: libXtst-devel -BuildRequires: libXi-devel BuildRequires: meson -BuildRequires: systemd +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(libsystemd) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(xi) +BuildRequires: pkgconfig(xtst) Requires: dbus +# For xwayland-session-scriptlet +# https://bugzilla.redhat.com/show_bug.cgi?id=2137281 +Requires: /usr/bin/xprop %description at-spi allows assistive technologies to access GTK-based @@ -37,29 +45,79 @@ Requires: %{name}%{?_isa} = %{version}-%{release} The at-spi2-core-devel package includes the header files and API documentation for libatspi. +%package -n atk +Summary: Interfaces for accessibility support +# Dependency required for translations. +Requires: at-spi2-core%{?_isa} = %{version}-%{release} + +%description -n atk +The ATK library provides a set of interfaces for adding accessibility +support to applications and graphical user interface toolkits. By +supporting the ATK interfaces, an application or toolkit can be used +with tools such as screen readers, magnifiers, and alternative input +devices. + +%package -n atk-devel +Summary: Development files for the ATK accessibility toolkit +Requires: atk%{?_isa} = %{version}-%{release} + +%description -n atk-devel +This package includes libraries, header files, and developer documentation +needed for development of applications or toolkits which use ATK. + +%package -n at-spi2-atk +Summary: A GTK+ module that bridges ATK to D-Bus at-spi +Requires: atk%{?_isa} = %{version}-%{release} +Requires: at-spi2-core%{?_isa} = %{version}-%{release} + +%description -n at-spi2-atk +at-spi allows assistive technologies to access GTK-based +applications. Essentially it exposes the internals of applications for +automation, so tools such as screen readers, magnifiers, or even +scripting interfaces can query and interact with GUI controls. + +This version of at-spi is a major break from previous versions. +It has been completely rewritten to use D-Bus rather than +ORBIT / CORBA for its transport protocol. + +This package includes a gtk-module that bridges ATK to the new +D-Bus based at-spi. + +%package -n at-spi2-atk-devel +Summary: A GTK+ module that bridges ATK to D-Bus at-spi +Requires: at-spi2-atk%{?_isa} = %{version}-%{release} + +%description -n at-spi2-atk-devel +The at-spi2-atk-devel package includes the header files for the at-spi2-atk +library. + %prep -%setup -q +%autosetup -p1 %build -%meson -Denable_docs=true +%meson -Ddocs=true -Ddefault_bus=dbus-broker -Ddbus_daemon=/usr/bin/dbus-daemon -Ddbus_broker=/usr/bin/dbus-broker-launch %meson_build %install %meson_install +install -Dpm 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/Xwayland-session.d/00-at-spi %{find_lang} %{name} -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig - %files -f %{name}.lang %license COPYING -%doc AUTHORS README +%doc NEWS README.md %{_libexecdir}/at-spi2-registryd %dir %{_datadir}/defaults %dir %{_datadir}/defaults/at-spi2 %{_datadir}/defaults/at-spi2/accessibility.conf %{_sysconfdir}/xdg/autostart/at-spi-dbus-bus.desktop +# the 'logical' owner of this dir is gnome-settings-daemon, but g-s-d +# indirectly depends on this package, so depending on it to provide +# this directory would create a circular dependency. so we just co-own +# it instead +%dir %{_sysconfdir}/xdg/Xwayland-session.d +%{_sysconfdir}/xdg/Xwayland-session.d/00-at-spi %{_libdir}/libatspi.so.* %dir %{_libdir}/girepository-1.0 %{_libdir}/girepository-1.0/Atspi-2.0.typelib @@ -68,16 +126,235 @@ API documentation for libatspi. %{_datadir}/dbus-1/services/org.a11y.Bus.service %{_userunitdir}/at-spi-dbus-bus.service - %files devel %{_libdir}/libatspi.so -%{_datadir}/gtk-doc/html/libatspi +%{_docdir}/libatspi %dir %{_datadir}/gir-1.0 %{_datadir}/gir-1.0/Atspi-2.0.gir %{_includedir}/at-spi-2.0 %{_libdir}/pkgconfig/atspi-2.pc +%files -n atk +%license COPYING +%{_libdir}/libatk-1.0.so.* +%dir %{_libdir}/girepository-1.0 +%{_libdir}/girepository-1.0/Atk-1.0.typelib + +%files -n atk-devel +%{_libdir}/libatk-1.0.so +%{_includedir}/atk-1.0 +%{_libdir}/pkgconfig/atk.pc +%{_docdir}/atk +%dir %{_datadir}/gir-1.0 +%{_datadir}/gir-1.0/Atk-1.0.gir + +%files -n at-spi2-atk +%license COPYING +%dir %{_libdir}/gtk-2.0 +%dir %{_libdir}/gtk-2.0/modules +%{_libdir}/gtk-2.0/modules/libatk-bridge.so +%{_libdir}/gnome-settings-daemon-3.0/gtk-modules/at-spi2-atk.desktop +%{_libdir}/libatk-bridge-2.0.so.* + +%files -n at-spi2-atk-devel +%{_includedir}/at-spi2-atk/2.0/atk-bridge.h +%{_libdir}/libatk-bridge-2.0.so +%{_libdir}/pkgconfig/atk-bridge-2.0.pc + %changelog +* Tue Oct 29 2024 Troy Dawson - 2.52.0-3 +- Bump release for October 2024 mass rebuild: + Resolves: RHEL-64018 + +* Mon Jun 24 2024 Troy Dawson - 2.52.0-2 +- Bump release for June 2024 mass rebuild + +* Tue Mar 26 2024 Lukas Tyrychtr - 2.52.0-1 +- Update to 2.52.0 + +* Mon Jan 22 2024 Fedora Release Engineering - 2.51.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jan 20 2024 David King - 2.51.0-1 +- Update to 2.51.0 + +* Fri Jan 19 2024 Fedora Release Engineering - 2.50.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jan 11 2024 Kalev Lember - 2.50.1-1 +- Update to 2.50.1 + +* Sat Sep 16 2023 Kalev Lember - 2.50.0-1 +- Update to 2.50.0 + +* Tue Sep 05 2023 Kalev Lember - 2.49.91-1 +- Update to 2.49.91 + +* Sat Aug 05 2023 Kalev Lember - 2.49.90-1 +- Update to 2.49.90 + +* Wed Jul 19 2023 Fedora Release Engineering - 2.49.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jul 18 2023 David King - 2.49.1-1 +- Update to 2.49.1 + +* Tue May 30 2023 Kalev Lember - 2.48.3-1 +- Update to 2.48.3 + +* Fri May 12 2023 David King - 2.48.2-1 +- Update to 2.48.2 + +* Thu May 11 2023 David King - 2.48.1-1 +- Update to 2.48.1 + +* Sun Mar 19 2023 David King - 2.48.0-1 +- Update to 2.48.0 + +* Sat Mar 04 2023 David King - 2.47.90-1 +- Update to 2.47.90 + +* Wed Jan 18 2023 Fedora Release Engineering - 2.47.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sun Jan 08 2023 David King - 2.47.1-1 +- Update to 2.47.1 + +* Wed Nov 02 2022 David King - 2.46.0-2 +- Require xprop for xwayland scriptlet (#2137281) + +* Thu Oct 27 2022 David King - 2.46.0-1 +- Update to 2.46.0 +- Merge of atk and at-spi2-atk + +* Wed Jul 20 2022 Fedora Release Engineering - 2.44.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Apr 22 2022 David King - 2.44.1-1 +- Update to 2.44.1 + +* Fri Mar 18 2022 David King - 2.44.0-1 +- Update to 2.44.0 + +* Wed Jan 19 2022 Fedora Release Engineering - 2.42.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Sep 20 2021 Kalev Lember - 2.42.0-1 +- Update to 2.42.0 + +* Tue Aug 03 2021 Kalev Lember - 2.40.3-1 +- Update to 2.40.3 + +* Wed Jul 21 2021 Fedora Release Engineering - 2.40.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Jun 21 2021 Kalev Lember - 2.40.2-1 +- Update to 2.40.2 + +* Wed May 05 2021 Kalev Lember - 2.40.1-1 +- Update to 2.40.1 + +* Thu Apr 15 2021 Adam Williamson - 2.40.0-2 +- Install a scriptlet to fix AT_SPI_BUS for Xwayland apps run as root (#1821345) + +* Mon Mar 22 2021 Kalev Lember - 2.40.0-1 +- Update to 2.40.0 + +* Mon Mar 15 2021 Kalev Lember - 2.39.91-1 +- Update to 2.39.91 + +* Mon Feb 22 2021 Kalev Lember - 2.39.90.1-1 +- Update to 2.39.90.1 + +* Wed Feb 17 2021 Kalev Lember - 2.39.90-1 +- Update to 2.39.90 +- Drop unused ldconfig_scriptlets macro call + +* Tue Jan 26 2021 Fedora Release Engineering - 2.38.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Sep 24 2020 Michael Catanzaro - 2.38.0-2 +- Add patch to fix a11y on login screen + +* Sat Sep 12 2020 Kalev Lember - 2.38.0-1 +- Update to 2.38.0 + +* Sun Sep 06 2020 Kalev Lember - 2.37.92-1 +- Update to 2.37.92 + +* Mon Aug 17 2020 Kalev Lember - 2.37.90-1 +- Update to 2.37.90 + +* Mon Jul 27 2020 Fedora Release Engineering - 2.36.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun Mar 08 2020 Kalev Lember - 2.36.0-1 +- Update to 2.36.0 + +* Mon Mar 02 2020 Kalev Lember - 2.35.92-1 +- Update to 2.35.92 + +* Tue Jan 28 2020 Fedora Release Engineering - 2.35.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Jan 21 2020 Kalev Lember - 2.35.1-1 +- Update to 2.35.1 + +* Mon Sep 09 2019 Kalev Lember - 2.34.0-1 +- Update to 2.34.0 + +* Tue Sep 03 2019 Kalev Lember - 2.33.92-1 +- Update to 2.33.92 + +* Mon Aug 12 2019 Kalev Lember - 2.33.90-1 +- Update to 2.33.90 + +* Wed Jul 24 2019 Fedora Release Engineering - 2.33.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Jun 18 2019 Kalev Lember - 2.33.2-1 +- Update to 2.33.2 + +* Tue May 21 2019 Kalev Lember - 2.33.1-1 +- Update to 2.33.1 + +* Tue Apr 16 2019 Adam Williamson - 2.32.1-2 +- Rebuild with Meson fix for #1699099 + +* Tue Apr 09 2019 Kalev Lember - 2.32.1-1 +- Update to 2.32.1 + +* Tue Mar 12 2019 Kalev Lember - 2.32.0-1 +- Update to 2.32.0 + +* Mon Mar 04 2019 Kalev Lember - 2.31.92-1 +- Update to 2.31.92 + +* Tue Feb 19 2019 Kalev Lember - 2.31.2-1 +- Update to 2.31.2 + +* Thu Jan 31 2019 Fedora Release Engineering - 2.31.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 08 2019 Kalev Lember - 2.31.1-1 +- Update to 2.31.1 + +* Fri Sep 07 2018 Kalev Lember - 2.30.0-2 +- Rebuilt against fixed atk (#1626575) + +* Thu Sep 06 2018 Kalev Lember - 2.30.0-1 +- Update to 2.30.0 + +* Tue Aug 28 2018 Stephen Gallagher - 2.28.0-4 +- Update to newer version of dbus-broker support +- Resolves: rhbz#1622545 + +* Fri Aug 10 2018 David Herrmann - 2.28.0-3 +- Add support for dbus-broker alongside dbus-daemon + +* Thu Jul 12 2018 Fedora Release Engineering - 2.28.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Tue Mar 13 2018 Kalev Lember - 2.28.0-1 - Update to 2.28.0 diff --git a/sources b/sources new file mode 100644 index 0000000..d97d53a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (at-spi2-core-2.52.0.tar.xz) = 0482cae97cf5e2295ab56f6ae83db9e1047813a1c3c2b6cd6012f95dfabec1f7a93d0045a1a7c3fabb7a389f71dc43f797b2ad9242e97ddf565cf63948ae146b diff --git a/xwayland-session-scriptlet b/xwayland-session-scriptlet new file mode 100644 index 0000000..ba5a55a --- /dev/null +++ b/xwayland-session-scriptlet @@ -0,0 +1,3 @@ +#!/bin/sh + +xprop -root -format AT_SPI_BUS 8s -set 'AT_SPI_BUS' "$( busctl call --user org.a11y.Bus /org/a11y/bus org.a11y.Bus GetAddress | sed 's/s "\(.*\)"/\1/' )"