-
Notifications
You must be signed in to change notification settings - Fork 101
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
Add aom and libheif as dependencies #64
Comments
Added via commit 942a585 |
It looks like the macOS build is failing due to a missing |
I'm preparing a PR for libheif to append its dependencies to libaom has a |
Upstream PR to allow static builds of libheif at strukturag/libheif#354 |
The Linux ARMv6 and macOS builds are now succeeding with the fixes/patches as above. The ARM64 build failed due to what looks like a temporary networking problem - I'll add some retry logic. |
It looks like the macOS build is able to compile aom and libheif:
...but libvips can't find libheif:
|
I think this is probably a mismatch between BSD/macOS sed and GNU sed making the Could you try this?: diff --git a/build/lin.sh b/build/lin.sh
index 1111111..2222222 100644
--- a/build/lin.sh
+++ b/build/lin.sh
@@ -221,7 +221,7 @@ $CURL https://github.com/strukturag/libheif/releases/download/v${VERSION_HEIF}/l
cd ${DEPS}/heif
./configure --host=${CHOST} --prefix=${TARGET} --enable-static --disable-shared --disable-dependency-tracking \
--disable-gdk-pixbuf --disable-go --disable-examples --disable-libde265 --disable-x265
-sed -i'.bak' "s/Requires:/Requires:\nRequires.private: aom/" libheif.pc # https://github.com/strukturag/libheif/pull/354
+sed -i'.bak' '/^Requires:/a\'$'\n''Requires.private: aom' libheif.pc # https://github.com/strukturag/libheif/pull/354
make install-strip
mkdir ${DEPS}/jpeg |
@kleisauke Perfect, thank you, added in commit b771e04. |
Oh, it still couldn't find libheif with b771e04, curious. I'll have a look. |
Here's the content of libheif.pc
Notice that the append is not newline-terminated, somehow adding a explicit |
Thanks, added via commit db3da89. As you say, I'm unsure why this change would fix it given other uses of |
New AVIF unit tests in sharp are passing on macOS! https://travis-ci.org/github/lovell/sharp/jobs/734938685#L140 (I'm investigating the other failures - looks like libheif is |
The segfaults on Alpine appear to relate to https://bugs.chromium.org/p/aomedia/issues/detail?id=2754 |
Setting |
Great! I'm currently building the Windows binaries for libvips v8.10.2, I expect these to be ready in about |
A bit later than expected; I just released the libvips v8.10.2 Windows binaries. |
Marvellous, Windows working perfectly, thanks Kleis! We're ready to request some feedback from others now, via the main sharp issue. |
WIP branch at https://github.com/lovell/sharp-libvips/tree/aom
The text was updated successfully, but these errors were encountered: