summaryrefslogtreecommitdiff
path: root/graphics/leptonica
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-01-25 11:27:35 +0000
committeradam <adam@pkgsrc.org>2018-01-25 11:27:35 +0000
commit3669b3a68d35071582b2381bb24e2a6e2d673fd4 (patch)
tree9a050e52025671009a5c92cea226473a0cec3f03 /graphics/leptonica
parent0c00b91c5c667ea86c5313e6e918643ff25e2d48 (diff)
downloadpkgsrc-3669b3a68d35071582b2381bb24e2a6e2d673fd4.tar.gz
leptonica: updated to 1.75.0
This is a new version, for major Ubuntu release 18.04. $TMPDIR path rewriting turned off on Unix; only used for Windows. Added pix conversion to depth 2 and 4. We now have general converters to 1, 2, 4, 8, 16 and 32 bpp. Modified giflib to use read/write from/to memory; no temp files; no longer support versions before 5.1. Move most low-level code from separate files to their callers; about 30 of them became static. Improved table detection on scanned page images (tests: pageseg_reg.c) Added support for write/compare regression tests for files. Modified printimage for more flexibility. Enable lookup by key on comma-separated key/value text file. Update README.html for building with Visual Studio. Improved functions for getting pixel averages in RGB images Simplified and speedup of unsharp masking. New function for detecting and correcting text orientation. Remove slow sharpening operation when not appropriate during scaling. Better handling of gplots with 0 or 1 data point. Coverity scan fixes. Modified jpeg2000 header to use openjpeg 2.3. Improved depth accessors for pixa and pixaa; added size accessors for pixa and pixaa. Bug fix in webp interface on read error. New function that finds the closest boxes in a boxa to any particular box, in each of 4 directions. New regression tests in automated sequence: blend5_reg, quadtree_reg, wordboxes_reg. New program: textorient Removed programs: snapcolortest
Diffstat (limited to 'graphics/leptonica')
-rw-r--r--graphics/leptonica/Makefile9
-rw-r--r--graphics/leptonica/PLIST6
-rw-r--r--graphics/leptonica/distinfo10
3 files changed, 12 insertions, 13 deletions
diff --git a/graphics/leptonica/Makefile b/graphics/leptonica/Makefile
index 8dce79a9b5f..5d986a8ec48 100644
--- a/graphics/leptonica/Makefile
+++ b/graphics/leptonica/Makefile
@@ -1,18 +1,21 @@
-# $NetBSD: Makefile,v 1.9 2017/06/14 14:26:24 fhajny Exp $
+# $NetBSD: Makefile,v 1.10 2018/01/25 11:27:35 adam Exp $
-DISTNAME= leptonica-1.74.4
+DISTNAME= leptonica-1.75.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=danbloomberg/}
-GITHUB_RELEASE= ${PKGVERSION_NOREV}
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://www.leptonica.org/
COMMENT= Software for image processing and image analysis applications
LICENSE= 2-clause-bsd
+GITHUB_RELEASE= ${PKGVERSION_NOREV}
+
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
+TEST_TARGET= check
.include "../../mk/bsd.prefs.mk"
diff --git a/graphics/leptonica/PLIST b/graphics/leptonica/PLIST
index 5540e6c0e5b..cca709ec8f5 100644
--- a/graphics/leptonica/PLIST
+++ b/graphics/leptonica/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2016/03/17 12:44:58 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/01/25 11:27:35 adam Exp $
bin/convertfilestopdf
bin/convertfilestops
bin/convertformat
@@ -7,10 +7,6 @@ bin/convertsegfilestops
bin/converttopdf
bin/converttops
bin/fileinfo
-bin/printimage
-bin/printsplitimage
-bin/printtiff
-bin/splitimage2pdf
bin/xtractprotos
include/leptonica/allheaders.h
include/leptonica/alltypes.h
diff --git a/graphics/leptonica/distinfo b/graphics/leptonica/distinfo
index 17e98736be9..9910b96f989 100644
--- a/graphics/leptonica/distinfo
+++ b/graphics/leptonica/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2017/10/11 22:54:42 jperkin Exp $
+$NetBSD: distinfo,v 1.7 2018/01/25 11:27:35 adam Exp $
-SHA1 (leptonica-1.74.4.tar.gz) = c1977bd9e5fe9f75d8e4ad3ca4f42fb3db906a5a
-RMD160 (leptonica-1.74.4.tar.gz) = f4a469d36c1de4f393dd6307474bccf9eecef022
-SHA512 (leptonica-1.74.4.tar.gz) = e74732c10218430463ca01f15e19d329dceb938e315586ed100c634c4d50809824f1d9bf7eeaf91654caf42ed78a5ae5de7c08e7a1d8884c580c536121627891
-Size (leptonica-1.74.4.tar.gz) = 12349877 bytes
+SHA1 (leptonica-1.75.0.tar.gz) = 4d709156f73e04031b43142952de3a78b76fc7f4
+RMD160 (leptonica-1.75.0.tar.gz) = 8f69a2622a650817fdfe9b6bcbc977a49c351a5e
+SHA512 (leptonica-1.75.0.tar.gz) = 9a2aac7711542c2deb3888c5c228fac86a6d567b6ab8bb2505f32d9a9beb20d3ba319f747ce1d72d956f92a073b27b033625bc7ae9b1b417625b71df8d1f8f92
+Size (leptonica-1.75.0.tar.gz) = 12360154 bytes
SHA1 (patch-configure) = 775f6cdcb7442f08847cef481c2dfdcba9641e9d