woelper / oculante

A fast and simple image viewer / editor for many operating systems
https://github.com/woelper/oculante
MIT License
914 stars 42 forks source link

macos build with heif support #446

Open ManOrs88 opened 4 hours ago

ManOrs88 commented 4 hours ago

hello,

any update on https://github.com/woelper/oculante/issues/281 ? a mac build with heif support would be very useful

regards

woelper commented 3 hours ago

I could not agree more. Unfortunately building heif statically doesn't seem possible at the moment. Maybe bundling the heif library with the application could work.

You can also always just build it yourself and add the heif feature flag.

ManOrs88 commented 3 hours ago

i tried building it but am having weird errors and can not track their source, still trying to understand what i'm missing on my machine (maybe i'll open a separate issue in a couple days with details)

thanks!

woelper commented 33 minutes ago

For me, brew install libheif is enough to build it. Maybe this works for you?

I had success today with bundling libheif with the app and using install_name_tool to change the link path. I will try if this build works on CI, but I am cautiously optimistic that the next release will have heif support on Apple Silicon if I manage to get a github actions runner for apple silicon.