Debian Patches

Status for gnome-settings-daemon/51~beta-2

Patch Description Author Forwarded Bugs Origin Last update
tests-Make-mock-logind-report-the-session-as-active.patch tests: Make mock logind report the session as active
Since GNOME/gnome-session@dc497507e, gsm-systemd no longer queries
libsystemd directly for the session's active state.
Instead it finds the graphical session id via libsystemd on the host,
looks it up on the login1 service with GetSession(), and reads the
"Active" property from the returned object to decide whether the session
is active.

Our mock logind implements GetSession() by simply returning the object
path "/org/freedesktop/login1/session/<id>" without creating the object
behind it. As a result gnome-session's proxy fails to fetch the "Active"
property, the session is treated as inactive, and SessionIsActive on
org.gnome.SessionManager stays false.

The power plugin honors this and refuses idle mode transitions
("ignoring state transition to blank as inactive"), so the screensaver
blank tests time out waiting for the screen to blank.

We cannot predict which host session id gnome-session will discover, so
override GetSession() to lazily create an active session object for
whatever id is requested and return its path. This makes gnome-session
consider the session active again, as the tests expect.
"Marco Trevisan (Treviño)" <mail@3v1n0.net> no https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/489 2026-08-14
debian/01_debianize_xrdb.patch Debianize the 00-xrdb script
In Debian, /etc/X11/Xresources is a directory, processing of ~/.Xresources
is controlled by /etc/X11/Xsession.options, and xrdb is not a mandatory
dependency.
Laurent Bigonville <bigon@debian.org> not-needed 2020-03-12
tests-Force-C-locale-by-unsetting-LC_ALL.patch tests: Force C locale by unsetting LC_ALL
The power BatteryLevels tests match notification text against English
strings (e.g. "Battery Almost Empty"). To make this reliable the suite
sets LC_MESSAGES=C, but LC_ALL takes precedence over every other LC_*
variable. In environments where LC_ALL is set (e.g. LC_ALL=it_IT.UTF-8),
LC_MESSAGES=C is ignored and gsd-power emits translated notifications,
so the tests fail to find the expected strings.

Unset LC_ALL and LANGUAGE and force LANG=C.UTF-8 alongside LC_MESSAGES=C
so translations are actually disabled regardless of the surrounding
environment.
"Marco Trevisan (Treviño)" <mail@3v1n0.net> no https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/489 2026-08-14
tests-Fix-Backlight-property-type-in-mutter-mock.patch tests: Fix Backlight property type in mutter mock
The org.gnome.Mutter.DisplayConfig Backlight property is declared as
(uaa{sv}), a struct of (serial, backlights array).
The mutter mock initialized it with a bare aa{sv} array, so gsd-power's
proxy logged:

Received property Backlight with type aa{sv} does not match expected
type (uaa{sv}) in the expected interface

Wrap the initial value in the same (serial, array) struct that
SetBacklight() and MockSetBacklight() already use.
"Marco Trevisan (Treviño)" <mail@3v1n0.net> no https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/489 2026-08-14

All known versions for source package 'gnome-settings-daemon'

Links