Ignore:
Timestamp:
09/06/2023 12:08:15 PM (9 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
79736ae6
Parents:
32244fa
git-author:
Xi Ruoyao <xry111@…> (09/06/2023 12:06:53 PM)
git-committer:
Xi Ruoyao <xry111@…> (09/06/2023 12:08:15 PM)
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/gpm.xml

    r32244fa r7ffcdc1  
    8787    <ulink url="&blfs-wiki;/GPM"/></para>
    8888
     89    <bridgehead renderas="sect3">GPM Dependencies</bridgehead>
     90
     91    <bridgehead renderas="sect4">Optional</bridgehead>
     92    <para role="optional">
     93      <xref linkend="texlive"/> (for documentation)
     94    </para>
    8995  </sect2>
    9096
     
    114120    </para>
    115121
    116 <screen><userinput>patch -Np1 -i ../gpm-&gpm-version;-consolidated-1.patch &amp;&amp;
    117 ./autogen.sh                                     &amp;&amp;
    118 ./configure --prefix=/usr --sysconfdir=/etc     &amp;&amp;
     122<screen><userinput>patch -Np1 -i ../gpm-&gpm-version;-consolidated-1.patch                &amp;&amp;
     123./autogen.sh                                                    &amp;&amp;
     124./configure --prefix=/usr --sysconfdir=/etc ac_cv_path_emacs=no &amp;&amp;
    119125make</userinput></screen>
     126
     127    <para>
     128      If <xref linkend='texlive'/> is installed, build the GPM manual as
     129      dvi, ps, and pdf formats:
     130    </para>
     131
     132<screen remap='doc'><userinput>make -C doc gpm.{dvi,ps} &amp;&amp;
     133dvipdfm doc/gpm.dvi -o doc/gpm.pdf</userinput></screen>
    120134
    121135    <para>
     
    142156                    /usr/share/doc/gpm-&gpm-version;</userinput></screen>
    143157
     158    <para>
     159      If <xref linkend='texlive'/> is installed and you've built GPM
     160      manual as dvi, ps, and pdf formats, install them as the &root; user:
     161    </para>
     162
     163<screen role='root' remap='doc'><userinput>install -vm644 doc/gpm.{dvi,ps,pdf} /usr/share/doc/gpm-&gpm-version;</userinput></screen>
     164
    144165  </sect2>
    145166
     
    150171      <command>./autogen.sh</command>: This command creates the missing
    151172      <command>configure</command> script.
     173    </para>
     174
     175    <para>
     176      <parameter>ac_cv_path_emacs=no</parameter>: This variable works around
     177      an issue causing the package fail to build with
     178      <xref linkend='emacs'/> installed.  It also suppresses the
     179      installations of some <quote>Emacs support files</quote> shipped with
     180      GPM.  These files are quite outdated and they should be superseded
     181      with <xref linkend='emacs'/> built-in GPM support.  If you need to use
     182      <xref linkend='emacs'/> in Linux console with mouse support, you
     183      should install (or reinstall) <xref linkend='emacs'/>
     184      <emphasis role='bold'>after</emphasis> GPM.
    152185    </para>
    153186
Note: See TracChangeset for help on using the changeset viewer.