From fe43e5e618964435fd535f83be664add48d9b109 Mon Sep 17 00:00:00 2001 From: Butta Date: Thu, 13 Aug 2020 16:17:49 +0530 Subject: [PATCH] k2pdfopt: revert to 2.51 till build errors are fixed and bump working fdupes, imagemagick, and leptonica package updates --- packages/fdupes/build.sh | 1 + packages/imagemagick/build.sh | 2 +- packages/k2pdfopt/build.sh | 5 +++-- packages/leptonica/build.sh | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/fdupes/build.sh b/packages/fdupes/build.sh index ed324a931..b948e3dd9 100644 --- a/packages/fdupes/build.sh +++ b/packages/fdupes/build.sh @@ -6,6 +6,7 @@ TERMUX_PKG_SRCURL=https://github.com/adrianlopezroche/fdupes/archive/v${TERMUX_P TERMUX_PKG_SHA256=47536dad3f628b49420d60be55417238e537902a7461e19f199092ab8b24e8f1 TERMUX_PKG_DEPENDS="ncurses, pcre2" +#bump termux_step_pre_configure() { autoreconf --install } diff --git a/packages/imagemagick/build.sh b/packages/imagemagick/build.sh index 6cd6a44b4..a13c4b06f 100644 --- a/packages/imagemagick/build.sh +++ b/packages/imagemagick/build.sh @@ -26,7 +26,7 @@ share/ImageMagick-7/francais.xml termux_step_pre_configure() { if [ $TERMUX_ARCH = "i686" ]; then - # Avoid "libMagickCore-7.Q16HDRI.so: error: undefined reference to '__atomic_load'" + #Avoid "libMagickCore-7.Q16HDRI.so: error: undefined reference to '__atomic_load'" LDFLAGS+=" -latomic" fi } diff --git a/packages/k2pdfopt/build.sh b/packages/k2pdfopt/build.sh index d4c59c4d0..7c2b027c8 100644 --- a/packages/k2pdfopt/build.sh +++ b/packages/k2pdfopt/build.sh @@ -1,8 +1,9 @@ TERMUX_PKG_HOMEPAGE=https://www.willus.com/k2pdfopt/ TERMUX_PKG_DESCRIPTION="A tool that optimizes PDF files for viewing on mobile readers" TERMUX_PKG_LICENSE="GPL-3.0" -TERMUX_PKG_VERSION=2.52 +TERMUX_PKG_VERSION=2.51 +TERMUX_PKG_REVISION=5 TERMUX_PKG_SRCURL=http://www.willus.com/k2pdfopt/src/k2pdfopt_v${TERMUX_PKG_VERSION}_src.zip -TERMUX_PKG_SHA256=4a11e7382f7bcd92453e28c0c269538b7a90cca342c1a9ef60c1260e983d1879 +TERMUX_PKG_SHA256=3e6e4d7aac9c9bed4c7854888a6a91213be10121be76e17f83e080e829ac5fde TERMUX_PKG_DEPENDS="leptonica, libjasper, libjpeg-turbo, libpng, mupdf, netpbm, zlib" TERMUX_PKG_BUILD_IN_SRC=true diff --git a/packages/leptonica/build.sh b/packages/leptonica/build.sh index 1d3a8e0ad..6bfe00335 100644 --- a/packages/leptonica/build.sh +++ b/packages/leptonica/build.sh @@ -9,6 +9,7 @@ TERMUX_PKG_DEPENDS="giflib, libjpeg-turbo, libpng, libtiff, libwebp, openjpeg, z TERMUX_PKG_BREAKS="leptonica-dev" TERMUX_PKG_REPLACES="leptonica-dev" +#bump termux_step_pre_configure() { ./autogen.sh }