mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-02 05:22:13 +08:00
5fd03d2093
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1302 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 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>
|