Ignore:
Timestamp:
06/15/2020 08:51:48 PM (4 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
fe2553a
Parents:
152d154
Message:

mutt-1.14.3 and create a plain text version of the manual.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23285 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/mailnews/mutt.xml

    r152d154 rcb704b48  
    77  <!ENTITY mutt-download-http "https://bitbucket.org/mutt/mutt/downloads/mutt-&mutt-version;.tar.gz">
    88  <!ENTITY mutt-download-ftp  "ftp://ftp.mutt.org/pub/mutt/mutt-&mutt-version;.tar.gz">
    9   <!ENTITY mutt-md5sum        "1c109c6211477e6dc3decd63c6f99199">
    10   <!ENTITY mutt-size          "5.0 MB">
     9  <!ENTITY mutt-md5sum        "121e23c472852323337240d68ca1c41e">
     10  <!ENTITY mutt-size          "4.8 MB">
    1111  <!ENTITY mutt-buildsize     "46 MB">
    1212  <!ENTITY mutt-time          "0.3 SBU">
     
    8383
    8484    <bridgehead renderas="sect3">Mutt Dependencies</bridgehead>
     85
     86    <bridgehead renderas="sect4">Recommended (for a text version of the manual)</bridgehead>
     87    <para role="recommended">
     88      <xref linkend="lynx"/>, or
     89      <xref linkend="Links"/> (or
     90      <ulink url="&w3m-url;">W3m</ulink>, or
     91      <ulink url="&elinks-url;">ELinks</ulink>) - please read the Note.
     92    </para>
    8593
    8694    <bridgehead renderas="sect4">Optional</bridgehead>
     
    106114    </para>
    107115
    108     <bridgehead renderas="sect4">Optional (To Regenerate HTML
    109     Documentation)</bridgehead>
    110     <para role="optional">
    111       <xref linkend="libxslt"/> and either
    112       <xref linkend="lynx"/>,
    113       <ulink url="&w3m-url;">W3m</ulink>, or
    114       <ulink url="&elinks-url;">ELinks</ulink>
    115     </para>
    116 
    117116<!--<bridgehead renderas="sect4">Optional (To Generate PDF Manual)</bridgehead>
    118117    <para role="optional">
     
    131130    <title>Installation of Mutt</title>
    132131
     132    <note>
     133      <para>
     134        <application>Mutt</application> ships with an HTML version of its
     135        manual, but the text version is no longer provided because differences
     136        in the formatting from different text browsers compared to the shipped
     137        version caused complaints. To get a text file, the following are used
     138        in order of preference: <application>lynx</application> with overstriking
     139        (backspaces) for emphasis, <application>w3m</application> or
     140        <application>elinks</application>: the latter two apparently provide
     141        plain text. Plain text is generally preferred unless reading the HTML
     142        manual, so the instructions below use <application>lynx</application>
     143        if available, or else <application>links</application> to produce plain
     144        text.
     145      </para>
     146    </note>
     147
    133148    <para>
    134149      <application>Mutt</application> requires a group named
     
    148163
    149164    <para>
    150       <application>Mutt</application> will rebuild the html documentation
    151       if <application>libxslt</application> is present, then use that to update
    152       the text manual - even if none of the specified browsers are present. That
    153       will create an empty text file, so we will save the shipped file.
    154     </para>
    155 
    156     <para>
    157165      Install <application>Mutt</application> by running the following
    158166      commands:
     167    </para>
     168
     169    <para>
     170      To ensure that a plain text manual is created when using
     171      <application>lynx</application> or to otherwise use
     172      <application>links</application> to produce it (instead of
     173      <application>elinks</application>), run the following command:
     174    </para>
     175
     176<screen><userinput>sed -i -e 's/ -with_backspaces//' -e 's/elinks/links/' \
     177  -e 's/-no-numbering -no-references//' doc/Makefile.in</userinput></screen>
     178
     179    <para>
     180      Now configure and build the application:
    159181    </para>
    160182
     
    222244
    223245    <para>
     246      <parameter>sed ... -e 's/ -with_backspaces//' ...</parameter>: This turns
     247      off the backspaces used for overstriking when <application>lynx</application>
     248      is used, resulting in readable plain text when using <command>view</command>.
     249    </para>
     250
     251    <para>
     252      <parameter>sed ... -e 's/elinks/links/' ...</parameter>: This allows
     253      <command>links</command> to be run instead of <command>elinks</command>
     254      which is not in the book.
     255    </para>
     256
     257    <para>
     258      <parameter>sed ... -e 's/-no-numbering -no-references//' ...</parameter>:
     259      This removes switches which are not understood by <command>links</command>.
     260    </para>
     261
     262    <para>
    224263      <parameter>--enable-external-dotlock</parameter>: In some circumstances
    225264      the mutt-dotlock program is not created. This switch ensures it is always
Note: See TracChangeset for help on using the changeset viewer.