From b721bbbe7f9f1f2183b802016ca29cf3aa24459b Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 12 2018 20:23:49 +0000 Subject: import gnome-session-3.28.1-6.el7 --- diff --git a/SOURCES/fix-crash-on-no-dispay.patch b/SOURCES/fix-crash-on-no-dispay.patch new file mode 100644 index 0000000..a36e6f9 --- /dev/null +++ b/SOURCES/fix-crash-on-no-dispay.patch @@ -0,0 +1,12 @@ +diff -up gnome-session-3.28.1/tools/gnome-session-check-accelerated-gles-helper.c.fix-crash-on-no-display gnome-session-3.28.1/tools/gnome-session-check-accelerated-gles-helper.c +--- gnome-session-3.28.1/tools/gnome-session-check-accelerated-gles-helper.c.fix-crash-on-no-display 2018-10-02 10:29:54.757972502 -0400 ++++ gnome-session-3.28.1/tools/gnome-session-check-accelerated-gles-helper.c 2018-10-02 10:30:18.859714829 -0400 +@@ -178,7 +178,7 @@ main (int argc, + g_option_context_add_main_entries (context, entries, NULL); + + if (!g_option_context_parse (context, &argc, &argv, &error)) { +- g_error ("Can't parse command line: %s\n", error->message); ++ g_debug ("Can't parse command line: %s\n", error->message); + g_error_free (error); + goto out; + } diff --git a/SPECS/gnome-session.spec b/SPECS/gnome-session.spec index 8a440cd..5f3b2fb 100644 --- a/SPECS/gnome-session.spec +++ b/SPECS/gnome-session.spec @@ -6,7 +6,7 @@ Name: gnome-session Version: 3.28.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: GNOME session manager License: GPLv2+ @@ -47,6 +47,8 @@ Patch31: 0002-autostart-ensure-gnome-shell-and-mutter-get-right-au.patch Patch40: 0001-main-don-t-call-into-gdbus-before-setting-all-enviro.patch +Patch50: fix-crash-on-no-dispay.patch + BuildRequires: meson BuildRequires: gcc BuildRequires: pkgconfig(egl) @@ -190,6 +192,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : %{_datadir}/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml %changelog +* Tue Oct 02 2018 Ray Strode - 3.28.1-6 +- Fix crash in gles helper if there's no display + Resolves: #1627056 + * Thu Jul 26 2018 Ray Strode - 3.28.1-5 - Fix gnome-disk-utility timeout at startup Resolves: #1593215