Subject: [PATCH 3/3] gnu: ibus: Build with GTK4.

From: Liliana Marie Prikler <[email-masked]>
Date: Sun, 18 Sep 2022 17:27:30 +0200

* gnu/packages/ibus.scm (ibus)[arguments]: Add “--enable-gtk4”.
[inputs]: Add gtk and pango-next.
---
 gnu/packages/ibus.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index e4662901f3..29bfc44e4a 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -239,6 +239,11 @@ (define-public ibus-minimal
 
 (define-public ibus
   (package/inherit ibus-minimal
+    (arguments (substitute-keyword-arguments (package-arguments ibus-minimal)
+                 ((#:configure-flags flags)
+                  #~(cons* "--enable-gtk4" #$flags))))
+    (inputs (modify-inputs (package-inputs ibus-minimal)
+              (prepend gtk pango-next)))
     (properties (alist-delete 'hidden? (package-properties ibus-minimal)))))
 
 (define-public ibus-libpinyin
-- 
2.37.3