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