Changeset 6ece6ec for chapter08


Ignore:
Timestamp:
12/15/2022 11:30:12 PM (19 months ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib
Children:
410c6f8
Parents:
5c258ba (diff), baf93f5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Automatic merge of trunk into multilib

Location:
chapter08
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • chapter08/bash.xml

    r5c258ba r6ece6ec  
    4343    <para>Prepare Bash for compilation:</para>
    4444
    45 <screen><userinput remap="configure">./configure --prefix=/usr                      \
    46             --docdir=/usr/share/doc/bash-&bash-version; \
    47             --without-bash-malloc              \
    48             --with-installed-readline</userinput></screen>
     45    <screen><userinput remap="configure">./configure --prefix=/usr             \
     46            --without-bash-malloc    \
     47            --with-installed-readline \
     48            --docdir=/usr/share/doc/bash-&bash-version;</userinput></screen>
    4949
    5050    <variablelist>
  • chapter08/gawk.xml

    r5c258ba r6ece6ec  
    5959    <para>Install the package:</para>
    6060
    61 <screen><userinput remap="install">make install</userinput></screen>
     61<screen><userinput remap="install">make LN='ln -f' install</userinput></screen>
     62
     63    <variablelist>
     64      <title>The meaning of the make environment variable:</title>
     65
     66      <varlistentry>
     67        <term><envar>LN='ln -f'</envar></term>
     68        <listitem>
     69           <para>This variable ensures that the previous hard link installed
     70           in <xref linkend='ch-tools-gawk'/> is updated here.</para>
     71       </listitem>
     72      </varlistentry>
     73   </variablelist>
    6274
    6375    <para>If desired, install the documentation:</para>
     
    7789
    7890      <seglistitem>
    79         <seg>awk (link to gawk), gawk, and awk-&gawk-version;</seg>
     91        <seg>awk (link to gawk), gawk, and gawk-&gawk-version;</seg>
    8092        <seg>filefuncs.so, fnmatch.so, fork.so, inplace.so, intdiv.so, ordchr.so,
    8193        readdir.so, readfile.so, revoutput.so, revtwoway.so, rwarray.so,
  • chapter08/man-db.xml

    r5c258ba r6ece6ec  
    7878        <term><parameter>--enable-cache-owner=bin</parameter></term>
    7979        <listitem>
    80           <para>This makes the system-wide cache files be owned by user
     80          <para>This changes ownership of the system-wide cache files to user
    8181          <systemitem class="username">bin</systemitem>.</para>
    8282        </listitem>
  • chapter08/mpc.xml

    r5c258ba r6ece6ec  
    4242  <sect2 role="installation">
    4343    <title>Installation of MPC</title>
     44
     45    <para>First, make a fix identified upstream:</para>
     46
     47<screen><userinput remap="pre">sed -i '273{ h; d; }; 274,286 { H; d; }; 287 G' src/mpc.h</userinput></screen>
     48
     49    <note>
     50       <para>This sed is a little complex and needs some explanation.  It holds
     51       the line 273 in a buffer, adds lines 274-286 to it. It then writes the
     52       buffer out after line 287 is read. The result is that the line 287 is
     53       moved upwards from an incorrect location to its correct location in an
     54       #ifdef block.</para>
     55    </note>
    4456
    4557    <para>Prepare MPC for compilation:</para>
  • chapter08/procps.xml

    r5c258ba r6ece6ec  
    4141    <title>Installation of Procps-ng</title>
    4242
    43     <para>Prepare procps-ng for compilation:</para>
     43    <para>Prepare Procps-ng for compilation:</para>
    4444
    4545<screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr                           \
     
    6161        <listitem>
    6262          <para>This switch disables building the <command>kill</command>
    63           command that will be installed by the Util-linux package.</para>
     63          command; it will be installed from the Util-linux package.</para>
    6464        </listitem>
    6565      </varlistentry>
     
    182182      </varlistentry>
    183183
    184       <varlistentry id="pwait">
     184      <!-- <varlistentry id="pwait">
    185185        <term><command>pwait</command></term>
    186186        <listitem>
     
    190190          </indexterm>
    191191        </listitem>
    192       </varlistentry>
     192      </varlistentry> This program no longer exists;
     193      it's already been removed from the Installed programs list. -->
    193194
    194195      <varlistentry id="pwdx">
  • chapter08/vim.xml

    r5c258ba r6ece6ec  
    5555<screen><userinput remap="pre">echo '#define SYS_VIMRC_FILE "/etc/vimrc"' &gt;&gt; src/feature.h</userinput></screen>
    5656
    57     <para>Prepare vim for compilation:</para>
     57    <para>Prepare Vim for compilation:</para>
    5858
    5959<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
     
    8484<screen><userinput remap="install">make install</userinput></screen>
    8585
    86     <para>Many users are used to using <command>vi</command> instead of
     86    <para>Many users reflexively type <command>vi</command> instead of
    8787    <command>vim</command>. To allow execution of <command>vim</command>
    8888    when users habitually enter <command>vi</command>, create a
     
    9595done</userinput></screen>
    9696
    97     <para>By default, vim's documentation is installed in <filename
     97    <para>By default, Vim's documentation is installed in <filename
    9898    class="directory">/usr/share/vim</filename>. The following symlink
    9999    allows the documentation to be accessed via <filename
     
    104104
    105105    <para>If an X Window System is going to be installed on the LFS
    106     system, it may be necessary to recompile vim after installing X. Vim
     106    system, it may be necessary to recompile Vim after installing X. Vim
    107107    comes with a GUI version of the editor that requires X and some
    108108    additional libraries to be installed. For more information on this
    109     process, refer to the vim documentation and the vim installation page
     109    process, refer to the Vim documentation and the Vim installation page
    110110    in the BLFS book at <ulink
    111111    url="&blfs-book;postlfs/vim.html"/>.</para>
     
    167167
    168168    <note>
    169       <para>By default, vim only installs spell files for the English language.
    170       To install spell files for your preferred language, copy the
     169      <para>By default, vim only installs spell-checking files for the English language.
     170      To install spell-checking files for your preferred language, copy the
    171171      <filename class='extension'>.spl</filename> and optionally, the
    172172      <filename class='extension'>.sug</filename> files for your language
     
    176176        /usr/share/&vim-docdir;/spell/</filename>.</para>
    177177
    178       <para>To use these spell files, some configuration in
     178      <para>To use these spell-checking files, some configuration in
    179179      <filename>/etc/vimrc</filename> is needed, e.g.:</para>
    180180
     
    298298        <listitem>
    299299          <para>Creates a hex dump of the given file; it can
    300           also do the reverse, so it can be used for binary patching</para>
     300          also perform the inverse operation, so it can be used for binary
     301          patching</para>
    301302          <indexterm zone="ch-system-vim xxd">
    302303            <primary sortas="b-xxd">xxd</primary>
Note: See TracChangeset for help on using the changeset viewer.