From 22170a98d3208e142500e6806aa4cc9f6a86bf25 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Sat, 6 Jul 2024 01:30:44 +0800 Subject: gnu: kxmlgui: Update to 6.3.0. * gnu/packages/kde-frameworks.scm (kxmlgui): Update to 6.3.0. [inputs]: Remove qtbase-5; add kcolorscheme, qtbase, and qtdeclarative. [native-inputs]: Remove qttools-5 and xorg-server-for-tests; add qttools. [arguments]: Stop replace check phase; Add check-setup phase. Change-Id: I327c524131027be1b93ddb5d61b0b497bfa4e1ce --- gnu/packages/kde-frameworks.scm | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 3942457b8f..7a2045cd2e 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -3316,7 +3316,7 @@ the passwords on KDE work spaces.") (define-public kxmlgui (package (name "kxmlgui") - (version "5.114.0") + (version "6.3.0") (source (origin (method url-fetch) (uri (string-append @@ -3325,16 +3325,17 @@ the passwords on KDE work spaces.") name "-" version ".tar.xz")) (sha256 (base32 - "0gvjf32ssc0r0bdpb1912ldsr5rjls8vrscwy5gm9g5gw504hmmr")))) + "0plrww25q417vldf59ybiwkg3clygm7wrjy4a28wry1jxfrgswr2")))) (build-system cmake-build-system) (propagated-inputs (list kconfig kconfigwidgets)) (native-inputs - (list extra-cmake-modules qttools-5 xorg-server-for-tests)) + (list extra-cmake-modules qttools)) (inputs (list attica kauth kcodecs + kcolorscheme kcoreaddons kglobalaccel kguiaddons @@ -3344,17 +3345,24 @@ the passwords on KDE work spaces.") ktextwidgets kwidgetsaddons kwindowsystem - qtbase-5 + qtbase + qtdeclarative sonnet)) (arguments (list #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (setenv "HOME" (getcwd)) - (setenv "QT_QPA_PLATFORM" "offscreen") ;; These tests fail - (invoke "ctest" "-E" "(ktoolbar_unittest|kxmlgui_unittest)"))))))) + #~(modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda* (#:key tests? #:allow-other-keys) + (with-output-to-file "autotests/BLACKLIST" + (lambda _ + (for-each + (lambda (name) + (display (string-append "[" name "]\n*\n"))) + (list "testSpecificApplicationLanguageQLocale" + "testToolButtonStyleNoXmlGui" + "testToolButtonStyleXmlGui")))) + (setenv "HOME" (getcwd)) + (setenv "QT_QPA_PLATFORM" "offscreen")))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Framework for managing menu and toolbar actions") (description "KXMLGUI provides a framework for managing menu and toolbar -- cgit v1.2.3