You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This buildpack does not work on the new heroku-24 stack. I did note that the new stack seems to have reasonable versions of the supporting libraries preinstalled (see here). However, my attempts to recompile imagemagick in my fork of this buildpack all failed to produce a working version, whether using the current versions in this buildpack, upgraded ones, or the versions preinstalled on the new stack.
The text was updated successfully, but these errors were encountered:
I got it to compile, but I still saw errors when trying to process HEIC and AVIF files in a real app.
Libheif changed the build system in 1.16.0. Newer versions also contain a libaom install script, so that can be managed in the libheif installation instead of separately. These instructions will compile newer libheif with aom, but for reasons I haven't figured out the resulting buildpack still doesn't work.
RUN curl -sSL --retry 3 https://github.com/strukturag/libheif/releases/download/v$COMPILE_VERSION_LIBHEIF/libheif-$COMPILE_VERSION_LIBHEIF.tar.gz | tar zx
WORKDIR /libheif-$COMPILE_VERSION_LIBHEIF/third-party
RUN chmod +x aom.cmd
RUN ./aom.cmd
# https://github.com/strukturag/libheif/blob/e8b33b2359d6fa5100e3890af089f954a2cb59ae/third-party/aom.cmd#L24-L25RUN export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$(pwd)/aom/dist/lib/pkgconfig
WORKDIR /libheif-$COMPILE_VERSION_LIBHEIF/build
RUN cmake --preset=release-noplugins ..
RUN make -j$(nproc)
RUN make install
RUN ldconfig /usr/local/lib
WORKDIR /
Let me know if you have any other questions about things I tried.
You can also review my Dockerfile. Most of it is commented out because the last thing I tried was recompiling imagemagick without compiling the supporting libraries, hoping it would use the ones included in the stack, but uncommenting the lines will produce a version of the buildpack that compiles.
This buildpack does not work on the new heroku-24 stack. I did note that the new stack seems to have reasonable versions of the supporting libraries preinstalled (see here). However, my attempts to recompile imagemagick in my fork of this buildpack all failed to produce a working version, whether using the current versions in this buildpack, upgraded ones, or the versions preinstalled on the new stack.
The text was updated successfully, but these errors were encountered: