diff mbox series

[meta-gnome,1/3] gnome-settings-daemon: update 48.0 -> 49.1

Message ID 20260115150459.17491-1-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-gnome,1/3] gnome-settings-daemon: update 48.0 -> 49.1 | expand

Commit Message

Markus Volk Jan. 15, 2026, 3:04 p.m. UTC
PACKAGECONFIG for wayland,nm have been removed upstream
PACKAGECONFIG for x11,xwayland have been added upstream

Add a patch to fix reproducibility in gnome-settings-daemon-src

============
Version 49.1
============
- Translation updates

Power:
- Avoid xext dependency

Xsettings:
- Build only if X11 or Xwayland are enabled

============
Version 49.0
============
- Translation updates

Power:
- Avoid polling light sensor if ambient light setting is disabled

=============
Version 49.rc
=============
- Translation updates
- Update to GNOME Session changes

Power:
- Fix check for shell-managed brightness
- Refactor light sensor enablement

A11y-settings:
- Manage Orca lifetime

===============
Version 49.beta
===============
- Translation updates
- Drop dependency on GTK4
- Add xwayland/x11 build options

Power:
- Do not treat all notifications as critical
- Let backlight auto-dimming in control of GNOME Shell

Housekeeping:
- Add new donation reminder notification

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

Keyboard:
- Drop keyboard bell GSettings schema leftovers

================
Version 49.alpha
================
- Translation updates
- Update to GTK4

Power:
- Use new Mutter backlight D-Bus interface

Wacom:
- Drop support to update per-button OLED screens in Wacom
  Intuos 4 model with descriptive actions. This tablet model
    will still be functional, but the tiny screens besides the
      pad buttons will remain blank.

      ============
      Version 48.1
      ============
      - Translation updates
      - Cleanups and fixes

      Power:
      - Ensure the backlight interface signal gets emitted on startup
      - Avoid using uninitialized value when restoring brightness

      Sharing:
      - Fixes to shutdown of sharing services

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 ...um-types.c.in-fix-reproducibility-is.patch | 42 +++++++++++++++++++
 ..._48.0.bb => gnome-settings-daemon_49.1.bb} | 19 +++++----
 2 files changed, 52 insertions(+), 9 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon/0001-gsd-smartcard-enum-types.c.in-fix-reproducibility-is.patch
 rename meta-gnome/recipes-gnome/gnome-settings-daemon/{gnome-settings-daemon_48.0.bb => gnome-settings-daemon_49.1.bb} (67%)

Comments

Markus Volk Jan. 15, 2026, 3:06 p.m. UTC | #1
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 <f_l_k=t-online.de@lists.openembedded.org> 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 <f_l_k@t-online.de 
> <mailto:f_l_k@t-online.de>>
> ---
>  ...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?= 
> <zbyszek@in.waw.pl <mailto:zbyszek@in.waw.pl>>
> -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 <f_l_k@t-online.de 
> <mailto:f_l_k@t-online.de>>
> -
> -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 (#123509): 
> <https://lists.openembedded.org/g/openembedded-devel/message/123509>
> Mute This Topic: <https://lists.openembedded.org/mt/117280466/3618223>
> Group Owner: openembedded-devel+owner@lists.openembedded.org 
> <mailto:openembedded-devel+owner@lists.openembedded.org>
> Unsubscribe: 
> <https://lists.openembedded.org/g/openembedded-devel/unsub> 
> [f_l_k@t-online.de <mailto:f_l_k@t-online.de>]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon/0001-gsd-smartcard-enum-types.c.in-fix-reproducibility-is.patch b/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon/0001-gsd-smartcard-enum-types.c.in-fix-reproducibility-is.patch
new file mode 100644
index 0000000000..e5429366e4
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon/0001-gsd-smartcard-enum-types.c.in-fix-reproducibility-is.patch
@@ -0,0 +1,42 @@ 
+From 49df2d7021a68d9fe13ff094e9f564323c7c8556 Mon Sep 17 00:00:00 2001
+From: Markus Volk <f_l_k@t-online.de>
+Date: Thu, 15 Jan 2026 14:33:58 +0100
+Subject: [PATCH] gsd-smartcard-enum-types.c.in:fix reproducibility issue
+
+Upstream-Status: Pending
+---
+ plugins/smartcard/gsd-smartcard-enum-types.c.in | 4 ++--
+ plugins/smartcard/gsd-smartcard-enum-types.h.in | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/plugins/smartcard/gsd-smartcard-enum-types.c.in b/plugins/smartcard/gsd-smartcard-enum-types.c.in
+index f281cf4e..0a970105 100644
+--- a/plugins/smartcard/gsd-smartcard-enum-types.c.in
++++ b/plugins/smartcard/gsd-smartcard-enum-types.c.in
+@@ -5,8 +5,8 @@
+ /*** END file-header ***/
+ 
+ /*** BEGIN file-production ***/
+-#include "@filename@"
+-/* enumerations from "@filename@" */
++#include "@basename@"
++/* enumerations from "@basename@" */
+ /*** END file-production ***/
+ 
+ /*** BEGIN value-header ***/
+diff --git a/plugins/smartcard/gsd-smartcard-enum-types.h.in b/plugins/smartcard/gsd-smartcard-enum-types.h.in
+index 79dcc3d8..3906ba4c 100644
+--- a/plugins/smartcard/gsd-smartcard-enum-types.h.in
++++ b/plugins/smartcard/gsd-smartcard-enum-types.h.in
+@@ -9,7 +9,7 @@ G_BEGIN_DECLS
+ 
+ /*** BEGIN file-production ***/
+ 
+-/* enumerations from "@filename@" */
++/* enumerations from "@basename@" */
+ /*** END file-production ***/
+ 
+ /*** BEGIN value-header ***/
+-- 
+2.52.0
+
diff --git a/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_48.0.bb b/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_49.1.bb
similarity index 67%
rename from meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_48.0.bb
rename to meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_49.1.bb
index 9a2948d432..86f469242c 100644
--- a/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_48.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_49.1.bb
@@ -17,33 +17,34 @@  DEPENDS = " \
     libnotify \
     upower \
     libwacom \
-    virtual/libx11 \
+    networkmanager \
 "
 
 # all these are mandatory
 REQUIRED_DISTRO_FEATURES = "x11 polkit pulseaudio systemd gobject-introspection-data"
 GIR_MESON_OPTION = ""
 
-SRC_URI[archive.sha256sum] = "f3da20ab4a2ba56fd3e97b991f2bc267973d5619bd58bfa516410aa036305e45"
+SRC_URI += "file://0001-gsd-smartcard-enum-types.c.in-fix-reproducibility-is.patch"
+SRC_URI[archive.sha256sum] = "2a9957fc4f91c3b9127b49484179bef485120d9c1c208e44d44e6a746e6cc1c1"
 
 PACKAGECONFIG ??= " \
-    cups nm \
-    alsa gudev \
+    ${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11 alsa', d)} \
+    gudev \
     smartcard \
-    ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
+    xwayland \
+    cups \
 "
 PACKAGECONFIG[alsa] = "-Dalsa=true,-Dalsa=false,alsa-lib"
 PACKAGECONFIG[cups] = "-Dcups=true,-Dcups=false,cups"
 PACKAGECONFIG[gudev] = "-Dgudev=true,-Dgudev=false,libgudev"
-PACKAGECONFIG[nm] = "-Dnetwork_manager=true,-Dnetwork_manager=false,networkmanager"
 PACKAGECONFIG[smartcard] = "-Dsmartcard=true,-Dsmartcard=false,nss"
-PACKAGECONFIG[wayland] = "-Dwayland=true,-Dwayland=false,wayland"
+PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,cups"
+PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=true"
+PACKAGECONFIG[x11] = "-Dx11=true,-Dx11=false,libx11 libxfixes"
 
 def gnome_verdir(v):
    return oe.utils.trim_version(v, 1)
 
-PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
-
 FILES:${PN} += " \
     ${systemd_user_unitdir} \
     ${libdir}/gnome-settings-daemon-${@gnome_verdir("${PV}")}/libgsd.so \