From fbca60c5bc14ae3d75ad45e257d14b0a69ae2403 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Sat, 6 Jul 2024 11:50:18 +0800 Subject: gnu: krunner: Update to 6.3.0. * gnu/packages/kde-frameworks.scm (krunner): Update to 6.3.0. [inputs]: Remove kactivities, kauth, kbookmarks, kcodecs, kcompletion, kconfigwidgets, kcoreaddons, kio, kitemviews, kjobwidgets, kpackage, kservice, kwidgetsaddons, kwindowsystem, kxmlgui, qtdeclarative-5, solid, and threadweaver; add kitemmodels and qtdeclarative. [propagated-inputs]: Remove plasma-framework; add kcoreaddons. [arguments]: Set #:qtbase to qtbase; Remove fix-paths-for-test phase. Adjust check phase. Change-Id: I0d9e22c4aec7f1199c6e4e700e2cf04d3f816336 --- gnu/packages/kde-frameworks.scm | 39 +++++++-------------------------------- 1 file changed, 7 insertions(+), 32 deletions(-) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 5fe16c41a2..b42aca872a 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -3036,7 +3036,7 @@ to easily extend the contacts collection.") (define-public krunner (package (name "krunner") - (version "5.114.0") + (version "6.3.0") (source (origin (method url-fetch) (uri (string-append @@ -3045,53 +3045,28 @@ to easily extend the contacts collection.") name "-" version ".tar.xz")) (sha256 (base32 - "1rjs9b87bi4f6pdm9fwnha2sj2mrq260l80iz2jq1zah83p546sw")))) + "09g464v1v7c14m39ic3qpny10l4dnazr7fax76irs3dwr54zx9kc")))) (build-system qt-build-system) (propagated-inputs - (list plasma-framework)) + (list kcoreaddons)) (native-inputs (list extra-cmake-modules ;; For tests. dbus)) (inputs - (list kactivities - kauth - kbookmarks - kcodecs - kcompletion - kconfig - kconfigwidgets - kcoreaddons - kio - kitemviews + (list kconfig + kitemmodels ki18n - kjobwidgets - kpackage - kservice - kwidgetsaddons - kwindowsystem - kxmlgui - qtdeclarative-5 - solid - threadweaver)) + qtdeclarative)) (arguments (list + #:qtbase qtbase #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'fix-paths-for-test - ;; This test tries to access paths like /home, /usr/bin and /bin/ls - ;; which don't exist in the build-container. Change to existing paths. - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "autotests/runnercontexttest.cpp" - (("/home\"") "/tmp\"") ;; single path-part - (("//usr/bin\"") (string-append (getcwd) "\"")) ;; multiple path-parts - (("/bin/ls") - (search-input-file inputs "/bin/ls"))))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? (setenv "HOME" (getcwd)) - (setenv "QT_QPA_PLATFORM" "offscreen") (invoke "dbus-launch" "ctest"))))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Framework for Plasma runners") -- cgit v1.2.3