<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>23292</bug_id>
          
          <creation_ts>2003-06-22 16:02 0000</creation_ts>
          <short_desc>Grace 5.1.7 and 5.1.10 cannot access help files and silently depend on Netscape</short_desc>
          <delta_ts>2003-09-08 13:43:29 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>tetromino@gmail.com</reporter>
          <assigned_to>usata@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>tetromino@gmail.com</who>
            <bug_when>2003-06-22 16:02:55 0000</bug_when>
            <thetext>Grace 5.1.7 and 5.1.10 by default run the following command to access help
files:  &quot;netscape -remote openURL\\\\(%s,new-window\\\\) &gt;&gt;/dev/null 2&gt;&amp;1 ||
netscape %s&quot; (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&apos;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 &apos;export GRACE_HELPVIEWER=&quot;mozilla -remote openURL\\\\(%s,new-window\\\\)
&gt;&gt;/dev/null 2&gt;&amp;1 || mozilla %s&quot; &apos; &gt;&gt; /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-&gt;User&apos;s Guide)

Actual Results:  
nothing happens :)

Expected Results:  
an html viewer with the user&apos;s guide appears...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-07-27 12:42:02 0000</bug_when>
            <thetext>this is not a gnome or gtk+ app.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2003-09-08 13:43:29 0000</bug_when>
            <thetext>Fixed in 5.1.10-r1 and 5.1.12-r1. Thanks for reporting.
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>