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:
parent
f190431d84
commit
dfcdd5c3d7
11
gdm.changes
11
gdm.changes
@ -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>
|
||||
|
||||
|
14
gdm.spec
14
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user