[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/29: gnu: gdm: Wrap inputs to enable accessibility settings.
From: |
guix-commits |
Subject: |
28/29: gnu: gdm: Wrap inputs to enable accessibility settings. |
Date: |
Sat, 24 Feb 2024 01:30:04 -0500 (EST) |
lilyp pushed a commit to branch gnome-team
in repository guix.
commit 57308dff6694fa52a3e1e58cbe43f9317712d8ed
Author: Dariqq <dariqq@posteo.net>
AuthorDate: Tue Feb 20 19:58:48 2024 +0000
gnu: gdm: Wrap inputs to enable accessibility settings.
GDM needs the data directories of at-spi2-core for the accessibility
dbus, and dconf in order to change settings. An icon is provided in
gnome-control-center, that could be put into gdm-service-type instead, but
let's wrap it here for good measure.
* gnu/packages/gnome.scm (gdm)[inputs]: Add at-spi2-core, dconf, and
gnome-control-center.
[#:phases]: Add ‘wrap-accessibility-dependencies’.
Change-Id: Ibfe8f1aee9c8fe0c06f895de121f0f84defe4773
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
gnu/packages/gnome.scm | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 65f41ccb54..f428bfeb78 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -77,6 +77,7 @@
;;; Copyright © 2023 Juliana Sims <juli@incana.org>
;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
;;; Copyright © 2023 Zhu Zihao <all_but_last@163.com>
+;;; Copyright © 2024 Dariqq <dariqq@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -9042,7 +9043,18 @@ logo='~a'~%" icon))))))
(for-each (lambda (desktop)
(symlink desktop (basename desktop)))
(find-files
- (string-append settings "/etc/xdg"))))))))))
+ (string-append settings "/etc/xdg")))))))
+ ;; GDM needs some additional programs available via XDG_DATA_DIRS,
+ ;; to make accessibility settings and related services available.
+ (add-after 'install 'wrap-accessibility-dependencies
+ (lambda _
+ (wrap-program (string-append #$output "/bin/gdm")
+ `("XDG_DATA_DIRS" ":" prefix
+ #$(map (lambda (input)
+ (file-append (this-package-input input) "/share"))
+ '("at-spi2-core"
+ "dconf"
+ "gnome-control-center")))))))))
(native-inputs
(list `(,glib "bin") ;for glib-compile-schemas, etc.
dconf
@@ -9065,7 +9077,12 @@ logo='~a'~%" icon))))))
iso-codes
libcanberra
libgudev
- linux-pam))
+ linux-pam
+
+ ;; accessibility dependencies
+ at-spi2-core
+ dconf
+ gnome-control-center))
(synopsis "Display manager for GNOME")
(home-page "https://wiki.gnome.org/Projects/GDM/")
(description
- 02/29: gnu: gnome: Add core packages for GNOME 44., (continued)
- 02/29: gnu: gnome: Add core packages for GNOME 44., guix-commits, 2024/02/24
- 05/29: services: Extend polkit capabilities of gnome-desktop-service., guix-commits, 2024/02/24
- 06/29: services: desktop: Remove unused imports., guix-commits, 2024/02/24
- 12/29: gnu: rygel: Update to 0.42.5., guix-commits, 2024/02/24
- 14/29: gnu: atkmm@2.28: Update to 2.28.4., guix-commits, 2024/02/24
- 20/29: gnu: epiphany: Update to 44.8., guix-commits, 2024/02/24
- 13/29: gnu: vte: Update to 0.72.4., guix-commits, 2024/02/24
- 18/29: gnu: gcr@3: Update to 3.41.2., guix-commits, 2024/02/24
- 22/29: gnu: mutter: Update to 44.9., guix-commits, 2024/02/24
- 25/29: gnu: folks: Update to 0.15.7., guix-commits, 2024/02/24
- 28/29: gnu: gdm: Wrap inputs to enable accessibility settings.,
guix-commits <=
- 08/29: gnu: gnome: Update synopsis and description., guix-commits, 2024/02/24
- 09/29: gnu: mm-common: Update to 1.0.6., guix-commits, 2024/02/24
- 16/29: gnu: gtk+: Update to 3.24.41., guix-commits, 2024/02/24
- 17/29: gnu: gnome-initial-setup: Update to 44.8., guix-commits, 2024/02/24
- 19/29: gnu: libgsf: Update to 1.14.52., guix-commits, 2024/02/24
- 21/29: gnu: gjs: Update to 1.76.3., guix-commits, 2024/02/24
- 23/29: gnu: gnome-bluetooth: Update to 42.8., guix-commits, 2024/02/24
- 24/29: gnu: gnome-shell: Update to 44.9., guix-commits, 2024/02/24
- 27/29: gnu: eiciel: Update to 0.10.0., guix-commits, 2024/02/24
- 10/29: gnu: glibmm-2.64: Rename and update to 2.66.6., guix-commits, 2024/02/24