Changeset 69fa5e6 for BOOK


Ignore:
Timestamp:
Apr 24, 2011, 10:00:49 AM (14 years ago)
Author:
Joe Ciccone <jciccone@…>
Children:
f14f7c2
Parents:
b0b1a3c1
Message:

Remove the test part.

Location:
BOOK
Files:
1 deleted
11 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/bash.xml

    rb0b1a3c1 r69fa5e6  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    3   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     2<!DOCTYPE c:package [
    43  <!ENTITY % general-entities SYSTEM "../../general.ent">
    54  %general-entities;
    65]>
    76
    8 <sect1 id="ch-system-bash" role="wrap">
    9   <?dbhtml filename="bash.html"?>
     7<c:package xmlns:c="http://schema.cross-lfs.org/book" id="ch-system-bash" c:multibuild="false">
    108
    11   <title>Bash-&bash-version;</title>
     9  <c:title>Bash</c:title>
     10  <c:version>&bash-version;</c:version>
     11  <c:description>The Bash package contains the Bourne-Again SHell.</c:description>
    1212
    13   <indexterm zone="ch-system-bash">
    14     <primary sortas="a-Bash">Bash</primary>
    15   </indexterm>
     13  <c:install>
    1614
    17   <sect2 role="package">
    18     <title/>
     15    <c:para>The following patch contains updates from the maintainer. The
     16    maintainer of Bash only releases these patches to fix serious issues:</c:para>
    1917
    20     <para>The Bash package contains the Bourne-Again SHell.</para>
     18<c:command>patch -Np1 -i ../&bash-branch_update-patch;</c:command>
    2119
    22   </sect2>
     20    <c:para c:multilib="true">The following sed points configure towards the
     21    correct library directory while searching for Readline:</c:para>
    2322
    24   <sect2 role="installation">
    25     <title>Installation of Bash</title>
     23<c:command c:multilib="true">sed -i "/ac_cv_rl_libdir/s@/lib@&amp;64@" configure</c:command>
    2624
    27     <para os="p1">The following patch contains updates from the maintainer. The
    28     maintainer of Bash only releases these patches to fix serious issues:</para>
     25    <c:para>Prepare Bash for compilation:</c:para>
    2926
    30 <screen os="p2"><userinput>patch -Np1 -i ../&bash-branch_update-patch;</userinput></screen>
     27<c:command c:multilib="false">./configure --prefix=/usr --bindir=/bin \
     28    --without-bash-malloc --with-installed-readline</c:command>
     29<c:command c:multilib="true">CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
     30    ./configure --prefix=/usr --bindir=/bin \
     31    --without-bash-malloc --with-installed-readline</c:command>
    3132
    32     <para os="a">Prepare Bash for compilation:</para>
    33 
    34 <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin \
    35     --without-bash-malloc --with-installed-readline</userinput></screen>
    36 
    37     <variablelist os="c">
     33<!--
     34    <variablelist>
    3835      <title>The meaning of the configure option:</title>
    3936
    4037      <varlistentry>
    41         <term><parameter>--with-installed-readline</parameter></term>
     38        <term><parameter>-with-installed-readline</parameter></term>
    4239        <listitem>
    43           <para>This option tells Bash to use the
     40          <c:para>This option tells Bash to use the
    4441          <filename class="libraryfile">readline</filename> library that is
    4542          already installed on the system rather than using its own readline
    46           version.</para>
     43          version.</c:para>
    4744        </listitem>
    4845      </varlistentry>
    4946    </variablelist>
     47-->
     48    <c:para>Compile the package:</c:para>
    5049
    51     <para os="d">Compile the package:</para>
     50<c:command>make</c:command>
    5251
    53 <screen os="e"><userinput>make</userinput></screen>
     52    <c:para>To test the results, issue:
     53    <c:command>make tests</c:command>.</c:para>
    5454
    55     <para os="f">To test the results, issue:
    56     <userinput>make tests</userinput>.</para>
     55    <c:para>Install the package:</c:para>
    5756
    58     <para os="g">Install the package:</para>
     57<c:command>make htmldir=/usr/share/doc/bash-&bash-version; install</c:command>
    5958
    60 <screen os="h"><userinput>make htmldir=/usr/share/doc/bash-&bash-version; install</userinput></screen>
     59    <c:para>Run the newly compiled <c:command>bash</c:command> program (replacing
     60    the one that is currently being executed):</c:para>
    6161
    62     <para os="i">Run the newly compiled <command>bash</command> program (replacing
    63     the one that is currently being executed):</para>
     62<c:command c:nodump="true">exec /bin/bash --login +h</c:command>
    6463
    65 <screen os="j" role="nodump"><userinput>exec /bin/bash --login +h</userinput></screen>
     64    <c:note>
     65      <c:para>The parameters used make the <c:command>bash</c:command>
     66      process an interactive login shell and continue to disable hashing so
     67      that new programs are found as they become available.</c:para>
     68    </c:note>
    6669
    67     <note os="k">
    68       <para>The parameters used make the <command>bash</command>
    69       process an interactive login shell and continue to disable hashing so
    70       that new programs are found as they become available.</para>
    71     </note>
     70  </c:install>
    7271
    73   </sect2>
     72  <c:contents>
    7473
    75   <sect2 id="contents-bash" role="content">
    76     <title>Contents of Bash</title>
     74    <c:program>
     75      <c:name>bash</c:name>
     76      <c:description>A widely-used command interpreter; it performs many types
     77      of expansions and substitutions on a given command line before executing
     78      it, thus making this interpreter a powerful tool</c:description>
     79    </c:program>
    7780
    78     <segmentedlist>
    79       <segtitle>Installed programs</segtitle>
    80       <segtitle>Installed directory</segtitle>
     81    <c:program>
     82      <c:name>bashbug</c:name>
     83      <c:description>A shell script to help the user compose and mail standard
     84      formatted bug reports concerning <c:command>bash</c:command>
     85      </c:description>
     86    </c:program>
    8187
    82       <seglistitem>
    83         <seg>bash, bashbug, and sh (link to bash)</seg>
    84         <seg>/usr/share/doc/bash-&bash-version;</seg>
    85       </seglistitem>
    86     </segmentedlist>
     88    <c:program>
     89      <c:name>sh</c:name>
     90      <c:description>A symlink to the <c:command>bash</c:command> program; when
     91      invoked as <c:command>sh</c:command>, <c:command>bash</c:command> tries
     92      to mimic the startup behavior of historical versions of
     93      <c:command>sh</c:command> as closely as possible, while conforming to the
     94      POSIX standard as well</c:description>
     95    </c:program>
    8796
    88     <variablelist>
    89       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    90       <?dbfo list-presentation="list"?>
    91       <?dbhtml list-presentation="table"?>
     97  </c:contents>
    9298
    93       <varlistentry id="bash">
    94         <term><command>bash</command></term>
    95         <listitem>
    96           <para>A widely-used command interpreter; it performs many types of
    97           expansions and substitutions on a given command line before executing
    98           it, thus making this interpreter a powerful tool</para>
    99           <indexterm zone="ch-system-bash bash">
    100             <primary sortas="b-bash">bash</primary>
    101           </indexterm>
    102         </listitem>
    103       </varlistentry>
     99</c:package>
    104100
    105       <varlistentry id="bashbug">
    106         <term><command>bashbug</command></term>
    107         <listitem>
    108           <para>A shell script to help the user compose and mail standard
    109           formatted bug reports concerning <command>bash</command></para>
    110           <indexterm zone="ch-system-bash bashbug">
    111             <primary sortas="b-bashbug">bashbug</primary>
    112           </indexterm>
    113         </listitem>
    114       </varlistentry>
    115 
    116       <varlistentry id="sh">
    117         <term><command>sh</command></term>
    118         <listitem>
    119           <para>A symlink to the <command>bash</command> program; when invoked
    120           as <command>sh</command>, <command>bash</command> tries to mimic the
    121           startup behavior of historical versions of <command>sh</command> as
    122           closely as possible, while conforming to the POSIX standard as
    123           well</para>
    124           <indexterm zone="ch-system-bash sh">
    125             <primary sortas="b-sh">sh</primary>
    126           </indexterm>
    127         </listitem>
    128       </varlistentry>
    129 
    130     </variablelist>
    131 
    132   </sect2>
    133 
    134 </sect1>
  • BOOK/final-system/mips64-chapter.xml

    rb0b1a3c1 r69fa5e6  
    7878  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/>
    7979  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/automake.xml"/>
    80   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
     80  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    8181  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    8282  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-n32.xml"/>
  • BOOK/final-system/ppc64-chapter.xml

    rb0b1a3c1 r69fa5e6  
    6262  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/>
    6363  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/automake.xml"/>
    64   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
     64  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    6565  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    6666  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
  • BOOK/final-system/sparc64-chapter.xml

    rb0b1a3c1 r69fa5e6  
    6262  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/>
    6363  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/automake.xml"/>
    64   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
     64  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    6565  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    6666  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
  • BOOK/final-system/x86_64-chapter.xml

    rb0b1a3c1 r69fa5e6  
    6262  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/>
    6363  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/automake.xml"/>
    64   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
     64  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    6565  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    6666  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/>
  • BOOK/schema/clfs/0.1/rng/clfs.rnc

    rb0b1a3c1 r69fa5e6  
    116116clfs.sect.package =
    117117  element c:package {
     118    attribute xml:base { text }?,
    118119    attribute id { text },
    119120    clfs.attrib.arch,
  • BOOK/schema/clfs/0.1/rng/clfs.rng

    rb0b1a3c1 r69fa5e6  
    192192  <define name="clfs.sect.package">
    193193    <element name="c:package">
     194      <optional>
     195        <attribute name="xml:base"/>
     196      </optional>
    194197      <attribute name="id"/>
    195198      <ref name="clfs.attrib.arch"/>
  • BOOK/temp-system/common/bash.xml

    rb0b1a3c1 r69fa5e6  
    1515    <secondary>temporary system</secondary>
    1616  </indexterm>
    17 
     17<!--
    1818  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    1919  href="../../final-system/common/bash.xml"
    2020  xpointer="xpointer(//*[@role='package'])"/>
    21 
     21-->
    2222  <sect2 role="installation">
    2323    <title>Installation of Bash</title>
    24 
     24<!--
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2626    href="../../final-system/common/bash.xml"
     
    3030    href="../../final-system/common/bash.xml"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
    32 
     32-->
    3333    <para os="t1">When Bash is cross-compiled, it cannot test for the presence
    3434    of named pipes, among other things. If you used <command>su</command> to
     
    5353gt_cv_int_divbyzero_sigfpe=yes
    5454EOF</userinput></screen>
    55 
     55<!--
    5656    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    5757    href="../../final-system/common/bash.xml"
    5858    xpointer="xpointer(//*[@os='a'])"/>
    59 
     59-->
    6060<screen os="b"><userinput>./configure --prefix=/tools \
    6161    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
     
    7676
    7777    </variablelist>
    78 
     78<!--
    7979    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    8080    href="../../final-system/common/bash.xml"
     
    8888    href="../../final-system/common/bash.xml"
    8989    xpointer="xpointer(//*[@os='g'])"/>
    90 
     90-->
    9191<screen os="h"><userinput>make install</userinput></screen>
    9292
     
    9797
    9898  </sect2>
    99 
     99<!--
    100100  <sect2 role="content">
    101101    <title/>
    102102
    103103    <para>Details on this package are located in <xref
    104     linkend="contents-bash" role="."/></para>
     104    linkend="ch-system-bash-contents" role="."/></para>
    105105
    106106  </sect2>
    107 
     107-->
    108108</sect1>
  • BOOK/temp-system/multilib/bash.xml

    rb0b1a3c1 r69fa5e6  
    1515    <secondary>temporary system</secondary>
    1616  </indexterm>
    17 
     17<!--
    1818  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    1919  href="../../final-system/common/bash.xml"
    2020  xpointer="xpointer(//*[@role='package'])"/>
    21 
     21-->
    2222  <sect2 role="installation">
    2323    <title>Installation of Bash</title>
    24 
     24<!--
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2626    href="../common/bash.xml"
     
    4242    href="../common/bash.xml"
    4343    xpointer="xpointer(//*[@os='a'])"/>
    44 
     44-->
    4545<screen os="b"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
    4646   ./configure --prefix=/tools \
    4747   --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    4848   --without-bash-malloc --cache-file=config.cache</userinput></screen>
    49 
     49<!--
    5050    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    5151    href="../common/bash.xml"
     
    7575    href="../common/bash.xml"
    7676    xpointer="xpointer(//*[@os='t4'])"/>
    77 
     77-->
    7878  </sect2>
    79 
     79<!--
    8080  <sect2 role="content">
    8181    <title/>
     
    8585
    8686  </sect2>
    87 
     87-->
    8888</sect1>
  • BOOK/x86-index.xml

    rb0b1a3c1 r69fa5e6  
    99
    1010  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="prologue/x86/bookinfo.xml"/>
    11   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="testpart.xml"/>
    1211  <!--
    1312  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="prologue/dedication.xml"/>
  • BOOK/x86_64-index.xml

    rb0b1a3c1 r69fa5e6  
    99
    1010  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="prologue/x86_64/bookinfo.xml"/>
    11   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="testpart.xml"/>
    1211  <!--
    1312  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="prologue/dedication.xml"/>
Note: See TracChangeset for help on using the changeset viewer.