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
This commit is contained in:
Zheng Junjie 2024-07-06 10:49:38 +08:00
parent 975ae46224
commit a4d0d15915
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -2328,7 +2328,7 @@ using the XBEL format.")
(define-public kcmutils (define-public kcmutils
(package (package
(name "kcmutils") (name "kcmutils")
(version "5.114.0") (version "6.3.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -2337,49 +2337,36 @@ using the XBEL format.")
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1pblf3c60m0gn3vhdprw28f8y54kij02jwz91r2vnmng8d1xkrp9")))) "0h4fjav5r2hc8520yh5hwvxw982rad3sf9n1vjffbj93wj6b164r"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(propagated-inputs (propagated-inputs
(list kconfigwidgets kservice)) (list kconfigwidgets
(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"))))))
(inputs
(list kauth
kcodecs
kconfig
kcoreaddons kcoreaddons
kdeclarative qtdeclarative))
(native-inputs
(list extra-cmake-modules
gettext-minimal
qttools
;; required by kcmloadtest test
kirigami))
(inputs
(list kio
kcompletion
kguiaddons kguiaddons
kiconthemes kiconthemes
kitemviews kitemviews
ki18n ki18n
kpackage kcolorscheme
kwidgetsaddons kwidgetsaddons
kxmlgui kxmlgui
qtbase-5 qtbase))
qtdeclarative-5)) (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") (home-page "https://community.kde.org/Frameworks")
(synopsis "Utilities for KDE System Settings modules") (synopsis "Utilities for KDE System Settings modules")
(description "KCMUtils provides various classes to work with KCModules. (description "KCMUtils provides various classes to work with KCModules.