ports/169512: [PATCH] x11/yelp update-desktop-database after install
John Marshall
john.marshall at riverwillow.com.au
Thu Jun 28 09:00:24 UTC 2012
>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 at 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 <bsd.port.post.mk>
--- yelp_2.30.2_3.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list