From dfcdd5c3d7483eb02144d71700df594d21fc7020853fac70e29f950c19cc02c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Fri, 31 Dec 2021 18:54:26 +0000 Subject: [PATCH] Accepting request 943329 from home:DarkWav Move %{_datadir}/glib-2.0/schemas/org.gnome.login-screen.gschema.xml from main package to new gdm-schema split package and make libgdm1 depend on the new gdm-schema split package. Currently, the gdm schema is required for gnome-shell to work, but gnome-shell only depends on libgdm1 and not on gdm as a whole, causing a crash of gnome-shell if the gdm main package is not installed. By moving the gdm-schema to it's own split package and making libgdm1 actually require it, the crash can be prevented. This would fix boo#1194183, hopefully with less drawbacks than Request 943235 If you have any suggestions, please let me know! OBS-URL: https://build.opensuse.org/request/show/943329 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=490 --- gdm.changes | 11 +++++++++++ gdm.spec | 14 +++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/gdm.changes b/gdm.changes index e92e5a6..0651dd2 100644 --- a/gdm.changes +++ b/gdm.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Dec 30 04:28:16 UTC 2021 - Simon Vogl + +- Move %{_datadir}/glib-2.0/schemas/org.gnome.login-screen.gschema.xml + from main package to new gdm-schema split package and make libgdm1 depend + on the new gdm-schema split package. Currently, the gdm-schema is required for + gnome-shell to work, but gnome-shell only depends on libgdm1 and not + on gdm as a whole, causing a crash of gnome-shell if the gdm main package + is not installed. By moving the gdm-schema to it's own split package and making + libgdm1 actually require it, the crash can be prevented. + ------------------------------------------------------------------- Wed Dec 8 03:36:08 UTC 2021 - Xiaoguang Wang diff --git a/gdm.spec b/gdm.spec index 99ef452..c600d86 100644 --- a/gdm.spec +++ b/gdm.spec @@ -140,6 +140,7 @@ providing graphical log-ins and managing local and remote displays. %package -n libgdm1 Summary: Client Library for Communicating with GDM Greeter Server Group: System/Libraries +Requires: %{name}-schema Recommends: gdm %description -n libgdm1 @@ -157,6 +158,15 @@ providing graphical log-ins and managing local and remote displays. This package provides the GObject Introspection bindings for communicating with the GDM greeter server. +%package schema +Summary: Config schema for GDM +Group: System/Libraries +BuildArch: noarch + +%description schema +The GNOME Display Manager is a system service that is responsible for +providing graphical log-ins and managing local and remote displays. + %package devel Summary: Libraries for GDM -- Development Files Group: Development/Libraries/GNOME @@ -342,7 +352,6 @@ dconf update %{_datadir}/dconf/profile/gdm %{_datadir}/gdm/ %{_datadir}/gnome-session/sessions/gnome-login.session -%{_datadir}/glib-2.0/schemas/org.gnome.login-screen.gschema.xml %{_pamdir}/pam_gdm.so %dir %{_libexecdir}/gdm %{_libexecdir}/gdm/gdm-* @@ -379,6 +388,9 @@ dconf update %files -n typelib-1_0-Gdm-1_0 %{_libdir}/girepository-1.0/Gdm-1.0.typelib +%files schema +%{_datadir}/glib-2.0/schemas/org.gnome.login-screen.gschema.xml + %files devel %{_includedir}/gdm/ %{_libdir}/libgdm.so