source: general/genlib/brotli.xml@ 2e18e741

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2e18e741 was 2e18e741, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Update to libreoffice-7.0.1.2.
Update to cryptsetup-2.3.4.
Update to postfix-3.5.7.
Update to brotli-1.0.9.
Fix scour URL.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23689 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.0 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 <!ENTITY brotli-download-http "https://github.com/google/brotli/archive/v&brotli-version;/brotli-&brotli-version;.tar.gz">
8 <!ENTITY brotli-download-ftp " ">
9 <!ENTITY brotli-md5sum "c2274f0c7af8470ad514637c35bcee7d">
10 <!ENTITY brotli-size "476 KB">
11 <!ENTITY brotli-buildsize "24 MB (with python3 bindings)">
12 <!-- The tests for this package are broken. The tarball is missing a lot of test files -->
13 <!ENTITY brotli-time "0.4 SBU (with python3 bindings)">
14]>
15
16<sect1 id="brotli" xreflabel="Brotli-&brotli-version;">
17 <?dbhtml filename="brotli.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>brotli-&brotli-version;</title>
25
26 <indexterm zone="brotli">
27 <primary sortas="a-brotli">Brotli</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Brotli</title>
32
33 <para>
34 <application>Brotli</application> provides a general-purpose lossless
35 compression algorithm that compresses data using a combination of a
36 modern variant of the LZ77 algorithm, Huffman coding and 2nd order
37 context modeling. Its libraries are particularly used for WOFF2 fonts
38 on webpages.
39 </para>
40
41 &lfs10_checked;
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>
47 Download (HTTP): <ulink url="&brotli-download-http;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download (FTP): <ulink url="&brotli-download-ftp;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download MD5 sum: &brotli-md5sum;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download size: &brotli-size;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated disk space required: &brotli-buildsize;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated build time: &brotli-time;
73 </para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">Brotli Dependencies</bridgehead>
78
79 <bridgehead renderas="sect4">Required</bridgehead>
80 <para role="required">
81 <xref linkend="cmake"/>
82 </para>
83
84 <!-- Brotli doesn't have any lua bindings, at least not with 1.0.7. -->
85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional">
87 <!--<xref linkend="lua"/> (to create Lua bindings) and -->
88 <xref linkend="python2"/> (to create python2 bindings)
89 </para>
90
91 <para condition="html" role="usernotes">
92 User Notes: <ulink url="&blfs-wiki;/brotli"/>
93 </para>
94 </sect2>
95
96
97 <sect2 role="installation">
98 <title>Installation of Brotli</title>
99
100 <para>
101 Install <application>brotli</application> by running the following
102 commands:
103 </para>
104
105<screen><userinput>mkdir out &amp;&amp;
106cd out &amp;&amp;
107
108cmake -DCMAKE_INSTALL_PREFIX=/usr \
109 -DCMAKE_BUILD_TYPE=Release \
110 .. &amp;&amp;
111make</userinput></screen>
112
113
114 <para>
115 <!-- To test the results, issue: <command>make test</command>.-->
116 The tests for this package are currently broken.
117 </para>
118
119 <para>
120 If desired, either or both sets of python bindings can be built and
121 installed without any conflicts. If you need the
122 <application>Python2</application> bindings, add or substitute
123 <command>python2</command> for <command>python3</command> in the
124 following instructions:
125 </para>
126
127<screen><userinput>pushd .. &amp;&amp;
128python3 setup.py build &amp;&amp;
129popd</userinput></screen>
130<!-- These are broken also
131 <para>
132 If you wish to test the bindings, go back to the top-level directory and
133 issue: <command>python3 setup.py test</command>.
134 </para>
135-->
136 <para>
137 Now, as the <systemitem class="username">root</systemitem> user:
138 </para>
139
140<screen role="root"><userinput>make install &amp;&amp;
141cd ..</userinput></screen>
142
143 <para>
144 If you have built either or both sets of <application>python</application>
145 bindings, install them as the <systemitem class="username">root</systemitem>
146 user (as before, use the appropriate version(s) of
147 <application>python</application>:
148 </para>
149
150<!-- EDITORS: for DESTDIR style installs use
151python3 setup.py install \-\-root /some/where -->
152<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
153
154 </sect2>
155
156 <sect2 role="content">
157 <title>Contents</title>
158
159 <segmentedlist>
160 <segtitle>Installed Programs</segtitle>
161 <segtitle>Installed Libraries</segtitle>
162 <segtitle>Installed Directory</segtitle>
163
164 <seglistitem>
165 <seg>
166 brotli
167 </seg>
168 <seg>
169 libbrotlicommon{-static.a,.so}, libbrotlidec{,-static,.so} and libbrotlienc{,-static,.so}
170 </seg>
171 <seg>
172 /usr/include/brotli
173 </seg>
174 </seglistitem>
175 </segmentedlist>
176
177 <variablelist>
178 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
179 <?dbfo list-presentation="list"?>
180 <?dbhtml list-presentation="table"?>
181
182 <varlistentry id="brotli-prog">
183 <term><command>brotli</command></term>
184 <listitem>
185 <para>
186 can compress or decompress files, or test the integrity of
187 compressed files.
188 </para>
189 <indexterm zone="brotli brotli-prog">
190 <primary sortas="b-brotli">brotli</primary>
191 </indexterm>
192 </listitem>
193 </varlistentry>
194
195 <varlistentry id="libbrotlicommon">
196 <term><filename class="libraryfile">libbrotlicommon{-static.a,.so}</filename></term>
197 <listitem>
198 <para>
199 is the Brotli common dictionary library.
200 </para>
201 <indexterm zone="brotli libbrotlicommon">
202 <primary sortas="c-libbrotlicommon">libbrotlicommon{,-static.a,.so}</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
206
207 <varlistentry id="libbrotlidec">
208 <term><filename class="libraryfile">libbrotlidec{-static.a,.so}</filename></term>
209 <listitem>
210 <para>
211 is the Brotli decoder library.
212 </para>
213 <indexterm zone="brotli libbrotlidec">
214 <primary sortas="c-libbrotlidec">libbrotlidec{,-static.a,.so}</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 <varlistentry id="libbrotlienc">
220 <term><filename class="libraryfile">libbrotlienc{-static.a,.so}</filename></term>
221 <listitem>
222 <para>
223 is the Brotli common encoder library.
224 </para>
225 <indexterm zone="brotli libbrotlienc">
226 <primary sortas="c-libbrotlienc">libbrotlienc{,-static.a,.so}</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230 </variablelist>
231
232 </sect2>
233</sect1>
Note: See TracBrowser for help on using the repository browser.