GNU bug report logs - #69839
[PATCH] services: sddm: add extension for localed-service-type.

Previous Next

Package: guix-patches;

Reported by: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Date: Sun, 17 Mar 2024 08:49:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69839 in the body.
You can then email your comments to 69839 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#69839; Package guix-patches. (Sun, 17 Mar 2024 08:49:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 17 Mar 2024 08:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: guix-patches <at> gnu.org
Subject: [PATCH] services: sddm: add extension for localed-service-type.
Date: Sun, 17 Mar 2024 16:47:07 +0800
* gnu/services/sddm.scm(sddm-service-type): add extension for
localed-service-type.
* gnu/services/xorg.scm(xorg-configuration-keyboard-layout): export it.

Change-Id: I26e6475b733d69f1baf00786e302a3ec6d3c4a74
---
 gnu/services/sddm.scm | 7 ++++++-
 gnu/services/xorg.scm | 2 ++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/services/sddm.scm b/gnu/services/sddm.scm
index 69c737829b..bbe507d0b6 100644
--- a/gnu/services/sddm.scm
+++ b/gnu/services/sddm.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2019 Ludovic Courtès <ludo <at> gnu.org>
 ;;; Copyright © 2019 Jesse Gildersleve <jessejohngildersleve <at> protonmail.com>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba <at> kadziolka.net>
+;;; Copyright © 2023, 2024 Zheng Junjie <873216071 <at> qq.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -328,7 +329,11 @@ (define sddm-service-type
                           (service-extension account-service-type
                                              (const %sddm-accounts))
                           (service-extension profile-service-type
-                                             sddm-profile-service)))
+                                             sddm-profile-service)
+                          (service-extension localed-service-type
+                                            (compose
+                                             xorg-configuration-keyboard-layout
+                                             sddm-configuration-xorg))))
                   (default-value (sddm-configuration))
                   (description
                    "Run SDDM, a display and log-in manager for X11 and
diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index 1ee15ea90c..b86e2d3c5b 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2022 Chris Marusich <cmmarusich <at> gmail.com>
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
 ;;; Copyright © 2023 muradm <mail <at> muradm.net>
+;;; Copyright © 2024 Zheng Junjie <873216071 <at> qq.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -77,6 +78,7 @@ (define-module (gnu services xorg)
             xorg-configuration-extra-config
             xorg-configuration-server
             xorg-configuration-server-arguments
+            xorg-configuration-keyboard-layout
 
             %default-xorg-modules
             %default-xorg-fonts

base-commit: edfb05e16d409ab71f5cc5c91747b693f0054d59
prerequisite-patch-id: 5a904c413bc4e5484fed86ec8a7862b20ef3156e
prerequisite-patch-id: a346e78c52eb9d8b1134cf463ce62c4050726569
-- 
2.41.0





Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Tue, 19 Mar 2024 11:21:01 GMT) Full text and rfc822 format available.

Notification sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
bug acknowledged by developer. (Tue, 19 Mar 2024 11:21:02 GMT) Full text and rfc822 format available.

Message #10 received at 69839-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Cc: 69839-done <at> debbugs.gnu.org
Subject: Re: [bug#69839] [PATCH] services: sddm: add extension for
 localed-service-type.
Date: Tue, 19 Mar 2024 19:20:17 +0800
Zheng Junjie <zhengjunjie <at> iscas.ac.cn> writes:

> * gnu/services/sddm.scm(sddm-service-type): add extension for
> localed-service-type.
> * gnu/services/xorg.scm(xorg-configuration-keyboard-layout): export it.
>
> Change-Id: I26e6475b733d69f1baf00786e302a3ec6d3c4a74

Pushed as commit 3ea55fada0, thank you!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 16 Apr 2024 11:24:22 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 64 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.