diff options
| author | 陈功 <andy@andycbruce.com> | 2026-03-12 08:49:53 -0700 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-03-19 07:37:03 +0100 |
| commit | 9bfbf735b916253c4601ca74b8d3dca6d90584f2 (patch) | |
| tree | 84914154bdba9ed38c29b6f26020191d20522f52 /gnu | |
| parent | cc4c1633ffa4c2245c9dc594403a3a2dffc2ad98 (diff) | |
gnu: Add rtkit.
* gnu/packages/freedesktop.scm (rtkit): New variable.
Change-Id: I2d0015de7e5806311f19e17952f2fe852fb90bb6
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/freedesktop.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index a1348980851..4b176ddb330 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm | |||
| @@ -147,6 +147,7 @@ | |||
| 147 | #:use-module (gnu packages tls) | 147 | #:use-module (gnu packages tls) |
| 148 | #:use-module (gnu packages valgrind) | 148 | #:use-module (gnu packages valgrind) |
| 149 | #:use-module (gnu packages video) | 149 | #:use-module (gnu packages video) |
| 150 | #:use-module (gnu packages vim) | ||
| 150 | #:use-module (gnu packages virtualization) | 151 | #:use-module (gnu packages virtualization) |
| 151 | #:use-module (gnu packages vulkan) | 152 | #:use-module (gnu packages vulkan) |
| 152 | #:use-module (gnu packages w3m) | 153 | #:use-module (gnu packages w3m) |
| @@ -3604,3 +3605,37 @@ implements the decoration drawing.") | |||
| 3604 | (description | 3605 | (description |
| 3605 | "@code{iio-sensor-proxy} is a daemon which passes IIO sensor data to D-Bus.") | 3606 | "@code{iio-sensor-proxy} is a daemon which passes IIO sensor data to D-Bus.") |
| 3606 | (license license:gpl3+))) | 3607 | (license license:gpl3+))) |
| 3608 | |||
| 3609 | (define-public rtkit | ||
| 3610 | (package | ||
| 3611 | (name "rtkit") | ||
| 3612 | (version "0.14") | ||
| 3613 | (source | ||
| 3614 | (origin | ||
| 3615 | (method git-fetch) | ||
| 3616 | (uri (git-reference | ||
| 3617 | (url "https://gitlab.freedesktop.org/pipewire/rtkit.git") | ||
| 3618 | (commit (string-append "v" version)))) | ||
| 3619 | (file-name (git-file-name name version)) | ||
| 3620 | (sha256 | ||
| 3621 | (base32 "07swd78aglawfddc1zjx5v8scm85q1qpmahjskh8hn6lfr47dpnb")))) | ||
| 3622 | (build-system meson-build-system) | ||
| 3623 | (inputs (list dbus libcap polkit xxd)) | ||
| 3624 | (native-inputs (list pkg-config)) | ||
| 3625 | (arguments | ||
| 3626 | (list | ||
| 3627 | #:configure-flags | ||
| 3628 | #~(list (string-append "-Ddbus_interfacedir=" | ||
| 3629 | #$output "/share/dbus-1/interfaces") | ||
| 3630 | (string-append "-Ddbus_systemservicedir=" | ||
| 3631 | #$output "/share/dbus-1/system-services") | ||
| 3632 | (string-append "-Dpolkit_actiondir=" | ||
| 3633 | #$output "/share/polkit-1/actions")))) | ||
| 3634 | (home-page "https://gitlab.freedesktop.org/pipewire/rtkit") | ||
| 3635 | (synopsis "Realtime Policy and Watchdog Daemon") | ||
| 3636 | (description | ||
| 3637 | "RealtimeKit is a D-Bus system service that changes the scheduling policy | ||
| 3638 | of user processes and threads to SCHED_RR (i.e. realtime scheduling mode) on | ||
| 3639 | request. It is intended to be used as a secure mechanism to allow real-time | ||
| 3640 | scheduling to be used by normal user processes.") | ||
| 3641 | (license license:gpl3))) | ||
