From owner-svn-ports-all@freebsd.org Sun Nov 13 14:00:52 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43A1AC3FB2F; Sun, 13 Nov 2016 14:00:52 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 EFA7C1799; Sun, 13 Nov 2016 14:00:51 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uADE0pS7026364; Sun, 13 Nov 2016 14:00:51 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uADE0poU026362; Sun, 13 Nov 2016 14:00:51 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201611131400.uADE0poU026362@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sun, 13 Nov 2016 14:00:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426051 - in head/graphics/llpp: . 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-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2016 14:00:52 -0000 Author: pi Date: Sun Nov 13 14:00:50 2016 New Revision: 426051 URL: https://svnweb.freebsd.org/changeset/ports/426051 Log: graphics/llpp: Fix 'crashes Firefox sometimes' - This one is related to bug #199872 where Firefox would randomly crash when exiting llpp (sometimes yes and sometimes no, you don't know which beforehand). Firefox (or GTK+ apps in general) seems to monitor ~/.config (not sure if true). llpp writes to ~/.config/llpp.conf when it exits, which will trigger bug #199872. - This patch moves llpp's config file to ~/.llpp.conf instead, solving this annoyance. PR: 214458 Submitted by: Tobias Kortkamp (maintainer) Added: head/graphics/llpp/files/patch-config.ml (contents, props changed) Modified: head/graphics/llpp/Makefile Modified: head/graphics/llpp/Makefile ============================================================================== --- head/graphics/llpp/Makefile Sun Nov 13 13:23:04 2016 (r426050) +++ head/graphics/llpp/Makefile Sun Nov 13 14:00:50 2016 (r426051) @@ -3,7 +3,7 @@ PORTNAME= llpp PORTVERSION= 22 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= http://repo.or.cz/llpp.git/snapshot/ DISTNAME= 561dc5673cea431e930668b0d87b0c4b31a36b39 Added: head/graphics/llpp/files/patch-config.ml ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/llpp/files/patch-config.ml Sun Nov 13 14:00:50 2016 (r426051) @@ -0,0 +1,21 @@ +--- config.ml.orig 2015-10-13 20:12:27 UTC ++++ config.ml +@@ -1420,17 +1420,7 @@ let do_load f contents = + ;; + + let defconfpath = +- let dir = +- let xdgconfdir = Utils.getenvwithdef "XDG_CONFIG_HOME" E.s in +- if emptystr xdgconfdir +- then +- try +- let dir = Filename.concat home ".config" in +- if Sys.is_directory dir then dir else home +- with _ -> home +- else xdgconfdir +- in +- Filename.concat dir "llpp.conf" ++ Filename.concat home ".llpp.conf" + ;; + + let confpath = ref defconfpath;;