From 35ba2da19232fc6f4b69cf2b6db3238d88c10e47 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Wed, 20 Mar 2019 16:27:30 +0200 Subject: [PATCH] poppler: fix fast-build problems Error was: CMake Error at /data/data/com.termux/files/usr/lib/cmake/openjpeg-2.3/OpenJPEGTargets.cmake:79 (message): The imported target "opj_decompress" references the file "/data/data/com.termux/files/usr/bin/opj_decompress" but this file does not exist. --- packages/poppler/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/poppler/build.sh b/packages/poppler/build.sh index d241f5997..eeb0c5c07 100644 --- a/packages/poppler/build.sh +++ b/packages/poppler/build.sh @@ -7,6 +7,8 @@ TERMUX_PKG_SHA256=92e09fd3302567fd36146b36bb707db43ce436e8841219025a82ea9fb0076b TERMUX_PKG_SRCURL=https://poppler.freedesktop.org/poppler-${TERMUX_PKG_VERSION}.tar.xz # libcairo and littlecms is used by pdftocairo: TERMUX_PKG_DEPENDS="fontconfig, glib, libcairo, libpng, libjpeg-turbo, libtiff, littlecms, openjpeg, freetype, libcurl" +# Fix for CMake error when doing fast-build (./build-package.sh -i). +TERMUX_PKG_BUILD_DEPENDS="openjpeg-tools" #texlive needs the xpdf headers TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -DENABLE_GLIB=ON