Skip to contentSkip to conversation

libdeflate: upgrade 1.18 -> 1.19

PATCH New [email protected] 1 participant 1 message Sep 19, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libdeflate: upgrade 1.18 -> 1.19

From: Wang Mingyu <[email protected]>

* Added new functions 'libdeflate_alloc_compressor_ex()' and 'libdeflate_alloc_decompressor_ex()'. These functions allow specifying a custom memory allocator on a per-compressor basis.
* libdeflate now always generates Huffman codes with at least 2 codewords. This fixes a compatibility issue where Windows Explorer's ZIP unpacker could not decompress DEFLATE streams created by libdeflate. libdeflate's behavior was allowed by the DEFLATE RFC, but not all software was okay with it. In rare cases, compression ratios can be slightly reduced by this change.
* Disabled the use of some compiler intrinsics on MSVC versions where they don't work correctly.
* libdeflate can now compress up to the exact size of the output buffer.
* Slightly improved compression performance at levels 1-9.
* Improved the compression ratio of very short inputs.

---
 .../libdeflate/{libdeflate_1.18.bb => libdeflate_1.19.bb}       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-extended/libdeflate/{libdeflate_1.18.bb => libdeflate_1.19.bb} (88%)
meta-oe/recipes-extended/libdeflate/libdeflate_1.19.bb renamed from meta-oe/recipes-extended/libdeflate/libdeflate_1.18.bb +1 -1
similarity index 88%
rename from meta-oe/recipes-extended/libdeflate/libdeflate_1.18.bb
rename to meta-oe/recipes-extended/libdeflate/libdeflate_1.19.bb
index b1c3371159..11cdb82905 100644
@@ -9,7 +9,7 @@ DEPENDS += "gzip zlib"
 SRC_URI = "git://github.com/ebiggers/libdeflate.git;protocol=https;branch=master"
 
 S = "${WORKDIR}/git"
-SRCREV = "495fee110ebb48a5eb63b75fd67e42b2955871e2"
+SRCREV = "dd12ff2b36d603dbb7fa8838fe7e7176fcbd4f6f"
 
 inherit cmake pkgconfig
 
Signature · 1 line
2.34.1