Accepting request 1039792 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1039792 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-shell?expand=0&rev=229
This commit is contained in:
commit
0e5f3e7611
31
gnome-shell-main-Leak-the-GJS-context-and-ShellGlobal.patch
Normal file
31
gnome-shell-main-Leak-the-GJS-context-and-ShellGlobal.patch
Normal file
@ -0,0 +1,31 @@
|
||||
From 9a0ecad2b94243fbed5290f78d967d8714c3d3e4 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
|
||||
Date: Wed, 6 Oct 2021 10:00:43 +0200
|
||||
Subject: [PATCH] main: Leak the GJS context and ShellGlobal
|
||||
|
||||
There are many crash-on-exit happening as a side effect of destroying
|
||||
the GJS context. Work around these until we have a better solution by
|
||||
leaking them.
|
||||
---
|
||||
src/main.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/main.c b/src/main.c
|
||||
index 3cd9e10a5b..ce56e2a87a 100644
|
||||
--- a/src/main.c
|
||||
+++ b/src/main.c
|
||||
@@ -570,9 +570,11 @@ main (int argc, char **argv)
|
||||
|
||||
shell_profiler_shutdown ();
|
||||
|
||||
+#if 0
|
||||
g_debug ("Doing final cleanup");
|
||||
_shell_global_destroy_gjs_context (shell_global_get ());
|
||||
g_object_unref (shell_global_get ());
|
||||
+#endif
|
||||
|
||||
return ecode;
|
||||
}
|
||||
--
|
||||
2.31.1
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 2 01:44:58 UTC 2022 - Xiaoguang Wang <xiaoguang.wang@suse.com>
|
||||
|
||||
- Add gnome-shell-main-Leak-the-GJS-context-and-ShellGlobal.patch:
|
||||
Leak the GJS context and ShellGlobal, the patch is from
|
||||
https://src.fedoraproject.org/rpms/gnome-shell/tree/rawhide
|
||||
(bsc#1205518)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 4 17:56:28 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
|
@ -43,6 +43,8 @@ Patch5: gnome-shell-jscSLE9267-Remove-sessionList-of-endSessionDialog.pa
|
||||
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
|
||||
# PATCH-FIX-OPENSUSE gnome-shell-main-Leak-the-GJS-context-and-ShellGlobal.patch bsc#1205518 xwang@suse.com -- Leak the GJS context and ShellGlobal
|
||||
Patch9: gnome-shell-main-Leak-the-GJS-context-and-ShellGlobal.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
|
||||
%patch5 -p1
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
%if 0%{?sle_version}
|
||||
%patch1001 -p1
|
||||
|
Loading…
x
Reference in New Issue
Block a user