From 7b8c7105d8a1cededca5ab1a900b02268a68a8e7 Mon Sep 17 00:00:00 2001 From: Sughosha Date: Wed, 24 Dec 2025 14:40:41 +0530 Subject: [PATCH] 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 --- gnu/packages/kde-frameworks.scm | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 03170b7a343..fb954a0743a 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -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