Subject: [PATCH 1/2] gnu: fcitx5-configtool: Enable kcm support.

From: Zheng Junjie <[email-masked]>
Date: Sun, 28 Apr 2024 14:52:16 +0800

* gnu/packages/fcitx5.scm (fcitx5-configtool)
[arguments]: Remove it.
[inputs]: Add qtdeclarative, qtquickcontrols2, ki18n, kpackage, kdeclarative,
kiconthemes, kcoreaddons, plasma-framework, kwindowsystem, kirigami, libxkbcommon.

Change-Id: I43a43458232a5ad3c1d156c779359e356cbf98b8
---
 gnu/packages/fcitx5.scm | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/fcitx5.scm b/gnu/packages/fcitx5.scm
index 435ccde45f..6e2f922c37 100644
--- a/gnu/packages/fcitx5.scm
+++ b/gnu/packages/fcitx5.scm
@@ -439,17 +439,24 @@ (define-public fcitx5-configtool
        (sha256
         (base32 "1pnwrj6kgha91djfvd2439nbhrmjargpw8ashhb91y5h3cdz7vhz"))))
     (build-system cmake-build-system)
-    (arguments
-     `(#:configure-flags
-       ;; KDE is currently not working on Guix, KCM supports doesn't make sense.
-       '("-DENABLE_KCM=Off")))
     (inputs
      `(("fcitx5" ,fcitx5)
        ("fcitx5-qt" ,fcitx5-qt)
        ("qtbase" ,qtbase-5)
        ("qtx11extras" ,qtx11extras)
+       ("qtdeclarative" ,qtdeclarative-5)
+       ("qtquickcontrols2" ,qtquickcontrols2-5)
+       ("ki18n" ,ki18n)
+       ("kpackage" ,kpackage)
+       ("kdeclarative" ,kdeclarative)
+       ("kiconthemes" ,kiconthemes)
+       ("kcoreaddons" ,kcoreaddons)
+       ("plasma-framework" ,plasma-framework)
        ("kitemviews" ,kitemviews)
        ("kwidgetsaddons" ,kwidgetsaddons)
+       ("kwindowsystem" ,kwindowsystem)
+       ("kirigami" ,kirigami)
+       ("libxkbcommon" ,libxkbcommon)
        ("libx11" ,libx11)
        ("xkeyboard-config" ,xkeyboard-config)
        ("libxkbfile" ,libxkbfile)
-- 
2.41.0