These three recipes must be updated as a bundle, otherwise runtime will break.

On Thu, Jan 15 2026 at 16:04:59 +01:00:00, Markus Volk via lists.openembedded.org <[email protected]> wrote:
- build x11 support depending on DISTRO_FEATURES
- add runtime path for nologin to fix reproducibility
- remove backport patch
- use gtk4

49.2
==========

* Translation updates
* Fixed bug that prevented X11 fallback whenever autologin fails
* Introduced CI tests built around GNOME OS

49.1
==========

* Translation updates
* Hotfixed a bug that leaves gnome-shell in a locked up state
* Fixed implementation of userdb, so we don't list our users when asked about
  UID 0 (root)
* Switched safety check that avoids accidentally deleting / and /home from an assertion to an error, so the check always runs even in production builds * Fixed bug where gnome-initial-setup's configuration (i.e. input methods)
  failed to migrate to the final user session
* Fixed bug where GDM assumed that Wayland is unavailable if Xwayland wasn't
  installed on the system

49.0.1
==========

* Follow-up for permissions issue fix, making the fix work in more environments

49.0
==========

* Translation updates
* Fix build failures when built without plymouth support
* Fix permissions issue on the GDM work dir (/var/lib/gdm) that broke settings
  persistence

49.rc
==========

* Translation updates
* Fixed a bug in PAM config files, introduced by transition to dynamic users * Added logic to retry preferred display server (usually Wayland) before falling
  back (usually to X11)
* Fixed a bug where Plymouth keeps running if not display is plugged into the system. This would prevent bootup from completing and would prevent the user
  from logging in on a serial console
* Fixed GDM's session file loading logic to search directories in correct
  precedence order
* Fix simpledrm device detection to match the kernel's new device naming scheme * Re-enabled X11 support by default. We found it difficult to cleanly separate GDM's ability to launch modern X11 sessions (which we intended to keep enabled in GNOME 49) from the rest of GDM's X11 integration (which we intended to disable but leave intact for GNOME 49). We still plan to remove GDM's full X11 integration in a future version, and leave only the ability to launch
  modern X11 sessions.
* Worked around a regression introduced by the switch to dynamic users, where
  the login screen no longer persists any settings

49.beta
==========

* Translation updates
* Switch to using dynamic users for greeter sessions. This enables systemd-based session management on the greeter, removes GDM's dependency on dbus-daemon,
  and frees us to drop gnome-session's builtin service manager.
* Adapt to changes in gnome-session 49, which dropped the builtin service manager code and now exclusively relies on systemd for session startup. This means that
  GDM now depends on gnome-session 49.

49.alpha.1
==========

* Drop dependency on Wacom g-s-d plugin  [Jordan; !301]
* Drop leftover udev rules  [Alessandro; !299]
* Fix warning when building without libxdmcp support  [Florian; !300]
* Add polkit rules to allow access to smartcards [David, !287]
* Misc [Joan; !298]

Contributors:
  Alessandro Astone, David Härdeman, Joan Torres López,
  Florian Müllner, Jordan Petridis

Translators:
  Takayuki Kusano [ja], Aefgh Threenine [th]

==================
Version 49.alpha.0
==================
- meson: Change x11-support default value to false
- Disable Xorg session by default
- udev: Drop disable_wayland overrides
- Fix build with gcc 15
- Translation updates

Contributors:
  Zbigniew Jędrzejewski-Szmek, Florian Müllner, Jordan Petridis,
  Ray Strode, Joan Torres, Adrian Vovk, Alynx Zhou

Translators:
  Antonio Marin [ro], Baxrom Raxmatov [uz], Cheng-Chia Tseng [zh_TW],
  Andi Chandler [en_GB], Peter Mráz [sk], Rūdolfs Mazurs [lv]

Signed-off-by: Markus Volk <[email protected] <mailto:[email protected]>>
---
...aca75e16aeafc171751028406b54f5ed8397.patch | 56 -------------------
 .../gdm/{gdm_48.0.bb => gdm_49.2.bb}          | 20 +++++--
 2 files changed, 14 insertions(+), 62 deletions(-)
delete mode 100644 meta-gnome/recipes-gnome/gdm/gdm/a3e0aca75e16aeafc171751028406b54f5ed8397.patch rename meta-gnome/recipes-gnome/gdm/{gdm_48.0.bb => gdm_49.2.bb} (80%)

diff --git a/meta-gnome/recipes-gnome/gdm/gdm/a3e0aca75e16aeafc171751028406b54f5ed8397.patch b/meta-gnome/recipes-gnome/gdm/gdm/a3e0aca75e16aeafc171751028406b54f5ed8397.patch
deleted file mode 100644
index 8363a7f41d..0000000000
--- a/meta-gnome/recipes-gnome/gdm/gdm/a3e0aca75e16aeafc171751028406b54f5ed8397.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From 2fbc2ac50b9f143eb594e5f77a8051222ffbd2c9 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <[email protected] <mailto:[email protected]>>
-Date: Mon, 27 Jan 2025 14:01:23 +0100
-Subject: [PATCH] gdm-settings-utils: rename variable to fix build with gcc 15
-
-In GNU23 C, bool is a keyword. Rename the variable to avoid syntax error.
----
- common/gdm-settings-utils.c | 8 ++++----
- common/gdm-settings-utils.h | 2 +-
- 2 files changed, 5 insertions(+), 5 deletions(-)
-
- Signed-off-by: Markus Volk <[email protected] <mailto:[email protected]>>
-
-Upstream-Status: Backport [<https://gitlab.gnome.org/GNOME/gdm/-/commit/a3e0aca75e16aeafc171751028406b54f5ed8397.patch>]
-
-diff --git a/common/gdm-settings-utils.c b/common/gdm-settings-utils.c
-index 636be3a9e..da4c7aefb 100644
---- a/common/gdm-settings-utils.c
-+++ b/common/gdm-settings-utils.c
-@@ -287,16 +287,16 @@ gdm_settings_parse_boolean_as_value (gboolean boolval)
- /* adapted from GKeyFile */
- gboolean
- gdm_settings_parse_value_as_boolean (const char *value,
--                                     gboolean   *bool)
-+                                     gboolean   *boolval)
- {
-         g_return_val_if_fail (value != NULL, FALSE);
--        g_return_val_if_fail (bool != NULL, FALSE);
-+        g_return_val_if_fail (boolval != NULL, FALSE);
-
- if (g_ascii_strcasecmp (value, "true") == 0 || strcmp (value, "1") == 0) {
--                *bool = TRUE;
-+                *boolval = TRUE;
-                 return TRUE;
- } else if (g_ascii_strcasecmp (value, "false") == 0 || strcmp (value, "0") == 0) {
--                *bool = FALSE;
-+                *boolval = FALSE;
-                 return TRUE;
-         } else {
-                 return FALSE;
-diff --git a/common/gdm-settings-utils.h b/common/gdm-settings-utils.h
-index 4f2362ce7..734d625c7 100644
---- a/common/gdm-settings-utils.h
-+++ b/common/gdm-settings-utils.h
-@@ -44,7 +44,7 @@ gboolean gdm_settings_parse_schemas (const char *fil - GSList **list);
-
- gboolean gdm_settings_parse_value_as_boolean (const char *value, -- gboolean *bool); -+ gboolean *boolval); - gboolean gdm_settings_parse_value_as_integer (const char *value, - int *intval); - gboolean gdm_settings_parse_value_as_double (const char *value,
---
-GitLab
-
diff --git a/meta-gnome/recipes-gnome/gdm/gdm_48.0.bb b/meta-gnome/recipes-gnome/gdm/gdm_49.2.bb
similarity index 80%
rename from meta-gnome/recipes-gnome/gdm/gdm_48.0.bb
rename to meta-gnome/recipes-gnome/gdm/gdm_49.2.bb
index 92ddc143f6..e1f3c488a8 100644
--- a/meta-gnome/recipes-gnome/gdm/gdm_48.0.bb
+++ b/meta-gnome/recipes-gnome/gdm/gdm_49.2.bb
@@ -5,33 +5,41 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 DEPENDS = " \
     accountsservice \
     audit \
+    dconf \
     dconf-native \
-    gtk+3 \
+    gtk4 \
     json-glib \
     keyutils \
     libcanberra \
     libgudev \
     libpam \
-    xserver-xorg \
 "

-REQUIRED_DISTRO_FEATURES = "x11 systemd pam polkit gobject-introspection-data" +REQUIRED_DISTRO_FEATURES = "systemd pam polkit gobject-introspection-data"
 GIR_MESON_OPTION = ""


inherit gnomebase gsettings pkgconfig gobject-introspection gettext systemd useradd itstool gnome-help features_check

-SRC_URI += "file://a3e0aca75e16aeafc171751028406b54f5ed8397.patch" <file://a3e0aca75e16aeafc171751028406b54f5ed8397.patch/> -SRC_URI[archive.sha256sum] = "1bc06daff093ec7b5e37ecb4f92e5da3474a1b1ba076edb9151ee967d1c30adf" +SRC_URI[archive.sha256sum] = "9813631f9f5f0f860ea14a437866e60efc7bed3023b7c3b765cc5de1de597a06"

-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "${@bb.utils.filter <mailto:${@bb.utils.filter>('DISTRO_FEATURES', 'x11', d)}" PACKAGECONFIG[plymouth] = "-Dplymouth=enabled,-Dplymouth=disabled,plymouth"
+PACKAGECONFIG[x11] = "-Dx11-support=true,-Dx11-support=false,xau"

 EXTRA_OEMESON = " \
     -Ddefault-pam-config=openembedded \
     -Dpam-mod-dir=${base_libdir}/security \
+    --cross-file=${WORKDIR}/meson-${PN}.cross \
 "

+do_write_config:append() {
+    cat >${WORKDIR}/meson-${PN}.cross <<EOF
+[binaries]
+nologin = '${sbindir}/nologin'
+EOF
+}
+
 do_install:prepend() {
sed -i -e 's|${B}/||g' ${B}/daemon/gdm-session-worker-enum-types.c sed -i -e 's|${B}/||g' ${B}/daemon/gdm-session-worker-enum-types.h
--
2.52.0





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#123511): 
https://lists.openembedded.org/g/openembedded-devel/message/123511
Mute This Topic: https://lists.openembedded.org/mt/117280494/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to