packages icon indicating copy to clipboard operation
packages copied to clipboard

zlib-ng: Initial inclusion at v2.1.6 replacing zlib

Open joebonrichie opened this issue 1 year ago • 2 comments

Summary

  • Build zlib-ng in compatibility mode, this is ABI/API compatible with zlib

Test Plan

  • Install, test a few applications as normal.

Benchmarks

  • pngbench Before: 176.908669ms | After: 136.276966ms testfile
  • zlib_test Before: 730.7 ms | After: 427.3 ms
  • dwebp (from libwebp) Before: 197.8 ms | After: 87.6 ms testfile

Checklist

  • [x] Package was built and tested against unstable

joebonrichie avatar Nov 09 '23 10:11 joebonrichie

Honestly it might be easier it we kept it as zlib to avoid the whole replaces bullshit

edit: yup no longer renaming it as i managed to nuke libz.so from my system in testing due to replaces bullshit.

joebonrichie avatar Nov 09 '23 11:11 joebonrichie

We could package it as zlib-ng, but keep zlib but make it an empty shell where zlib has a rundep on zlib-ng, zlib-devel has a rundep on zlib-ng-devel, etc. This would avoid breaking existing systems however packages would be transitioned over to having a rundep on zlib-ng as they were rebuilt for other reasons.

At the very end of this process we would be able to remove the zlib packages and add the replaces field to zlib-ng.

ReillyBrogan avatar Jan 06 '24 20:01 ReillyBrogan

Superseded by getsolus/packages#1639

ReillyBrogan avatar Jul 07 '24 00:07 ReillyBrogan