Subject: [PATCH] gnu: lightdm: Update to 1.32.0.
From: phodina <[email-masked]>
To: Guix Patches <[email-masked]>
Date: Wed, 20 Jul 2022 07:26:18 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

this updates the lightdm to version 1.32.0. which was released few days ago.

Therefore the specific commit is rebuild as the lightdm works with glibc.

There's also bash-minimal added in the inputs as suggested by the linter due to wrap-program.

----
Petr

From 8b3c0a3d96bac8f79df7fd2330fe9ba737520f9a Mon Sep 17 00:00:00 2001
From: Petr Hodina <[email-masked]>
Date: Wed, 20 Jul 2022 09:20:50 +0200
Subject: [PATCH] gnu: lightdm: Update to 1.32.0.

* gnu/packages/display-managers.scm (lightdm): Update to 1.32.0.
  [inputs]: Add bash-minimal.

diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm
index 64375b8cfc..0cc544a87c 100644
--- a/gnu/packages/display-managers.scm
+++ b/gnu/packages/display-managers.scm
@@ -11,7 +11,7 @@
 ;;; Copyright © 2020 Vincent Legoll <[email-masked]>
 ;;; Copyright © 2021 Zheng Junjie <[email-masked]>
 ;;; Copyright © 2021 Efraim Flashner <[email-masked]>
-;;; Copyright © 2021 Petr Hodina <[email-masked]>
+;;; Copyright © 2021, 2022 Petr Hodina <[email-masked]>
 ;;; Copyright © 2022 Maxim Cournoyer <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -255,22 +255,18 @@ (define-public sugar-light-sddm-theme
     (license license:gpl3+)))
 
 (define-public lightdm
-  ;; Use the latest commit, as the current official release doesn't build with
-  ;; glib >= 2.33.
-  (let ((revision "0")
-        (commit "b7fc3214cbaed09c73e963847443a0d648dfd896"))
     (package
       (name "lightdm")
-      (version (git-version "1.30.0" revision commit))
+      (version "1.32.0")
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
                       (url "https://github.com/canonical/lightdm")
-                      (commit commit)))
+                      (commit version)))
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
-                  "0378jacazpmdgdjkiilk3mbikz3iysb4s9q40hg9zv4yngwsix1m"))))
+                  "1wr60c946p8jz9kb8zi4cd8d4mkcy7infbvlfzwajiglc22nblxn"))))
       (build-system gnu-build-system)
       (arguments
        '(#:parallel-tests? #f           ; fails when run in parallel
@@ -306,6 +302,7 @@ (define-public lightdm
                (unsetenv "LC_ALL"))))))
       (inputs
        (list audit
+             bash-minimal
              coreutils                  ;for cross-compilation
              linux-pam
              shadow                     ;for sbin/nologin
@@ -334,7 +331,7 @@ (define-public lightdm
       (synopsis "Lightweight display manager")
       (description "The Light Display Manager (LightDM) is a cross-desktop
 display manager which supports different greeters.")
-      (license license:gpl3+))))
+      (license license:gpl3+)))
 
 (define-public lightdm-gtk-greeter
   (package
-- 
2.37.0