From 8bc3c047958fba7b0803158aa76c817049cb7d28 Mon Sep 17 00:00:00 2001 From: Sughosha Date: Tue, 28 Apr 2026 22:18:01 +0530 Subject: [PATCH] gnu: kdiskmark: Update to 3.2.0. * gnu/packages/benchmark.scm (kdiskmark): Update to 3.2.0. [build-system]: Switch to qt-build-system. [arguments]<#:qtbase>: Set to qtbase. <#:configure-flags>: Remove unused flag. <#:phases>: In 'patch-paths phase, symlink to the source of single-application instead of single-application-qt5. [inputs]: Remove polkit-qt, qtbase-5, and single-application-qt5; add polkit-qt6, single-application, and qtwayland. [native-inputs]: Remove qttools-5; add qttools. Change-Id: I8931f00a77f1bac9116938a570068b9025579bc7 --- gnu/packages/benchmark.scm | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm index 8f375ad0a46..131d56d9852 100644 --- a/gnu/packages/benchmark.scm +++ b/gnu/packages/benchmark.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2022 Tomasz Jeneralczyk ;;; Copyright © 2024 Nicolas Graves ;;; Copyright © 2025 Artyom V. Poptsov +;;; Copyright © 2026 Sughosha ;;; Copyright © 2023 Advanced Micro Devices, Inc. ;;; ;;; This file is part of GNU Guix. @@ -41,6 +42,7 @@ #:use-module (guix amd-gpu) #:use-module (guix search-paths) #:use-module (guix build-system cmake) + #:use-module (guix build-system qt) #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (guix build-system pyproject) @@ -730,7 +732,7 @@ and options. With careful benchmarking, different hardware can be compared.") (define-public kdiskmark (package (name "kdiskmark") - (version "3.1.4") + (version "3.2.0") (source (origin (method git-fetch) (uri (git-reference @@ -739,14 +741,13 @@ and options. With careful benchmarking, different hardware can be compared.") (file-name (git-file-name name version)) (sha256 (base32 - "1x8vd6swmf0i7f6m6wl2154n6plx8jkmcqfq6zxbdy255f1da74c")))) - (build-system cmake-build-system) + "161yyy4fcy5bnzhbcd7p90nlcslcsfp7n3m3bz9bygch7bdjw46g")))) + (build-system qt-build-system) (arguments (list + #:qtbase qtbase #:configure-flags - ;; Drop runtime dependency on KDE's KFAuth. - #~(list "-DPERFORM_PAGECACHE_CLEARING_USING_KF5AUTH=no" - (string-append "-DPOLKITQT-1_INSTALL_DIR=" #$output)) + #~(list (string-append "-DPOLKITQT-1_INSTALL_DIR=" #$output)) #:tests? #f ;no test suite #:phases #~(modify-phases %standard-phases @@ -759,10 +760,10 @@ and options. With careful benchmarking, different hardware can be compared.") (lambda _ (rmdir "src/singleapplication") (symlink #$(package-source - (this-package-input "single-application-qt5")) + (this-package-input "single-application")) "src/singleapplication")))))) - (native-inputs (list extra-cmake-modules qttools-5)) - (inputs (list fio polkit-qt qtbase-5 single-application-qt5)) + (native-inputs (list extra-cmake-modules qttools)) + (inputs (list fio polkit-qt6 single-application qtwayland)) (home-page "https://github.com/JonMagon/KDiskMark") (synopsis "Simple disk benchmark tool") (description "KDiskMark is an HDD and SSD benchmark tool. KDiskMark