From 7c4c19d11a13f4c2790b1430e0343c1271cbc47a Mon Sep 17 00:00:00 2001 From: sun_hai_10 Date: Sat, 23 Nov 2024 16:23:44 +0800 Subject: [PATCH] set metacity with LIBGL_KOPPER_DISABLE as yes --- anaconda.spec | 10 +++++++- ...ity-with-LIBGL_KOPPER_DISABLE-as-yes.patch | 24 +++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 bugfix-set-metacity-with-LIBGL_KOPPER_DISABLE-as-yes.patch diff --git a/anaconda.spec b/anaconda.spec index 676f8af..cd91959 100644 --- a/anaconda.spec +++ b/anaconda.spec @@ -1,7 +1,7 @@ %define _empty_manifest_terminate_build 0 Name: anaconda Version: 36.16.5 -Release: 41 +Release: 42 Summary: Graphical system installer License: GPLv2+ and MIT URL: http://fedoraproject.org/wiki/Anaconda @@ -69,6 +69,8 @@ Patch10001: 0001-check-that-the-password-contains-the-username.patch Patch9027: disable-disk-encryption.patch %endif +Patch9028: bugfix-set-metacity-with-LIBGL_KOPPER_DISABLE-as-yes.patch + %define dasbusver 1.3 %define dbusver 1.2.3 %define dnfver 3.6.0 @@ -324,6 +326,12 @@ update-desktop-database &> /dev/null || : %{_prefix}/libexec/anaconda/dd_* %changelog +* Sat Nov 23 2024 sunhai - 36.16.5-42 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: set metacity with LIBGL_KOPPER_DISABLE as yes + * Fri Sep 20 2024 jchzhou - 36.16.5-41 - Type:bugfix - ID:NA diff --git a/bugfix-set-metacity-with-LIBGL_KOPPER_DISABLE-as-yes.patch b/bugfix-set-metacity-with-LIBGL_KOPPER_DISABLE-as-yes.patch new file mode 100644 index 0000000..2e19591 --- /dev/null +++ b/bugfix-set-metacity-with-LIBGL_KOPPER_DISABLE-as-yes.patch @@ -0,0 +1,24 @@ +From cfe105b748c5e4a7655ebd71555d23e769470161 Mon Sep 17 00:00:00 2001 +From: sunhai +Date: Sat, 23 Nov 2024 16:06:08 +0800 +Subject: [PATCH] set metacity with LIBGL_KOPPER_DISABLE as yes + +--- + pyanaconda/display.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/pyanaconda/display.py b/pyanaconda/display.py +index ed163e7..8de49a4 100644 +--- a/pyanaconda/display.py ++++ b/pyanaconda/display.py +@@ -197,6 +197,7 @@ def do_startup_x11_actions(): + # to set GUI subprocess SIGINT handler + signal.signal(signal.SIGINT, signal.SIG_IGN) + ++ os.environ["LIBGL_KOPPER_DISABLE"] = "yes" + childproc = util.startProgram(["metacity", "--display", ":1", "--sm-disable"], + env_add={'XDG_DATA_DIRS': xdg_data_dirs}, + preexec_fn=x11_preexec) +-- +2.33.0 +