diff mbox series

[bug#58317] gnu: Add greetd-gtkgreet.

Message ID 871qrms4w9.fsf@riseup.net
State Accepted
Headers show
Series [bug#58317] gnu: Add greetd-gtkgreet. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Declan Tsien Oct. 5, 2022, 2:48 p.m. UTC

Comments

\( Oct. 6, 2022, 6:24 a.m. UTC | #1
Hey Declan,

On Wed Oct 5, 2022 at 3:48 PM BST, Declan Tsien wrote:
> +(define-public greetd-gtkgreet
> +  (let ((revision "0")
> +        (commit "c09696f6a27aa0e4769fd3f707f27be4407ec95d"))
> +    (package
> +      (name "greetd-gtkgreet")
> +      (version (git-version "0.7" revision commit))
> +      (home-page "https://git.sr.ht/~kennylevinsen/gtkgreet")
> +      (source (origin
> +                (method git-fetch)
> +                (uri (git-reference
> +                      (url home-page)
> +                      (commit commit)))
> +                (file-name (git-file-name name version))
> +                (sha256
> +                 (base32
> +                  "1d19v60ilxw4szhc5mbpav5kzml5lvckdy3fasjrhlpl87slvfz9"))))
> +      (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, to be run under cage or similar")
> +      (description
> +       "GTK based greeter for @command{greetd}, to be run under @command{cage}
> +or similar.")
> +      (license license:gpl3+))))
> +
>  (define-public guix-simplyblack-sddm-theme
>    (package
>      (name "guix-simplyblack-sddm-theme")

I believe muradm already has a working gtkgreet package and service
(which they haven't sent yet), and I have a working wlgreet package
and service (that I have sent to this mailing list), so there's no
need for these ones. Nobody's done ddlm yet though :)

    -- (
Declan Tsien Oct. 6, 2022, 7:49 a.m. UTC | #2
It turns out to be duplicated with
https://issues.guix.gnu.org/57721. Will not proceed at this time. Sorry
for the noise.
diff mbox series

Patch

From a3c469f0f1a58bb3bbc01139d7765a788bb921c2 Mon Sep 17 00:00:00 2001
From: Declan Tsien <declantsien@riseup.net>
Date: Wed, 5 Oct 2022 21:48:18 +0800
Subject: [PATCH] gnu: Add greetd-gtkgreet.

* gnu/packages/display-managers.scm (greetd-gtkgreet): New variable.
---
 gnu/packages/display-managers.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm
index 137bd2739e..5699d1f85c 100644
--- a/gnu/packages/display-managers.scm
+++ b/gnu/packages/display-managers.scm
@@ -38,6 +38,7 @@  (define-module (gnu packages display-managers)
   #:use-module (guix build-system qt)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system glib-or-gtk)
+  #:use-module (guix build-system meson)
   #:use-module (guix build-system trivial)
   #:use-module (guix packages)
   #:use-module (guix utils)
@@ -55,12 +56,14 @@  (define-module (gnu packages display-managers)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
+  #:use-module (gnu packages man)
   #:use-module (gnu packages image)
   #:use-module (gnu packages kde-frameworks)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages qt)
+  #:use-module (gnu packages web)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xfce)
   #:use-module (gnu packages xorg))
@@ -133,6 +136,33 @@  (define-public sddm
     ;; QML files are MIT licensed and images are CC BY 3.0.
     (license (list license:gpl2+ license:expat license:cc-by3.0))))
 
+
+(define-public greetd-gtkgreet
+  (let ((revision "0")
+        (commit "c09696f6a27aa0e4769fd3f707f27be4407ec95d"))
+    (package
+      (name "greetd-gtkgreet")
+      (version (git-version "0.7" revision commit))
+      (home-page "https://git.sr.ht/~kennylevinsen/gtkgreet")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url home-page)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1d19v60ilxw4szhc5mbpav5kzml5lvckdy3fasjrhlpl87slvfz9"))))
+      (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, to be run under cage or similar")
+      (description
+       "GTK based greeter for @command{greetd}, to be run under @command{cage}
+or similar.")
+      (license license:gpl3+))))
+
 (define-public guix-simplyblack-sddm-theme
   (package
     (name "guix-simplyblack-sddm-theme")

base-commit: be1d561f1a74d158d67623bf037727918781bd96
-- 
2.37.3