Date: Sat, 3 Jun 2006 12:36:58 GMT From: Sam Lawrance <lawrance@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/98438: [patch] math/gnumeric: help file does not load from Help->Contents menu entry Message-ID: <200606031236.k53Cawdl031399@freefall.freebsd.org> Resent-Message-ID: <200606031240.k53CeG4a031555@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 98438 >Category: ports >Synopsis: [patch] math/gnumeric: help file does not load from Help->Contents menu entry >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: Sat Jun 03 12:40:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Sam Lawrance >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: >Description: Gnumeric uses the wrong path to load the help documentation. As a result yelp displays a file not found error. Why: the gnomehack target adjusts the $(docdir) make variable in ${WRKSRC}/doc/C/Makefile.in. The makefile suggests that it's OK to change this variable, but the routine that invokes yelp is not compliant with the new value. >How-To-Repeat: Run gnumeric, chose Help -> Contents. Observe error. >Fix: The following patch adds a sed command to the post-pach target to invoke yelp with the correct path. This problem should probably be fixed upstream as well - there are some assumptions made about the location of the help documentation that are not consistent with what is suggested in the doc Makefile. I think this would involve obeying the --with-help-dir configure option. If I get some feedback in agreement, I'll try to submit a patch for it. --- patch-gnumeric begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/math/gnumeric/Makefile,v retrieving revision 1.122 diff -u -r1.122 Makefile --- Makefile 27 Mar 2006 17:23:16 -0000 1.122 +++ Makefile 3 Jun 2006 11:54:37 -0000 @@ -8,7 +8,7 @@ PORTNAME= gnumeric PORTVERSION= 1.6.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R} @@ -64,6 +64,7 @@ post-patch: @${RM} -f ${WRKSRC}/GNOME_Gnumeric.server.in + @${REINPLACE_CMD} 's|gnm_sys_data_dir (), "doc"|"${PREFIX}/share/gnome/help/gnumeric/"|' ${WRKSRC}/src/wbcg-actions.c post-install: @-update-desktop-database --- patch-gnumeric ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606031236.k53Cawdl031399>