cvs commit: LFS/BOOK/entities bzip2.ent

gerard at linuxfromscratch.org gerard at linuxfromscratch.org
Sat Jan 11 08:43:41 PST 2003


gerard      03/01/11 11:43:41

  Modified:    BOOK/appendixa bzip2-dep.xml bzip2-desc.xml bzip2.xml
               BOOK/chapter05 bzip2-inst.xml bzip2.xml
               BOOK/entities bzip2.ent
  Removed:     BOOK/chapter05 bzip2-exp.xml
  Log:
  rewrote bzip2 installation page
  
  Revision  Changes    Path
  1.7       +2 -0      LFS/BOOK/appendixa/bzip2-dep.xml
  
  Index: bzip2-dep.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/bzip2-dep.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- bzip2-dep.xml	12 Sep 2002 16:44:20 -0000	1.6
  +++ bzip2-dep.xml	11 Jan 2003 16:43:41 -0000	1.7
  @@ -1,3 +1,5 @@
  +<sect2><title> </title><para> </para></sect2>
  +
   <sect2>
   <title>Bzip2 Installation Dependencies</title>
   
  
  
  
  1.12      +7 -10     LFS/BOOK/appendixa/bzip2-desc.xml
  
  Index: bzip2-desc.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/bzip2-desc.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- bzip2-desc.xml	28 Sep 2002 21:08:27 -0000	1.11
  +++ bzip2-desc.xml	11 Jan 2003 16:43:41 -0000	1.12
  @@ -1,12 +1,10 @@
  -<sect2><title>Contents of Bzip2</title>
  +<sect2><title> </title><para> </para></sect2>
   
  -<para>Last checked against version &bzip2-contversion;</para>
  +<sect2><title>Descriptions</title>
   
  -<sect3><title>Program Files</title>
  -<para>bunzip2 (link to bzip2), bzcat (link to bzip2), bzcmp, bzdiff, bzegrep,
  -bzfgrep, bzgrep, bzip2, bzip2recover, bzless and bzmore</para></sect3>
  +<para>Last checked against version &bzip2-contversion;</para>
   
  -<sect3><title>Descriptions</title>
  +<sect3><title>Program files descriptions</title>
   
   <sect4><title>bunzip2</title>
   <para>bunzip2 decompresses files that are compressed with
  @@ -28,7 +26,8 @@
   <para>bzip2 compresses files using the Burrows-Wheeler block sorting text 
   compression algorithm and Huffman coding. Compression is generally 
   considerably better than that achieved by more conventional LZ77/LZ78-based 
  -compressors and approaches the performance of the PPM family of statistical 
  +compressors (such as the traditional <userinput>gzip</userinput> utility)
  +and approaches the performance of the PPM family of statistical
   compressors.</para></sect4>
   
   <sect4><title>bzip2recover</title>
  @@ -46,9 +45,7 @@
   
   </sect3>
   
  -<sect3><title>Library Files</title>
  -<para>libbz2.a, libbz2.so (link to libbz2.so.1.0), libbz2.so.1.0 (link to
  -libbz2.so.1.0.2) and libbz2.so.1.0.2</para>
  +<sect3><title>Library files descriptions</title>
   
   <sect4><title>libbz2</title>
   <para>libbz2 is the library for implementing lossless, block-sorting data
  
  
  
  1.5       +1 -0      LFS/BOOK/appendixa/bzip2.xml
  
  Index: bzip2.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/bzip2.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- bzip2.xml	15 Dec 2001 14:28:34 -0000	1.4
  +++ bzip2.xml	11 Jan 2003 16:43:41 -0000	1.5
  @@ -3,6 +3,7 @@
   <?dbhtml filename="bzip2.html" dir="appendixa"?>
   
   &aa-bzip2-down;
  +&aa-bzip2-shortdesc;
   &aa-bzip2-desc;
   &aa-bzip2-dep;
   
  
  
  
  1.23      +23 -2     LFS/BOOK/chapter05/bzip2-inst.xml
  
  Index: bzip2-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter05/bzip2-inst.xml,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- bzip2-inst.xml	3 Dec 2002 20:41:34 -0000	1.22
  +++ bzip2-inst.xml	11 Jan 2003 16:43:41 -0000	1.23
  @@ -1,10 +1,31 @@
  +<sect2><title> </title><para> </para></sect2>
  +
   <sect2>
   <title>Installation of Bzip2</title>
   
  -<para>Install Bzip2 by running the following commands:</para>
  +<para>Since the Bzip2 package has no configure script we can't prepare it
  +for compilation. Instead we just run the <userinput>make</userinput>
  +program and start compiling, with a few variables changed to suit our
  +environment:</para>
   
  -<para><screen><userinput>make CC="gcc -static -s" &&
  +<para><screen><userinput>make CC="gcc -static -s"
   make PREFIX=$LFS/static install</userinput></screen></para>
  +
  +<para>The meaning of the make options are:</para>
  +
  +<itemizedlist>
  +
  +<listitem><para><userinput>CC="gcc -static -s":</userinput> The Bzip2 package
  +does not honour the <emphasis>LDFLAGS</emphasis> variable, so instead we set
  +the <emphasis>CC</emphasis> variable which defines which compiler to use.
  +The <emphasis>-static</emphasis> option tells the compiler to link all
  +programs statically.</para></listitem>
  +
  +<listitem><para><userinput>PREFIX=$LFS/static:</userinput> Instead of
  +passing a <emphasis>--prefix=$LFS/static</emphasis> to a configure script,
  +we set the <emphasis>PREFIX</emphasis> variable to accomplish the same goal
  +(since there is no configure script present).</para></listitem>
  +</itemizedlist>
   
   </sect2>
   
  
  
  
  1.9       +2 -3      LFS/BOOK/chapter05/bzip2.xml
  
  Index: bzip2.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter05/bzip2.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- bzip2.xml	14 Dec 2001 23:04:46 -0000	1.8
  +++ bzip2.xml	11 Jan 2003 16:43:41 -0000	1.9
  @@ -5,10 +5,9 @@
   <screen>Estimated build time:           &bzip2-time-static;
   Estimated required disk space:  &bzip2-compsize-static;</screen>
   
  -&c5-bzip2-inst;
  -&c5-bzip2-exp;
  -&aa-bzip2-desc;
  +&aa-bzip2-shortdesc;
   &aa-bzip2-dep;
  +&c5-bzip2-inst;
   
   </sect1>
   
  
  
  
  1.8       +1 -0      LFS/BOOK/entities/bzip2.ent
  
  Index: bzip2.ent
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/entities/bzip2.ent,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- bzip2.ent	30 Dec 2002 04:32:04 -0000	1.7
  +++ bzip2.ent	11 Jan 2003 16:43:41 -0000	1.8
  @@ -9,6 +9,7 @@
   <!ENTITY c6-bzip2-exp SYSTEM "../chapter06/bzip2-exp.xml">
   
   <!ENTITY aa-bzip2 SYSTEM "../appendixa/bzip2.xml">
  +<!ENTITY aa-bzip2-shortdesc SYSTEM "../appendixa/bzip2-shortdesc.xml">
   <!ENTITY aa-bzip2-desc SYSTEM "../appendixa/bzip2-desc.xml">
   <!ENTITY aa-bzip2-dep SYSTEM "../appendixa/bzip2-dep.xml">
   <!ENTITY aa-bzip2-down SYSTEM "../appendixa/bzip2-down.xml">
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list