From owner-svn-ports-head@FreeBSD.ORG Thu Jan 1 18:02:36 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 485F333D; Thu, 1 Jan 2015 18:02:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1B4F46632C; Thu, 1 Jan 2015 18:02:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t01I2ZTx066226; Thu, 1 Jan 2015 18:02:35 GMT (envelope-from kwm@FreeBSD.org) Received: (from kwm@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t01I2ZRm066221; Thu, 1 Jan 2015 18:02:35 GMT (envelope-from kwm@FreeBSD.org) Message-Id: <201501011802.t01I2ZRm066221@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: kwm set sender to kwm@FreeBSD.org using -f From: Koop Mast Date: Thu, 1 Jan 2015 18:02:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r376010 - in head/x11/gnome-session: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2015 18:02:36 -0000 Author: kwm Date: Thu Jan 1 18:02:34 2015 New Revision: 376010 URL: https://svnweb.freebsd.org/changeset/ports/376010 QAT: https://qat.redports.org/buildarchive/r376010/ Log: Add a work around for the https://bugzilla.gnome.org/show_bug.cgi?id=739424 bug. Reduces the time gnome-session will consider application, like gnome-shell, crashes to be fatal. Which results in dropping the user back to the login screen. This will should allow gnome-shell to always restart after triggering the bug above. Submitted by: Ting-Wei Lan Added: head/x11/gnome-session/files/ head/x11/gnome-session/files/patch-gnome-session_gsm-app.c (contents, props changed) Modified: head/x11/gnome-session/Makefile Modified: head/x11/gnome-session/Makefile ============================================================================== --- head/x11/gnome-session/Makefile Thu Jan 1 17:59:41 2015 (r376009) +++ head/x11/gnome-session/Makefile Thu Jan 1 18:02:34 2015 (r376010) @@ -4,6 +4,7 @@ PORTNAME= gnome-session PORTVERSION= 3.14.0 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 Added: head/x11/gnome-session/files/patch-gnome-session_gsm-app.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/gnome-session/files/patch-gnome-session_gsm-app.c Thu Jan 1 18:02:34 2015 (r376010) @@ -0,0 +1,18 @@ +Work around for the https://bugzilla.gnome.org/show_bug.cgi?id=739424 bug + +Reduces the time gnome-session will consider application, like gnome-shell, +crashes to be fatal. And drop the user back to the login screen. +This will hopefully allow gnome-shell to restart after triggering the bug +above. + +--- gnome-session/gsm-app.c.orig 2015-01-01 17:20:24.798482241 +0100 ++++ gnome-session/gsm-app.c 2015-01-01 17:20:38.627540889 +0100 +@@ -30,7 +30,7 @@ + #define GSM_APP_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GSM_TYPE_APP, GsmAppPrivate)) + + /* If a component crashes twice within a minute, we count that as a fatal error */ +-#define _GSM_APP_RESPAWN_RATELIMIT_SECONDS 60 ++#define _GSM_APP_RESPAWN_RATELIMIT_SECONDS 3 + + struct _GsmAppPrivate + {