First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 23292
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mamoru KOMACHI (RETIRED) <usata@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexandre Rostovtsev <tetromino@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 23292 depends on: Show dependency tree
Bug 23292 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-06-22 16:02 0000
Grace 5.1.7 and 5.1.10 by default run the following command to access help
files:  "netscape -remote openURL\\\\(%s,new-window\\\\) >>/dev/null 2>&1 ||
netscape %s" (this can be changed by the configure flag --with-helpviewer).
If $GRACE_HELPVIEWER is defined, they run that instead.

The ebuilds do not modify this default, and do not set GRACE_HELPVIEWER. This
has 2 problems:
1. Most users do not have an executable called netscape in their path.
2. More importantly, Grace looks for its html help files in $GRACE_HOME/doc
(/usr/share/grace/doc by default), but the ebuilds put the help files in
$PREFIX/share/doc/$PF/html (/usr/share/doc/grace-5.1.*/html by default). Thus,
even IF there is netscape, it won't find the help files...

The following is a hack to solve it (for mozilla and Grace 5.1.10):
ln -s /usr/share/doc/grace-5.1.10/html /usr/share/grace/doc
echo 'export GRACE_HELPVIEWER="mozilla -remote openURL\\\\(%s,new-window\\\\)
>>/dev/null 2>&1 || mozilla %s" ' >> /etc/profile.env

Ideally, the ebuild should be changed to:
1. add the symlink to $GRACE_HOME/doc
2. depend on a simple, lightweight html viewer
3. set GRACE_HELPVIEWER in /etc/profile.env to use that html viewer
4. set configure --with-helpviewer to use mozilla instead of netscape 

This bug is somewhat important, because the html files are the major
documentation for Grace, and memorizing all the features of Grace is insane :)

Reproducible: Always
Steps to Reproduce:
1. emerge grace
2. xmgrace
3. (click on help->User's Guide)

Actual Results:  
nothing happens :)

Expected Results:  
an html viewer with the user's guide appears...

------- Comment #1 From foser (RETIRED) 2003-07-27 12:42:02 0000 -------
this is not a gnome or gtk+ app.


------- Comment #2 From Mamoru KOMACHI (RETIRED) 2003-09-08 13:43:29 0000 -------
Fixed in 5.1.10-r1 and 5.1.12-r1. Thanks for reporting.

First Last Prev Next    No search results available      Search page      Enter new bug