From 54c01ea170d607603a5b6cd14ee978fd92539288 Mon Sep 17 00:00:00 2001 From: Takao Fujiwara Date: Tue, 17 Sep 2024 10:24:04 +0900 Subject: [PATCH] Revert change of "Fix CI freeze" (c89a603) The original issue is fixed in ibus core now. Resolves: RHEL-58993 --- ibus-anthy-HEAD.patch | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/ibus-anthy-HEAD.patch b/ibus-anthy-HEAD.patch index e3f6c91..e33d0c9 100644 --- a/ibus-anthy-HEAD.patch +++ b/ibus-anthy-HEAD.patch @@ -62,40 +62,3 @@ index 4b50a01..0858614 100644 -- 2.43.0 -From c89a60350b2a949306bf75d64e06a0cde3a7846c Mon Sep 17 00:00:00 2001 -From: fujiwarat -Date: Sun, 12 May 2024 13:01:50 +0900 -Subject: [PATCH] tests: Fix CI freeze - -Seems infinit calling g_resources_register_unlocked() happens -in register_lazy_static_resources_unlocked() from -g_resources_lookup_data() when ibus_init() is called after -gtk_init() or gdk_display_open() is called. -It's good to delete ibus_init() here since IBus GTK IM module already -calls it. ---- - tests/anthytest.py | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/tests/anthytest.py b/tests/anthytest.py -index 1d18d19..cf2d6bc 100755 ---- a/tests/anthytest.py -+++ b/tests/anthytest.py -@@ -77,7 +77,13 @@ class AnthyTest(unittest.TestCase): - - @classmethod - def setUpClass(cls): -- IBus.init() -+ # Already called in ibus/client/gtk3/ibusim.c:im_module_init(). -+ # Otherwise infinit g_resources_register_unlocked() happens in -+ # register_lazy_static_resources_unlocked() -+ # from g_resources_lookup_data() -+ # or IBus.init() could be called before Gdk.Display.open('') is called. -+ #IBus.init() -+ pass - - def setUp(self): - self.__id = 0 --- -2.45.0 -