mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-06 09:07:30 +08:00
24 lines
1.0 KiB
XML
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 &&
|
||
|
cat srcunx/gvxreg.old | sed s/netscape/<replaceable>[browser]</replaceable>/ > 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 &&
|
||
|
sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|' \
|
||
|
srcunx/unx.mak > Makefile &&
|
||
|
make &&
|
||
|
make install</command></userinput></screen>
|
||
|
|
||
|
</sect2>
|