summaryrefslogtreecommitdiff
path: root/gnu/packages/linux.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r--gnu/packages/linux.scm1040
1 files changed, 575 insertions, 465 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 9668e078a8..d4c40d5ffb 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -34,7 +34,7 @@
;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
;;; Copyright © 2019 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
;;; Copyright © 2019 mikadoZero <mikadozero@yandex.com>
-;;; Copyright © 2019-2025 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2019-2025 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2019 Stefan Stefanović <stefanx2ovic@gmail.com>
;;; Copyright © 2019-2022 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2019 Kei Kebreau <kkebreau@posteo.net>
@@ -83,6 +83,8 @@
;;; Copyright © 2024 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2024, 2025 Ashish SHUKLA <ashish.is@lostca.se>
;;; Copyright © 2025 Nigko Yerden <nigko.yerden@gmail.com>
+;;; Copyright © 2025 Mathieu Laparie <mlaparie@disr.it>
+;;; Copyright © 2025 John Kehayias <john.kehayias@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -118,7 +120,6 @@
#:use-module (gnu packages check)
#:use-module (gnu packages cpio)
#:use-module (gnu packages cpp)
- #:use-module (gnu packages crates-io)
#:use-module (gnu packages crypto)
#:use-module (gnu packages cryptsetup)
#:use-module (gnu packages compression)
@@ -151,6 +152,7 @@
#:use-module (gnu packages haskell-xyz)
#:use-module (gnu packages image)
#:use-module (gnu packages kde-frameworks)
+ #:use-module (gnu packages libedit)
#:use-module (gnu packages libevent)
#:use-module (gnu packages libunwind)
#:use-module (gnu packages libusb)
@@ -182,6 +184,7 @@
#:use-module (gnu packages rpc)
#:use-module (gnu packages rrdtool)
#:use-module (gnu packages rsync)
+ #:use-module (gnu packages rust-sources)
#:use-module (gnu packages samba)
#:use-module (gnu packages sdl)
#:use-module (gnu packages serialization)
@@ -242,6 +245,7 @@
(linux linux-libre)
source
defconfig
+ modconfig
(configs "")
extra-version)
"Make a customized Linux package NAME derived from the LINUX package.
@@ -255,6 +259,10 @@ A DEFCONFIG file to be used can be given as an origin, as a file-like object
available in the Linux sources. If DEFCONFIG is not given, then a defconfig
file will be saved from the LINUX package configuration.
+MODCONFIG is an origin or file-like object used for make localmodconfig to
+disable unlisted modules. For instance, this can come from using modprobed-db
+periodically on a running machine to find all loaded modules.
+
Additional CONFIGS will be used to modify the given or saved defconfig, which
will finally be used to build Linux.
@@ -323,7 +331,12 @@ of 'uname -r' behind the Linux version numbers."
(chmod guix_defconfig #o644)
(modify-defconfig guix_defconfig '#$configs)
(invoke "make" "guix_defconfig")
- (verify-config ".config" guix_defconfig))))))))))
+ (verify-config ".config" guix_defconfig)
+ ;; Minimize module building if provided e.g. a modprobed-db
+ ;; database.
+ (if #$modconfig
+ (invoke "make" (string-append "LSMOD=" #$modconfig)
+ "localmodconfig")))))))))))
(define (make-defconfig uri sha256-as-base32)
(origin (method url-fetch)
@@ -514,86 +527,71 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
;; The current "stable" kernels. That is, the most recently released major
;; versions that are still supported upstream.
-(define-public linux-libre-6.15-version "6.15.6")
-(define-public linux-libre-6.15-gnu-revision "gnu")
-(define deblob-scripts-6.15
+(define-public linux-libre-6.16-version "6.16.11")
+(define-public linux-libre-6.16-gnu-revision "gnu")
+(define deblob-scripts-6.16
(linux-libre-deblob-scripts
- linux-libre-6.15-version
- linux-libre-6.15-gnu-revision
- (base32 "05fr8s00ljj7v26z3gb1yrfna42i7zy36x6wrg74ai5hwwc7jfnd")
- (base32 "05153ci3sk9gsq8vgk6phvzszldaj2psmyp10cjivm3gl6qvkbhk")))
-(define-public linux-libre-6.15-pristine-source
- (let ((version linux-libre-6.15-version)
- (hash (base32 "1z5l0b59q56qj6s56cxzv43lhfx9z9sp4vfziw60fz97ak4qdd9b")))
+ linux-libre-6.16-version
+ linux-libre-6.16-gnu-revision
+ (base32 "0qwh82z5bjmq7hhx7s41mnybpr8ihdk2g0bgjb3hzd95x6pw4w51")
+ (base32 "1i4kba2wpkc7jmj7b2qjkrgqsl0g0s1h7j9pfvc7zqyyn9v3kkqr")))
+(define-public linux-libre-6.16-pristine-source
+ (let ((version linux-libre-6.16-version)
+ (hash (base32 "0yxsinhly689327jbvwm2nfr6cx7ynj9sd87a9var1rx8l64yc2z")))
(make-linux-libre-source version
(%upstream-linux-source version hash)
- deblob-scripts-6.15)))
-
-(define-public linux-libre-6.14-version "6.14.11")
-(define-public linux-libre-6.14-gnu-revision "gnu")
-(define deblob-scripts-6.14
- (linux-libre-deblob-scripts
- linux-libre-6.14-version
- linux-libre-6.14-gnu-revision
- (base32 "1c27l734pwxgdwhq0gzibaznh0695pqvl17vbddw6q5znm84a0s3")
- (base32 "14vabccax7mq5gisshlnx2ljx3hr4jj106aw3s9qx5dxbjvr7qcw")))
-(define-public linux-libre-6.14-pristine-source
- (let ((version linux-libre-6.14-version)
- (hash (base32 "06rvydmc2yfspidnsay5hin3i8p4fxy3bvzwnry7gjf9dl5cs71z")))
- (make-linux-libre-source version
- (%upstream-linux-source version hash)
- deblob-scripts-6.14)))
+ deblob-scripts-6.16)))
;; The "longterm" kernels — the older releases with long-term upstream support.
;; Here are the support timelines:
;; <https://www.kernel.org/category/releases.html>
-(define-public linux-libre-6.12-version "6.12.38")
+(define-public linux-libre-6.12-version "6.12.51")
(define-public linux-libre-6.12-gnu-revision "gnu")
(define deblob-scripts-6.12
(linux-libre-deblob-scripts
linux-libre-6.12-version
linux-libre-6.12-gnu-revision
(base32 "0y6i9ifax1a8bxih3rr9xzy3mj61ssgx9yfsy6fh94mni6wl51gp")
- (base32 "1hc3fgc0wajlwbsjkvfcxvmjw4bcxfbrnbfbcasbczz7if4f0fvf")))
+ (base32 "1yl447396g454116j8v17wsqg5i0gyb2rrxvaygw6xdkbwrrj28j")))
(define-public linux-libre-6.12-pristine-source
(let ((version linux-libre-6.12-version)
- (hash (base32 "1k0gcwavn5iws3z1as39227i2hnc62qnfddjfqy7k7ymhf6zldgh")))
+ (hash (base32 "08bj3b6a6jwvrpjl5sxvmzwwnc00clq98rjwb61fznd7khaasm9d")))
(make-linux-libre-source version
(%upstream-linux-source version hash)
deblob-scripts-6.12)))
-(define-public linux-libre-6.6-version "6.6.98")
+(define-public linux-libre-6.6-version "6.6.110")
(define-public linux-libre-6.6-gnu-revision "gnu")
(define deblob-scripts-6.6
(linux-libre-deblob-scripts
linux-libre-6.6-version
linux-libre-6.6-gnu-revision
(base32 "1fph0cf5vwkxcyz2cay4d70sqw1y02dx3shfclhp9y4nmkk169pq")
- (base32 "1zzpk2hpv76lylip4j7jkn0jqcjj15h3jff22x22i73mwz2kiqgk")))
+ (base32 "11i7pvm5n31rvp05msbm3ciclr84cz9c94f5r5aa6mmzhslwpbxk")))
(define-public linux-libre-6.6-pristine-source
(let ((version linux-libre-6.6-version)
- (hash (base32 "1raxyhvv0yay3k1izwcqdbq9322nflflfzcn9d1jrhmb032k8si9")))
+ (hash (base32 "07gv37ralrhf709plqj1hzk1adwilh6znmay6agpbf23anphvwhv")))
(make-linux-libre-source version
(%upstream-linux-source version hash)
deblob-scripts-6.6)))
-(define-public linux-libre-6.1-version "6.1.145")
+(define-public linux-libre-6.1-version "6.1.155")
(define-public linux-libre-6.1-gnu-revision "gnu")
(define deblob-scripts-6.1
(linux-libre-deblob-scripts
linux-libre-6.1-version
linux-libre-6.1-gnu-revision
(base32 "00yh14z7sr9pkakkkpdyp8fj41d56a306xsf5yb2lzm0sgl6lvza")
- (base32 "1hzjr44hy8px4n3x5my2syhd60chkfy79ajgzvlz04pc5yf6ihpi")))
+ (base32 "0f3jgbfd2j7sz7h1hb30s1r9147g1cbb3ia09k9834fvbiz1ihaa")))
(define-public linux-libre-6.1-pristine-source
(let ((version linux-libre-6.1-version)
- (hash (base32 "0qrkcrqb0migsrq6xl1idyz8n6vjbdk74z4sc9na97b6n5vp0r9i")))
+ (hash (base32 "0wsw99h2jsrcx9fff59nqjx66l40vywj8qi3j6yvqpq8xsp8g4y2")))
(make-linux-libre-source version
(%upstream-linux-source version hash)
deblob-scripts-6.1)))
-(define-public linux-libre-5.15-version "5.15.188")
+(define-public linux-libre-5.15-version "5.15.194")
(define-public linux-libre-5.15-gnu-revision "gnu")
(define deblob-scripts-5.15
(linux-libre-deblob-scripts
@@ -603,27 +601,27 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
(base32 "0rg65s6kd9gxxa3wl6180pr39rb6zbcicwjik4kygs2ns0247y56")))
(define-public linux-libre-5.15-pristine-source
(let ((version linux-libre-5.15-version)
- (hash (base32 "1nfcrdwa2mgih57ch9kh8gc6jl950a7vpqgr56xk1b02303km5f4")))
+ (hash (base32 "0zi6ihvjmaf940arnc7jjvdqrjf3cvkc9mqc8n24dz85vam6z39l")))
(make-linux-libre-source version
(%upstream-linux-source version hash)
deblob-scripts-5.15)))
-(define-public linux-libre-5.10-version "5.10.239")
+(define-public linux-libre-5.10-version "5.10.244")
(define-public linux-libre-5.10-gnu-revision "gnu1")
(define deblob-scripts-5.10
(linux-libre-deblob-scripts
linux-libre-5.10-version
linux-libre-5.10-gnu-revision
- (base32 "1lg0sxfjn0hpcdfyqy2r5kchnjfyyx2xraxhmjhwwkpiwl9ph501")
- (base32 "11liynz5vayms646gj0rjj8fmrqhv203mwsqs3sx9p8y84v50d4p")))
+ (base32 "1wn9k4lbxcc9rzl1rqidlnb472wyayillrh57gyxnghi7j9ghqna")
+ (base32 "0r1whrfhhhjyvppiidhihcvyzcab6dva6g9a4div8jkxm62s2cq3")))
(define-public linux-libre-5.10-pristine-source
(let ((version linux-libre-5.10-version)
- (hash (base32 "1nzhl1y6avfl77fyqwjwy3qc6679gp92k0d3aarscrdydcml5yid")))
+ (hash (base32 "1h3dqaran5zrfgs0vybwq576yka8s9jirahiy3bb7hpm1763f2i1")))
(make-linux-libre-source version
(%upstream-linux-source version hash)
deblob-scripts-5.10)))
-(define-public linux-libre-5.4-version "5.4.295")
+(define-public linux-libre-5.4-version "5.4.300")
(define-public linux-libre-5.4-gnu-revision "gnu1")
(define deblob-scripts-5.4
(linux-libre-deblob-scripts
@@ -633,7 +631,7 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
(base32 "0l7pwhgw9laxfypcpqlz411x3hybcw2269abh3lpcw96bgv5m1k2")))
(define-public linux-libre-5.4-pristine-source
(let ((version linux-libre-5.4-version)
- (hash (base32 "1adn0pbk8y1zp1yrz83ch6h4wypm2qvbnx4xig3sls2nfgvmi0f4")))
+ (hash (base32 "0nl1l689d4jq2l39v816yy7z5lzc5dvv8aqn85xlv4najc022jcr")))
(make-linux-libre-source version
(%upstream-linux-source version hash)
deblob-scripts-5.4)))
@@ -666,13 +664,8 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
(patches (append (origin-patches source)
patches))))
-(define-public linux-libre-6.15-source
- (source-with-patches linux-libre-6.15-pristine-source
- (list %boot-logo-patch
- %linux-libre-arm-export-__sync_icache_dcache-patch)))
-
-(define-public linux-libre-6.14-source
- (source-with-patches linux-libre-6.14-pristine-source
+(define-public linux-libre-6.16-source
+ (source-with-patches linux-libre-6.16-pristine-source
(list %boot-logo-patch
%linux-libre-arm-export-__sync_icache_dcache-patch)))
@@ -797,15 +790,10 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
(description "Headers of the Linux-Libre kernel.")
(license license:gpl2)))
-(define-public linux-libre-headers-6.15
- (make-linux-libre-headers* linux-libre-6.15-version
- linux-libre-6.15-gnu-revision
- linux-libre-6.15-source))
-
-(define-public linux-libre-headers-6.14
- (make-linux-libre-headers* linux-libre-6.14-version
- linux-libre-6.14-gnu-revision
- linux-libre-6.14-source))
+(define-public linux-libre-headers-6.16
+ (make-linux-libre-headers* linux-libre-6.16-version
+ linux-libre-6.16-gnu-revision
+ linux-libre-6.16-source))
(define-public linux-libre-headers-6.12
(make-linux-libre-headers* linux-libre-6.12-version
@@ -847,7 +835,7 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
;; linux-libre-headers-latest points to the latest headers package
;; and should be used as a dependency for packages that depend on
;; the headers.
-(define-public linux-libre-headers-latest linux-libre-headers-6.15)
+(define-public linux-libre-headers-latest linux-libre-headers-6.16)
;;;
@@ -1174,27 +1162,19 @@ Linux kernel. It has been modified to remove all non-free binary blobs.")
;;; Generic kernel packages.
;;;
-(define-public linux-libre-6.15
- (make-linux-libre* linux-libre-6.15-version
- linux-libre-6.15-gnu-revision
- linux-libre-6.15-source
- '("x86_64-linux" "i686-linux" "armhf-linux"
- "aarch64-linux" "powerpc64le-linux" "riscv64-linux")
- #:configuration-file kernel-config))
-
-(define-public linux-libre-6.14
- (make-linux-libre* linux-libre-6.14-version
- linux-libre-6.14-gnu-revision
- linux-libre-6.14-source
+(define-public linux-libre-6.16
+ (make-linux-libre* linux-libre-6.16-version
+ linux-libre-6.16-gnu-revision
+ linux-libre-6.16-source
'("x86_64-linux" "i686-linux" "armhf-linux"
"aarch64-linux" "powerpc64le-linux" "riscv64-linux")
#:configuration-file kernel-config))
-(define-public linux-libre-version linux-libre-6.15-version)
-(define-public linux-libre-gnu-revision linux-libre-6.15-gnu-revision)
-(define-public linux-libre-pristine-source linux-libre-6.15-pristine-source)
-(define-public linux-libre-source linux-libre-6.15-source)
-(define-public linux-libre linux-libre-6.15)
+(define-public linux-libre-version linux-libre-6.16-version)
+(define-public linux-libre-gnu-revision linux-libre-6.16-gnu-revision)
+(define-public linux-libre-pristine-source linux-libre-6.16-pristine-source)
+(define-public linux-libre-source linux-libre-6.16-source)
+(define-public linux-libre linux-libre-6.16)
(define-public linux-libre-6.12
(make-linux-libre* linux-libre-6.12-version
@@ -1519,21 +1499,22 @@ Linux kernel. It has been modified to remove all non-free binary blobs.")
(define-public reform-debian-packages
(package
(name "reform-debian-packages")
- (version "2023-07-10-425-g9187116") ;from git describe
+ (version "2023-07-10-443-gd7741e1") ;from git describe
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://source.mnt.re/reform/reform-debian-packages.git")
- (commit "918711653f0607612214e5a39efccc9273685dcf")))
+ (commit "d7741e1426d53806f7b2d1a3b9e068bdfb9801cd")))
(file-name (git-file-name name version))
(sha256
- (base32 "0sj4za5rirn00v2qzz440m30h3p40g2s7l50g8npk2x3a16fs8ln"))))
+ (base32 "01hjpsac08j1ay5kn4k42dzyvg2cl5rfz32l1yqx243v4x2hw0c9"))))
(build-system copy-build-system)
(arguments
(list
#:install-plan
#~'(("linux/patches6.15/" "/patches6.15")
+ ("linux/patches6.16/" "/patches6.16")
("linux/" "/dts/amlogic"
#:include-regexp ("meson.*\\.dts$"))
("linux/" "/dts/freescale"
@@ -1600,12 +1581,12 @@ Linux kernel. It has been modified to remove all non-free binary blobs.")
license:gpl3
license:x11))))
-(define-public linux-libre-arm64-mnt-reform
+(define-public linux-libre-arm64-mnt-reform-6.16
;; Kernel for use on the MNT/Reform systems
;; https://mntre.com/reform.html
- (let ((base (make-linux-libre* linux-libre-6.15-version
- linux-libre-6.15-gnu-revision
- linux-libre-6.15-source
+ (let ((base (make-linux-libre* linux-libre-6.16-version
+ linux-libre-6.16-gnu-revision
+ linux-libre-6.16-source
'("aarch64-linux")
#:extra-version "arm64-mnt-reform"
#:extra-options
@@ -1701,7 +1682,7 @@ Linux kernel. It has been modified to remove all non-free binary blobs.")
("CONFIG_ATH9K" . m)
("CONFIG_ATH9K_HTC" . m))
(default-extra-linux-options
- linux-libre-6.15-version)))))
+ linux-libre-6.16-version)))))
(package
(inherit base)
(inputs (list reform-debian-packages))
@@ -1719,7 +1700,7 @@ Linux kernel. It has been modified to remove all non-free binary blobs.")
(invoke "patch" "-p1" "-i"
(search-input-file inputs
(string-append
- "patches6.15/" patch))))
+ "patches6.16/" patch))))
(list
"imx8mp-mnt-pocket-reform/2ghz/0001-imx8mp-2ghz-clk.patch"
"imx8mp-mnt-pocket-reform/2ghz/0002-imx8mp-2ghz-opp.patch"
@@ -1737,7 +1718,7 @@ Linux kernel. It has been modified to remove all non-free binary blobs.")
"imx8mq-mnt-reform2/0003-lcdif-fix-pcie-interference.patch"
"imx8mq-mnt-reform2/0004-mnt4002-imx-gpcv2-wake-smccc.patch.patch"
"imx8mq-mnt-reform2/0005-pci-imx6-add-support-for-internal-refclk-imx8mq.patch"
- "imx8mq-mnt-reform2/Initial-support-Cadence-MHDP8501-HDMI-DP-for-i.MX8MQ.patch"
+ "imx8mq-mnt-reform2/0006-imx8mq-import-HDMI-driver-and-make-DCSS-compatible-w.patch"
"ls1028a-mnt-reform2/0000-dtsi-add-hdptx.patch"
"meson-g12b-bananapi-cm4-mnt-pocket-reform/0001-a311d-viu-fifo-lines-config.patch"
"meson-g12b-bananapi-cm4-mnt-pocket-reform/0002-a311d-viu-fifo-lines-config-header.patch"
@@ -1757,78 +1738,113 @@ Linux kernel. It has been modified to remove all non-free binary blobs.")
"meson-g12b-bananapi-cm4-mnt-reform2/0023-sdio-pullups.patch"
"meson-g12b-bananapi-cm4-mnt-reform2/0024-sdio-improve-wifi-speed.patch"
"meson-g12b-bananapi-cm4-mnt-reform2/0030-WORKAROUND-meson-plane-disable-afbc-32x8.patch"
- "rk3588-mnt-reform2/0001-MERGED-phy-Add-HDMI-configuration-options.patch"
- "rk3588-mnt-reform2/0002-MERGED-phy-hdmi-Add-color-depth-configuration.patch"
- "rk3588-mnt-reform2/0005-MERGED-phy-rockchip-samsung-hdptx-Drop-unused-struct.patch"
- "rk3588-mnt-reform2/0006-MERGED-phy-rockchip-samsung-hdptx-Drop-unused-phy_cf.patch"
- "rk3588-mnt-reform2/0007-MERGED-phy-rockchip-samsung-hdptx-Drop-superfluous-c.patch"
- "rk3588-mnt-reform2/0008-MERGED-phy-rockchip-samsung-hdptx-Avoid-Hz-hHz-unit-.patch"
- "rk3588-mnt-reform2/0009-MERGED-phy-rockchip-samsung-hdptx-Setup-TMDS-char-ra.patch"
- "rk3588-mnt-reform2/0010-MERGED-phy-rockchip-samsung-hdptx-Provide-config-par.patch"
- "rk3588-mnt-reform2/0011-MERGED-phy-rockchip-samsung-hdptx-Restrict-altering-.patch"
- "rk3588-mnt-reform2/0012-MERGED-phy-rockchip-samsung-hdptx-Rename-ambiguous-r.patch"
- "rk3588-mnt-reform2/0013-MERGED-phy-rockchip-samsung-hdptx-Optimize-internal-.patch"
- "rk3588-mnt-reform2/0014-MERGED-phy-rockchip-samsung-hdptx-Add-high-color-dep.patch"
- "rk3588-mnt-reform2/0015-MERGED-dt-bindings-PCI-dw-rockchip-Add-rk3576-suppor.patch"
- "rk3588-mnt-reform2/0016-MERGED-arm64-dts-rockchip-Add-rk3576-pcie-nodes.patch"
- "rk3588-mnt-reform2/0017-MERGED-dt-bindings-arm-rockchip-Add-Radxa-ROCK-5B.patch"
- "rk3588-mnt-reform2/0018-MERGED-arm64-dts-rockchip-add-mipi-dcphy-nodes-to-rk.patch"
- "rk3588-mnt-reform2/0019-MERGED-arm64-dts-rockchip-add-dsi-controller-nodes-o.patch"
- "rk3588-mnt-reform2/0020-MERGED-arm64-dts-rockchip-move-rock-5b-to-include-fi.patch"
- "rk3588-mnt-reform2/0021-MERGED-arm64-dts-rockchip-add-Rock-5B.patch"
- "rk3588-mnt-reform2/0024-DEBUG-usb-typec-tcpm-also-log-to-dmesg.patch"
- "rk3588-mnt-reform2/0025-math.h-add-DIV_ROUND_UP_NO_OVERFLOW.patch"
- "rk3588-mnt-reform2/0026-clk-divider-Fix-divisor-masking-on-64-bit-platforms.patch"
- "rk3588-mnt-reform2/0027-clk-composite-replace-open-coded-abs_diff.patch"
- "rk3588-mnt-reform2/0028-arm64-dts-rockchip-rk3588-evb1-add-bluetooth-rfkill.patch"
- "rk3588-mnt-reform2/0029-arm64-dts-rockchip-rk3588-evb1-improve-PCIe-ethernet.patch"
- "rk3588-mnt-reform2/0030-arm64-dts-rockchip-Slow-down-EMMC-a-bit-to-keep-IO-s.patch"
- "rk3588-mnt-reform2/0031-media-v4l2-ctrls-core-Set-frame_mbs_only_flag-by-def.patch"
- "rk3588-mnt-reform2/0032-media-rockchip-Move-H264-CABAC-table-to-header-file.patch"
- "rk3588-mnt-reform2/0033-media-rockchip-Introduce-the-rkvdec2-driver.patch"
- "rk3588-mnt-reform2/0034-media-dt-bindings-rockchip-Document-RK3588-Video-Dec.patch"
- "rk3588-mnt-reform2/0035-arm64-dts-rockchip-Add-rkvdec2-Video-Decoder-on-rk35.patch"
- "rk3588-mnt-reform2/0036-arm64-defconfig-enable-Rockchip-RK3588-video-decoder.patch"
- "rk3588-mnt-reform2/0037-mfd-rk8xx-Fix-shutdown-handler.patch"
- "rk3588-mnt-reform2/0038-dt-bindings-display-vop2-Add-VP-clock-resets.patch"
- "rk3588-mnt-reform2/0039-drm-rockchip-vop2-Add-clock-resets-support.patch"
- "rk3588-mnt-reform2/0040-arm64-dts-rockchip-Add-VOP-clock-resets-for-rk3588s.patch"
- "rk3588-mnt-reform2/0041-arm64-dts-rockchip-rk3588-evb1-add-DSI-panel.patch"
- "rk3588-mnt-reform2/0042-drm-rockchip-vop2-Add-core-reset-support.patch"
- "rk3588-mnt-reform2/0043-WIP-drm-rockchip-dw_hdmi_qp-Make-use-of-phy_configur.patch"
- "rk3588-mnt-reform2/0044-WIP-drm-bridge-Add-detect_ctx-hook.patch"
- "rk3588-mnt-reform2/0045-WIP-drm-bridge-connector-Switch-from-detect-to-detec.patch"
- "rk3588-mnt-reform2/0046-WIP-drm-bridge-dw-hdmi-qp-Add-high-TMDS-clock-ratio-.patch"
- "rk3588-mnt-reform2/0047-drm-dp-Pull-drm_dp_link_power_up-down-from-Tegra-to-.patch"
- "rk3588-mnt-reform2/0048-drm-bridge-cdns-mhdp8546-Switch-to-common-helpers-to.patch"
- "rk3588-mnt-reform2/0049-drm-bridge-anx6345-Switch-to-common-helpers-to-power.patch"
- "rk3588-mnt-reform2/0050-drm-bridge-anx78xx-Switch-to-common-helpers-to-power.patch"
- "rk3588-mnt-reform2/0051-drm-bridge-it6505-Switch-to-common-helpers-to-power-.patch"
- "rk3588-mnt-reform2/0052-dt-bindings-display-rockchip-Add-schema-for-RK3588-D.patch"
- "rk3588-mnt-reform2/0053-drm-bridge-synopsys-Add-DW-DPTX-Controller-support-l.patch"
- "rk3588-mnt-reform2/0054-drm-rockchip-Add-RK3588-DPTX-output-support.patch"
- "rk3588-mnt-reform2/0055-dt-bindings-display-simple-bridge-Add-ra620-compatib.patch"
- "rk3588-mnt-reform2/0056-drm-birdge-simple-bridge-Add-support-for-radxa-ra620.patch"
- "rk3588-mnt-reform2/0057-arm64-dts-rockchip-Add-DP0-for-rk3588.patch"
- "rk3588-mnt-reform2/0058-arm64-dts-rockchip-Add-DP1-for-rk3588.patch"
- "rk3588-mnt-reform2/0059-arm64-dts-rockchip-Enable-DisplayPort-for-rk3588s-Co.patch"
- "rk3588-mnt-reform2/0060-arm64-dts-rockchip-Enable-DP2HDMI-for-ROCK-5-ITX.patch"
- "rk3588-mnt-reform2/0061-arm64-defconfig-Enable-Rockchip-RK3588-DisplayPort-C.patch"
- "rk3588-mnt-reform2/0062-arm64-dts-rockchip-add-USB-C-support-for-ROCK-5B.patch"
- "rk3588-mnt-reform2/0063-arm64-dts-rockchip-enable-camera-I2C-interfaces-for-.patch"
- "rk3588-mnt-reform2/0064-accel-rocket-Add-registers-header.patch"
- "rk3588-mnt-reform2/0065-accel-rocket-Add-a-new-driver-for-Rockchip-s-NPU.patch"
- "rk3588-mnt-reform2/0066-accel-rocket-Add-IOCTL-for-BO-creation.patch"
- "rk3588-mnt-reform2/0067-accel-rocket-Add-job-submission-IOCTL.patch"
- "rk3588-mnt-reform2/0068-accel-rocket-Add-IOCTLs-for-synchronizing-memory-acc.patch"
- "rk3588-mnt-reform2/0069-dt-bindings-npu-rockchip-rknn-Add-bindings.patch"
- "rk3588-mnt-reform2/0070-arm64-dts-rockchip-add-pd_npu-label-for-RK3588-power.patch"
- "rk3588-mnt-reform2/0071-arm64-dts-rockchip-Add-nodes-for-NPU-and-its-MMU-to-.patch"
- "rk3588-mnt-reform2/0072-arm64-dts-rockchip-Enable-the-NPU-on-quartzpro64.patch"
- "rk3588-mnt-reform2/0073-arm64-dts-rockchip-enable-NPU-on-ROCK-5B.patch"
- "rk3588-mnt-reform2/1000-v3-pci_dw_rockchip_add_system_pm_support.patch"
- "rk3588-mnt-reform2/1001-pci_dw_rockchip_enable_l0s_capability.patch"
- "rk3588-mnt-reform2/1002-v2-media_verisilicon_fix_av1_decoder_clock_frequency.patch"
+ "rk3588-mnt-reform2/0002-MERGED-drm-connector-hdmi-Add-support-for-YUV420-for.patch"
+ "rk3588-mnt-reform2/0003-MERGED-drm-connector-hdmi-Improve-debug-message-for-.patch"
+ "rk3588-mnt-reform2/0004-MERGED-drm-connector-hdmi-Add-missing-bpc-debug-info.patch"
+ "rk3588-mnt-reform2/0005-MERGED-drm-connector-hdmi-Factor-out-bpc-and-format-.patch"
+ "rk3588-mnt-reform2/0006-MERGED-drm-connector-hdmi-Use-YUV420-output-format-a.patch"
+ "rk3588-mnt-reform2/0007-MERGED-drm-tests-hdmi-Replace-_-MHz-with-mhz.patch"
+ "rk3588-mnt-reform2/0008-MERGED-drm-tests-hdmi-Switch-to-void-type-for-EDID-d.patch"
+ "rk3588-mnt-reform2/0009-MERGED-drm-tests-hdmi-Add-macro-to-simplify-EDID-set.patch"
+ "rk3588-mnt-reform2/0010-MERGED-drm-tests-hdmi-Replace-open-coded-EDID-setup.patch"
+ "rk3588-mnt-reform2/0011-MERGED-drm-tests-hdmi-Drop-unused-drm_kunit_helper_c.patch"
+ "rk3588-mnt-reform2/0012-MERGED-drm-tests-hdmi-Setup-ycbcr_420_allowed-before.patch"
+ "rk3588-mnt-reform2/0013-MERGED-drm-tests-hdmi-Switch-to-drm_atomic_get_new_c.patch"
+ "rk3588-mnt-reform2/0014-MERGED-drm-tests-hdmi-Provide-EDID-supporting-4K-30H.patch"
+ "rk3588-mnt-reform2/0015-MERGED-drm-tests-hdmi-Add-limited-range-tests-for-YU.patch"
+ "rk3588-mnt-reform2/0016-MERGED-drm-tests-hdmi-Rename-max-TMDS-rate-fallback-.patch"
+ "rk3588-mnt-reform2/0017-MERGED-drm-tests-hdmi-Provide-EDID-supporting-4K-30H.patch"
+ "rk3588-mnt-reform2/0018-MERGED-drm-tests-hdmi-Add-max-TMDS-rate-fallback-tes.patch"
+ "rk3588-mnt-reform2/0019-MERGED-drm-tests-hdmi-Add-test-for-unsuccessful-fall.patch"
+ "rk3588-mnt-reform2/0020-MERGED-thermal-rockchip-rename-rk_tsadcv3_tshut_mode.patch"
+ "rk3588-mnt-reform2/0021-MERGED-dt-bindings-rockchip-thermal-Add-RK3576-compa.patch"
+ "rk3588-mnt-reform2/0022-MERGED-thermal-rockchip-Support-RK3576-SoC-in-the-th.patch"
+ "rk3588-mnt-reform2/0023-MERGED-dt-bindings-thermal-rockchip-document-otp-the.patch"
+ "rk3588-mnt-reform2/0024-MERGED-thermal-rockchip-support-reading-trim-values-.patch"
+ ;; already merged in 6.16.4?
+ ; "rk3588-mnt-reform2/0025-MERGED-dt-bindings-display-vop2-Add-optional-PLL-clo.patch"
+ ; "rk3588-mnt-reform2/0026-MERGED-arm64-dts-rockchip-Enable-HDMI-PHY-clk-provid.patch"
+ ; "rk3588-mnt-reform2/0027-MERGED-arm64-dts-rockchip-Add-HDMI-PHY-PLL-clock-sou.patch"
+ "rk3588-mnt-reform2/0028-MERGED-arm64-dts-rockchip-Enable-HDMI-receiver-on-RK.patch"
+ "rk3588-mnt-reform2/0029-MERGED-drm-bridge-Pass-down-connector-to-drm-bridge-.patch"
+ "rk3588-mnt-reform2/0030-MERGED-arm64-dts-rockchip-enable-USB-on-Sige5.patch"
+ "rk3588-mnt-reform2/0032-MERGED-arm64-dts-rockchip-add-SDIO-controller-on-RK3.patch"
+ "rk3588-mnt-reform2/0033-MERGED-arm64-dts-rockchip-add-version-independent-Wi.patch"
+ "rk3588-mnt-reform2/0034-MERGED-arm64-dts-rockchip-add-overlay-for-the-WiFi-B.patch"
+ "rk3588-mnt-reform2/0035-MERGED-drm-panel-raydium-rm67200-Add-missing-drm_dis.patch"
+ "rk3588-mnt-reform2/0037-MERGED-arm64-dts-rockchip-enable-PCIe-on-ROCK-4D.patch"
+ "rk3588-mnt-reform2/0038-MERGED-arm64-dts-rockchip-add-HDMI-audio-on-ROCK-4D.patch"
+ "rk3588-mnt-reform2/0040-MERGED-arm64-defconfig-enable-further-Rockchip-platf.patch"
+ "rk3588-mnt-reform2/0041-MERGED-dt-bindings-pinctrl-rockchip-increase-max-amo.patch"
+ "rk3588-mnt-reform2/0043-DEBUG-usb-typec-tcpm-also-log-to-dmesg.patch"
+ "rk3588-mnt-reform2/0044-DEBUG-usb-typec-fusb302-also-log-to-dmesg.patch"
+ "rk3588-mnt-reform2/0045-math.h-add-DIV_ROUND_UP_NO_OVERFLOW.patch"
+ "rk3588-mnt-reform2/0046-clk-divider-Fix-divisor-masking-on-64-bit-platforms.patch"
+ "rk3588-mnt-reform2/0047-clk-composite-replace-open-coded-abs_diff.patch"
+ "rk3588-mnt-reform2/0048-arm64-dts-rockchip-rk3588-evb1-add-bluetooth-rfkill.patch"
+ "rk3588-mnt-reform2/0049-arm64-dts-rockchip-rk3588-evb1-improve-PCIe-ethernet.patch"
+ "rk3588-mnt-reform2/0050-arm64-dts-rockchip-Slow-down-EMMC-a-bit-to-keep-IO-s.patch"
+ "rk3588-mnt-reform2/0051-media-v4l2-ctrls-core-Set-frame_mbs_only_flag-by-def.patch"
+ "rk3588-mnt-reform2/0052-media-rockchip-Move-H264-CABAC-table-to-header-file.patch"
+ "rk3588-mnt-reform2/0053-media-rockchip-Introduce-the-rkvdec2-driver.patch"
+ "rk3588-mnt-reform2/0054-media-dt-bindings-rockchip-Document-RK3588-Video-Dec.patch"
+ "rk3588-mnt-reform2/0055-arm64-dts-rockchip-Add-rkvdec2-Video-Decoder-on-rk35.patch"
+ "rk3588-mnt-reform2/0056-arm64-defconfig-enable-Rockchip-RK3588-video-decoder.patch"
+ "rk3588-mnt-reform2/0057-mfd-rk8xx-Fix-shutdown-handler.patch"
+ "rk3588-mnt-reform2/0058-dt-bindings-display-vop2-Add-VP-clock-resets.patch"
+ "rk3588-mnt-reform2/0059-drm-rockchip-vop2-Add-clock-resets-support.patch"
+ "rk3588-mnt-reform2/0060-arm64-dts-rockchip-Add-VOP-clock-resets-for-rk3588s.patch"
+ "rk3588-mnt-reform2/0061-arm64-dts-rockchip-rk3588-evb1-add-DSI-panel.patch"
+ "rk3588-mnt-reform2/0062-drm-rockchip-vop2-Add-core-reset-support.patch"
+ "rk3588-mnt-reform2/0063-WIP-drm-rockchip-dw_hdmi_qp-Make-use-of-phy_configur.patch"
+ "rk3588-mnt-reform2/0064-WIP-drm-bridge-Add-detect_ctx-hook.patch"
+ "rk3588-mnt-reform2/0065-WIP-drm-bridge-connector-Switch-from-detect-to-detec.patch"
+ "rk3588-mnt-reform2/0066-WIP-drm-bridge-dw-hdmi-qp-Add-high-TMDS-clock-ratio-.patch"
+ "rk3588-mnt-reform2/0067-dt-bindings-display-rockchip-Add-schema-for-RK3588-D.patch"
+ "rk3588-mnt-reform2/0068-drm-bridge-synopsys-Add-DW-DPTX-Controller-support-l.patch"
+ "rk3588-mnt-reform2/0069-drm-rockchip-Add-RK3588-DPTX-output-support.patch"
+ "rk3588-mnt-reform2/0070-MAINTAINERS-Add-entry-for-DW-DPTX-Controller-bridge.patch"
+ "rk3588-mnt-reform2/0071-dt-bindings-display-simple-bridge-Add-ra620-compatib.patch"
+ "rk3588-mnt-reform2/0072-drm-birdge-simple-bridge-Add-support-for-radxa-ra620.patch"
+ "rk3588-mnt-reform2/0073-arm64-dts-rockchip-Add-DP0-for-rk3588.patch"
+ "rk3588-mnt-reform2/0074-arm64-dts-rockchip-Add-DP1-for-rk3588.patch"
+ "rk3588-mnt-reform2/0075-arm64-dts-rockchip-Enable-DisplayPort-for-rk3588s-Co.patch"
+ "rk3588-mnt-reform2/0076-arm64-dts-rockchip-Enable-DP2HDMI-for-ROCK-5-ITX.patch"
+ "rk3588-mnt-reform2/0077-arm64-defconfig-Enable-Rockchip-RK3588-DisplayPort-C.patch"
+ "rk3588-mnt-reform2/0078-arm64-dts-rockchip-add-USB-C-support-for-ROCK-5B.patch"
+ "rk3588-mnt-reform2/0079-arm64-dts-rockchip-enable-camera-I2C-interfaces-for-.patch"
+ "rk3588-mnt-reform2/0080-accel-rocket-Add-registers-header.patch"
+ "rk3588-mnt-reform2/0081-accel-rocket-Add-a-new-driver-for-Rockchip-s-NPU.patch"
+ "rk3588-mnt-reform2/0082-accel-rocket-Add-IOCTL-for-BO-creation.patch"
+ "rk3588-mnt-reform2/0083-accel-rocket-Add-job-submission-IOCTL.patch"
+ "rk3588-mnt-reform2/0084-accel-rocket-Add-IOCTLs-for-synchronizing-memory-acc.patch"
+ "rk3588-mnt-reform2/0085-dt-bindings-npu-rockchip-rknn-Add-bindings.patch"
+ "rk3588-mnt-reform2/0086-arm64-dts-rockchip-add-pd_npu-label-for-RK3588-power.patch"
+ "rk3588-mnt-reform2/0087-arm64-dts-rockchip-Add-nodes-for-NPU-and-its-MMU-to-.patch"
+ "rk3588-mnt-reform2/0088-arm64-dts-rockchip-Enable-the-NPU-on-quartzpro64.patch"
+ "rk3588-mnt-reform2/0089-arm64-dts-rockchip-enable-NPU-on-ROCK-5B.patch"
+ "rk3588-mnt-reform2/0091-PM-devfreq-rockchip-dfi-double-count-on-RK3588.patch"
+ "rk3588-mnt-reform2/0092-PM-devfreq-rockchip-dfi-add-support-for-LPDDR5.patch"
+ "rk3588-mnt-reform2/0093-arm64-dts-rockchip-Add-thermal-nodes-to-RK3576.patch"
+ "rk3588-mnt-reform2/0094-arm64-dts-rockchip-Add-thermal-trim-OTP-and-tsadc-no.patch"
+ "rk3588-mnt-reform2/0095-phy-rockchip-inno-usb2-add-soft-vbusvalid-control.patch"
+ "rk3588-mnt-reform2/0096-phy-rockchip-usbdp-move-orientation-handling-further.patch"
+ "rk3588-mnt-reform2/0097-phy-rockchip-usbdp-reset-USB3-and-reinit-on-orientat.patch"
+ "rk3588-mnt-reform2/0098-drm-bridge-dw-hdmi-qp-Add-CEC-driver.patch"
+ "rk3588-mnt-reform2/0100-arm64-dts-rockchip-Enable-RK3576-watchdog.patch"
+ "rk3588-mnt-reform2/0101-defconfig-Enable-watchdog-sysfs-for-testing.patch"
+ "rk3588-mnt-reform2/0103-dt-bindings-input-adc-keys-allow-linux-input-type-pr.patch"
+ "rk3588-mnt-reform2/0104-Input-adc-keys-support-types-that-aren-t-just-keyboa.patch"
+ "rk3588-mnt-reform2/0105-arm64-dts-rockchip-add-analog-audio-to-ROCK-4D.patch"
+ "rk3588-mnt-reform2/0107-net-phy-realtek-Reset-after-clock-enable.patch"
+ "rk3588-mnt-reform2/0108-arm64-dts-rockchip-use-downstream-PHY-timing-setup.patch"
+ "rk3588-mnt-reform2/0109-thermal-rockchip-shut-up-GRF-warning.patch"
+ "rk3588-mnt-reform2/0110-PCI-dw-rockchip-Add-system-PM-support.patch"
+ "rk3588-mnt-reform2/0111-net-stmmac-dwmac-rk-Fix-disabling-set_clock_selectio.patch"
+ ;; Applied in 6.16.4?
+ ; "rk3588-mnt-reform2/1002-v2-media_verisilicon_fix_av1_decoder_clock_frequency.patch"
+ "rk3588-mnt-reform2/2001-drm-bridge-dw-hdmi-qp-Return-0-in-audio-prepare-when.patch"
+ "rk3588-mnt-reform2/2003-drm-bridge-synopsys-Do-not-warn-about-audio-params-c.patch"
"rk3588-mnt-reform2/5200-drm-rockchip-Set-dma-mask-to-64-bit.patch"))))
(add-after 'apply-reform-patches 'copy-reform-dts-files
(lambda* (#:key inputs #:allow-other-keys)
@@ -1872,6 +1888,8 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-mnt-reform2-dsi.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-mnt-reform-next.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-mnt-pocket-reform.dtb")))))))))))
+(define-public linux-libre-arm64-mnt-reform linux-libre-arm64-mnt-reform-6.16)
+
(define-public linux-libre-arm64-mnt-reform-6.12
;; Kernel for use on the MNT/Reform systems
;; https://mntre.com/reform.html
@@ -2381,7 +2399,7 @@ and the notification, WiFi, and Bluetooth LED.")
(define-public tuxedo-keyboard
(package
(name "tuxedo-keyboard")
- (version "4.14.2")
+ (version "4.15.4")
(source
(origin
(method git-fetch)
@@ -2390,21 +2408,23 @@ and the notification, WiFi, and Bluetooth LED.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0b7qivyd8r58cq84q11b2z919px5p9k5zbinm6ahj07w0lsq2j7b"))))
+ (base32 "0mimgcbp57gp3smd439g8040sl80qqnfzmh2vhs2qv1kwyxs75sq"))))
(build-system linux-module-build-system)
(arguments
(list #:tests? #f)) ; no test suite
+ ;; This package fails to build on aarch64, and the manufacturer only sells
+ ;; machines based on Intel-compatible processors. For more information, see
+ ;; <https://codeberg.org/guix/guix/pulls/1795>.
+ (supported-systems '("i686-linux" "x86_64-linux"))
(home-page "https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers")
(synopsis "Linux kernel modules to control keyboard on most Tuxedo computers")
(description
"This package provides the @code{tuxedo_keyboard}, @code{tuxedo_io},
@code{clevo_wmi} @acronym{WMI, Windows Management Engine} and the
@code{clevo_acpi} @acronym{ACPI, Advanced Configuration and Power Interface}
-kernel modules to control the keyboard on most Tuxedo computers. Only white
-backlight only models are currently not supported. The @code{tuxedo_io}
-module is also needed for the @code{tuxedo-control-center} (short tcc)
-package.")
- (license license:gpl3+)))
+kernel modules to control the keyboard on most Tuxedo computers. The @code{tuxedo_io}
+module is also needed for the @code{tuxedo-control-center} (short tcc) package.")
+ (license license:gpl2+)))
(define-public evdi
(package
@@ -2580,38 +2600,35 @@ graphics card on Optimus laptops.")
(license license:gpl2))))
(define-public bin-graph
- ;; XXX: The upstream does not have tags yet.
- (let ((commit "1dd42e3e8e123e993d6c287967502c8d4b36f9ba")
- (revision "0"))
- (package
- (name "bin-graph")
- (version (git-version "0.0.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/8dcc/bin-graph")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1wjkl789r7iys3nnyk813gsdxwwy2ryxgxirx5xw02lzk790dywl"))))
- (arguments
- (list #:tests? #f ; no tests
- #:make-flags
- #~(list (string-append "CC=" #$(cc-for-target))
- (string-append "PREFIX=" #$output)
- (string-append "INSTALL_DIR=" #$output "/bin"))
- #:phases
- #~(modify-phases %standard-phases
- (delete 'configure)))) ; no configure script
- (build-system gnu-build-system)
- (inputs (list libpng))
- (home-page "https://github.com/8dcc/bin-graph")
- (synopsis "Visualize binary files")
- (description
- "@code{bin-graph} provides a simple way of visualizing the different regions
+ (package
+ (name "bin-graph")
+ (version "1.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/8dcc/bin-graph")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1msr4fj1nh6hf5h6j5pimfrgd37xy4xbik3iml9gd3b1fdkxsdv7"))))
+ (arguments
+ (list #:tests? #f ; no tests
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "PREFIX=" #$output)
+ (string-append "INSTALL_DIR=" #$output "/bin"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)))) ; no configure script
+ (build-system gnu-build-system)
+ (inputs (list libpng))
+ (home-page "https://github.com/8dcc/bin-graph")
+ (synopsis "Visualize binary files")
+ (description
+ "@code{bin-graph} provides a simple way of visualizing the different regions
of a binary file.")
- (license license:gpl3))))
+ (license license:gpl3)))
(define-public ddcci-driver-linux
(let ((revision "0")
@@ -2952,7 +2969,7 @@ Linux-Libre, as an Info manual. To consult it, run @samp{info linux}.")))
(define-public powercap
(package
(name "powercap")
- (version "0.5.0")
+ (version "0.6.0")
(source
(origin
(method git-fetch)
@@ -2961,7 +2978,7 @@ Linux-Libre, as an Info manual. To consult it, run @samp{info linux}.")))
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1vs84fmhdc3w1541vp0f5ydvdsbg0amjdv2g2f8xdvaw01nakxsn"))))
+ (base32 "087almlx34nzjbv8a40kxlmgy8691z2zlzkfyca8a2b7l0b2kqlp"))))
(build-system cmake-build-system)
(arguments
(list #:configure-flags
@@ -3099,7 +3116,7 @@ deviation, and minimum and maximum values. It can show a nice histogram too.")
;; FIXME: For now we cannot reliably run tests on GNU/Hurd:
;; <https://bugs.gnu.org/47791>.
#:tests? (and (not (%current-target-system))
- (not (string-suffix? "-gnu" (%current-system))))
+ (not (system-hurd?)))
#:phases
#~(modify-phases %standard-phases
@@ -3150,6 +3167,17 @@ deviation, and minimum and maximum values. It can show a nice histogram too.")
;; on i686 even if the same test passes on x86_64 on the
;; same machine. See <https://issues.guix.gnu.org/49933>.
(delete-file "tests/ts/lsns/ioctl_ns")))
+ #$@(if (target-ppc32?)
+ #~((add-before 'check 'disable-enosys-ioctl
+ ;; It is unclear why this test specifically
+ ;; fails in Guix's port of powerpc-linux.
+ (lambda _
+ (substitute* "tests/ts/misc/enosys"
+ (("ts_init_subtest ioctl")
+ (string-append
+ "ts_init_subtest ioctl\n\n"
+ "ts_skip \"unexplained failure on powerpc\"\n"))))))
+ #~())
(add-after 'install 'move-static-libraries
(lambda _
(let ((lib #$output:lib)
@@ -3210,6 +3238,40 @@ block devices, UUIDs, TTYs, and many other tools.")
(modify-inputs (package-inputs util-linux)
(prepend eudev)))))
+(define-public chimerautils
+ (package
+ (name "chimerautils")
+ (version "14.3.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/chimera-linux/chimerautils")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "10xs9i9w9an9jjq7vgkyfqfyzdisbb57c8c1rryjpfiz8dmi8g41"))))
+ (build-system meson-build-system)
+ (arguments
+ (list
+ #:tests? #f)) ;no test suite
+ (inputs (list acl
+ libedit
+ libxo
+ ncurses
+ openssl
+ zlib
+ (list zstd "lib")))
+ (native-inputs (list flex bison pkg-config))
+ (home-page "https://github.com/chimera-linux/chimerautils")
+ (synopsis "The FreeBSD-based core Linux userland from Chimera Linux")
+ (description
+ "This is a port of the FreeBSD userland for Linux provided by
+the Chimera Linux distribution. Essentially, it is a collection of UNIX tools
+such as @command{grep}, @command{cp}, @command{vi}, etc. and can be used as an
+alternative to the corresponding implementations from the GNU project.")
+ (license license:bsd-2)))
+
(define-public ddate
(package
(name "ddate")
@@ -3414,24 +3476,20 @@ slabtop, tload, top, vmstat, w, watch and sysctl.")
(define-public usbutils
(package
(name "usbutils")
- (version "017")
+ (version "018")
(source
(origin
- (method url-fetch)
- (uri (string-append "mirror://kernel.org/linux/utils/usb/usbutils/"
- "usbutils-" version ".tar.xz"))
- (sha256
- (base32 "0nz008kshcajc9asxr4j5dh4wgq72z52lws4ga6y60wirzymz8m6"))))
- (build-system gnu-build-system)
+ (method url-fetch)
+ (uri (string-append "mirror://kernel.org/linux/utils/usb/usbutils/"
+ "usbutils-" version ".tar.xz"))
+ (sha256
+ (base32 "14xd7j9fl3pm0z4dhqj3mf9paqk431kq4vi602f5hiw5nmcqpxl3"))))
+ (build-system meson-build-system)
(outputs (list "out" "python"))
(arguments
(list
#:phases
#~(modify-phases %standard-phases
- (add-before 'bootstrap 'patch-bootstrap-scripts
- (lambda _
- (substitute* "usbhid-dump/bootstrap"
- (("/bin/sh") (which "sh")))))
(add-after 'install 'separate-python-output
;; Separating one Python script shaves more than 106 MiB from :out.
(lambda _
@@ -3440,17 +3498,21 @@ slabtop, tload, top, vmstat, w, watch and sysctl.")
(new (string-append #$output:python "/" file)))
(mkdir-p (dirname new))
(rename-file old new)))
- (list "bin/lsusb.py")))))))
- (inputs
- (list eudev libusb python))
- (native-inputs
- (list autoconf automake libtool pkg-config))
+ (list "bin/lsusb.py"))))
+ (add-after 'install 'install-usbreset
+ (lambda _
+ (install-file "usbreset"
+ (string-append #$output "/bin")))))))
+ (native-inputs (list pkg-config))
+ (inputs (list eudev libusb python))
(home-page "http://www.linux-usb.org/")
(synopsis
"Tools for working with USB devices")
(description
- "Collection of tools to query what type of USB devices are connected to the
-system, including @command{lsusb}.")
+ "Collection of tools to query what type of USB devices are connected to
+the system, including @command{lsusb}. The experimental @command{usbreset}
+command included in the package, but be aware that it may not work for all
+devices.")
(license license:gpl2+)))
(define-public usbip-utils
@@ -3734,7 +3796,7 @@ Zerofree requires the file system to be unmounted or mounted read-only.")
(define-public strace
(package
(name "strace")
- (version "6.15")
+ (version "6.16")
(source
(origin
(method git-fetch)
@@ -3743,7 +3805,7 @@ Zerofree requires the file system to be unmounted or mounted read-only.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1a4xq7lji9iazrjdm0anqg2xgkypl3a9pjcm9j71s9q84ggjgwqm"))
+ (base32 "0p405lf76vksa3ldlq8fjjz5760q2rgr0dvms6bdp3dvc72kr82i"))
(patches (search-patches "strace-readlink-tests.patch"))))
(build-system gnu-build-system)
(arguments
@@ -4112,7 +4174,7 @@ minimizing cache miss rates for irq handlers.")
(define-public bolt
(package
(name "bolt")
- (version "0.9.8")
+ (version "0.9.10")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -4121,7 +4183,7 @@ minimizing cache miss rates for irq handlers.")
(file-name (git-file-name name version))
(sha256
(base32
- "1i9nyvx3qcf4m607qmpklpl9xqzsh423k8y3fr6c5n0k4ajy4cxh"))))
+ "1vw4vzyhkpm73snnfciy7x88ja72cv5isc27k91jvmy2350b29yx"))))
(build-system meson-build-system)
(arguments
(list #:configure-flags '(list "--localstatedir=/var")
@@ -5315,7 +5377,7 @@ from the module-init-tools project.")
(list
;; For the test suite.
cppcheck
- go)))
+ go-1.23)))
(home-page "https://github.com/rfjakob/earlyoom")
(synopsis "Simple out of memory (OOM) daemon for the Linux kernel")
(description "Early OOM is a minimalist out of memory (OOM) daemon that
@@ -5724,7 +5786,7 @@ dm-thin, dm-cache and dm-era device-mapper targets.")
(define-public watchdogd
(package
(name "watchdogd")
- (version "3.5")
+ (version "4.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -5733,7 +5795,7 @@ dm-thin, dm-cache and dm-era device-mapper targets.")
(file-name (git-file-name name version))
(sha256
(base32
- "05f7igavzimfgbh39fflbkmpya12r854n03dkyimwashcqwchx8f"))))
+ "112mdhqykl78qk8l7nx7h19nnd58v0axj6ws8s47n9a64b867li4"))))
(build-system gnu-build-system)
(native-inputs (list autoconf automake libtool pkg-config))
(inputs (list libconfuse libite libuev))
@@ -5943,69 +6005,65 @@ information on country-specific regulations for the wireless spectrum.")
(define-public lm-sensors
(package
(name "lm-sensors")
- (version "3.6.0")
+ (version "3.6.2")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/groeck/lm-sensors")
+ (url "https://github.com/hramrach/lm-sensors")
(commit (string-append "V" (string-join
(string-split version #\.) "-")))))
(file-name (git-file-name name version))
(sha256
- (base32 "1ipf6wjx037sqyhy0r5jh4983h216anq9l68ckn2x5c3qc4wfmzn"))
+ (base32 "0p2ck8p9zb1w53l37pvm6c10vi6r8bfz51nd3sdwwsfhfhgvsr0j"))
(patches (search-patches "lm-sensors-hwmon-attrs.patch"))))
(build-system gnu-build-system)
- (inputs (list rrdtool perl kmod gnuplot))
- (native-inputs (list pkg-config flex bison which))
(outputs '("lib" ; avoid perl in closure
"out"))
(arguments
- `(#:tests? #f ; no 'check' target
- #:make-flags (list (string-append "PREFIX=" %output)
- (string-append "ETCDIR=" (assoc-ref %outputs "lib") "/etc")
- (string-append "INCLUDEDIR="
- (assoc-ref %outputs "lib") "/include")
- (string-append "MANDIR=" %output "/share/man")
- (string-append "LIBDIR=" (assoc-ref %outputs "lib") "/lib"))
- #:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (add-before 'build 'patch-exec-paths
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (substitute* "prog/detect/sensors-detect"
- (("`uname")
- (string-append "`" (assoc-ref inputs "coreutils")
- "/bin/uname"))
- (("(`|\")modprobe" all open-quote)
- (string-append open-quote
- (assoc-ref inputs "kmod")
- "/bin/modprobe")))
- (substitute* '("prog/pwm/pwmconfig"
- "prog/pwm/fancontrol")
- (("gnuplot")
- (search-input-file inputs "/bin/gnuplot"))
- (("cat ")
- (string-append (search-input-file inputs "/bin/cat")
- " "))
- (("e?grep " match)
- (string-append (search-input-file inputs
- (string-append
- "/bin/"
- (string-trim-right match)))
- " "))
- (("sed -e")
- (string-append (search-input-file inputs "/bin/sed")
- " -e"))
- (("cut -d")
- (string-append (search-input-file inputs "/bin/cut")
- " -d"))
- (("sleep ")
- (string-append (search-input-file inputs "/bin/sleep")
- " "))
- (("readlink -f")
- (string-append (search-input-file inputs "/bin/readlink")
- " -f"))))))))
+ (list
+ #:tests? #f ; no 'check' target
+ #:make-flags
+ #~(list (string-append "PREFIX=" #$output)
+ (string-append "ETCDIR=" #$output:lib "/etc")
+ (string-append "INCLUDEDIR=" #$output:lib "/include")
+ (string-append "MANDIR=" #$output "/share/man")
+ (string-append "LIBDIR=" #$output:lib "/lib"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'build 'patch-exec-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "prog/detect/sensors-detect"
+ (("`uname")
+ (string-append
+ "`" (assoc-ref inputs "coreutils") "/bin/uname"))
+ (("(`|\")modprobe" all open-quote)
+ (string-append
+ open-quote #$(this-package-input "kmod") "/bin/modprobe")))
+ (substitute* '("prog/pwm/pwmconfig" "prog/pwm/fancontrol")
+ (("gnuplot")
+ (search-input-file inputs "/bin/gnuplot"))
+ (("cat ")
+ (string-append (search-input-file inputs "/bin/cat") " "))
+ (("e?grep " match)
+ (string-append
+ (search-input-file
+ inputs (string-append "/bin/" (string-trim-right match)))
+ " "))
+ (("sed -e")
+ (string-append (search-input-file inputs "/bin/sed") " -e"))
+ (("cut -d")
+ (string-append (search-input-file inputs "/bin/cut") " -d"))
+ (("sleep ")
+ (string-append (search-input-file inputs "/bin/sleep") " "))
+ (("readlink -f")
+ (string-append
+ (search-input-file inputs "/bin/readlink") " -f"))))))))
+ (inputs
+ (list gnuplot kmod perl rrdtool))
+ (native-inputs
+ (list bison flex pkg-config which))
(home-page "https://hwmon.wiki.kernel.org/lm_sensors")
(synopsis "Utilities to read temperature/voltage/fan sensors")
(description
@@ -6791,7 +6849,7 @@ arrays when needed.")
(define-public multipath-tools
(package
(name "multipath-tools")
- (version "0.9.6")
+ (version "0.11.0")
(home-page "https://github.com/opensvc/multipath-tools")
(source (origin
(method git-fetch)
@@ -6799,7 +6857,7 @@ arrays when needed.")
(file-name (git-file-name name version))
(sha256
(base32
- "1933iqh9r54pdl95yck0n4bw7jiiblymc964vlc1787qd4q012sz"))
+ "1yl2cd4xgw2l5xzx5dbdf7awhrvfbjsrspli9i6bmxc5j4jkvazr"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -6857,8 +6915,7 @@ arrays when needed.")
;; by forcing the usage of FORTIFY_SOURCE=2.
(substitute* "create-config.mk"
(("FORTIFY_SOURCE=3")
- "FORTIFY_SOURCE=2"))
- ))
+ "FORTIFY_SOURCE=2"))))
(add-before 'build 'set-LDFLAGS
(lambda _
;; Note: this cannot be passed as a make flag because that will
@@ -7092,7 +7149,7 @@ is flexible, efficient and uses a modular implementation.")
(define-public fuse-exfat
(package
(name "fuse-exfat")
- (version "1.3.0")
+ (version "1.4.0")
(source (origin
(method url-fetch)
(uri (string-append
@@ -7100,7 +7157,7 @@ is flexible, efficient and uses a modular implementation.")
version "/" name "-" version ".tar.gz"))
(sha256
(base32
- "1lz00q8g4590mrdqmf13ba1s9zrqq645ymgm5p9y99ad0qv22r87"))))
+ "07h0ngnydfy8n8h9ni3jn8zlmcj4pzqa0nk0hk0i4yhfbv2yvkx1"))))
(build-system gnu-build-system)
(native-inputs
(list pkg-config))
@@ -7194,7 +7251,7 @@ and copy/paste text in the console and in xterm.")
(define-public btrfs-progs
(package
(name "btrfs-progs")
- (version "6.15")
+ (version "6.16")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kernel.org/linux/kernel/"
@@ -7202,7 +7259,7 @@ and copy/paste text in the console and in xterm.")
version ".tar.xz"))
(sha256
(base32
- "1fvlyv78g65y6dv2vrgp1rj7ikkqav8cmwgchf6xi7qrsa6l5njp"))))
+ "1ibg8qrsxzw4qjnsl5da1qz10m1zv3yx2jxd4jl1h9kwfgw31a9i"))))
(build-system gnu-build-system)
(outputs '("out" "static")) ;static versions of the binaries in "out"
(arguments
@@ -7399,7 +7456,7 @@ obviously it can be shared with files outside our set).")
(define-public f2fs-tools
(package
(name "f2fs-tools")
- (version "1.15.0")
+ (version "1.16.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -7409,7 +7466,7 @@ obviously it can be shared with files outside our set).")
(file-name (git-file-name name version))
(sha256
(base32
- "1ffws8pbpzp9730v0wy5xjas698lnbd2p7wpr2gl4mx45rsay9a5"))))
+ "0832ix3jnmfagx53wr6clc3q4ay7cbashfj7jirk01gyzwbvblfc"))))
(build-system gnu-build-system)
(native-inputs
(list autoconf automake libtool pkg-config))
@@ -7589,7 +7646,7 @@ interfaces as the original NBFC, although the implementation differs.")
(define-public thinkfan
(package
(name "thinkfan")
- (version "1.3.1")
+ (version "2.0.0")
(source
(origin
(method git-fetch)
@@ -7598,7 +7655,7 @@ interfaces as the original NBFC, although the implementation differs.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "07l7cxbsyvy7awa1zk0zxng60749idvsx3535iginhkqxfzij4b9"))))
+ (base32 "1jdjqdbv0m7yf9g4rxs7nq1ldh2b81a7qx4vcf9lzw7jwlydd822"))))
(build-system cmake-build-system)
(arguments
(list
@@ -7630,7 +7687,9 @@ interfaces as the original NBFC, although the implementation differs.")
(native-inputs
(list pkg-config))
(inputs
- (list libatasmart yaml-cpp))
+ `(("libatasmart" ,libatasmart)
+ ("lm-sensors" ,lm-sensors "lib")
+ ("yaml-cpp" ,yaml-cpp)))
(home-page "https://github.com/vmatare/thinkfan")
(synopsis "Simple fan control program")
(description
@@ -7915,7 +7974,7 @@ from the ntfs-3g package. It is meant to be used in initrds.")
(search-input-file
%build-inputs "/bin/rst2man.py")))))
(native-inputs
- (list pkg-config python-wrapper python-docutils)) ;for 'rst2man'
+ (list pkg-config python-wrapper python-docutils-0.19)) ;for 'rst2man'
(inputs
(list libnl eudev))
(home-page "https://github.com/linux-rdma/rdma-core")
@@ -8102,7 +8161,7 @@ cpufreq sub-system is enabled or not.")
(define-public haveged
(package
(name "haveged")
- (version "1.9.18")
+ (version "1.9.19")
(source
(origin
(method git-fetch)
@@ -8111,7 +8170,7 @@ cpufreq sub-system is enabled or not.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1y1p3qhjzhpgd20xz5ffms3w1bdvpk883y38ydwsmp9mc0kzy8kz"))))
+ (base32 "1qka68dlfz9z3gjfvfwvh60l2121c1yx0z264jqsf2vjp5f0xbmn"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
@@ -8139,124 +8198,128 @@ not as a replacement for it.")
license:gpl3+)))) ; everything else
(define-public hotspot
- (package
- (name "hotspot")
- (version "1.5.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/KDAB/hotspot")
- (commit (string-append "v" version))
- ;; Include the bundled perfparser and PrefixTickLabels
- ;; libraries, which are to be used in source form.
- (recursive? #t)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "04k2rvf2lgi8hp7dzqzn65fcd2lsiylwr04d44q75j0wvgbjjv1v"))))
- (build-system qt-build-system)
- (arguments
- (list
- ;; As mentioned in the option help text, the KAuth helper cannot be
- ;; installed to a custom prefix and the build fails with "file cannot
- ;; create directory: /polkit-1/actions. Maybe need administrative"
- ;; (see: https://bugs.kde.org/show_bug.cgi?id=363678).
- #:configure-flags #~(list "-DINSTALL_KAUTH_HELPER=OFF"
- "-DQT6_BUILD=ON")
- #:qtbase qtbase
- ;; The 'tst_models' and 'tst_callgraphgenerator' fail, with
- ;; the later seemingly requiring sudo or access to the kernel
- ;; trace points.
- #:test-exclude
- (string-append
- "("
- (string-join
- ;; The 'tst_models' expected output doesn't exactly
- ;; match.
- '("tst_models"
- ;; The 'tst_callgraphgenerator' perf invocation
- ;; fails when run in the build container.
- "tst_callgraphgenerator"
- ;; The 'tst_perfparser' test requires sudo/access
- ;; to the kernel scheduler trace points.
- "tst_perfparser")
- "|")
- ")")
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'patch-perfparser
- ;; XXX: This phase is copied from qt-creator: keep them in sync!
- (lambda* (#:key inputs #:allow-other-keys)
- ;; perfparser attempts to dynamically load the demangle
- ;; libraries; use their absolute file name to avoid having to
- ;; set LD_LIBRARY_PATH.
- (let ((librustc_demangle.so
- (with-exception-handler (lambda (ex)
- (if (search-error? ex)
- #f
- (raise-exception ex)))
- (lambda ()
- (search-input-file inputs "lib/librustc_demangle.so"))
- #:unwind? #t)))
- (substitute* "3rdparty/perfparser/app/demangler.cpp"
- (("loadDemangleLib\\(QStringLiteral\\(\"rustc_demangle\")"
- all)
- (if librustc_demangle.so
- (format #f "loadDemangleLib(QStringLiteral(~s)"
- librustc_demangle.so)
- all)) ;no rustc_demangle; leave unchanged
- (("loadDemangleLib\\(QStringLiteral\\(\"d_demangle\")")
- (format #f "loadDemangleLib(QStringLiteral(~s)"
- (search-input-file inputs
- "lib/libd_demangle.so")))))))
- (add-after 'unpack 'path-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "src/perfoutputwidgetkonsole.cpp"
- (("\"tail\"")
- (format #f "~s" (search-input-file inputs "bin/tail"))))
- (substitute* "src/perfrecord.cpp"
- (("\"perf( )?\"" _ space)
- (string-append "\"" (search-input-file inputs "bin/perf")
- (or space "") "\""))))))))
- (native-inputs
- (list extra-cmake-modules
- vulkan-headers))
- (inputs
- (append
- (list coreutils-minimal
- d-demangler
- elfutils
- karchive
- kconfig
- kcoreaddons
- kddockwidgets
- kgraphviewer
- ki18n
- kio
- kiconthemes
- kitemmodels
- kitemviews
- knotifications
- kparts
- ksyntaxhighlighting
- kwindowsystem
- libxkbcommon
- perf
- qtdeclarative
- qtsvg
- solid
- threadweaver
- `(,zstd "lib"))
- (if (supported-package? rust-rustc-demangle-capi-0.1)
- (list rust-rustc-demangle-capi-0.1)
- '())))
- (home-page "https://github.com/KDAB/hotspot")
- (synopsis "Performance analysis GUI for Linux perf")
- (description "Hotspot is a standalone GUI for performance data analysis.
+ ;; Use the latest git commit as it includes unreleased fixes for the test
+ ;; suite.
+ (let ((commit "5cec69301a3f34ada86ce9fe01a9538b04b3cf7c")
+ (revision "0"))
+ (package
+ (name "hotspot")
+ (version (git-version "1.5.1" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/KDAB/hotspot")
+ (commit commit)
+ ;; Include the bundled perfparser and PrefixTickLabels
+ ;; libraries, which are to be used in source form.
+ (recursive? #t)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "115gskjdcb1q3mgrnv1qcdrhxabjzl1hhkpk1klk67ayicsk1ym6"))))
+ (build-system qt-build-system)
+ (arguments
+ (list
+ ;; As mentioned in the option help text, the KAuth helper cannot be
+ ;; installed to a custom prefix and the build fails with "file cannot
+ ;; create directory: /polkit-1/actions. Maybe need administrative"
+ ;; (see: https://bugs.kde.org/show_bug.cgi?id=363678).
+ #:configure-flags #~(list "-DINSTALL_KAUTH_HELPER=OFF"
+ "-DQT6_BUILD=ON")
+ #:qtbase qtbase
+ ;; The 'tst_models' and 'tst_callgraphgenerator' fail, with
+ ;; the later seemingly requiring sudo or access to the kernel
+ ;; trace points.
+ #:test-exclude
+ (string-append
+ "("
+ (string-join
+ ;; The 'tst_models' expected output doesn't exactly
+ ;; match.
+ '("tst_models"
+ ;; The 'tst_callgraphgenerator' perf invocation
+ ;; fails when run in the build container.
+ "tst_callgraphgenerator"
+ ;; The 'tst_perfparser' test requires sudo/access
+ ;; to the kernel scheduler trace points.
+ "tst_perfparser")
+ "|")
+ ")")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-perfparser
+ ;; XXX: This phase is copied from qt-creator: keep them in sync!
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; perfparser attempts to dynamically load the demangle
+ ;; libraries; use their absolute file name to avoid having to
+ ;; set LD_LIBRARY_PATH.
+ (let ((librustc_demangle.so
+ (with-exception-handler (lambda (ex)
+ (if (search-error? ex)
+ #f
+ (raise-exception ex)))
+ (lambda ()
+ (search-input-file inputs "lib/librustc_demangle.so"))
+ #:unwind? #t)))
+ (substitute* "3rdparty/perfparser/app/demangler.cpp"
+ (("loadDemangleLib\\(QStringLiteral\\(\"rustc_demangle\")"
+ all)
+ (if librustc_demangle.so
+ (format #f "loadDemangleLib(QStringLiteral(~s)"
+ librustc_demangle.so)
+ all)) ;no rustc_demangle; leave unchanged
+ (("loadDemangleLib\\(QStringLiteral\\(\"d_demangle\")")
+ (format #f "loadDemangleLib(QStringLiteral(~s)"
+ (search-input-file inputs
+ "lib/libd_demangle.so")))))))
+ (add-after 'unpack 'path-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/perfoutputwidgetkonsole.cpp"
+ (("\"tail\"")
+ (format #f "~s" (search-input-file inputs "bin/tail"))))
+ (substitute* "src/perfrecord.cpp"
+ (("\"perf( )?\"" _ space)
+ (string-append "\"" (search-input-file inputs "bin/perf")
+ (or space "") "\""))))))))
+ (native-inputs
+ (list extra-cmake-modules
+ vulkan-headers))
+ (inputs
+ (append
+ (list coreutils-minimal
+ d-demangler
+ elfutils
+ karchive
+ kconfig
+ kcoreaddons
+ kddockwidgets
+ kgraphviewer
+ ki18n
+ kio
+ kiconthemes
+ kitemmodels
+ kitemviews
+ knotifications
+ kparts
+ ksyntaxhighlighting
+ kwindowsystem
+ libxkbcommon
+ perf
+ qtdeclarative
+ qtsvg
+ solid
+ threadweaver
+ `(,zstd "lib"))
+ (if (supported-package? rust-rustc-demangle-capi-0.1)
+ (list rust-rustc-demangle-capi-0.1)
+ '())))
+ (home-page "https://github.com/KDAB/hotspot")
+ (synopsis "Performance analysis GUI for Linux perf")
+ (description "Hotspot is a standalone GUI for performance data analysis.
It aims to be similar to KCachegrind, but for data collected with
@command{perf}, a profiler for use with the kernel Linux. Its main feature is
graphically visualizing a @file{perf.data} file.")
- (license (list license:gpl2+ license:gpl3+)))) ;dual licensed
+ (license (list license:gpl2+ license:gpl3+))))) ;dual licensed
(define-public ecryptfs-utils
(package
@@ -9363,15 +9426,15 @@ of a system that deprecates the old ip_queue/libipq mechanism.")
(define-public conntrack-tools
(package
(name "conntrack-tools")
- (version "1.4.7")
+ (version "1.4.8")
(source
(origin
(method url-fetch)
(uri (string-append "https://netfilter.org/projects/"
"conntrack-tools/files/"
- "conntrack-tools-" version ".tar.bz2"))
+ "conntrack-tools-" version ".tar.xz"))
(sha256
- (base32 "0pabq97rpci3z1bdc54cyhc3b9w86m4nnlbzsp7905p8az7yp789"))))
+ (base32 "1mnynl5a63j25arapwvkjbm3a2cqm3aaklwfwwclhmpnqps7fxh6"))))
(build-system gnu-build-system)
(native-inputs (list bison flex pkg-config))
(inputs (list libtirpc
@@ -9684,7 +9747,7 @@ Text-based output formats: CSV, XML, Netfilter's LOG, Netfilter's conntrack
coreutils
pkg-config
;; For rst2man, used to generate the manual page.
- python-docutils))
+ python-docutils-0.19))
(inputs (list libarchive talloc))
(home-page "https://github.com/proot-me/PRoot")
(synopsis "Unprivileged chroot, bind mount, and binfmt_misc")
@@ -10219,7 +10282,7 @@ interface to this kernel feature.")
(define-public mbpfan
(package
(name "mbpfan")
- (version "2.2.1")
+ (version "2.4.0")
(source
(origin
(method git-fetch)
@@ -10228,21 +10291,20 @@ interface to this kernel feature.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0gc9ypxi55vxs77nx8ihhh9zk7fr9v0m0zfm76q7x0bi6jz11mbr"))))
+ (base32 "146sshsjafi26n741jvi9mdbazwf74jlacxfwkky4fhbq98idlhp"))))
(build-system gnu-build-system)
(arguments
- `(#:tests? #f ; tests ask to be run as root
- #:make-flags (let ((out (assoc-ref %outputs "out")))
- (list (string-append "DESTDIR=" out)
- ,(string-append "CC=" (cc-for-target))))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-paths
- (lambda _
- (substitute* "Makefile"
- (("/usr") ""))
- #t))
- (delete 'configure)))) ; there's no configure phase
+ (list #:tests? #f ; tests ask to be run as root
+ #:make-flags
+ #~(list (string-append "DESTDIR=" #$output)
+ (string-append "CC=" #$(cc-for-target)))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-paths
+ (lambda _
+ (substitute* "Makefile"
+ (("/usr") ""))))
+ (delete 'configure)))) ; there's no configure phase
(home-page "https://github.com/dgraziotin/mbpfan")
(synopsis "Control fan speed on Macbooks")
(description
@@ -10958,6 +11020,26 @@ and Flatpak we expect PipeWire to provide a core building block for the future
of Linux application development.")
(license license:lgpl2.0+)))
+(define-public pipewire-minimal
+ ;; Used as libpipewire to reduce closure size and avoid dependency cycles.
+ (hidden-package
+ (package
+ (inherit pipewire)
+ (name "pipewire-minimal")
+ (arguments
+ (list
+ #:configure-flags
+ #~(list "-Dsession-managers=[]"
+ "-Ddbus=disabled"
+ "-Dflatpak=disabled"
+ ;; XXX: Otherwise test_loop will fail with:
+ ;; libgcc_s.so.1 must be installed for pthread_cancel to work
+ (string-append "-Dc_link_args=-Wl,-rpath=" #$output "/lib"
+ " -lgcc_s")
+ "-Db_asneeded=false")))
+ (native-inputs '())
+ (inputs '()))))
+
(define-public wireplumber
(package
(name "wireplumber")
@@ -11002,43 +11084,41 @@ tools for managing PipeWire.")
(delete "elogind"))))))
(define-public ell
- (let ((commit "4f77dca1f1cd19041a5a882ba02ad5a39cde3661")
- (revision "1"))
- (package
- (name "ell")
- (version (git-version "0.77" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://git.kernel.org/pub/scm/libs/ell/ell.git")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1ccxn9vdhn8miqhyxpj89hd9y8blz10q31qwvd6hbk2x214vgnk2"))
- (modules '((guix build utils)))
- (snippet
- #~(begin
- (substitute* "Makefile.am"
- ;; requires hwdb.bin
- (("unit/test-hwdb.*") ""))))))
- (build-system gnu-build-system)
- (arguments
- ;; Tests launch dbus-daemon instances that all try to bind to
- ;; "/tmp/ell-test-bus". Thus, we need to run them sequentially.
- '(#:parallel-tests? #f))
- (inputs
- (list dbus))
- (native-inputs
- (list autoconf automake libtool pkg-config procps))
- (home-page "https://01.org/ell")
- (synopsis "Embedded Linux Library")
- (description "The Embedded Linux* Library (ELL) provides core, low-level
+ (package
+ (name "ell")
+ (version "0.79")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.kernel.org/pub/scm/libs/ell/ell.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0l8pbgnza58ivknzl3nd6y46mfminhnb3iwq82msi6g282wv7np4"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ (substitute* "Makefile.am"
+ ;; requires hwdb.bin
+ (("unit/test-hwdb.*") ""))))))
+ (build-system gnu-build-system)
+ (arguments
+ ;; Tests launch dbus-daemon instances that all try to bind to
+ ;; "/tmp/ell-test-bus". Thus, we need to run them sequentially.
+ '(#:parallel-tests? #f))
+ (inputs
+ (list dbus))
+ (native-inputs
+ (list autoconf automake libtool pkg-config procps))
+ (home-page "https://01.org/ell")
+ (synopsis "Embedded Linux Library")
+ (description "The Embedded Linux* Library (ELL) provides core, low-level
functionality for system daemons. It typically has no dependencies other than
the Linux kernel, C standard library, and libdl (for dynamic linking). While
ELL is designed to be efficient and compact enough for use on embedded Linux
platforms, it is not limited to resource-constrained systems.")
- (license license:lgpl2.1+))))
+ (license license:lgpl2.1+)))
(define-public kexec-tools
(package
@@ -11140,7 +11220,7 @@ persistent over reboots.")
;; user API (uAPI) headers.
"install_uapi_headers")
make-flags)))))))))
- (native-inputs (list linux-libre-headers-latest pkg-config))
+ (native-inputs (list pkg-config))
(propagated-inputs (list elfutils zlib)) ;in Requires.private of libbpf.pc
(home-page "https://github.com/libbpf/libbpf")
(synopsis "BPF CO-RE (Compile Once – Run Everywhere)")
@@ -11768,7 +11848,7 @@ libraries are found or why they cannot be located.")
(define-public touchegg
(package
(name "touchegg")
- (version "2.0.14")
+ (version "2.0.18")
(source
(origin
(method git-fetch)
@@ -11777,7 +11857,7 @@ libraries are found or why they cannot be located.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0shvslz0c8nqx5f988z55qjc9xw0in9rb7b19r6vr1f7cdkqb6yr"))))
+ (base32 "0m8zgihij14b8dxrxxvpl8sdsx49mjlnxnm0fhgfxscy7n07kcpc"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ; No tests exist
@@ -11806,7 +11886,7 @@ desktop.")
(define-public evtest
(package
(name "evtest")
- (version "1.35")
+ (version "1.36")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -11815,7 +11895,7 @@ desktop.")
(file-name (git-file-name name version))
(sha256
(base32
- "164prnw35kda6jfykl7h52lfzy99ma2lk029zscyqk766k19spf4"))))
+ "0mwjvz0fwwcwm4fpw0m4x8bcxpnzjkiy7fpb438vf4i5g5q0dc1k"))))
(build-system gnu-build-system)
(arguments
(list #:tests? #f ;No tests exist
@@ -12226,6 +12306,36 @@ virtual server table in the Linux kernel. The Linux Virtual Server can be used
to build scalable network services based on a cluster of two or more nodes.")
(license license:gpl2+)))
+(define-public ryzenadj
+ (package
+ (name "ryzenadj")
+ (version "0.17.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/flygoat/ryzenadj/archive/refs/tags/"
+ "v" version ".tar.gz"))
+ (sha256
+ (base32 "0i2x6kbn2ix52vjz1mmh0c0g3w0k4sn0lq68wbsk0pgndzcck2l4"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (delete-file-recursively "win32")
+ #t))))
+ (build-system cmake-build-system)
+ (inputs (list pciutils))
+ (arguments
+ (list #:tests? #f ; No test suite
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'install 'build
+ (lambda _
+ (invoke "cmake" "-DCMAKE_BUILD_TYPE=Release" "."))))))
+ (home-page "https://github.com/flygoat/ryzenadj")
+ (synopsis "Power management tool for AMD Ryzen APUs")
+ (description
+ "@command{ryzenadj} is an utility to adjust power management settings for
+AMD Ryzen mobile processors. You will need to ensure it can access /dev/mem,
+for instance by using the \"iomem=relaxed\" kernel argument.")
+ (license license:lgpl3)))
+
(define-public ryzen-smu
(package
(name "ryzen-smu")