2003-10-04 16:58:56 +08:00
|
|
|
<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>
|
2003-12-11 04:58:47 +08:00
|
|
|
using the following sed script with your browser's executable file name
|
2003-10-04 16:58:56 +08:00
|
|
|
substituting for <replaceable>[browser]</replaceable>:</para>
|
|
|
|
|
2003-12-11 04:58:47 +08:00
|
|
|
<screen><userinput><command>sed -i s/netscape/<replaceable>[browser]</replaceable>/ srcunx/gvxreg.c</command></userinput></screen>
|
2003-10-04 16:58:56 +08:00
|
|
|
|
|
|
|
<para>Install <application>GSview</application> by running the following
|
|
|
|
commands:</para>
|
|
|
|
|
2003-12-11 04:58:47 +08:00
|
|
|
<screen><userinput><command>sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|' \
|
|
|
|
srcunx/unx.mak > Makefile &&
|
2004-02-02 09:09:56 +08:00
|
|
|
patch -Np1 -i ../gsview-&gsview-version;-pstotext.patch &&
|
|
|
|
patch -Np1 -i ../gsview-&gsview-version;-lang.patch &&
|
2003-10-04 16:58:56 +08:00
|
|
|
make &&
|
|
|
|
make install</command></userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|