Accepting request 943352 from GNOME:Factory

- 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.
  Fixes boo#1194183.

OBS-URL: https://build.opensuse.org/request/show/943352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdm?expand=0&rev=239
This commit is contained in:
Dominique Leuenberger 2022-01-03 09:48:52 +00:00 committed by Git OBS Bridge
commit 32beb97d16
2 changed files with 27 additions and 1 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Dec 30 04:28:16 UTC 2021 - Simon Vogl <simon.vogl@gmx.net>
- 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.
Fixes boo#1194183.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 8 03:36:08 UTC 2021 - Xiaoguang Wang <xiaoguang.wang@suse.com> Wed Dec 8 03:36:08 UTC 2021 - Xiaoguang Wang <xiaoguang.wang@suse.com>

View File

@ -140,6 +140,7 @@ providing graphical log-ins and managing local and remote displays.
%package -n libgdm1 %package -n libgdm1
Summary: Client Library for Communicating with GDM Greeter Server Summary: Client Library for Communicating with GDM Greeter Server
Group: System/Libraries Group: System/Libraries
Requires: %{name}-schema
Recommends: gdm Recommends: gdm
%description -n libgdm1 %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 This package provides the GObject Introspection bindings for
communicating with the GDM greeter server. 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 %package devel
Summary: Libraries for GDM -- Development Files Summary: Libraries for GDM -- Development Files
Group: Development/Libraries/GNOME Group: Development/Libraries/GNOME
@ -342,7 +352,6 @@ dconf update
%{_datadir}/dconf/profile/gdm %{_datadir}/dconf/profile/gdm
%{_datadir}/gdm/ %{_datadir}/gdm/
%{_datadir}/gnome-session/sessions/gnome-login.session %{_datadir}/gnome-session/sessions/gnome-login.session
%{_datadir}/glib-2.0/schemas/org.gnome.login-screen.gschema.xml
%{_pamdir}/pam_gdm.so %{_pamdir}/pam_gdm.so
%dir %{_libexecdir}/gdm %dir %{_libexecdir}/gdm
%{_libexecdir}/gdm/gdm-* %{_libexecdir}/gdm/gdm-*
@ -379,6 +388,9 @@ dconf update
%files -n typelib-1_0-Gdm-1_0 %files -n typelib-1_0-Gdm-1_0
%{_libdir}/girepository-1.0/Gdm-1.0.typelib %{_libdir}/girepository-1.0/Gdm-1.0.typelib
%files schema
%{_datadir}/glib-2.0/schemas/org.gnome.login-screen.gschema.xml
%files devel %files devel
%{_includedir}/gdm/ %{_includedir}/gdm/
%{_libdir}/libgdm.so %{_libdir}/libgdm.so