Fredrik Fornwall
8 years ago
3 changed files with 20 additions and 45 deletions
@ -1,7 +1,12 @@ |
|||
TERMUX_PKG_HOMEPAGE=http://www.leptonica.com/ |
|||
TERMUX_PKG_DESCRIPTION="Leptonica is a pedagogically-oriented open source site containing software that is broadly useful for image processing and image analysis applications" |
|||
TERMUX_PKG_VERSION=1.74.1 |
|||
TERMUX_PKG_DESCRIPTION="Library for image processing and image analysis" |
|||
TERMUX_PKG_VERSION=1.74.2 |
|||
TERMUX_PKG_DEPENDS="libjpeg-turbo, libpng, libtiff" |
|||
TERMUX_PKG_SRCURL=http://www.leptonica.com/source/leptonica-${TERMUX_PKG_VERSION}.tar.gz |
|||
TERMUX_PKG_SHA256=746a517a47a3bd2a90bc8d581ca6464c10f30e91a60209735efe45b3778bec62 |
|||
TERMUX_PKG_SRCURL=https://github.com/DanBloomberg/leptonica/archive/${TERMUX_PKG_VERSION}.tar.gz |
|||
TERMUX_PKG_SHA256=8b2e9bacd23597d0ee21625a7d8443177b1cb85daf196d86b67ad75044e29c27 |
|||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-giflib --without-libwebp --without-libopenjpeg" |
|||
TERMUX_PKG_FOLDERNAME=leptonica-$TERMUX_PKG_VERSION |
|||
|
|||
termux_step_pre_configure() { |
|||
./autobuild |
|||
} |
|||
|
@ -0,0 +1,11 @@ |
|||
diff -u -r ../leptonica-1.74.2/src/recogbasic.c ./src/recogbasic.c
|
|||
--- ../leptonica-1.74.2/src/recogbasic.c 2017-05-20 03:30:27.000000000 +0200
|
|||
+++ ./src/recogbasic.c 2017-06-07 01:17:15.994340419 +0200
|
|||
@@ -1065,7 +1065,6 @@
|
|||
return ERROR_INT("stream not opened", procName, 1); |
|||
ret = recogWriteStream(fp, recog); |
|||
#else |
|||
- L_INFO("work-around: writing to a temp file\n", procName);
|
|||
#ifdef _WIN32 |
|||
if ((fp = fopenWriteWinTempfile()) == NULL) |
|||
return ERROR_INT("tmpfile stream not opened", procName, 1); |
Loading…
Reference in new issue