!12 Update to 2.44.0

From: @zhang__3125 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2022-04-13 05:44:43 +00:00 committed by Gitee
commit b2f26d7319
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 19 additions and 7 deletions

Binary file not shown.

BIN
at-spi2-core-2.44.0.tar.xz Normal file

Binary file not shown.

View File

@ -1,11 +1,12 @@
Name: at-spi2-core
Version: 2.42.0
Version: 2.44.0
Release: 1
Summary: The At-Spi2 Core package is a part of the GNOME Accessibility Project.
License: LGPLv2+
URL: https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/
Source0: https://github.com/GNOME/at-spi2-core/archive/refs/tags/AT_SPI2_CORE_2_42_0.tar.gz
URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus
Source0: http://download.gnome.org/sources/at-spi2-core/2.44/%{name}-%{version}.tar.xz
Source1: xwayland-session-scriptlet
BuildRequires: meson gtk-doc libXi-devel glib2-devel libXtst-devel gettext
BuildRequires: dbus-devel gobject-introspection-devel systemd libxslt
@ -29,18 +30,22 @@ The API documentation and header files of litabspi are included by %{name}-devel
%package_help
%prep
%autosetup -n %{name}-AT_SPI2_CORE_2_42_0 -p1
%autosetup -p1
%build
%meson -Ddbus_deamon=%{_bindir}/debus-daemon -Ddbus-broker=%{_bindir}/dbus-broker -Ddefault_bus=dbus-broker -Ddocs=true
%meson -Ddbus_deamon=%{_bindir}/debus-daemon -Ddbus-broker=%{_bindir}/dbus-broker-launch -Ddefault_bus=dbus-broker -Ddocs=true
%meson_build
%install
%meson_install
install -d %{buildroot}%{_sysconfdir}/xdg/Xwayland-session.d
install -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/Xwayland-session.d/00-at-spi
%ldconfig_scriptlets
%files
%{find_lang} %{name}
%files -f %{name}.lang
%doc AUTHORS
%license COPYING
%{_datadir}/locale
@ -55,6 +60,7 @@ The API documentation and header files of litabspi are included by %{name}-devel
%{_libdir}/girepository-1.0/*.typelib
%{_userunitdir}/at-spi-dbus-bus.service
%{_sysconfdir}/xdg/autostart/*
%{_sysconfdir}/xdg/autostart/at-spi-dbus-bus.desktop
%files devel
%{_libdir}/pkgconfig/atspi-2.pc
@ -63,10 +69,13 @@ The API documentation and header files of litabspi are included by %{name}-devel
%{_includedir}/at-spi-2.0/atspi/*.h
%files help
%doc README
%doc README.md
%{_datadir}/gtk-doc/html/libatspi
%changelog
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 2.44.0-1
- Update to 2.44.0
* Wed Dec 01 2021 wangkerong <wangkerong@huawei.com> - 2.42.0-1
- update to 2.42.0

View File

@ -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/' )"