Open robo9k opened 1 year ago
https://tracker.debian.org/pkg/file
https://packages.debian.org/bookworm/amd64/libmagic-dev/filelist 5.44 ✔️ libmagic.a, libmagic.so ✔️ libmagic.pc ✔️
https://packages.debian.org/bullseye/amd64/libmagic-dev/filelist 5.39 ✔️ libmagic.a, libmagic.so ✔️ libmagic.pc ✔️
https://launchpad.net/ubuntu/+source/file
https://packages.ubuntu.com/jammy/amd64/libmagic-dev/filelist 5.41 ✔️ libmagic.a, libmagic.so ✔️ libmagic.pc ✔️ ~ 2022-04-02
https://packages.ubuntu.com/focal/amd64/libmagic-dev/filelist 5.38 ❌ libmagic.a, libmagic.so ✔️ libmagic.pc ❌ ~ 2020-01-28
https://formulae.brew.sh/formula/libmagic#default 5.45 ✔️ libmagic.a, libmagic.dylib ✔️ libmagic.pc ✔️ ~ 2023-07-28
https://vcpkg.link/ports/libmagic 5.40 ✔️ I think it supports all vcpkg triplets, but not sure ~ 2023-04-01
https://packages.msys2.org/base/mingw-w64-file 5.39 ✔️ libmagic.a, libmagic.dll.a ✔️ libmagic.pc ✔️
Assuming libmagic
>= 5.39, the following features can be dropped (see #16):
Iirc the API didn't change in .39, so v5-40 is the first one to keep. Looking at the supported versions, the lower bound is .38, so default feature wouldn't change.
Check which OS versions would become (un)supported by switching to
pkg-config
/vcpkg
andlibmagic
>= 5.39, see #1 and #35Badge legend: