glfs/pst/ps/gsview/gsview-inst.xml
Igor Živković 5fd03d2093 reorganised chapter 50 directories
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1302 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-10-04 08:58:56 +00:00

24 lines
1.0 KiB
XML

<sect2>
<title>Installation of <application>GSview</application></title>
<para><application>GSview</application> uses <command>netscape
</command> to browse through the online help. <acronym>BLFS</acronym>
does not install <application>Netscape</application>, but has other
browsers from which to choose. Simply edit <filename>srcunx/gvxreg.c</filename>
using the following sed script with your browsers executable file name
substituting for <replaceable>[browser]</replaceable>:</para>
<screen><userinput><command>mv srcunx/gvxreg.c srcunx/gvxreg.old &amp;&amp;
cat srcunx/gvxreg.old | sed s/netscape/<replaceable>[browser]</replaceable>/ &gt; srcunx/gvxreg.c</command></userinput></screen>
<para>Install <application>GSview</application> by running the following
commands:</para>
<screen><userinput><command>patch -Np1 -i ../gsview-&gsview-version;-gvx.patch &amp;&amp;
sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|' \
&nbsp;&nbsp;srcunx/unx.mak &gt; Makefile &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
</sect2>