Fix ELN build
The affected code in 1.5.30 only calls setxkbmap if present.
This commit is contained in:
parent
35469f4d4d
commit
3dc77d7066
@ -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 ();
|
@ -76,8 +76,6 @@ Patch1: %{name}-1385349-segv-bus-proxy.patch
|
||||
%if %{without xinit}
|
||||
# Use mutter window manager in RHEL CI
|
||||
Patch100: %{name}-xx-desktop-testing-mutter.patch
|
||||
# Disable to run setxkbmap
|
||||
Patch101: %{name}-xx-disable-setxkbmap.patch
|
||||
%endif
|
||||
|
||||
# autoreconf requires autopoint but not po.m4
|
||||
|
Loading…
Reference in New Issue
Block a user