Subject: [bug#51103] [PATCH core-updates-frozen] news: Notify of Wayland support in GDM

From: Josselin Poiret <[email-masked]>
Date: Fri, 08 Oct 2021 21:36:13 +0000

Hello,

I've written a news entry to inform users of the newly added Wayland support in GDM.
After discussing it in issue 50563, we thought it'd also be a good idea to switch Wayland mode on by default, but I don't know when it would be best to do so.
This news entry contains a warning about that change as well. Also, I've written a warning mechanism (not included here) for people using the default value, which I could also add if needed, before or after the change.

As a side-note, I've put the current commit id, but it'll need to be changed when merging. I don't if there's something/someone that keeps track of everything that needs to be done when merging, so I'm just writing this here.

>From a8ebc5fca116900b1fba3b21af418f87e0655ce4 Mon Sep 17 00:00:00 2001
From: Josselin Poiret <[email-masked]>
Date: Fri, 8 Oct 2021 23:14:51 +0200
Subject: [PATCH] news: Notify of Wayland support in GDM

* etc/news.scm: Add a news entry.
---
 etc/news.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/etc/news.scm b/etc/news.scm
index b4a08067c5..d047bb9054 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -23,6 +23,29 @@
 (channel-news
  (version 0)

+ (entry (commit "db4681a4c17d282a661552f2f57e5c453d02e414")
+        (title
+         (en "@code{gdm-service-type} now supports Wayland")
+         (fr "@code{gdm-service-type} prend maintenant en charge Wayland"))
+        (body
+         (en "@code{gdm-service-type} has been updated to support being launched
+as a Wayland client, and to launch Wayland sessions. The @code{wayland?} boolean
+field in @code{gdm-configuration} controls whether GDM starts in Wayland or X
+mode. See @command{info \"(guix) X Window\"} for more information.
+
+Wayland mode for GDM will soon become the default in Guix, so if your
+hardware doesn't support Wayland (Nvidia users are the most concerned here),
+please consider disabling it now.")
+         (fr "@code{gdm-service-type} a été mis à jour et peut maintenant être
+lancé comme client Wayland, ainsi que lancer des sessions Wayland. Le champ
+booléen @code{wayland?} de @code{gdm-configuration} contrôle le mode dans lequel
+GDM est lancé (Wayland ou X). Pour plus d'informations, voir
+@command{info \"(guix) X Window\"} (en anglais).
+
+GDM sera bientôt lancé en mode Wayland par défaut sur Guix, donc si votre matériel
+ne le prend pas en charge (les utilisateur·ices de cartes Nvidia sont les plus
+concerné·es), merci de le désactiver dès maintenant.")))
+
  (entry (commit "f23803af2018a148fb088f2516d79c20d6bf95f0")
         (title
          (en "Input labels can now be omitted in package definitions"))
--
2.33.0