SHA256
1
0
forked from pool/gdm

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
This commit is contained in:
Bjørn Lie 2021-12-31 18:54:26 +00:00 committed by Git OBS Bridge
parent f190431d84
commit dfcdd5c3d7
2 changed files with 24 additions and 1 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
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.
------------------------------------------------------------------- -------------------------------------------------------------------
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