%general-entities; ]> $Date$ brotli-&brotli-version; Brotli Introduction to Brotli Brotli provides a general-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling. Its libraries are particularly used for WOFF2 fonts on webpages. &lfs112_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &brotli-md5sum; Download size: &brotli-size; Estimated disk space required: &brotli-buildsize; Estimated build time: &brotli-time; Brotli Dependencies Required User Notes: Installation of Brotli At first, fix an issue in pkg-config files: sed -i 's@-R..libdir.@@' scripts/*.pc.in Install brotli by running the following commands: mkdir out && cd out && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ .. && make To test the results, issue: make test. Now, as the root user: make install && cd .. If desired, build and install the Python3 bindings as the &root; user: pip3 wheel -w dist --no-build-isolation --no-deps $PWD && pip3 install --no-index --find-links dist --no-cache-dir --no-user Brotli Contents Installed Programs Installed Libraries Installed Directory brotli libbrotlicommon{-static.a,.so}, libbrotlidec{,-static.a,.so}, and libbrotlienc{,-static.a,.so} /usr/include/brotli /usr/lib/python3.10/site-packages/Brotli-&brotli-version;.dist-info Short Descriptions brotli can compress or decompress files, or test the integrity of compressed files brotli libbrotlicommon{-static.a,.so} is the Brotli common dictionary library libbrotlicommon{,-static.a,.so} libbrotlidec{-static.a,.so} is the Brotli decoder library libbrotlidec{,-static.a,.so} libbrotlienc{-static.a,.so} is the Brotli common encoder library libbrotlienc{,-static.a,.so}