mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 13:02:35 +08:00
3e74064548
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1761 af4574ff-66df-0310-9fd7-8a98e5e911e0
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 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 > Makefile &&
|
|
patch -Np1 -i ../gsview-&gsview-version;-pstotext.patch &&
|
|
patch -Np1 -i ../gsview-&gsview-version;-lang.patch &&
|
|
make &&
|
|
make install</command></userinput></screen>
|
|
|
|
</sect2>
|