fix build error

- add buildrequires gtk4-devel since enable_gtk4 is set to yes by default
- disable GUI test case xkb-latin-layouts

Signed-off-by: herengui <herengui@kylinsec.com.cn>
(cherry picked from commit 090de298451dfa691222eff493138d2c17386c35)
This commit is contained in:
herengui 2024-03-13 11:03:03 +08:00 committed by openeuler-sync-bot
parent 81bd182c1e
commit efce23fbc8

View File

@ -6,7 +6,7 @@
Name: ibus
Version: 1.5.29
Release: 1
Release: 2
Summary: Intelligent Input Bus for Linux OS
License: LGPLv2+
URL: https://github.com/ibus/%name/wiki
@ -22,7 +22,7 @@ BuildRequires: gettext-devel libtool glib2-doc gtk2-devel gtk3-devel db
BuildRequires: dbus-python-devel >= %{dbus_python_version} desktop-file-utils python3-gobject vala vala-devel vala-tools
BuildRequires: iso-codes-devel libnotify-devel libwayland-client-devel qt5-qtbase-devel cldr-emoji-annotation
BuildRequires: unicode-emoji unicode-ucd libXtst-devel libxslt gobject-introspection-devel pygobject3-devel
BuildRequires: libdbusmenu-gtk3-devel
BuildRequires: libdbusmenu-gtk3-devel gtk4-devel
Requires: iso-codes dbus-x11 dconf python3-gobject python3
Requires: xorg-x11-xinit xorg-x11-xkb-utils
@ -110,7 +110,7 @@ desktop-file-install --delete-original \
%check
make check DISABLE_GUI_TESTS="ibus-compose ibus-keypress test-stress" VERBOSE=1 %{nil}
make check DISABLE_GUI_TESTS="ibus-compose ibus-keypress test-stress xkb-latin-layouts" VERBOSE=1 %{nil}
%post
%{_sbindir}/alternatives --install %{_sysconfdir}/X11/xinit/xinputrc xinputrc %{_xinputconf} 83 || :
@ -183,6 +183,9 @@ dconf update || :
%{_datadir}/gtk-doc/html/*
%changelog
* Wed Mar 13 2024 herengui <herengui@kylinsec.com.cn> - 1.5.29-2
- add buildrequires gtk4-devel since enable_gtk4 is set to yes by default.
* Thu Feb 01 2024 zhouwenpei <zhouwenpei1@h-partners.com> - 1.5.29-1
- update to 1.5.29