Accepting request 941208 from home:qkzhu:branches:GNOME:Factory

- Add gnome-shell-exit-crash-workaround.patch: 
  + Backport from Ubuntu, This is a workaround to maintain a clean
    environment for gnome-shell and particularly JavaScript/GJS to
    shutdown without crashing.
  + Proper fixes are still pending
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1759
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/648
    (bsc#1190878 glgo#GNOME/gnome-shell#4344).

OBS-URL: https://build.opensuse.org/request/show/941208
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell?expand=0&rev=492
This commit is contained in:
Bjørn Lie 2021-12-17 21:39:58 +00:00 committed by Git OBS Bridge
parent 8fb8e5ffbc
commit 0819c6e8d7
3 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff --git a/src/main.c b/src/main.c
index 3cd9e10..557f35a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -566,7 +566,7 @@ main (int argc, char **argv)
ecode = EXIT_FAILURE;
}
- meta_context_destroy (g_steal_pointer (&context));
+ g_steal_pointer (&context);
shell_profiler_shutdown ();

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Dec 17 04:09:17 UTC 2021 - QK ZHU <qkzhu@suse.com>
- Add gnome-shell-exit-crash-workaround.patch:
+ Backport from Ubuntu, This is a workaround to maintain a clean
environment for gnome-shell and particularly JavaScript/GJS to
shutdown without crashing.
+ Proper fixes are still pending
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1759
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/648
(bsc#1190878 glgo#GNOME/gnome-shell#4344).
-------------------------------------------------------------------
Mon Dec 13 16:07:50 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -47,6 +47,8 @@ Patch5: gnome-shell-jscSLE9267-Remove-sessionList-of-endSessionDialog.pa
Patch6: gnome-shell-jsc#SLE-16051-Input-method-recommendation.patch
# PATCH-FIX-OPENSUSE gnome-shell-executable-path-not-absolute.patch bsc#1176051 xwang@suse.com -- Fix ExecStart is not absolute path
Patch7: gnome-shell-executable-path-not-absolute.patch
# PATCH-FIX-UPSTREAM gnome-shell-exit-crash-workaround.patch bsc#1190878 glgo#GNOME/gnome-shell#4344 qkzhu@suse.com -- Workaround logout crashing
Patch8: gnome-shell-exit-crash-workaround.patch
## NOTE: Keep SLE-only patches at bottom (starting on 1000).
# PATCH-FEATURE-SLE gnome-shell-gdm-login-applet.patch fate#314545 dliang@suse.com -- Add an applet on login UI to display suse icon, product name, hostname.
@ -184,6 +186,7 @@ This package contains an optional extensions app for managing GNOME Shell extens
%patch6 -p1
%endif
%patch7 -p1
%patch8 -p1
%if 0%{?sle_version}
%patch1001 -p1