SHA256
1
0
forked from pool/gdm

Accepting request 420423 from GNOME:Factory

- Add gdm-fails-to-restart-gnome-shell.patch: Gdm should stop after
  a few times fails (bgo#769969, bsc#981976).

OBS-URL: https://build.opensuse.org/request/show/420423
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdm?expand=0&rev=186
This commit is contained in:
Dominique Leuenberger 2016-08-24 08:06:34 +00:00 committed by Git OBS Bridge
commit 02d9216e55
3 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff --git a/daemon/gdm-display.c b/daemon/gdm-display.c
index ab84ba4..e1d0996 100644
--- a/daemon/gdm-display.c
+++ b/daemon/gdm-display.c
@@ -673,7 +673,7 @@ gdm_display_unmanage (GdmDisplay *self)
}
elapsed = g_timer_elapsed (self->priv->server_timer, NULL);
- if (elapsed < 3) {
+ if (elapsed < 10) {
g_warning ("GdmDisplay: display lasted %lf seconds", elapsed);
_gdm_display_set_status (self, GDM_DISPLAY_FAILED);
} else {

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Aug 16 09:10:42 UTC 2016 - tyang@suse.com
- Add gdm-fails-to-restart-gnome-shell.patch: Gdm should stop after
a few times fails (bgo#769969, bsc#981976).
-------------------------------------------------------------------
Wed May 25 11:07:42 UTC 2016 - zaitor@opensuse.org

View File

@ -60,6 +60,8 @@ Patch34: gdm-default-wm.patch
Patch35: gdm-xauthlocalhostname.patch
# PATCH-FIX-UPSTREAM gdm-plymouth-vt1.patch bnc#881676 fcrozat@suse.com -- switch to VT1 when quitting if gdm was starting with plymouth running
Patch41: gdm-plymouth-vt1.patch
# PATCH-FIX-UPSTREAM gdm-fails-to-restart-gnome-shell.patch bsc#981976 bgo#769969 tyang@suse.com -- Gdm should stop after a few times fails
Patch42: gdm-fails-to-restart-gnome-shell.patch
BuildRequires: check-devel
# needed for directory ownership
BuildRequires: dconf
@ -190,6 +192,7 @@ translation-update-upstream
%patch34 -p1
#patch35 -p1
%patch41 -p1
%patch42 -p1
%build
NOCONFIGURE=1 sh autogen.sh