lovell / sharp-libvips

Packaging scripts to prebuild libvips and its dependencies - you're probably looking for https://github.com/lovell/sharp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Patch for libheif appears to have changed

nealef opened this issue · comments

In build/lin.sh there is:

$CURL https://github.com/strukturag/libheif/pull/583/commits/7da30e57498b2b67434abd4767377ee7b3d93ee4.patch

However, that no longer appears to exist and may have been superseded by:

80300f8c8b4edb4e214a94668eeb9b88cba95774

Also, while I'm in the neighbourhood, what level of rust/cargo is required?

Yes, thank you, updated with commit 4037fa6

What's the context of your question about rust?

FWIW, I did something similar on the meson branch:
main...kleisauke:meson
kleisauke@16d2b3b
kleisauke@8c6d326

Thanks Kleis, your patch to allow librsvg to be built without docs should probably be submitted upstream to librsvg itself as I can imagine others will find that useful.

FWIW, I did something similar on the meson branch: main...kleisauke:meson kleisauke@16d2b3b kleisauke@8c6d326

I also had to make these changes:

@@ -457,7 +457,7 @@ fi
 make install-strip

 mkdir ${DEPS}/cgif
-$CURL https://github.com/dloebl/cgif/archive/V${VERSION_CGIF}.tar.gz | tar xzC ${DEPS}/cgif --strip-components=1
+$CURL https://github.com/dloebl/cgif/archive/refs/tags/V${VERSION_CGIF}.tar.gz | tar xzC ${DEPS}/cgif --strip-components=1
 cd ${DEPS}/cgif
 CFLAGS="${CFLAGS} -O3" meson setup _build --default-library=static --buildtype=release --strip --prefix=${TARGET} ${MESON} \
   -Dtests=false
@@ -465,7 +465,7 @@ ninja -C _build
 ninja -C _build install

 mkdir ${DEPS}/vips
-$CURL https://github.com/libvips/libvips/releases/download/v${VERSION_VIPS}/vips-${VERSION_VIPS}.tar.gz | tar xzC ${DEPS}/vips --strip-components=1
+$CURL https://github.com/libvips/libvips/archive/refs/tags/v${VERSION_VIPS}.tar.gz | tar xzC ${DEPS}/vips --strip-components=1
 cd ${DEPS}/vips
 # Prevent exporting the g_param_spec_types symbol to avoid collisions with shared libraries
 printf "{\n\

Yes, thank you, updated with commit 4037fa6

What's the context of your question about rust?

I was trying to add a new target linux-s390x. I initially tried building the 8.0.6 level of code (required by Kibana) but I was getting rust compilation errors. With 8.12.2 I don't using the latest rust available to me (1.59).

Also, meson complains it needs python 3.7 or 3.8 now and 3.6 won't suffice to I had to install the SCLO rh-python38 packages.