From 84e52a60b4044d3c54d6d4be5729a6d30aaf5aee Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine <fontaine.fabrice@gmail.com> Date: Fri, 30 Dec 2022 10:34:35 +0100 Subject: [PATCH] package/tiff: fix host package Disable webp and zstd on host package to avoid the following build failure with host-gdk-pixbuf raised since bump to version 4.5.0 in commit 5b62ea01369b11f5a4320bb2c909168b21c2642c: Run-time dependency libtiff-4 found: NO (tried cmake) ../output-1/build/host-gdk-pixbuf-2.42.10/meson.build:330:2: ERROR: Dependency lookup for libtiff-4 with method 'pkgconfig' failed: Could not generate cargs for libtiff-4: Package libwebp was not found in the pkg-config search path. Perhaps you should add the directory containing `libwebp.pc' to the PKG_CONFIG_PATH environment variable Package 'libwebp', required by 'libtiff-4', not found [...] Run-time dependency libtiff-4 found: NO (tried cmake) ../output-1/build/host-gdk-pixbuf-2.42.10/meson.build:330:2: ERROR: Dependency lookup for libtiff-4 with method 'pkgconfig' failed: Could not generate cargs for libtiff-4: Package libzstd was not found in the pkg-config search path. Perhaps you should add the directory containing `libzstd.pc' to the PKG_CONFIG_PATH environment variable Package 'libzstd', required by 'libtiff-4', not found While at it, also disable libdeflate even if no build failures are raised by autobuilders Fixes: - http://autobuild.buildroot.org/results/320083dfec4d126043b036cbaec7c7b85069a50a - http://autobuild.buildroot.org/results/8ff1cfa254920749a43e235c4084b8524d0edf6f Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> --- package/tiff/tiff.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk index d3ab50b79e..e7de51ea1e 100644 --- a/package/tiff/tiff.mk +++ b/package/tiff/tiff.mk @@ -26,9 +26,12 @@ HOST_TIFF_CONF_OPTS = \ --disable-cxx \ --without-x \ --disable-zlib \ + --disable-libdeflate \ --disable-lzma \ --disable-jpeg \ - --disable-tests + --disable-tests \ + --disable-webp \ + --disable-zstd HOST_TIFF_DEPENDENCIES = host-pkgconf ifeq ($(BR2_INSTALL_LIBSTDCPP),y)