Bug 98438 - [patch] math/gnumeric: help file does not load from Help->Contents menu entry
Summary: [patch] math/gnumeric: help file does not load from Help->Contents menu entry
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-03 13:40 UTC by Sam Lawrance
Modified: 2006-06-03 18:46 UTC (History)
0 users

See Also:


Attachments
patch-gnumeric (726 bytes, text/plain)
2006-06-03 13:40 UTC, Sam Lawrance
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Lawrance freebsd_committer freebsd_triage 2006-06-03 13:40:16 UTC
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.

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.
How-To-Repeat: 
Run gnumeric, chose Help -> Contents.  Observe error.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-06-03 13:44:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2006-06-03 18:46:33 UTC
State Changed
From-To: open->closed

Committed, thanks!