[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
80/80: gnu: gdm: Add the Guix icon.
From: |
guix-commits |
Subject: |
80/80: gnu: gdm: Add the Guix icon. |
Date: |
Sat, 2 Oct 2021 06:56:19 -0400 (EDT) |
mothacehe pushed a commit to branch core-updates-frozen
in repository guix.
commit fc24bcb86fb68e1e69c168d5de7d94f01148c9cd
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Tue Sep 28 11:19:46 2021 +0000
gnu: gdm: Add the Guix icon.
* gnu/packages/gnome.scm (gdm)[arguments]: Add a new 'install-logo phase.
[native-inputs]: Add guix-icons.
---
gnu/packages/gnome.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 168949a..cf3a4e7 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8262,6 +8262,22 @@ library.")
"g_strcmp0(base_name, \"fail.desktop\") == 0)"))
(("g_error [(]\"GdmSession: no session desktop files installed,
aborting\\.\\.\\.\"[)];")
"{ self->fallback_session_name = g_strdup(\"fail\"); goto out;
}"))))
+ (add-before 'install 'install-logo
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (guix-icons (assoc-ref inputs "guix-icons"))
+ (icon
+ (string-append guix-icons "/share/icons/hicolor/\
+scalable/apps/guix-white-icon.svg"))
+ (schema
+ (string-append out "/share/glib-2.0/schemas/\
+org.gnome.login-screen.gschema.override")))
+ (mkdir-p (dirname schema))
+ (with-output-to-file schema
+ (lambda ()
+ (format #t "\
+[org.gnome.login-screen]
+logo='~a'~%" icon))))))
;; GDM requires that there be at least one desktop entry
;; file. This phase installs a hidden one that simply
;; fails. This enables users to use GDM with a
@@ -8306,6 +8322,7 @@ library.")
`(("dconf" ,dconf)
("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
("gobject-introspection" ,gobject-introspection)
+ ("guix-icons" ,guix-icons)
("intltool" ,intltool)
("itstool" ,itstool)
("pkg-config" ,pkg-config)
- 59/80: gnu: gnome-control-center: Update to 40.1., (continued)
- 59/80: gnu: gnome-control-center: Update to 40.1., guix-commits, 2021/10/02
- 60/80: gnu: accountsservice: Update to 0.6.55., guix-commits, 2021/10/02
- 63/80: gnu: gnome-online-miners: Fix build., guix-commits, 2021/10/02
- 64/80: gnu: gnome-photos: Update to 40.0., guix-commits, 2021/10/02
- 65/80: gnu: gnome: Add gnome-music and gnome-photo., guix-commits, 2021/10/02
- 68/80: gnu: gnome-mines: Update to 40.0., guix-commits, 2021/10/02
- 76/80: gnu: gnome-weather: Fix GNOME integration., guix-commits, 2021/10/02
- 79/80: system: Introduce the os-release file., guix-commits, 2021/10/02
- 78/80: system: Add guix-icons to the base packages., guix-commits, 2021/10/02
- 73/80: gnu: gegl: Add libraw support., guix-commits, 2021/10/02
- 80/80: gnu: gdm: Add the Guix icon.,
guix-commits <=
- 74/80: gnu: gnome: Add tracker-miners., guix-commits, 2021/10/02
- 77/80: gnu: Add guix-icons., guix-commits, 2021/10/02
- 67/80: gnu: gnome-shell: Update to 40.5., guix-commits, 2021/10/02
- 69/80: gnu: gnome-sudoku: Update to 40.2., guix-commits, 2021/10/02
- 75/80: gnu: gnome-music: Add gst-plugins-good., guix-commits, 2021/10/02