From c2dc9045afcab03fecfe4a329236a3ae46182259 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 19 Feb 2018 11:01:42 -0500 Subject: [PATCH] Make sure GDM checks systemd dconf databases Related: #1546644 --- gdm.spec | 11 +++++++++-- system-dconf.patch | 23 +++++++++++++++++++++++ 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 system-dconf.patch diff --git a/gdm.spec b/gdm.spec index af6dda1..36edcc1 100644 --- a/gdm.spec +++ b/gdm.spec @@ -10,7 +10,7 @@ Name: gdm Epoch: 1 Version: 3.27.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: The GNOME Display Manager License: GPLv2+ @@ -22,11 +22,14 @@ Patch0: 0001-Honor-initial-setup-being-disabled-by-distro-install.patch # https://bugzilla.gnome.org/show_bug.cgi?id=792932 Patch1: 0001-gnome-login-Adjust-to-g-s-d-s-plugin-removals.patch +Patch99: system-dconf.patch + BuildRequires: pam-devel >= 0:%{pam_version} BuildRequires: desktop-file-utils >= %{desktop_file_utils_version} BuildRequires: libtool automake autoconf BuildRequires: libattr-devel BuildRequires: gettext +BuildRequires: git BuildRequires: libdmx-devel BuildRequires: audit-libs-devel >= %{libauditver} BuildRequires: autoconf automake libtool @@ -121,7 +124,7 @@ files that are helpful to PAM modules wishing to support GDM specific authentication features. %prep -%autosetup -p1 +%autosetup -S git autoreconf -i -f intltoolize -f @@ -312,6 +315,10 @@ fi %{_libdir}/pkgconfig/gdm-pam-extensions.pc %changelog +* Mon Feb 19 2018 Ray Strode > - 1:3.27.4-4 +- Make sure GDM checks systemd dconf databases + Related: #1546644 + * Fri Feb 09 2018 Bastien Nocera - 3.27.4-3 + gdm-3.27.4-4 - Update for gnome-settings-daemon changes diff --git a/system-dconf.patch b/system-dconf.patch new file mode 100644 index 0000000..65b747c --- /dev/null +++ b/system-dconf.patch @@ -0,0 +1,23 @@ +From 29d374ce6781df6f3b168a8c57163ddb582c998a Mon Sep 17 00:00:00 2001 +From: Ray Strode +Date: Wed, 31 Jul 2013 17:32:55 -0400 +Subject: [PATCH] data: add system dconf databases to gdm profile + +This way system settings can affect the login screen. +--- + data/dconf/gdm.in | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/data/dconf/gdm.in b/data/dconf/gdm.in +index 4d8bf174..9694078f 100644 +--- a/data/dconf/gdm.in ++++ b/data/dconf/gdm.in +@@ -1,2 +1,6 @@ + user-db:user ++system-db:gdm ++system-db:local ++system-db:site ++system-db:distro + file-db:@DATADIR@/@PACKAGE@/greeter-dconf-defaults +-- +2.11.1