./archivers/brotli, Generic-purpose lossless compression algorithm

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.0, Package name: brotli-1.2.0, Maintainer: pkgsrc-users

Brotli is a generic-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, with a compression ratio comparable to the best
currently available general-purpose compression methods. It is similar in speed
with deflate but offers more dense compression.


Required to build:
[pkgtools/cwrappers]

Master sites:


Version history: (Expand)


CVS history: (Expand)


   2025-10-29 19:10:15 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
brotli: updated to 1.2.0

1.2.0

SECURITY
 - python: added `Decompressor::can_accept_more_data` method and optional
           `output_buffer_limit` argument `Decompressor::process`;
           that allows mitigation of unexpectedly large output;
           reported by Charles Chan (https://github.com/charleswhchan)

Added
 - **decoder / encoder: added static initialization to reduce binary size**
 - python: allow limiting decoder output (see SECURITY section)
 - CLI: `brcat` alias; allow decoding concatenated brotli streams
 - kt: pure Kotlin decoder
 - cgo: support "raw" dictionaries
 - build: Bazel modules

Removed
 - java: dropped `finalize()` for native entities

Fixed
 - java: in `compress` pass correct length to native encoder

Improved
 - build: install man pages
 - build: updated / fixed / refined Bazel buildfiles
 - encoder: faster encoding
 - cgo: link via pkg-config
 - python: modernize extension / allow multi-phase module initialization

Changed
 - decoder / encoder: static tables use "small" model (allows 2GiB+ \ 
binaries)
   2023-11-22 19:32:47 by Amitai Schleier | Files touched by this commit (4)
Log message:
{py-,}brotli: set DIST_SUBDIR to distinguish distfiles on case-insensitive fs.
   2023-08-31 19:24:36 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
brotli: remove unused patch
   2023-08-31 19:23:32 by Adam Ciarcinski | Files touched by this commit (6) | Package updated
Log message:
brotli: updated to 1.1.0

v1.1.0

Added

decoder: BrotliDecoderAttachDictionary
decoder: BrotliDecoderOnFinish callback behind BROTLI_REPORTING
decoder: BrotliDecoderSetMetadataCallbacks
encoder: BrotliEncoderPrepareDictionary,
BrotliEncoderDestroyPreparedDictionary,
BrotliEncoderAttachPreparedDictionary
decoder: BrotliEncoderOnFinish callback behind BROTLI_REPORTING
common: BrotliSharedDictionaryCreateInstance,
BrotliSharedDictionaryDestroyInstance,
BrotliSharedDictionaryAttach
CLI: --dictionary option
java: encoder wrapper: Parameters.mode
java: Brotli{Input|Output}Stream.attachDictionary
java: wrapper: partial byte array input
typescript: decoder (transpiled from Java)

Removed

build: BROTLI_BUILD_PORTABLE option

Fixed

java: JNI decoder failed sometimes on power of 2 payloads

Improved

java / js: smaller decoder footprint
decoder: faster decoding
encoder: faster encoding
encoder: smaller stack frames
   2023-01-24 19:36:36 by Thomas Klausner | Files touched by this commit (103)
Log message:
*: convert to cmake/build.mk
   2021-10-26 11:57:20 by Nia Alarie | Files touched by this commit (140)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and SHA512
hashes.
   2021-10-07 15:06:15 by Nia Alarie | Files touched by this commit (140)
Log message:
archivers: Remove SHA1 distfiles hashes
   2021-03-21 20:24:24 by Niclas Rosenvik | Files touched by this commit (5)
Log message:
Fix rpath arguments in brotli pkgconfig files

The pkgconfig files for brotli had a direct -R missing -Wl, this breaks
the linking step when used. Remove them and use PKGCONFIG_OVERRIDE instead.