aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bzip2.xml
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2006-02-02 21:03:09 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2006-02-02 21:03:09 +0000
commit8ef83047f979cb4addce1547008b3981359e3304 (patch)
treea011b339121f99a27adba838870c4846de0bd90b /chapter06/bzip2.xml
parent92474b451445f3a1822c5ce6353ff91ff9d65e2d (diff)
Indenting chapter 6, part 3
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7325 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/bzip2.xml')
-rw-r--r--chapter06/bzip2.xml373
1 files changed, 213 insertions, 160 deletions
diff --git a/chapter06/bzip2.xml b/chapter06/bzip2.xml
index 44ccc6966..8aee97703 100644
--- a/chapter06/bzip2.xml
+++ b/chapter06/bzip2.xml
@@ -1,72 +1,97 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+ "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities;
]>
+
<sect1 id="ch-system-bzip2" role="wrap">
-<title>Bzip2-&bzip2-version;</title>
-<?dbhtml filename="bzip2.html"?>
+ <?dbhtml filename="bzip2.html"?>
+
+ <title>Bzip2-&bzip2-version;</title>
+
+ <indexterm zone="ch-system-bzip2">
+ <primary sortas="a-Bzip2">Bzip2</primary>
+ </indexterm>
+
+ <sect2 role="package">
+ <title/>
+
+ <para>The Bzip2 package contains programs for compressing and decompressing
+ files. Compressing text files with <command>bzip2</command> yields a much
+ better compression percentage than with the traditional
+ <command>gzip</command>.</para>
-<indexterm zone="ch-system-bzip2"><primary sortas="a-Bzip2">Bzip2</primary></indexterm>
+ <segmentedlist>
+ <segtitle>&buildtime;</segtitle>
+ <segtitle>&diskspace;</segtitle>
-<sect2 role="package"><title/>
-<para>The Bzip2 package contains programs for compressing and decompressing
-files. Compressing text files with <command>bzip2</command> yields a much better
-compression percentage than with the traditional <command>gzip</command>.</para>
+ <seglistitem>
+ <seg>0.1 SBU</seg>
+ <seg>3.9 MB</seg>
+ </seglistitem>
+ </segmentedlist>
-<segmentedlist>
-<segtitle>&buildtime;</segtitle>
-<segtitle>&diskspace;</segtitle>
-<seglistitem><seg>0.1 SBU</seg><seg>3.9 MB</seg></seglistitem>
-</segmentedlist>
+ <segmentedlist>
+ <segtitle>&dependencies;</segtitle>
-<segmentedlist>
-<segtitle>&dependencies;</segtitle>
-<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
-GCC, Glibc, and Make</seg></seglistitem>
-</segmentedlist>
-</sect2>
+ <seglistitem>
+ <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, and Make</seg>
+ </seglistitem>
+ </segmentedlist>
-<sect2 role="installation">
-<title>Installation of Bzip2</title>
+ </sect2>
-<para>Apply a patch to install the documentation for this package:</para>
+ <sect2 role="installation">
+ <title>Installation of Bzip2</title>
+
+ <para>Apply a patch to install the documentation for this package:</para>
<screen><userinput>patch -Np1 -i ../&bzip2-docs-patch;</userinput></screen>
-<para>The <command>bzgrep</command> command does not escape '|' and '&amp;' in
-filenames passed to it. This allows arbitrary commands to be executed with the
-privileges of the user running <command>bzgrep</command>. Apply the following to
-address this:</para>
+ <para>The <command>bzgrep</command> command does not escape '|' and '&amp;'
+ in filenames passed to it. This allows arbitrary commands to be executed
+ with the privileges of the user running <command>bzgrep</command>. Apply
+ the following to address this:</para>
<screen><userinput>patch -Np1 -i ../&bzip2-bzgrep-patch;</userinput></screen>
-<para>Prepare Bzip2 for compilation with:</para>
+ <para>Prepare Bzip2 for compilation with:</para>
<screen><userinput>make -f Makefile-libbz2_so
make clean</userinput></screen>
-<para>The <parameter>-f</parameter> flag will cause Bzip2 to be built
-using a different <filename>Makefile</filename> file, in this case the
-<filename>Makefile-libbz2_so</filename> file, which creates a dynamic
-<filename class="libraryfile">libbz2.so</filename> library and links the Bzip2
-utilities against it.</para>
+ <variablelist>
+ <title>The meaning of the make parameter:</title>
+
+ <varlistentry>
+ <term><parameter>-f Makefile-libbz2_so</parameter></term>
+ <listitem>
+ <para>This will cause Bzip2 to be built using a different
+ <filename>Makefile</filename> file, in this case the
+ <filename>Makefile-libbz2_so</filename> file, which creates a dynamic
+ <filename class="libraryfile">libbz2.so</filename> library and links
+ the Bzip2 utilities against it.</para>
+ </listitem>
+ </varlistentry>
-<para>Compile and test the package:</para>
+ </variablelist>
+
+ <para>Compile and test the package:</para>
<screen><userinput>make</userinput></screen>
-<para>If reinstalling Bzip2, perform
-<userinput>rm -vf /usr/bin/bz*</userinput> first, otherwise the following
-<command>make install</command> will fail.</para>
+ <para>If reinstalling Bzip2, perform
+ <userinput>rm -vf /usr/bin/bz*</userinput> first, otherwise the following
+ <command>make install</command> will fail.</para>
-<para>Install the programs:</para>
+ <para>Install the programs:</para>
<screen><userinput>make install</userinput></screen>
-<para>Install the shared <command>bzip2</command> binary into the
-<filename class="directory">/bin</filename> directory, make
-some necessary symbolic links, and clean up:</para>
+ <para>Install the shared <command>bzip2</command> binary into the
+ <filename class="directory">/bin</filename> directory, make
+ some necessary symbolic links, and clean up:</para>
<screen><userinput>cp -v bzip2-shared /bin/bzip2
cp -av libbz2.so* /lib
@@ -75,125 +100,153 @@ rm -v /usr/bin/{bunzip2,bzcat,bzip2}
ln -sv bzip2 /bin/bunzip2
ln -sv bzip2 /bin/bzcat</userinput></screen>
-</sect2>
-
-
-<sect2 id="contents-bzip2" role="content"><title>Contents of Bzip2</title>
-
-<segmentedlist>
-<segtitle>Installed programs</segtitle>
-<segtitle>Installed libraries</segtitle>
-<seglistitem><seg>bunzip2 (link to bzip2), bzcat (link to bzip2), bzcmp, bzdiff,
-bzegrep, bzfgrep, bzgrep, bzip2, bzip2recover, bzless, and bzmore</seg>
-<seg>libbz2.[a,so]</seg></seglistitem>
-</segmentedlist>
-
-<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
-<?dbfo list-presentation="list"?>
-<?dbhtml list-presentation="table"?>
-
-<varlistentry id="bunzip2">
-<term><command>bunzip2</command></term>
-<listitem>
-<para>Decompresses bzipped files</para>
-<indexterm zone="ch-system-bzip2 bunzip2"><primary sortas="b-bunzip2">bunzip2</primary></indexterm>
-</listitem>
-</varlistentry>
-
-<varlistentry id="bzcat">
-<term><command>bzcat</command></term>
-<listitem>
-<para>Decompresses to standard output</para>
-<indexterm zone="ch-system-bzip2 bzcat"><primary sortas="b-bzcat">bzcat</primary></indexterm>
-</listitem>
-</varlistentry>
-
-<varlistentry id="bzcmp">
-<term><command>bzcmp</command></term>
-<listitem>
-<para>Runs <command>cmp</command> on bzipped files</para>
-<indexterm zone="ch-system-bzip2 bzcmp"><primary sortas="b-bzcmp">bzcmp</primary></indexterm>
-</listitem>
-</varlistentry>
-
-<varlistentry id="bzdiff">
-<term><command>bzdiff</command></term>
-<listitem>
-<para>Runs <command>diff</command> on bzipped files</para>
-<indexterm zone="ch-system-bzip2 bzdiff"><primary sortas="b-bzdiff">bzdiff</primary></indexterm>
-</listitem>
-</varlistentry>
-
-<varlistentry id="bzgrep">
-<term><command>bzgrep</command></term>
-<listitem>
-<para>Runs <command>grep</command> on bzipped files</para>
-<indexterm zone="ch-system-bzip2 bzgrep"><primary sortas="b-bzgrep">bzgrep</primary></indexterm>
-</listitem>
-</varlistentry>
-
-<varlistentry id="bzegrep">
-<term><command>bzegrep</command></term>
-<listitem>
-<para>Runs <command>egrep</command> on bzipped files</para>
-<indexterm zone="ch-system-bzip2 bzegrep"><primary sortas="b-bzegrep">bzegrep</primary></indexterm>
-</listitem>
-</varlistentry>
-
-<varlistentry id="bzfgrep">
-<term><command>bzfgrep</command></term>
-<listitem>
-<para>Runs <command>fgrep</command> on bzipped files</para>
-<indexterm zone="ch-system-bzip2 bzfgrep"><primary sortas="b-bzfgrep">bzfgrep</primary></indexterm>
-</listitem>
-</varlistentry>
-
-<varlistentry id="bzip2">
-<term><command>bzip2</command></term>
-<listitem>
-<para>Compresses files using the Burrows-Wheeler block sorting text
-compression algorithm with Huffman coding; the compression rate is
-better than that achieved by more conventional compressors using
-<quote>Lempel-Ziv</quote> algorithms, like <command>gzip</command></para>
-<indexterm zone="ch-system-bzip2 bzip2"><primary sortas="b-bzip2">bzip2</primary></indexterm>
-</listitem>
-</varlistentry>
-
-<varlistentry id="bzip2recover">
-<term><command>bzip2recover</command></term>
-<listitem>
-<para>Tries to recover data from damaged bzipped files</para>
-<indexterm zone="ch-system-bzip2 bzip2recover"><primary sortas="b-bzip2recover">bzip2recover</primary></indexterm>
-</listitem>
-</varlistentry>
-
-<varlistentry id="bzless">
-<term><command>bzless</command></term>
-<listitem>
-<para>Runs <command>less</command> on bzipped files</para>
-<indexterm zone="ch-system-bzip2 bzless"><primary sortas="b-bzless">bzless</primary></indexterm>
-</listitem>
-</varlistentry>
-
-<varlistentry id="bzmore">
-<term><command>bzmore</command></term>
-<listitem>
-<para>Runs <command>more</command> on bzipped files</para>
-<indexterm zone="ch-system-bzip2 bzmore"><primary sortas="b-bzmore">bzmore</primary></indexterm>
-</listitem>
-</varlistentry>
-
-<varlistentry id="libbz2">
-<term><filename class="libraryfile">libbz2*</filename></term>
-<listitem>
-<para>The library implementing lossless, block-sorting data
-compression, using the Burrows-Wheeler algorithm</para>
-<indexterm zone="ch-system-bzip2 libbz2"><primary sortas="c-libbz2*">libbz2*</primary></indexterm>
-</listitem>
-</varlistentry>
-</variablelist>
-
-</sect2>
+ </sect2>
+
+ <sect2 id="contents-bzip2" role="content">
+ <title>Contents of Bzip2</title>
+
+ <segmentedlist>
+ <segtitle>Installed programs</segtitle>
+ <segtitle>Installed libraries</segtitle>
+
+ <seglistitem>
+ <seg>bunzip2 (link to bzip2), bzcat (link to bzip2), bzcmp, bzdiff,
+ bzegrep, bzfgrep, bzgrep, bzip2, bzip2recover, bzless, and bzmore</seg>
+ <seg>libbz2.[a,so]</seg>
+ </seglistitem>
+ </segmentedlist>
+
+ <variablelist>
+ <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+ <?dbfo list-presentation="list"?>
+ <?dbhtml list-presentation="table"?>
+
+ <varlistentry id="bunzip2">
+ <term><command>bunzip2</command></term>
+ <listitem>
+ <para>Decompresses bzipped files</para>
+ <indexterm zone="ch-system-bzip2 bunzip2">
+ <primary sortas="b-bunzip2">bunzip2</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="bzcat">
+ <term><command>bzcat</command></term>
+ <listitem>
+ <para>Decompresses to standard output</para>
+ <indexterm zone="ch-system-bzip2 bzcat">
+ <primary sortas="b-bzcat">bzcat</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="bzcmp">
+ <term><command>bzcmp</command></term>
+ <listitem>
+ <para>Runs <command>cmp</command> on bzipped files</para>
+ <indexterm zone="ch-system-bzip2 bzcmp">
+ <primary sortas="b-bzcmp">bzcmp</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="bzdiff">
+ <term><command>bzdiff</command></term>
+ <listitem>
+ <para>Runs <command>diff</command> on bzipped files</para>
+ <indexterm zone="ch-system-bzip2 bzdiff">
+ <primary sortas="b-bzdiff">bzdiff</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="bzgrep">
+ <term><command>bzgrep</command></term>
+ <listitem>
+ <para>Runs <command>grep</command> on bzipped files</para>
+ <indexterm zone="ch-system-bzip2 bzgrep">
+ <primary sortas="b-bzgrep">bzgrep</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="bzegrep">
+ <term><command>bzegrep</command></term>
+ <listitem>
+ <para>Runs <command>egrep</command> on bzipped files</para>
+ <indexterm zone="ch-system-bzip2 bzegrep">
+ <primary sortas="b-bzegrep">bzegrep</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="bzfgrep">
+ <term><command>bzfgrep</command></term>
+ <listitem>
+ <para>Runs <command>fgrep</command> on bzipped files</para>
+ <indexterm zone="ch-system-bzip2 bzfgrep">
+ <primary sortas="b-bzfgrep">bzfgrep</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="bzip2">
+ <term><command>bzip2</command></term>
+ <listitem>
+ <para>Compresses files using the Burrows-Wheeler block sorting text
+ compression algorithm with Huffman coding; the compression rate is
+ better than that achieved by more conventional compressors using
+ <quote>Lempel-Ziv</quote> algorithms, like <command>gzip</command></para>
+ <indexterm zone="ch-system-bzip2 bzip2">
+ <primary sortas="b-bzip2">bzip2</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="bzip2recover">
+ <term><command>bzip2recover</command></term>
+ <listitem>
+ <para>Tries to recover data from damaged bzipped files</para>
+ <indexterm zone="ch-system-bzip2 bzip2recover">
+ <primary sortas="b-bzip2recover">bzip2recover</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="bzless">
+ <term><command>bzless</command></term>
+ <listitem>
+ <para>Runs <command>less</command> on bzipped files</para>
+ <indexterm zone="ch-system-bzip2 bzless">
+ <primary sortas="b-bzless">bzless</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="bzmore">
+ <term><command>bzmore</command></term>
+ <listitem>
+ <para>Runs <command>more</command> on bzipped files</para>
+ <indexterm zone="ch-system-bzip2 bzmore">
+ <primary sortas="b-bzmore">bzmore</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="libbz2">
+ <term><filename class="libraryfile">libbz2*</filename></term>
+ <listitem>
+ <para>The library implementing lossless, block-sorting data
+ compression, using the Burrows-Wheeler algorithm</para>
+ <indexterm zone="ch-system-bzip2 libbz2">
+ <primary sortas="c-libbz2*">libbz2*</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+
+ </sect2>
</sect1>
-