diff options
| author | Markus Volk <f_l_k@t-online.de> | 2026-01-15 16:04:59 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-01-20 08:16:57 -0800 |
| commit | 20a7a38e43a69966ccee186513b9dcaa79d4d597 (patch) | |
| tree | 458c52b943ac660d61fc4a5fa158a90742f7e157 /meta-gnome/recipes-gnome/gdm | |
| parent | e9624913eddf905d2d87727d6249043cefdc4eeb (diff) | |
| download | meta-openembedded-20a7a38e43a69966ccee186513b9dcaa79d4d597.tar.gz | |
gdm: update 48.0 -> 49.2
- 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 <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-gnome/gdm')
| -rw-r--r-- | meta-gnome/recipes-gnome/gdm/gdm/a3e0aca75e16aeafc171751028406b54f5ed8397.patch | 56 | ||||
| -rw-r--r-- | meta-gnome/recipes-gnome/gdm/gdm_49.2.bb (renamed from meta-gnome/recipes-gnome/gdm/gdm_48.0.bb) | 20 |
2 files changed, 14 insertions, 62 deletions
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 @@ | |||
| 1 | From 2fbc2ac50b9f143eb594e5f77a8051222ffbd2c9 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl> | ||
| 3 | Date: Mon, 27 Jan 2025 14:01:23 +0100 | ||
| 4 | Subject: [PATCH] gdm-settings-utils: rename variable to fix build with gcc 15 | ||
| 5 | |||
| 6 | In GNU23 C, bool is a keyword. Rename the variable to avoid syntax error. | ||
| 7 | --- | ||
| 8 | common/gdm-settings-utils.c | 8 ++++---- | ||
| 9 | common/gdm-settings-utils.h | 2 +- | ||
| 10 | 2 files changed, 5 insertions(+), 5 deletions(-) | ||
| 11 | |||
| 12 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
| 13 | |||
| 14 | Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gdm/-/commit/a3e0aca75e16aeafc171751028406b54f5ed8397.patch] | ||
| 15 | |||
| 16 | diff --git a/common/gdm-settings-utils.c b/common/gdm-settings-utils.c | ||
| 17 | index 636be3a9e..da4c7aefb 100644 | ||
| 18 | --- a/common/gdm-settings-utils.c | ||
| 19 | +++ b/common/gdm-settings-utils.c | ||
| 20 | @@ -287,16 +287,16 @@ gdm_settings_parse_boolean_as_value (gboolean boolval) | ||
| 21 | /* adapted from GKeyFile */ | ||
| 22 | gboolean | ||
| 23 | gdm_settings_parse_value_as_boolean (const char *value, | ||
| 24 | - gboolean *bool) | ||
| 25 | + gboolean *boolval) | ||
| 26 | { | ||
| 27 | g_return_val_if_fail (value != NULL, FALSE); | ||
| 28 | - g_return_val_if_fail (bool != NULL, FALSE); | ||
| 29 | + g_return_val_if_fail (boolval != NULL, FALSE); | ||
| 30 | |||
| 31 | if (g_ascii_strcasecmp (value, "true") == 0 || strcmp (value, "1") == 0) { | ||
| 32 | - *bool = TRUE; | ||
| 33 | + *boolval = TRUE; | ||
| 34 | return TRUE; | ||
| 35 | } else if (g_ascii_strcasecmp (value, "false") == 0 || strcmp (value, "0") == 0) { | ||
| 36 | - *bool = FALSE; | ||
| 37 | + *boolval = FALSE; | ||
| 38 | return TRUE; | ||
| 39 | } else { | ||
| 40 | return FALSE; | ||
| 41 | diff --git a/common/gdm-settings-utils.h b/common/gdm-settings-utils.h | ||
| 42 | index 4f2362ce7..734d625c7 100644 | ||
| 43 | --- a/common/gdm-settings-utils.h | ||
| 44 | +++ b/common/gdm-settings-utils.h | ||
| 45 | @@ -44,7 +44,7 @@ gboolean gdm_settings_parse_schemas (const char *fil | ||
| 46 | GSList **list); | ||
| 47 | |||
| 48 | gboolean gdm_settings_parse_value_as_boolean (const char *value, | ||
| 49 | - gboolean *bool); | ||
| 50 | + gboolean *boolval); | ||
| 51 | gboolean gdm_settings_parse_value_as_integer (const char *value, | ||
| 52 | int *intval); | ||
| 53 | gboolean gdm_settings_parse_value_as_double (const char *value, | ||
| 54 | -- | ||
| 55 | GitLab | ||
| 56 | |||
diff --git a/meta-gnome/recipes-gnome/gdm/gdm_48.0.bb b/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" | |||
| 5 | DEPENDS = " \ | 5 | DEPENDS = " \ |
| 6 | accountsservice \ | 6 | accountsservice \ |
| 7 | audit \ | 7 | audit \ |
| 8 | dconf \ | ||
| 8 | dconf-native \ | 9 | dconf-native \ |
| 9 | gtk+3 \ | 10 | gtk4 \ |
| 10 | json-glib \ | 11 | json-glib \ |
| 11 | keyutils \ | 12 | keyutils \ |
| 12 | libcanberra \ | 13 | libcanberra \ |
| 13 | libgudev \ | 14 | libgudev \ |
| 14 | libpam \ | 15 | libpam \ |
| 15 | xserver-xorg \ | ||
| 16 | " | 16 | " |
| 17 | 17 | ||
| 18 | REQUIRED_DISTRO_FEATURES = "x11 systemd pam polkit gobject-introspection-data" | 18 | REQUIRED_DISTRO_FEATURES = "systemd pam polkit gobject-introspection-data" |
| 19 | GIR_MESON_OPTION = "" | 19 | GIR_MESON_OPTION = "" |
| 20 | 20 | ||
| 21 | 21 | ||
| 22 | inherit gnomebase gsettings pkgconfig gobject-introspection gettext systemd useradd itstool gnome-help features_check | 22 | inherit gnomebase gsettings pkgconfig gobject-introspection gettext systemd useradd itstool gnome-help features_check |
| 23 | 23 | ||
| 24 | SRC_URI += "file://a3e0aca75e16aeafc171751028406b54f5ed8397.patch" | 24 | SRC_URI[archive.sha256sum] = "9813631f9f5f0f860ea14a437866e60efc7bed3023b7c3b765cc5de1de597a06" |
| 25 | SRC_URI[archive.sha256sum] = "1bc06daff093ec7b5e37ecb4f92e5da3474a1b1ba076edb9151ee967d1c30adf" | ||
| 26 | 25 | ||
| 27 | PACKAGECONFIG ??= "" | 26 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" |
| 28 | PACKAGECONFIG[plymouth] = "-Dplymouth=enabled,-Dplymouth=disabled,plymouth" | 27 | PACKAGECONFIG[plymouth] = "-Dplymouth=enabled,-Dplymouth=disabled,plymouth" |
| 28 | PACKAGECONFIG[x11] = "-Dx11-support=true,-Dx11-support=false,xau" | ||
| 29 | 29 | ||
| 30 | EXTRA_OEMESON = " \ | 30 | EXTRA_OEMESON = " \ |
| 31 | -Ddefault-pam-config=openembedded \ | 31 | -Ddefault-pam-config=openembedded \ |
| 32 | -Dpam-mod-dir=${base_libdir}/security \ | 32 | -Dpam-mod-dir=${base_libdir}/security \ |
| 33 | --cross-file=${WORKDIR}/meson-${PN}.cross \ | ||
| 33 | " | 34 | " |
| 34 | 35 | ||
| 36 | do_write_config:append() { | ||
| 37 | cat >${WORKDIR}/meson-${PN}.cross <<EOF | ||
| 38 | [binaries] | ||
| 39 | nologin = '${sbindir}/nologin' | ||
| 40 | EOF | ||
| 41 | } | ||
| 42 | |||
| 35 | do_install:prepend() { | 43 | do_install:prepend() { |
| 36 | sed -i -e 's|${B}/||g' ${B}/daemon/gdm-session-worker-enum-types.c | 44 | sed -i -e 's|${B}/||g' ${B}/daemon/gdm-session-worker-enum-types.c |
| 37 | sed -i -e 's|${B}/||g' ${B}/daemon/gdm-session-worker-enum-types.h | 45 | sed -i -e 's|${B}/||g' ${B}/daemon/gdm-session-worker-enum-types.h |
