glfs/pst/ps/gsview/gsview-inst.xml
Igor Živković 3e74064548 updated to gs-8.13 and gsview-4.6
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1761 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-02-02 01:09: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 browser's executable file name
substituting for <replaceable>[browser]</replaceable>:</para>
<screen><userinput><command>sed -i 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>sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|' \
srcunx/unx.mak &gt; Makefile &amp;&amp;
patch -Np1 -i ../gsview-&gsview-version;-pstotext.patch &amp;&amp;
patch -Np1 -i ../gsview-&gsview-version;-lang.patch &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
</sect2>