gnu: kconfigwidgets: Update to 6.21.0.

* gnu/packages/kde-frameworks.scm (kconfigwidgets): Update to 6.21.0.
[arguments]<#:test-exclude>: Exclude the failing tests.
<#:phases>: In 'check phase, replace the tests to exclude with the test-exclude
keyword.

Change-Id: Ied258385664fac19d1e87df2be35a65a81d161f6
This commit is contained in:
Sughosha 2025-12-24 14:40:41 +05:30
parent 1a3bc5260d
commit 7b8c7105d8
No known key found for this signature in database
GPG key ID: CDBC0BD95943A706

View file

@ -3181,7 +3181,7 @@ KCModules can be created with the KConfigWidgets framework.")
(define-public kconfigwidgets
(package
(name "kconfigwidgets")
(version "6.19.0")
(version "6.21.0")
(source (origin
(method url-fetch)
(uri (string-append
@ -3190,7 +3190,7 @@ KCModules can be created with the KConfigWidgets framework.")
name "-" version ".tar.xz"))
(sha256
(base32
"0z3zm2wk35gljldzxamqmp3jxw39nmif9r5q6dhll1bw61l5ny0x"))))
"08xn4l1h4hq8b0qnj1p3sh806rqjjx6gkgrjsids1s67c5cb8dln"))))
(build-system qt-build-system)
(propagated-inputs
(list kcodecs kconfig kcolorscheme kwidgetsaddons))
@ -3206,6 +3206,12 @@ KCModules can be created with the KConfigWidgets framework.")
(arguments
(list
#:qtbase qtbase
#:test-exclude
(string-append "("
(string-join '("kstandardactiontest"
"klanguagenametest")
"|")
")")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch
@ -3215,12 +3221,11 @@ KCModules can be created with the KConfigWidgets framework.")
(("^\\s*(QDirIterator it\\(.*, QDirIterator::Subdirectories)(\\);)" _ a b)
(string-append a " | QDirIterator::FollowSymlinks" b)))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(lambda* (#:key tests? test-exclude #:allow-other-keys)
(when tests?
(setenv "HOME"
(getcwd))
(invoke "ctest" "-E" "(kstandardactiontest|\
klanguagenametest)")))))))
(invoke "ctest" "-E" test-exclude)))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Widgets for configuration dialogs")
(description "KConfigWidgets provides easy-to-use classes to create