From owner-freebsd-ports@freebsd.org Sat Feb 13 11:37:37 2016 Return-Path: Delivered-To: freebsd-ports@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 08336AA6131 for ; Sat, 13 Feb 2016 11:37:37 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from smtp.burggraben.net (smtp.burggraben.net [IPv6:2a01:4f8:140:50a2::3:1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "ns.exwg.net", Issuer "Christoph Moench-Tegeder" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C481219F9 for ; Sat, 13 Feb 2016 11:37:36 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id C3C596000AF for ; Sat, 13 Feb 2016 12:37:33 +0100 (CET) X-Spam-Scanned: by amavisd-new at exwg.net Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.burggraben.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aKPpDNletY+9 for ; Sat, 13 Feb 2016 12:37:32 +0100 (CET) Received: from elch.exwg.net (dslb-088-066-000-049.088.066.pools.vodafone-ip.de [88.66.0.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTPS for ; Sat, 13 Feb 2016 12:37:32 +0100 (CET) Received: by elch.exwg.net (Postfix, from userid 1000) id 4F1A13021C; Sat, 13 Feb 2016 12:37:32 +0100 (CET) Date: Sat, 13 Feb 2016 12:37:32 +0100 From: Christoph Moench-Tegeder To: freebsd-ports@freebsd.org Subject: Re: FreeBSD Port: deskutils/calibre Message-ID: <20160213113732.GA1540@elch.exwg.net> References: <56BE9AC5.7030001@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56BE9AC5.7030001@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2016 11:37:37 -0000 ## Alex V. Petrov (alexvpetrov@gmail.com): > /usr/ports/deskutils/calibre/work/stage/usr/local/share/bash-completion/completions/calibre > Setting up desktop integration... The install is hanging in a call to xdg-desktop-menu (from devel/xdg-utils). I haven't come around to fully debugging this, but the genral code path to the problem in xdg-desktop-menu is in function make_lazy_default, where grep is called - presumably on a file, but as the variable holding the filename is empty/unset, grep waits for input on stdin. See ps for confirmation. As I've no use for these xdg-menus and the shell scripting in xdg-utils brought up memories of more eldritch horrors than I've time for, I just disabled the call to make_lazy_default and left the whole thing sitting on my TODO list :/. HTH, Christoph -- Spare Space