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

libvips package doesn't install libpng; Installing libpng doesn't enable vips to process png files #37929

Open
AlvesJorge opened this issue Dec 20, 2024 · 6 comments

Comments

@AlvesJorge
Copy link

Hello 👋

Steps to reproduce:

  • run docker run --rm -it --user root --entrypoint=/bin/sh cgr.dev/*.com/ruby:3.3.6-dev
  • run apk add libvips-dev
  • run apk add libpng
  • run vips --vips-config
  • Confirm this line PNG load/save with libspng or libpng: false

I have not found any information about this anywhere, so any input is apprecciated

@tuananh
Copy link
Contributor

tuananh commented Dec 20, 2024

@AlvesJorge This should fix it #37075

image

related #37054

@AlvesJorge
Copy link
Author

Thank you for the fast reply @tuananh
I'm curious, what specifically in that PR would enable the png features?

@tuananh
Copy link
Contributor

tuananh commented Dec 20, 2024

Thank you for the fast reply @tuananh I'm curious, what specifically in that PR would enable the png features?

-Dauto_features=enabled this one would bring in all the auto features, minus a few that I disable because we dont have it packaged in Wolfi (those with -Dxxx=disabled)

List of auto features can be found here https://github.com/libvips/libvips/blob/master/meson_options.txt

@AlvesJorge
Copy link
Author

Oh ok thank you, do you know if this is something I can enable when installing the package? As a temporary fix while your PR is not merged :)

@tuananh
Copy link
Contributor

tuananh commented Dec 20, 2024

I dont know. What we did at work is we setup a private repo for this kind of situation. If you have it already, you can do that. Otherwise, probably need to wait.

It's holidays so I guess it will be awhile

@AlvesJorge
Copy link
Author

Thank you for your time :) Happy holidays :)

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

2 participants