Fix ELN build

The affected code in 1.5.30 only calls setxkbmap if present.
This commit is contained in:
Yaakov Selkowitz 2024-05-26 20:00:13 -04:00
parent 35469f4d4d
commit 3dc77d7066
2 changed files with 0 additions and 22 deletions

View File

@ -1,20 +0,0 @@
diff --git a/src/tests/ibus-keypress.c b/src/tests/ibus-keypress.c
index bab05398..41f16b98 100644
--- a/src/tests/ibus-keypress.c
+++ b/src/tests/ibus-keypress.c
@@ -272,12 +272,15 @@ create_window ()
static void
test_keypress (void)
{
+#if 0
int status = 0;
GError *error = NULL;
+ /* setxkbmap is not available in RHEL10 */
g_spawn_command_line_sync ("setxkbmap -layout us",
NULL, NULL,
&status, &error);
+#endif
g_assert (register_ibus_engine ());
create_window ();

View File

@ -76,8 +76,6 @@ Patch1: %{name}-1385349-segv-bus-proxy.patch
%if %{without xinit} %if %{without xinit}
# Use mutter window manager in RHEL CI # Use mutter window manager in RHEL CI
Patch100: %{name}-xx-desktop-testing-mutter.patch Patch100: %{name}-xx-desktop-testing-mutter.patch
# Disable to run setxkbmap
Patch101: %{name}-xx-disable-setxkbmap.patch
%endif %endif
# autoreconf requires autopoint but not po.m4 # autoreconf requires autopoint but not po.m4