z572 pushed a commit to branch kde-team
in repository guix.

commit a4d0d15915348cb5a8022fb08749b3f992ce21d8
Author: Zheng Junjie <[email protected]>
AuthorDate: Sat Jul 6 10:49:38 2024 +0800

    gnu: kcmutils: Update to 6.3.0.
    
    * gnu/packages/kde-frameworks.scm (kcmutils): Update to 6.3.0.
    [inputs]: Remove kauth, kcodecs, kconfig, kcoreaddons, kdeclarative, 
kpackage,
    qtbase-5, and qtdeclarative-5; add kio, kcompletion, kcolorscheme,
    and qtbase.
    [propagated-inputs]: Remove kservice; add kcoreaddons and qtdeclarative.
    [native-inputs]: Add gettext-minimal, qttools, and kirigami.
    [arguments]: Remove patch phase.
    
    Change-Id: I4f860272c51d3fd0857caf4bc956d1717ea40262
---
 gnu/packages/kde-frameworks.scm | 55 ++++++++++++++++-------------------------
 1 file changed, 21 insertions(+), 34 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 3a764a6bf1..f5f32f1ef0 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2328,7 +2328,7 @@ using the XBEL format.")
 (define-public kcmutils
   (package
     (name "kcmutils")
-    (version "5.114.0")
+    (version "6.3.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -2337,49 +2337,36 @@ using the XBEL format.")
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "1pblf3c60m0gn3vhdprw28f8y54kij02jwz91r2vnmng8d1xkrp9"))))
+                "0h4fjav5r2hc8520yh5hwvxw982rad3sf9n1vjffbj93wj6b164r"))))
     (build-system cmake-build-system)
     (propagated-inputs
-     (list kconfigwidgets kservice))
+     (list kconfigwidgets
+           kcoreaddons
+           qtdeclarative))
     (native-inputs
-     (list extra-cmake-modules))
-    (arguments
-     (list
-      #:phases
-      #~(modify-phases %standard-phases
-          (add-after 'unpack 'patch
-            (lambda _
-              (substitute* "src/kpluginselector.cpp"
-                ;; make QDirIterator follow symlinks
-                (("^\\s*(QDirIterator it\\(.*, 
QDirIterator::Subdirectories)(\\);)"
-                  _ a b)
-                 (string-append a
-                                " | QDirIterator::FollowSymlinks" b)))
-              (substitute* "src/kcmoduleloader.cpp"
-                ;; print plugin name when loading fails
-                (("^\\s*(qWarning\\(\\) << \"Error loading) (plugin:\")( << 
loader\\.errorString\\(\\);)"
-                  _ a b c)
-                 (string-append a
-                                " KCM plugin\" << mod.service()->library() << 
\":\""
-                                c)))))
-          (add-before 'check 'check-setup
-            (lambda _
-              (setenv "QT_QPA_PLATFORM" "offscreen"))))))
+     (list extra-cmake-modules
+           gettext-minimal
+           qttools
+           ;; required by kcmloadtest test
+           kirigami))
     (inputs
-     (list kauth
-           kcodecs
-           kconfig
-           kcoreaddons
-           kdeclarative
+     (list kio
+           kcompletion
            kguiaddons
            kiconthemes
            kitemviews
            ki18n
-           kpackage
+           kcolorscheme
            kwidgetsaddons
            kxmlgui
-           qtbase-5
-           qtdeclarative-5))
+           qtbase))
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'check-setup
+            (lambda _
+              (setenv "QT_QPA_PLATFORM" "offscreen"))))))
     (home-page "https://community.kde.org/Frameworks";)
     (synopsis "Utilities for KDE System Settings modules")
     (description "KCMUtils provides various classes to work with KCModules.

Reply via email to