source: chapter08/zstd.xml@ 4827c0c

arm
Last change on this file since 4827c0c was 4827c0c, checked in by William Harrington <kb0iic@…>, 2 years ago

add zstd upstream fixes patch

  • Property mode set to 100644
File size: 4.1 KB
Line 
1<?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" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-zstd" role="wrap">
9 <?dbhtml filename="zstd.html"?>
10
11 <sect1info condition="script">
12 <productname>zstd</productname>
13 <productnumber>&zstd-version;</productnumber>
14 <address>&zstd-url;</address>
15 </sect1info>
16
17 <title>Zstd-&zstd-version;</title>
18
19 <indexterm zone="ch-system-zstd">
20 <primary sortas="a-zstd">zstd</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>Zstandard is a real-time compression algorithm, providing high
27 compression ratios. It offers a very wide range of compression / speed
28 trade-offs, while being backed by a very fast decoder.</para>
29
30 <segmentedlist>
31 <segtitle>&buildtime;</segtitle>
32 <segtitle>&diskspace;</segtitle>
33
34 <seglistitem>
35 <seg>&zstd-fin-sbu;</seg>
36 <seg>&zstd-fin-du;</seg>
37 </seglistitem>
38 </segmentedlist>
39
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of Zstd</title>
44
45 <para>Apply a patch to fix some issues identified by upstream:</para>
46
47<screen><userinput remap="pre">patch -Np1 -i ../&zstd-upstream-fixes-patch;</userinput></screen>
48
49 <para>Compile the package:</para>
50
51<screen><userinput remap="make">make</userinput></screen>
52
53 <note>
54 <para>In the test output there are several places that
55 indicate 'failed'. These are expected and only 'FAIL' is an actual
56 test failure. There should be no test failures.</para>
57 </note>
58
59 <para>To test the results, issue:</para>
60
61<screen><userinput remap="test">make check</userinput></screen>
62
63 <para>Install the package:</para>
64
65<screen><userinput remap="install">make prefix=/usr install</userinput></screen>
66
67 <para>Remove the static library:</para>
68<screen><userinput remap="install">rm -v /usr/lib/libzstd.a</userinput></screen>
69
70 </sect2>
71
72 <sect2 id="contents-zstd" role="content">
73 <title>Contents of Zstd</title>
74
75 <segmentedlist>
76 <segtitle>Installed programs</segtitle>
77 <segtitle>Installed library</segtitle>
78
79 <seglistitem>
80 <seg>zstd,
81 zstdcat (link to zstd),
82 zstdgrep,
83 zstdless,
84 zstdmt (link to zstd), and
85 unzstd (link to zstd)
86 </seg>
87
88 <seg>libzstd.so</seg>
89 </seglistitem>
90 </segmentedlist>
91
92 <variablelist>
93 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
94 <?dbfo list-presentation="list"?>
95 <?dbhtml list-presentation="table"?>
96
97 <varlistentry id="zstd">
98 <term><command>zstd</command></term>
99 <listitem>
100 <para>Compresses or decompresses files using the ZSTD format</para>
101 <indexterm zone="ch-system-zstd zstd">
102 <primary sortas="b-zstd">zstd</primary>
103 </indexterm>
104 </listitem>
105 </varlistentry>
106
107 <varlistentry id="zstdgrep">
108 <term><command>zstdgrep</command></term>
109 <listitem>
110 <para>Runs <command>grep</command> on ZSTD compressed files</para>
111 <indexterm zone="ch-system-zstd zstdgrep">
112 <primary sortas="b-zstdgrep">zstdgrep</primary>
113 </indexterm>
114 </listitem>
115 </varlistentry>
116
117 <varlistentry id="zstdless">
118 <term><command>zstdless</command></term>
119 <listitem>
120 <para>Runs <command>less</command> on ZSTD compressed files</para>
121 <indexterm zone="ch-system-zstd zstdless">
122 <primary sortas="b-zstdless">zstdless</primary>
123 </indexterm>
124 </listitem>
125 </varlistentry>
126
127 <varlistentry id="libzstd">
128 <term><filename class="libraryfile">libzstd</filename></term>
129 <listitem>
130 <para>The library implementing lossless data
131 compression, using the ZSTD algorithm</para>
132 <indexterm zone="ch-system-zstd libzstd">
133 <primary sortas="c-libzstd">libzstd</primary>
134 </indexterm>
135 </listitem>
136 </varlistentry>
137
138 </variablelist>
139
140 </sect2>
141
142</sect1>
Note: See TracBrowser for help on using the repository browser.