diff options
| author | VnPower <vnpower@loang.net> | 2026-03-03 20:43:03 +0700 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-03-09 20:38:52 +0100 |
| commit | b34ae60b3bd712b6a7dfe7402c670216e65bb5f7 (patch) | |
| tree | 73163cc39b4677a35c1414ea003f1d5b2284918f /gnu/packages | |
| parent | 5fcfeffce550c083f1f2d3f874b4e12086701db2 (diff) | |
gnu: Add gtk-session-lock.
* gnu/packages/gtk.scm (gtk-session-lock): New variable.
Change-Id: Ic333febb56635643cdd6fe1d15ddf2cec209bd94
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/xdisorg.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 452e4c7c594..252a6663de1 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -74,6 +74,7 @@ ;;; Copyright © 2025 iamawacko <iamawacko@protonmail.com> ;;; Copyright © 2025 dan <i@dan.games> ;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr> +;;; Copyright © 2026 VnPower <vnpower@loang.net> ;;; ;;; This file is part of GNU Guix. ;;; @@ -3144,6 +3145,36 @@ service with @code{xsecurelock}. Instead, add a helper binary to your @end example") (license license:asl2.0))) +(define-public gtk-session-lock + (package + (name "gtk-session-lock") + (version "0.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Cu3PO42/gtk-session-lock") + (commit (string-append "v" version)))) + (sha256 + (base32 "0a1y0b05ka136ldd5rs5k719hnj8bx5fkm8z8hl4zgsycxi80wj8")) + (file-name (git-file-name name version)))) + (build-system meson-build-system) + (arguments + (list #:glib-or-gtk? #t + #:tests? #f ; tests require more dependencies + #:configure-flags #~(list "-Dtests=false"))) + (inputs + (list gtk+ wayland vala)) + (native-inputs + (list pkg-config gobject-introspection)) + (home-page "https://github.com/Cu3PO42/gtk-session-lock") + (synopsis "GTK Session Lock library for GTK3") + (description "@code{gtk-session-lock} is a fork of @code{gtk-layer-shell} to +build screen lockers using the secure @code{ext-session-lock-v1} protocol. This +library is compatible with C, C++ and any language that supports GObject +introspection files (Python, Vala, etc, see using the library below).") + (license (list license:gpl3 + license:expat)))) + (define-public wl-color-picker (package (name "wl-color-picker") |
