package/leptonica: bump version to 1.74.4
PATCH 1/1 package/leptonica: bump version to 1.74.4
Removed patch 0001, not needed anymore after
https://github.com/DanBloomberg/leptonica/commit/4476d162cc191a0fefb2ce434153e12bbf188664
fixes the problem in a similar way.
Signed-off-by Bernd Kuhls <[email protected]>
--- ...ac-Use-PKG_CHECK_MODULES-to-check-libtiff.patch | 42 ---------------------- package/leptonica/leptonica.hash | 2 +- package/leptonica/leptonica.mk | 7 +--- 3 files changed, 2 insertions(+), 49 deletions(-) delete mode 100644 package/leptonica/0001-configure.ac-Use-PKG_CHECK_MODULES-to-check-libtiff.patch
package/leptonica/0001-configure.ac-Use-PKG_CHECK_MODULES-to-check-libtiff.patch deleted +0 -42
@@ -1,42 +0,0 @@ -From 40427bd4ec62fe12e6dc3a8cc61b9d644be98c96 Mon Sep 17 00:00:00 2001 -From: Gilles Talis <[email protected]> -Date: Sun, 26 Mar 2017 10:18:22 +0200 -Subject: [PATCH] configure.ac: Use PKG_CHECK_MODULES to check libtiff - availability - -When built statically, leptonica is not able to find specified -libtiff function that will determine whether library is available -or not. -Using PKG_CHECK_MODULES fixes the issue. - -Signed-off-by: Gilles Talis <[email protected]> ---- - configure.ac | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -diff --git a/configure.ac b/configure.ac -index e64cde6..52a9e0e 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -66,13 +66,12 @@ AS_IF([test "x$with_giflib" != xno], - - AM_CONDITIONAL([HAVE_LIBGIF], [test "x$ac_cv_lib_gif_DGifOpenFileHandle" = xyes]) - --AS_IF([test "x$with_libtiff" != xno], -- AC_CHECK_LIB([tiff], [TIFFOpen], -- AC_DEFINE([HAVE_LIBTIFF], 1, [Define to 1 if you have libtiff.]) AC_SUBST([LIBTIFF_LIBS], [-ltiff]), -- AS_IF([test "x$with_libtiff" = xyes], AC_MSG_ERROR([libtiff support requested but library not found])), -- ${LIBM} ${ZLIB_LIBS} ${JPEG_LIBS} -+if test "x$with_libtiff" != xno; then -+ PKG_CHECK_MODULES([LIBTIFF], [libtiff-4], -+ AC_DEFINE([HAVE_LIBTIFF], 1, [Define to 1 if you have libtiff.]), -+ AS_IF([test "x$with_libtiff" = xyes], AC_MSG_ERROR([libtiff support requested but library not found])) - ) --) -+fi - - AS_IF([test "x$with_libwebp" != xno], - AC_CHECK_LIB([webp], [WebPGetInfo], --- -2.5.0 -
package/leptonica/leptonica.hash +1 -1
@@ -1,2 +1,2 @@ # locally computed hash -sha256 746a517a47a3bd2a90bc8d581ca6464c10f30e91a60209735efe45b3778bec62 leptonica-1.74.1.tar.gz +sha256 29c35426a416bf454413c6fec24c24a0b633e26144a17e98351b6dffaa4a833b leptonica-1.74.4.tar.gz
package/leptonica/leptonica.mk +1 -6
@@ -4,16 +4,11 @@ # ################################################################################ -LEPTONICA_VERSION = 1.74.1 +LEPTONICA_VERSION = 1.74.4 LEPTONICA_SITE = http://www.leptonica.org/source LEPTONICA_LICENSE = BSD-2-Clause LEPTONICA_LICENSE_FILES = leptonica-license.txt LEPTONICA_INSTALL_STAGING = YES - -# we patch configure.ac -LEPTONICA_AUTORECONF = YES - -# PKG_CHECK_MODULES() is used in configure.ac patch LEPTONICA_DEPENDENCIES = host-pkgconf LEPTONICA_CONF_OPTS += --disable-programs
Signature · 1 line
2.11.0
Thomas Petazzoni
AppliedPATCH 1/1 package/leptonica: bump version to 1.74.4
Hello,
Quoted 11 lines · Bernd Kuhls
Removed patch 0001, not needed anymore after
https://github.com/DanBloomberg/leptonica/commit/4476d162cc191a0fefb2ce434153e12bbf188664
fixes the problem in a similar way.Signed-off-by Bernd Kuhls <[email protected]>--- ...ac-Use-PKG_CHECK_MODULES-to-check-libtiff.patch | 42 ---------------------- package/leptonica/leptonica.hash | 2 +- package/leptonica/leptonica.mk | 7 +--- 3 files changed, 2 insertions(+), 49 deletions(-) delete mode 100644 package/leptonica/0001-configure.ac-Use-PKG_CHECK_MODULES-to-check-libtiff.patch
Applied to master, thanks.
Are you doing runtime testing for all of those packages ?
We already have > 180 patches waiting in patchwork. What we really need is people reviewing patches, much more than tons of version bumps.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com