Accepting request 529093 from home:xiaoguang_wang:branches:GNOME:Factory
- Add gdm-ignore-SLE-CLASSIC-MODE.patch: Ignore env SLE_CLASSIC_MODE variable when switching from sle-classic session to gnome-classic session (bsc#1060630). OBS-URL: https://build.opensuse.org/request/show/529093 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=352
This commit is contained in:
parent
1dd030309a
commit
a71fbe34ad
24
gdm-ignore-SLE-CLASSIC-MODE.patch
Normal file
24
gdm-ignore-SLE-CLASSIC-MODE.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
diff --git a/daemon/gdm-wayland-session.c b/daemon/gdm-wayland-session.c
|
||||||
|
index b648e9de..eee31724 100644
|
||||||
|
--- a/daemon/gdm-wayland-session.c
|
||||||
|
+++ b/daemon/gdm-wayland-session.c
|
||||||
|
@@ -285,6 +285,7 @@ spawn_session (State *state,
|
||||||
|
"WAYLAND_DISPLAY",
|
||||||
|
"WAYLAND_SOCKET",
|
||||||
|
"GNOME_SHELL_SESSION_MODE",
|
||||||
|
+ "SLE_CLASSIC_MODE",
|
||||||
|
NULL };
|
||||||
|
|
||||||
|
g_debug ("Running wayland session");
|
||||||
|
diff --git a/daemon/gdm-x-session.c b/daemon/gdm-x-session.c
|
||||||
|
index 88fe96f4..c60ae04f 100644
|
||||||
|
--- a/daemon/gdm-x-session.c
|
||||||
|
+++ b/daemon/gdm-x-session.c
|
||||||
|
@@ -610,6 +610,7 @@ spawn_session (State *state,
|
||||||
|
"WAYLAND_DISPLAY",
|
||||||
|
"WAYLAND_SOCKET",
|
||||||
|
"GNOME_SHELL_SESSION_MODE",
|
||||||
|
+ "SLE_CLASSIC_MODE",
|
||||||
|
NULL };
|
||||||
|
|
||||||
|
g_debug ("Running X session");
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 28 07:33:15 UTC 2017 - xwang@suse.com
|
||||||
|
|
||||||
|
- Add gdm-ignore-SLE-CLASSIC-MODE.patch: Ignore env
|
||||||
|
SLE_CLASSIC_MODE variable when switching from sle-classic session
|
||||||
|
to gnome-classic session (bsc#1060630).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 18 12:29:08 UTC 2017 - fcrozat@suse.com
|
Mon Sep 18 12:29:08 UTC 2017 - fcrozat@suse.com
|
||||||
|
|
||||||
|
3
gdm.spec
3
gdm.spec
@ -64,6 +64,8 @@ Patch42: gdm-fails-to-restart-gnome-shell.patch
|
|||||||
Patch49: gdm-default-wm-sle12.patch
|
Patch49: gdm-default-wm-sle12.patch
|
||||||
# PATCH-FIX-UPSTREAM gdm-check-for-Xwayland.patch bgo#787837 fcrozat@suse.com -- Don't try Wayland if Xwayland isn't installed
|
# PATCH-FIX-UPSTREAM gdm-check-for-Xwayland.patch bgo#787837 fcrozat@suse.com -- Don't try Wayland if Xwayland isn't installed
|
||||||
Patch50: gdm-check-for-Xwayland.patch
|
Patch50: gdm-check-for-Xwayland.patch
|
||||||
|
# PATCH-FIX-SLE gdm-ignore-SLE-CLASSIC-MODE.patch bsc#1060630 xwang@suse.com -- ignore env SLE_CLASSIC_MODE variable when switching from sle-classic session to gnome-classic session
|
||||||
|
Patch51: gdm-ignore-SLE-CLASSIC-MODE.patch
|
||||||
BuildRequires: check-devel
|
BuildRequires: check-devel
|
||||||
# needed for directory ownership
|
# needed for directory ownership
|
||||||
BuildRequires: dconf
|
BuildRequires: dconf
|
||||||
@ -203,6 +205,7 @@ translation-update-upstream
|
|||||||
%patch42 -p1
|
%patch42 -p1
|
||||||
%if !0%{?is_opensuse}
|
%if !0%{?is_opensuse}
|
||||||
%patch49 -p1
|
%patch49 -p1
|
||||||
|
%patch51 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch50 -p1
|
%patch50 -p1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user