gpm: Add ac_cv_path_emacs=no, and add texlive as optional dependency for doc

This commit is contained in:
Xi Ruoyao 2023-09-06 20:06:53 +08:00
parent 32244fa9f0
commit 7ffcdc11f9
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -86,6 +86,12 @@
<para condition="html" role="usernotes">Editor Notes:
<ulink url="&blfs-wiki;/GPM"/></para>
<bridgehead renderas="sect3">GPM Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="texlive"/> (for documentation)
</para>
</sect2>
<sect2 role="kernel" id='gpm-kernel'>
@ -113,11 +119,19 @@
the following commands:
</para>
<screen><userinput>patch -Np1 -i ../gpm-&gpm-version;-consolidated-1.patch &amp;&amp;
./autogen.sh &amp;&amp;
./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
<screen><userinput>patch -Np1 -i ../gpm-&gpm-version;-consolidated-1.patch &amp;&amp;
./autogen.sh &amp;&amp;
./configure --prefix=/usr --sysconfdir=/etc ac_cv_path_emacs=no &amp;&amp;
make</userinput></screen>
<para>
If <xref linkend='texlive'/> is installed, build the GPM manual as
dvi, ps, and pdf formats:
</para>
<screen remap='doc'><userinput>make -C doc gpm.{dvi,ps} &amp;&amp;
dvipdfm doc/gpm.dvi -o doc/gpm.pdf</userinput></screen>
<para>
This package does not come with a test suite.
</para>
@ -141,6 +155,13 @@ install -v -m644 doc/support/* \
install -v -m644 doc/{FAQ,HACK_GPM,README*} \
/usr/share/doc/gpm-&gpm-version;</userinput></screen>
<para>
If <xref linkend='texlive'/> is installed and you've built GPM
manual as dvi, ps, and pdf formats, install them as the &root; user:
</para>
<screen role='root' remap='doc'><userinput>install -vm644 doc/gpm.{dvi,ps,pdf} /usr/share/doc/gpm-&gpm-version;</userinput></screen>
</sect2>
<sect2 role="commands">
@ -151,6 +172,18 @@ install -v -m644 doc/{FAQ,HACK_GPM,README*} \
<command>configure</command> script.
</para>
<para>
<parameter>ac_cv_path_emacs=no</parameter>: This variable works around
an issue causing the package fail to build with
<xref linkend='emacs'/> installed. It also suppresses the
installations of some <quote>Emacs support files</quote> shipped with
GPM. These files are quite outdated and they should be superseded
with <xref linkend='emacs'/> built-in GPM support. If you need to use
<xref linkend='emacs'/> in Linux console with mouse support, you
should install (or reinstall) <xref linkend='emacs'/>
<emphasis role='bold'>after</emphasis> GPM.
</para>
<para>
<command>install-info ...</command>: This package installs a
<filename class="extension">.info</filename> file, but does not update