guix_mirror_bot pushed a commit to branch master
in repository guix.
commit b34ae60b3bd712b6a7dfe7402c670216e65bb5f7
Author: VnPower <[email protected]>
AuthorDate: Tue Mar 3 20:43:03 2026 +0700
gnu: Add gtk-session-lock.
* gnu/packages/gtk.scm (gtk-session-lock): New variable.
Change-Id: Ic333febb56635643cdd6fe1d15ddf2cec209bd94
Signed-off-by: Liliana Marie Prikler <[email protected]>
---
gnu/packages/xdisorg.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 452e4c7c59..252a6663de 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -74,6 +74,7 @@
;;; Copyright © 2025 iamawacko <[email protected]>
;;; Copyright © 2025 dan <[email protected]>
;;; Copyright © 2025 Nicolas Graves <[email protected]>
+;;; Copyright © 2026 VnPower <[email protected]>
;;;
;;; 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")