From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 28 09:00:24 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16DA51065675 for ; Thu, 28 Jun 2012 09:00:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D6AF28FC23 for ; Thu, 28 Jun 2012 09:00:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5S90NJj025879 for ; Thu, 28 Jun 2012 09:00:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5S90NoU025876; Thu, 28 Jun 2012 09:00:23 GMT (envelope-from gnats) Resent-Date: Thu, 28 Jun 2012 09:00:23 GMT Resent-Message-Id: <201206280900.q5S90NoU025876@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Marshall Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A4E9A1065672 for ; Thu, 28 Jun 2012 08:53:41 +0000 (UTC) (envelope-from john.marshall@riverwillow.com.au) Received: from mail1.riverwillow.net.au (mail1.riverwillow.net.au [203.58.93.36]) by mx1.freebsd.org (Postfix) with ESMTP id 0FCF48FC1E for ; Thu, 28 Jun 2012 08:53:40 +0000 (UTC) Received: from rwpc15.mby.riverwillow.net.au (rwpc15.mby.riverwillow.net.au [172.25.24.201]) (authenticated bits=0) by mail1.riverwillow.net.au (8.14.5/8.14.5) with ESMTP id q5S8cShu011492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 28 Jun 2012 18:38:28 +1000 (AEST) Received: from rwpc15.mby.riverwillow.net.au (john@localhost [127.0.0.1]) by rwpc15.mby.riverwillow.net.au (8.14.5/8.14.5) with ESMTP id q5S8cSxU025882 for ; Thu, 28 Jun 2012 18:38:28 +1000 (AEST) (envelope-from john.marshall@riverwillow.com.au) Received: (from john@localhost) by rwpc15.mby.riverwillow.net.au (8.14.5/8.14.5/Submit) id q5S8cST4025881; Thu, 28 Jun 2012 18:38:28 +1000 (AEST) (envelope-from john) Message-Id: <201206280838.q5S8cST4025881@rwpc15.mby.riverwillow.net.au> Date: Thu, 28 Jun 2012 18:38:28 +1000 (AEST) From: John Marshall To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/169512: [PATCH] x11/yelp update-desktop-database after install X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Marshall List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2012 09:00:24 -0000 >Number: 169512 >Category: ports >Synopsis: [PATCH] x11/yelp update-desktop-database after install >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jun 28 09:00:23 UTC 2012 >Closed-Date: >Last-Modified: >Originator: John Marshall >Release: FreeBSD 9.0-RELEASE-p3 i386 >Organization: Riverwillow Pty Ltd >Environment: System: FreeBSD rwpc15 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Wed Jun 13 08:38:32 AEST 2012 root@rwpc15:/usr/obj/build/src/sys/RWPC15 i386 >Description: I discovered an application (misc/xiphos) needed yelp to display its manual. I installed x11/yelp and still could not display the manual from within xiphos. However, if I ran yelp from a shell prompt and passed it the name of the help module .xml file, it displayed fine. After running update-desktop-database as root I could then display the help from within the application. It looks to me like adding update-desktop-database as a post-install task in the port is the solution - but I may well be wrong. Maybe something additional needs to be done to make a package install do the same thing? Over to the maintainer... >How-To-Repeat: >Fix: --- yelp_2.30.2_3.diff begins here --- diff -urN x11/yelp_2.30.2_3/Makefile x11/yelp/Makefile --- x11/yelp_2.30.2_3/Makefile 2012-06-01 15:25:25.000000000 +1000 +++ x11/yelp/Makefile 2012-06-28 18:23:20.000000000 +1000 @@ -52,5 +52,6 @@ post-install: @-update-mime-database ${PREFIX}/share/mime + @-update-desktop-database ${PREFIX}/share/applications .include --- yelp_2.30.2_3.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: