[bug#75312] gnu: greetd: Update to 0.10.3.

Message ID a6dc636e5afa5442f92fb97df1c5f174aecb7f18.1735926326.git.mail@muradm.net
State New
Headers
Series [bug#75312] gnu: greetd: Update to 0.10.3. |

Commit Message

muradm Jan. 3, 2025, 5:45 p.m. UTC
  * gnu/packages/admin.scm (greetd): Update to 0.10.3.
* gnu/tests/desktop.scm (minimal-desktop): greetd don't share GREETD_SOCK any more.

Change-Id: I51af36f24fa4647dfde3aeb5c3d68b5cb353a8f9
---
 gnu/packages/admin.scm | 6 +++---
 gnu/tests/desktop.scm  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)


base-commit: ce3ffac5d366ebf20e0d95779f2fe1ea6dde0202
  

Comments

Ludovic Courtès Jan. 19, 2025, 11:28 p.m. UTC | #1
Hi muradm,

muradm <mail@muradm.net> skribis:

> * gnu/packages/admin.scm (greetd): Update to 0.10.3.
> * gnu/tests/desktop.scm (minimal-desktop): greetd don't share GREETD_SOCK any more.
>
> Change-Id: I51af36f24fa4647dfde3aeb5c3d68b5cb353a8f9

‘greetd’ had been upgraded independently in
55cead2c49e0740c1595fdc5ecce7d050c36e080, but without updating the
‘minimal-desktop’ test.

I committed the test fix on your behalf as
bc6769f1211104dbc9341c064275cd930f5dfa3a.

Thanks,
Ludo’.
  

Patch

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 466df65dd9..045292a37d 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -5651,7 +5651,7 @@  (define-public udpcast
 (define-public greetd
   (package
     (name "greetd")
-    (version "0.9.0")
+    (version "0.10.3")
     (home-page "https://git.sr.ht/~kennylevinsen/greetd")
     (source (origin
               (method git-fetch)
@@ -5660,11 +5660,11 @@  (define-public greetd
                     (commit version)))
               (file-name (git-file-name name version))
               (sha256
-               (base32 "1b79lb0vikh5vwpdlyga6zwzm11gpsd7ghp8zb0q2m6mlqlj5by3"))))
+               (base32 "1j3c7skby9scsq6p1f6nacbiy9b26y1sswchdsp8p3vv7fgdh2wf"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-nix" ,rust-nix-0.26)
+       (("rust-nix" ,rust-nix-0.27)
         ("rust-pam-sys" ,rust-pam-sys-0.5)
         ("rust-rpassword" ,rust-rpassword-5)
         ("rust-users" ,rust-users-0.11)
diff --git a/gnu/tests/desktop.scm b/gnu/tests/desktop.scm
index ef30442886..1c32076ccb 100644
--- a/gnu/tests/desktop.scm
+++ b/gnu/tests/desktop.scm
@@ -244,14 +244,14 @@  (define (run-minimal-desktop-test os vm)
 
               (sort (filter expected-var user-env) string<?)))
 
-          (test-assert "validate SEATD_SOCK and GREETD_SOCK"
+          (test-assert "validate SEATD_SOCK"
             (begin
               (marionette-type "env > env\n" marionette)
               (sleep 1)
 
               (define (sock-var? var)
                 (any (lambda (s) (string-contains var s))
-                     '("SEATD_SOCK" "GREETD_SOCK")))
+                     '("SEATD_SOCK")))
 
               (define (sock-var-sock var)
                 (car (cdr (string-split var #\=))))
@@ -262,7 +262,7 @@  (define (run-minimal-desktop-test os vm)
                    (out (filter sock-var? out))
                    (socks (map sock-var-sock out))
                    (socks (map wait-for-unix-socket-m socks)))
-                (and (= 2 (length socks)) (every identity socks)))))
+                (and (= 1 (length socks)) (every identity socks)))))
 
           (test-equal "seatd.sock ownership"
             '("root" "seat")