diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2026-06-03 10:58:03 +0900 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2026-06-03 11:00:04 +0900 |
| commit | c77171e2b0dc56c715b4a80684b5673aa4c3748a (patch) | |
| tree | fcfacc62ba8610e44c95bb2fc3bffae42ee5a204 /gnu | |
| parent | 09a50b815a6b0edccc2a41ef659533daa738346d (diff) | |
gnu: hotspot: Update to 1.6.0.
* gnu/packages/linux.scm (hotspot): Update to 1.6.0.
Fixes: #8982
Change-Id: I80d6573b3e5724262c4c14ef6b55beec9cb7434f
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/linux.scm | 234 |
1 files changed, 115 insertions, 119 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 2cc50f474fd..48224a69987 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm | |||
| @@ -8522,128 +8522,124 @@ not as a replacement for it.") | |||
| 8522 | license:gpl3+)))) ; everything else | 8522 | license:gpl3+)))) ; everything else |
| 8523 | 8523 | ||
| 8524 | (define-public hotspot | 8524 | (define-public hotspot |
| 8525 | ;; Use the latest git commit as it includes unreleased fixes for the test | 8525 | (package |
| 8526 | ;; suite. | 8526 | (name "hotspot") |
| 8527 | (let ((commit "5cec69301a3f34ada86ce9fe01a9538b04b3cf7c") | 8527 | (version "1.6.0") |
| 8528 | (revision "0")) | 8528 | (source (origin |
| 8529 | (package | 8529 | (method git-fetch) |
| 8530 | (name "hotspot") | 8530 | (uri (git-reference |
| 8531 | (version (git-version "1.5.1" revision commit)) | 8531 | (url "https://github.com/KDAB/hotspot") |
| 8532 | (source (origin | 8532 | (commit version) |
| 8533 | (method git-fetch) | 8533 | ;; Include the bundled perfparser and PrefixTickLabels |
| 8534 | (uri (git-reference | 8534 | ;; libraries, which are to be used in source form. |
| 8535 | (url "https://github.com/KDAB/hotspot") | 8535 | (recursive? #t))) |
| 8536 | (commit commit) | 8536 | (file-name (git-file-name name version)) |
| 8537 | ;; Include the bundled perfparser and PrefixTickLabels | 8537 | (sha256 |
| 8538 | ;; libraries, which are to be used in source form. | 8538 | (base32 |
| 8539 | (recursive? #t))) | 8539 | "065pcibr4m2ixjlq9nf45g22f73zsxabll361bjjnmkfv6xhz1r4")))) |
| 8540 | (file-name (git-file-name name version)) | 8540 | (build-system qt-build-system) |
| 8541 | (sha256 | 8541 | (arguments |
| 8542 | (base32 | 8542 | (list |
| 8543 | "115gskjdcb1q3mgrnv1qcdrhxabjzl1hhkpk1klk67ayicsk1ym6")))) | 8543 | ;; As mentioned in the option help text, the KAuth helper cannot be |
| 8544 | (build-system qt-build-system) | 8544 | ;; installed to a custom prefix and the build fails with "file cannot |
| 8545 | (arguments | 8545 | ;; create directory: /polkit-1/actions. Maybe need administrative" |
| 8546 | (list | 8546 | ;; (see: <https://bugs.kde.org/show_bug.cgi?id=363678>). |
| 8547 | ;; As mentioned in the option help text, the KAuth helper cannot be | 8547 | #:configure-flags #~(list "-DINSTALL_KAUTH_HELPER=OFF" |
| 8548 | ;; installed to a custom prefix and the build fails with "file cannot | 8548 | "-DQT6_BUILD=ON") |
| 8549 | ;; create directory: /polkit-1/actions. Maybe need administrative" | 8549 | #:qtbase qtbase |
| 8550 | ;; (see: https://bugs.kde.org/show_bug.cgi?id=363678). | 8550 | ;; The 'tst_models' and 'tst_callgraphgenerator' fail, with |
| 8551 | #:configure-flags #~(list "-DINSTALL_KAUTH_HELPER=OFF" | 8551 | ;; the later seemingly requiring sudo or access to the kernel |
| 8552 | "-DQT6_BUILD=ON") | 8552 | ;; trace points. |
| 8553 | #:qtbase qtbase | 8553 | #:test-exclude |
| 8554 | ;; The 'tst_models' and 'tst_callgraphgenerator' fail, with | 8554 | (string-append |
| 8555 | ;; the later seemingly requiring sudo or access to the kernel | 8555 | "(" |
| 8556 | ;; trace points. | 8556 | (string-join |
| 8557 | #:test-exclude | 8557 | ;; The 'tst_models' expected output doesn't exactly |
| 8558 | (string-append | 8558 | ;; match. |
| 8559 | "(" | 8559 | '("tst_models" |
| 8560 | (string-join | 8560 | ;; The 'tst_callgraphgenerator' perf invocation |
| 8561 | ;; The 'tst_models' expected output doesn't exactly | 8561 | ;; fails when run in the build container. |
| 8562 | ;; match. | 8562 | "tst_callgraphgenerator" |
| 8563 | '("tst_models" | 8563 | ;; The 'tst_perfparser' test requires sudo/access |
| 8564 | ;; The 'tst_callgraphgenerator' perf invocation | 8564 | ;; to the kernel scheduler trace points. |
| 8565 | ;; fails when run in the build container. | 8565 | "tst_perfparser") |
| 8566 | "tst_callgraphgenerator" | 8566 | "|") |
| 8567 | ;; The 'tst_perfparser' test requires sudo/access | 8567 | ")") |
| 8568 | ;; to the kernel scheduler trace points. | 8568 | #:phases |
| 8569 | "tst_perfparser") | 8569 | #~(modify-phases %standard-phases |
| 8570 | "|") | 8570 | (add-after 'unpack 'patch-perfparser |
| 8571 | ")") | 8571 | ;; XXX: This phase is copied from qt-creator: keep them in sync! |
| 8572 | #:phases | 8572 | (lambda* (#:key inputs #:allow-other-keys) |
| 8573 | #~(modify-phases %standard-phases | 8573 | ;; perfparser attempts to dynamically load the demangle |
| 8574 | (add-after 'unpack 'patch-perfparser | 8574 | ;; libraries; use their absolute file name to avoid having to |
| 8575 | ;; XXX: This phase is copied from qt-creator: keep them in sync! | 8575 | ;; set LD_LIBRARY_PATH. |
| 8576 | (lambda* (#:key inputs #:allow-other-keys) | 8576 | (let ((librustc_demangle.so |
| 8577 | ;; perfparser attempts to dynamically load the demangle | 8577 | (with-exception-handler (lambda (ex) |
| 8578 | ;; libraries; use their absolute file name to avoid having to | 8578 | (if (search-error? ex) |
| 8579 | ;; set LD_LIBRARY_PATH. | 8579 | #f |
| 8580 | (let ((librustc_demangle.so | 8580 | (raise-exception ex))) |
| 8581 | (with-exception-handler (lambda (ex) | 8581 | (lambda () |
| 8582 | (if (search-error? ex) | 8582 | (search-input-file inputs "lib/librustc_demangle.so")) |
| 8583 | #f | 8583 | #:unwind? #t))) |
| 8584 | (raise-exception ex))) | 8584 | (substitute* "3rdparty/perfparser/app/demangler.cpp" |
| 8585 | (lambda () | 8585 | (("loadDemangleLib\\(QStringLiteral\\(\"rustc_demangle\")" |
| 8586 | (search-input-file inputs "lib/librustc_demangle.so")) | 8586 | all) |
| 8587 | #:unwind? #t))) | 8587 | (if librustc_demangle.so |
| 8588 | (substitute* "3rdparty/perfparser/app/demangler.cpp" | 8588 | (format #f "loadDemangleLib(QStringLiteral(~s)" |
| 8589 | (("loadDemangleLib\\(QStringLiteral\\(\"rustc_demangle\")" | 8589 | librustc_demangle.so) |
| 8590 | all) | 8590 | all)) ;no rustc_demangle; leave unchanged |
| 8591 | (if librustc_demangle.so | 8591 | (("loadDemangleLib\\(QStringLiteral\\(\"d_demangle\")") |
| 8592 | (format #f "loadDemangleLib(QStringLiteral(~s)" | 8592 | (format #f "loadDemangleLib(QStringLiteral(~s)" |
| 8593 | librustc_demangle.so) | 8593 | (search-input-file inputs |
| 8594 | all)) ;no rustc_demangle; leave unchanged | 8594 | "lib/libd_demangle.so"))))))) |
| 8595 | (("loadDemangleLib\\(QStringLiteral\\(\"d_demangle\")") | 8595 | (add-after 'unpack 'path-paths |
| 8596 | (format #f "loadDemangleLib(QStringLiteral(~s)" | 8596 | (lambda* (#:key inputs #:allow-other-keys) |
| 8597 | (search-input-file inputs | 8597 | (substitute* "src/perfoutputwidgetkonsole.cpp" |
| 8598 | "lib/libd_demangle.so"))))))) | 8598 | (("\"tail\"") |
| 8599 | (add-after 'unpack 'path-paths | 8599 | (format #f "~s" (search-input-file inputs "bin/tail")))) |
| 8600 | (lambda* (#:key inputs #:allow-other-keys) | 8600 | (substitute* "src/perfrecord.cpp" |
| 8601 | (substitute* "src/perfoutputwidgetkonsole.cpp" | 8601 | (("\"perf( )?\"" _ space) |
| 8602 | (("\"tail\"") | 8602 | (string-append "\"" (search-input-file inputs "bin/perf") |
| 8603 | (format #f "~s" (search-input-file inputs "bin/tail")))) | 8603 | (or space "") "\"")))))))) |
| 8604 | (substitute* "src/perfrecord.cpp" | 8604 | (native-inputs |
| 8605 | (("\"perf( )?\"" _ space) | 8605 | (list extra-cmake-modules |
| 8606 | (string-append "\"" (search-input-file inputs "bin/perf") | 8606 | vulkan-headers)) |
| 8607 | (or space "") "\"")))))))) | 8607 | (inputs |
| 8608 | (native-inputs | 8608 | (append |
| 8609 | (list extra-cmake-modules | 8609 | (list coreutils-minimal |
| 8610 | vulkan-headers)) | 8610 | d-demangler |
| 8611 | (inputs | 8611 | elfutils |
| 8612 | (append | 8612 | karchive |
| 8613 | (list coreutils-minimal | 8613 | kconfig |
| 8614 | d-demangler | 8614 | kcoreaddons |
| 8615 | elfutils | 8615 | kddockwidgets |
| 8616 | karchive | 8616 | kgraphviewer |
| 8617 | kconfig | 8617 | ki18n |
| 8618 | kcoreaddons | 8618 | kio |
| 8619 | kddockwidgets | 8619 | kiconthemes |
| 8620 | kgraphviewer | 8620 | kitemmodels |
| 8621 | ki18n | 8621 | kitemviews |
| 8622 | kio | 8622 | knotifications |
| 8623 | kiconthemes | 8623 | kparts |
| 8624 | kitemmodels | 8624 | ksyntaxhighlighting |
| 8625 | kitemviews | 8625 | kwindowsystem |
| 8626 | knotifications | 8626 | libxkbcommon |
| 8627 | kparts | 8627 | perf |
| 8628 | ksyntaxhighlighting | 8628 | qtdeclarative |
| 8629 | kwindowsystem | 8629 | qtsvg |
| 8630 | libxkbcommon | 8630 | solid |
| 8631 | perf | 8631 | threadweaver |
| 8632 | qtdeclarative | 8632 | `(,zstd "lib")) |
| 8633 | qtsvg | 8633 | (if (supported-package? rust-rustc-demangle-capi-0.1) |
| 8634 | solid | 8634 | (list rust-rustc-demangle-capi-0.1) |
| 8635 | threadweaver | 8635 | '()))) |
| 8636 | `(,zstd "lib")) | 8636 | (home-page "https://github.com/KDAB/hotspot") |
| 8637 | (if (supported-package? rust-rustc-demangle-capi-0.1) | 8637 | (synopsis "Performance analysis GUI for Linux perf") |
| 8638 | (list rust-rustc-demangle-capi-0.1) | 8638 | (description "Hotspot is a standalone GUI for performance data analysis. |
| 8639 | '()))) | ||
| 8640 | (home-page "https://github.com/KDAB/hotspot") | ||
| 8641 | (synopsis "Performance analysis GUI for Linux perf") | ||
| 8642 | (description "Hotspot is a standalone GUI for performance data analysis. | ||
| 8643 | It aims to be similar to KCachegrind, but for data collected with | 8639 | It aims to be similar to KCachegrind, but for data collected with |
| 8644 | @command{perf}, a profiler for use with the kernel Linux. Its main feature is | 8640 | @command{perf}, a profiler for use with the kernel Linux. Its main feature is |
| 8645 | graphically visualizing a @file{perf.data} file.") | 8641 | graphically visualizing a @file{perf.data} file.") |
| 8646 | (license (list license:gpl2+ license:gpl3+))))) ;dual licensed | 8642 | (license (list license:gpl2+ license:gpl3+)))) ;dual licensed |
| 8647 | 8643 | ||
| 8648 | (define-public ecryptfs-utils | 8644 | (define-public ecryptfs-utils |
| 8649 | (package | 8645 | (package |
