diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index e07c40645..1cf1930bb 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -2013,6 +2013,41 @@ + + Xz + + + &dependencies; + + + Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, and Make. + + + + + &testsuites; + + + None + + + + + &before; + + + None + + + + + &external; + + + None + + + Zlib diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index c8dc8fcf6..3aff6f1c7 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,18 @@ --> + + 2011-01-02 + + + [bdubbs] Added XZ-Utils as a new compression + utility package for independent use or with tar. Fixes + #2619. + + + + + 2010-12-29 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index ebc75f0c2..243a76445 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -255,6 +255,10 @@ procps-3.2.8-fix_HZ_errors-1.patch + + xz-&xz-version; + + diff --git a/chapter03/packages.xml b/chapter03/packages.xml index e4a752f04..6146424f4 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -592,6 +592,15 @@ + + Xz Utils (&xz-version;) - &xz-size;: + + Home page: + Download: + MD5 sum: &xz-md5; + + + Zlib (&zlib-version;) - &zlib-size;: diff --git a/chapter05/chapter05.xml b/chapter05/chapter05.xml index 7c9bf3744..0afdae8e0 100644 --- a/chapter05/chapter05.xml +++ b/chapter05/chapter05.xml @@ -42,6 +42,7 @@ + diff --git a/chapter05/xz-utils.xml b/chapter05/xz-utils.xml new file mode 100644 index 000000000..5b5a7b05f --- /dev/null +++ b/chapter05/xz-utils.xml @@ -0,0 +1,74 @@ + + + %general-entities; +]> + + + + + + xz-utils + &xz-version; +
&xz-url;
+
+ + Xz-&xz-version; + + + xz + tools + + + + + + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" + href="../chapter06/xz-utils.xml" + xpointer="xpointer(/sect1/sect2[1]/para[1])"/> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&xz-ch5-sbu;</seg> + <seg>&xz-ch5-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of Xz-Utils + + Prepare Xz for compilation: + +./configure --prefix=/tools + + Compile the package: + +make + + Compilation is now complete. As discussed earlier, running the test + suite is not mandatory for the temporary tools here in this chapter. To run + the Xz test suite anyway, issue the following command: + +make check + + Install the package: + +make PREFIX=/tools install + + + + + + + <para>Details on this package are located in + <xref linkend="contents-xz" role="."/></para> + + </sect2> + +</sect1> diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 9350e3feb..96eba60a9 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -71,6 +71,7 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texinfo.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="udev.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vim.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xz-utils.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="aboutdebug.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="strippingagain.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="revisedchroot.xml"/> diff --git a/chapter06/xz-utils.xml b/chapter06/xz-utils.xml new file mode 100644 index 000000000..6b354d345 --- /dev/null +++ b/chapter06/xz-utils.xml @@ -0,0 +1,335 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> + +<sect1 id="ch-system-xz" role="wrap"> + <?dbhtml filename="xz-utils.html"?> + + <sect1info condition="script"> + <productname>xz-utils</productname> + <productnumber>&xz-version;</productnumber> + <address>&xz-url;</address> + </sect1info> + + <title>Xz-&xz-version; + + + Xz + + + + + + <para>The Xz package contains programs for compressing and decompressing + files. It provides capabilities for the lzma and the newer xz compression + formats. Compressing text files with <command>xz</command> yields a better + compression percentage than with the traditional <command>gzip</command> or + <command>bzip2</command> commands.</para> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&xz-ch6-sbu;</seg> + <seg>&xz-ch6-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of Xz + + Prepare Xz for compilation with: + +./configure --prefix=/usr + + Compile the package: + +make + + To test the results, issue: + +make check + + Install the package: + +make install + + + + + Contents of Xz + + + Installed programs + Installed libraries + Installed directories + + + lzcat (link to xz), lzcmp (link to xzdiff), lzdiff (link to + xzdiff), bzdiff, lzegrep (link to xzgrep), lzfgrep (link to xzgrep), + lz (link to xz), lzmadec, lzmainfo, lzmore (link to xzmore), + unlzma (link to xz), xzcat (link to xz), xzcmp (link to xzdiff), + xzdec, xzdiff, xzegrep (link to xzgrep), xzfgrep (link to xzgrep), + xzgrep, xzless, xzmore + liblzma.{a,so} + /usr/include/lzma and /usr/share/doc/xz + + + + + Short Descriptions + + + + + lzcat + + Decompresses to standard output + + lzcat + + + + + + lzcmp + + Runs cmp on LZMA compressed files + + lzcmp + + + + + + lzdiff + + Runs diff on LZMA compressed files + + lzdiff + + + + + + lzegrep + + Runs egrep on LZMA compressed files files + + lzegrep + + + + + + lzfgrep + + Runs fgrep on LZMA compressed files + + lzfgrep + + + + + + lzgrep + + Runs grep on LZMA compressed files + + lzgrep + + + + + + lzless + + Runs less on LZMA compressed files + + lzless + + + + + + lzma + + Compresses or decompresses files using the LZMA format + + lzma + + + + + + lzmadec + + A small and fast decoder for LZMA compressed files + + lzmadec + + + + + + lzmainfo + + Shows information stored in the LZMA compressed file header + + lzmainfo + + + + + + lzmore + + Runs more on LZMA compressed files + + lzmore + + + + + + unlzma + + Decompresses files using the LZMA format + + unlzma + + + + + + unxz + + Decompresses files using the XZ format + + unxz + + + + + + xz + + Compresses or decompresses files using the XZ format + + xz + + + + + + xzcat + + Decompresses to standard output + + xzcat + + + + + + xzcmp + + Runs cmp on XZ compressed files + + xzcmp + + + + + + xzdec + + A small and fast decoder for XZ compressed files + + xzdec + + + + + + xzdiff + + Runs diff on XZ compressed files + + xzdiff + + + + + + xzegrep + + Runs egrep on XZ compressed files files + + xzegrep + + + + + + xzfgrep + + Runs fgrep on XZ compressed files + + xzfgrep + + + + + + xzgrep + + Runs grep on XZ compressed files + + xzgrep + + + + + + xzless + + Runs less on XZ compressed files + + xzless + + + + + + xzmore + + Runs more on XZ compressed files + + xzmore + + + + + + liblzma* + + The library implementing lossless, block-sorting data + compression, using the Lempel-Ziv-Markov chain algorithm + + liblzma* + + + + + + + + +
diff --git a/general.ent b/general.ent index fe72e55fe..e80f90464 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ - - + + diff --git a/packages.ent b/packages.ent index 294d571c1..144f6e848 100644 --- a/packages.ent +++ b/packages.ent @@ -552,6 +552,16 @@ + + + + + + + + + +