GNU bug report logs - #75864
[PATCH v4 2/3] gnu: Add gtkgreet.

Previous Next

Package: guix-patches;

Reported by: muradm <mail <at> muradm.net>

Date: Sun, 26 Jan 2025 13:56:03 UTC

Severity: normal

Tags: patch

Done: muradm <mail <at> muradm.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75864 in the body.
You can then email your comments to 75864 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to sharlatanus <at> gmail.com, guix-patches <at> gnu.org:
bug#75864; Package guix-patches. (Sun, 26 Jan 2025 13:56:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to muradm <mail <at> muradm.net>:
New bug report received and forwarded. Copy sent to sharlatanus <at> gmail.com, guix-patches <at> gnu.org. (Sun, 26 Jan 2025 13:56:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: muradm <mail <at> muradm.net>
To: guix-patches <at> gnu.org
Subject: [PATCH v4 2/3] gnu: Add gtkgreet.
Date: Sun, 26 Jan 2025 16:54:39 +0300
* gnu/packages/admin.scm (gtkgreet): New variable.
(gtkgreet-adwaita-dark): New variable.

Change-Id: I9f84c1011e66ae7c87191488930465685ae44569
---
 gnu/packages/admin.scm | 43 +++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 42 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 659f7bc3bec..be6f00ce86b 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -44,7 +44,7 @@
 ;;; Copyright © 2021 WinterHound <winterhound <at> yandex.com>
 ;;; Copyright © 2021 Brice Waegeneire <brice <at> waegenei.re>
 ;;; Copyright © 2021 Maxime Devos <maximedevos <at> telenet.be>
-;;; Copyright © 2021 muradm <mail <at> muradm.net>
+;;; Copyright © 2021, 2025 muradm <mail <at> muradm.net>
 ;;; Copyright © 2021 pineapples <guixuser6392 <at> protonmail.com>
 ;;; Copyright © 2021 Petr Hodina <phodina <at> protonmail.com>
 ;;; Copyright © 2021-2025 Artyom V. Poptsov <poptsov.artyom <at> gmail.com>
@@ -5939,6 +5939,47 @@ (define-public wlgreet
 on a GUI toolkit.")
     (license license:gpl3)))
 
+(define-public gtkgreet
+  (package
+    (name "gtkgreet")
+    (version "0.8")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://git.sr.ht/~kennylevinsen/gtkgreet")
+         (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0bqxz39lc8vh6bkirvrbn2lgf1qz5b04lfwgp5xa1ki1bnm5i80q"))))
+    (build-system meson-build-system)
+    (native-inputs (list pkg-config scdoc))
+    (inputs (list gtk+ gtk-layer-shell json-c))
+    (synopsis "GTK based greeter for greetd")
+    (description
+     "GTK based greeter for greetd, to be run under cage or similar.")
+    (home-page "https://git.sr.ht/~kennylevinsen/gtkgreet")
+    (license license:gpl3+)))
+
+(define-public gtkgreet-adwaita-dark
+  (package
+   (inherit gtkgreet)
+   (name "gtkgreet-adwaita-dark")
+   (arguments
+    (list
+     #:phases
+     #~(modify-phases
+        %standard-phases
+        (add-after 'install 'wrap-gtkgreet-for-theme
+                   (lambda _
+                     (wrap-program
+                      (string-append #$output "/bin/gtkgreet")
+                      '("GTK_THEME" "" = ("Adwaita:dark"))))))))
+   (inputs (modify-inputs
+            (package-inputs gtkgreet)
+            (prepend gnome-themes-extra)))))
+
 (define-public libseat
   (package
     (name "libseat")
-- 
2.47.1





bug closed, send any further explanations to 75864 <at> debbugs.gnu.org and muradm <mail <at> muradm.net> Request was from muradm <mail <at> muradm.net> to control <at> debbugs.gnu.org. (Sun, 26 Jan 2025 14:08:02 GMT) Full text and rfc822 format available.

bug archived. Request was from muradm <mail <at> muradm.net> to control <at> debbugs.gnu.org. (Sun, 26 Jan 2025 14:08:02 GMT) Full text and rfc822 format available.

This bug report was last modified 142 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.