Subject: CVS commit: pkgsrc/graphics/leptonica
From: Adam Ciarcinski
Date: 2021-06-15 12:26:48
Message id: 20210615102648.98310FA95@cvs.NetBSD.org

Log Message:
leptonica: updated to 1.81.1

1.81.1  June 11, 2021
* Added choice of codec (JP2 or J2K) when writing jp2k files.
* Fix use of hashmap with key based on dna.

1.81.0  June 6, 2021
* Fixed problems with tiff pdf wrapping photometry.
* Fixed scaling issues in prog/cleanpdf for printing.
* New progs: tiffpdftest, hashtest
* Fixed uninitialized data error in pixAddBorderGeneral() and
  pixRemoveBorderGeneral()
* Rewrote Numa functions that discretize into bins.  Have
  binning by both sorting and histogram.
* Rewrote and simplified pixGetRankColorArray() and pixGetBinnedColor().
* Added tests to prog/rankbin_reg.c.
* Simplified fpixCopy() and dpixCopy(), and functions that use them.
* Check input for bilateral transforms.
* Add function for splitting a file evenly by lines.
* Check input for getFilenamesInDirectory()
* Many new fuzzers.
* Use size_t for all size inputs to ascii85 encoding/decoding
* New regression tests: encoding_reg.c, binmorph6_reg.c,
  flipdetect_reg.c
* Reworked concatpdf for generality, using the Poppler package.
* Removed dwa flipdetection from the library.  All the dwa code
  is now in flipdetectdwa.c.notused.  Likewise prog/flipselgen.c
  is retained for completeness, renamed flipselgen.c.notused,
  and is not compiled.
* Added hashmap utility (hashmap.c, hashmap.h).
* Removed functions using dnahash on strings, pts and doubles.
* Improved the speed of hashing for strings and doubles.
* Added function for tiling images in pairs for comparison.
* Added null terminations to serialized strings written to memory,
  preventing buffer overrun by strlen() [fixed by Stefan Weil].
* No longer use "NoInit" versions of pix creation in leptonica.
  because they risk reading uninitialized data.  These functions
  remain in the library because they are in use in applications.
* Add two composite binarization functions, from prog/binarize_set.
* Giulio Lunati fixed pnm reading to work with stdin input.
* Removed several of the boxa compare and modify functions.
* Implemented reading jpeg200 data encded in j2k "codestream" format.
  Can now read data in both jp2 and j2k.

Files:
RevisionActionfile
1.20modifypkgsrc/graphics/leptonica/Makefile
1.7modifypkgsrc/graphics/leptonica/PLIST
1.17modifypkgsrc/graphics/leptonica/distinfo