Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New requirements for libmagic, pkg-config, brew & vcpkg #36

Open
4 tasks done
robo9k opened this issue Oct 3, 2023 · 4 comments
Open
4 tasks done

New requirements for libmagic, pkg-config, brew & vcpkg #36

robo9k opened this issue Oct 3, 2023 · 4 comments

Comments

@robo9k
Copy link
Owner

robo9k commented Oct 3, 2023

Check which OS versions would become (un)supported by switching to pkg-config / vcpkg and libmagic >= 5.39, see #1 and #35

Badge legend:

  • dark red: version too old ❌
  • light red: version new enough ✔️
  • green: version current ✔️

Packaging status

@robo9k
Copy link
Owner Author

robo9k commented Oct 3, 2023

Debian

https://tracker.debian.org/pkg/file

stable / 12 / bookworm

https://packages.debian.org/bookworm/amd64/libmagic-dev/filelist
5.44 ✔️
libmagic.a, libmagic.so ✔️
libmagic.pc ✔️

oldstable / 11 / bullseye

https://packages.debian.org/bullseye/amd64/libmagic-dev/filelist
5.39 ✔️
libmagic.a, libmagic.so ✔️
libmagic.pc ✔️

Ubuntu

https://launchpad.net/ubuntu/+source/file

22.04.2 LTS Jammy Jellyfish

https://packages.ubuntu.com/jammy/amd64/libmagic-dev/filelist
5.41 ✔️
libmagic.a, libmagic.so ✔️
libmagic.pc ✔️
~ 2022-04-02

20.04.6 LTS Focal Fossa

https://packages.ubuntu.com/focal/amd64/libmagic-dev/filelist
5.38 ❌
libmagic.a, libmagic.so ✔️
libmagic.pc ❌
~ 2020-01-28

@robo9k
Copy link
Owner Author

robo9k commented Oct 3, 2023

macOS

Homebrew

https://formulae.brew.sh/formula/libmagic#default
5.45 ✔️
libmagic.a, libmagic.dylib ✔️
libmagic.pc ✔️
~ 2023-07-28

grafik

@robo9k
Copy link
Owner Author

robo9k commented Oct 3, 2023

Windows

vcpkg

https://vcpkg.link/ports/libmagic
5.40 ✔️
I think it supports all vcpkg triplets, but not sure
~ 2023-04-01

MSYS2

https://packages.msys2.org/base/mingw-w64-file
5.39 ✔️
libmagic.a, libmagic.dll.a ✔️
libmagic.pc ✔️

@robo9k
Copy link
Owner Author

robo9k commented Oct 3, 2023

Assuming libmagic >= 5.39, the following features can be dropped (see #16):

  • v5-04
  • v5-05
  • v5-10
  • v5-13
  • v5-20
  • v5-21
  • v5-22
  • v5-23
  • v5-25
  • v5-27
  • v5-32
  • v5-35
  • v5-38

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.

This was referenced Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant