diff options
author | fhajny <fhajny@pkgsrc.org> | 2016-03-17 12:44:58 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2016-03-17 12:44:58 +0000 |
commit | 7ba33aabaf82085e4d7a44f672c87fd26c00ffb7 (patch) | |
tree | 12507c162a75e6d8792e64c1c4dac4c2c6a56d15 | |
parent | 73b0d57ebdc8d02a4b5105be3c6fbdee82853283 (diff) | |
download | pkgsrc-7ba33aabaf82085e4d7a44f672c87fd26c00ffb7.tar.gz |
Update graphics/leptonice to 1.73.
1.73
- All lept_* functions have been rewritten to avoid path rewrites
for
output to temp files, which were introduced in 1.72.
- Naming changes (to avoid collisions):
#defines MALLOC --> LEPT_MALLOC, CALLOC --> LEPT_CALLOC, etc.
ByteBuffer --> L_ByteBuffer
- Added grayscale histogram functions that can be used to compare
images.
- Added functions to determine if an image region has horizontal
text lines.
- Added functions to compare photo regions of images to determine
if they're essentially the same.
- Added red-black tree utility functions to implement maps and
sets.
- The keys for maps and sets can be 64-bit entities (signed and
unsigned integers and doubles).
- Implemented hashsets and hashmaps, using 64 bit keys.
- Replaced the numaHash by l_dnaHash; removed numa2d
- Improved security of tiff and gif reading, to prevent memory
corruption
when reading bad data.
- Removed src files: bootnumgen.c
- Added src files: rbtree.c, rbtree.h, map.c, bootnumgen1.c,
bootnumgen2.c
- Added prog files: rbtreetest.c, maptest.c, settest.c,
hashtest.c,
recog_bootnum.c, percolatetest.c
- Added files for building using cmake (Egor Pugin)
1.72
- Better handling of 1 bpp colormap read/write with png so that
they are losseless.
- Fixed overflow bug in pixCorrelationBinary().
- Fixed orientation flags and handling of 16 bit RGB in tiff.
- Also new wrappers to TIFFClientOpen(), so we no longer go
through
the file descriptor for memory operations.
- Improvements in the dewarp functions.
- New box sequence smoothings.
- New antialiased painting through mask; previously it was only
implemented for connected components in a mask.
- Better error handling and debug output with jpeg2000 read/write.
- Implemented base64 encoding. This allows binary data to be
represented
as a C string that can be compiled. Used this in bmf utility.
- Implemented automatic code generation for deserialization from
compiled strings (stringcode.*)
- Regression tests write to leptonica subdir of in windows; in
unix it is optional. This avoids spamming the directory.
- Added new colorspace conversions (XYZ, LAB).
- New source files: encoding.c, bmfdata.h, stringcode.c,
stringcode.h,
bootnumgen.c.
- Removed source files: convolvelow.c, graymorphlow.c
- New programs: genfonts_reg, colorize_reg, texturefill_reg,
autogentest1, autogentest2.
- alltests_reg now has 66 tests.
-rw-r--r-- | graphics/leptonica/Makefile | 5 | ||||
-rw-r--r-- | graphics/leptonica/PLIST | 5 | ||||
-rw-r--r-- | graphics/leptonica/buildlink3.mk | 4 | ||||
-rw-r--r-- | graphics/leptonica/distinfo | 10 |
4 files changed, 13 insertions, 11 deletions
diff --git a/graphics/leptonica/Makefile b/graphics/leptonica/Makefile index 8b1a454679d..5d949b36c2a 100644 --- a/graphics/leptonica/Makefile +++ b/graphics/leptonica/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.5 2016/01/06 10:46:49 adam Exp $ +# $NetBSD: Makefile,v 1.6 2016/03/17 12:44:58 fhajny Exp $ -DISTNAME= leptonica-1.71 -PKGREVISION= 2 +DISTNAME= leptonica-1.73 CATEGORIES= graphics MASTER_SITES= http://www.leptonica.org/source/ diff --git a/graphics/leptonica/PLIST b/graphics/leptonica/PLIST index 69e0871f0d3..5540e6c0e5b 100644 --- a/graphics/leptonica/PLIST +++ b/graphics/leptonica/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2014/10/02 07:23:56 adam Exp $ +@comment $NetBSD: PLIST,v 1.2 2016/03/17 12:44:58 fhajny Exp $ bin/convertfilestopdf bin/convertfilestops bin/convertformat @@ -19,6 +19,7 @@ include/leptonica/arrayaccess.h include/leptonica/bbuffer.h include/leptonica/bilateral.h include/leptonica/bmf.h +include/leptonica/bmfdata.h include/leptonica/bmp.h include/leptonica/ccbord.h include/leptonica/dewarp.h @@ -34,10 +35,12 @@ include/leptonica/morph.h include/leptonica/pix.h include/leptonica/ptra.h include/leptonica/queue.h +include/leptonica/rbtree.h include/leptonica/readbarcode.h include/leptonica/recog.h include/leptonica/regutils.h include/leptonica/stack.h +include/leptonica/stringcode.h include/leptonica/sudoku.h include/leptonica/watershed.h lib/liblept.la diff --git a/graphics/leptonica/buildlink3.mk b/graphics/leptonica/buildlink3.mk index de353a26a7e..10c5c09cc57 100644 --- a/graphics/leptonica/buildlink3.mk +++ b/graphics/leptonica/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.3 2016/01/06 10:46:49 adam Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2016/03/17 12:44:58 fhajny Exp $ BUILDLINK_TREE+= leptonica @@ -6,7 +6,7 @@ BUILDLINK_TREE+= leptonica LEPTONICA_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.leptonica+= leptonica>=1.71 -BUILDLINK_ABI_DEPENDS.leptonica?= leptonica>=1.71nb2 +BUILDLINK_ABI_DEPENDS.leptonica+= leptonica>=1.71nb2 BUILDLINK_PKGSRCDIR.leptonica?= ../../graphics/leptonica .include "../../graphics/giflib/buildlink3.mk" diff --git a/graphics/leptonica/distinfo b/graphics/leptonica/distinfo index 08b9e64675b..c66231e014b 100644 --- a/graphics/leptonica/distinfo +++ b/graphics/leptonica/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2015/11/03 21:34:06 agc Exp $ +$NetBSD: distinfo,v 1.3 2016/03/17 12:44:58 fhajny Exp $ -SHA1 (leptonica-1.71.tar.gz) = 1ee59b06fd6c6402876f46c26c21b17ffd3c9b6b -RMD160 (leptonica-1.71.tar.gz) = 597dcd4f5319c925a2b5d4f2adcaa855a45f0124 -SHA512 (leptonica-1.71.tar.gz) = fd02eec19a442d767ba39ce01132ef1304a977e038bdbf64ec5e763607d51adf1c06aaa687fc3ec542854e535618b6da2042f10709286c2e1d236e43d77efd51 -Size (leptonica-1.71.tar.gz) = 10212309 bytes +SHA1 (leptonica-1.73.tar.gz) = f4b33b391483d90df45eba95079f0bd826e4039a +RMD160 (leptonica-1.73.tar.gz) = a95b69ca0ea40203519b2cf59ea71f037179fb46 +SHA512 (leptonica-1.73.tar.gz) = 4808474d5941a91fbf542a22fed26ddc33f9c4baf2699096acf5e894b7e4e84889d165373b7d1df391a68cda8176113cf122f15203a9e38d3059e17140efc575 +Size (leptonica-1.73.tar.gz) = 10894175 bytes |