Subject: [PATCH] gnu: ibus: Add search-path for 'GUIX_GTK3_IM_MODULE_FILE'.
From: [email-masked]
To: [email-masked]
Cc: 宋文武 <[email-masked]>
Date: Mon, 4 Sep 2023 18:53:40 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

From: 宋文武 <[email-masked]>

* gnu/packages/ibus.scm (ibus)[native-search-paths]: Add 'GUIX_GTK3_IM_MODULE_FILE'.
---
 gnu/packages/ibus.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index 62323ece6f..1e01bb0ea3 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -269,6 +269,13 @@ (define-public ibus
                        python
                        python-dbus
                        python-pygobject)))
+    (native-search-paths
+     (cons (search-path-specification
+            (variable "GUIX_GTK3_IM_MODULE_FILE")
+            (file-type 'regular)
+            (separator #f)
+            (files '("lib/gtk-3.0/3.0.0/immodules-gtk3.cache")))
+           (package-native-search-paths ibus-minimal)))
     (properties (alist-delete 'hidden? (package-properties ibus-minimal)))))
 
 (define-public ibus-libpinyin

base-commit: bedcdf0fb5ac035f696790827679406c7146396c
prerequisite-patch-id: fa830ec4852f09e6c5a4fbdb4473f9cbd9bceec4
-- 
2.41.0