- Update to 1.83.0:
* Simplify setting the title of pdf files.
* Catch tiff failure to open stream in fopenTiffMemStream()
* Check for POSIX functions fstatat() and dirfd() before use.
* In prog/cleanpdf: do not allow threshold to exceed 190.
Make all parameters required; do not use default values for
invalid parameters.
* In prog/concatpdf: add input param for title; add jpeg quality
factor
* Fix flaky hash_reg test on i686: sets generated from
SelectRange() can depend slightly on platform.
* Convenience function for adding multiple black and white
borders.
* Fix oss-fuzz issue 42202: underined shift in
l_convertCharstrToInt().
* Fix oss-fuzz issue 43841: made pixCountPixels() more efficient.
* Fix oss-fuzz issue 44008: pixCountArbInRect() used wrong depth.
* Always return tiff resolution of 0 (unknown) if not set.
* Simplify operations on pix memory to help avoid mem leaks
* Make bmp non-support of 32-bit bmp (rgba) files explicit.
* Improve tiff read resolution conversion by rounding.
* Use stdatomic.h to make cloning string safe.
Remove all *GetRefcount() and *ChangeRefcount() accessors.
* Replace procName and mainName strings by __func__.
* Remove information about fields in many structs from the public
interface allheaders.h, instead putting them in internal files
pix_internal.h, array_internal.h and ccbord_internal.h.
* Increase the .so number from 5.4.0 to 6.0.0.
* Rename the autotools generated libraries from liblept to
libleptonica
* Fix potential memory leaks from recogAverageSamples() and
recogDebugAverages() by not destroying a recog.
- Drop ea2bb8c9cf61d3eba2589cfaac05f59a33b4110d.patch
(applied upstream)
OBS-URL: https://build.opensuse.org/request/show/1056958
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/leptonica?expand=0&rev=35
- Update to 1.77.0
* CVE-2018-7442: potential injection attack because '/' is allowed in gplot
rootdir. (bsc#1082748)
* CVE-2018-7186: number of characters not limited in fscanf or sscanf,
allowing possible attack with buffer overflow. (bsc#1081576)
* CVE-2018-3836: command injection vulnerability in gplotMakeOutput().
(bsc#1079358)
* CVE-2017-18196: duplicated path components. (bsc#1082843)
* CVE-2018-7441: hardcoded /tmp pathnames. (bsc#1082749)
* CVE-2018-7247: input 'rootname' can overflow a buffer. (bsc#1081631)
* CVE-2018-7440: command injection in gplotMakeOutput using $(command).
(bsc#1082747)
* Using a packed struct for bmp headers to avoid crash on some big-endians.
* Fixed a bug in the prototype parser for xtractprotos that was
surfaced by a typedef declaration for the bmp headers.
* Added some basic pixa functions for rotation and translation.
* Added an iterative method to find rectangular coverings for arbitrary
connected components.
* Enabled read/write for standard jpeg compressed tiff images.
* Enabled reading for the old (deprecated) jpeg-encoded tiffs.
* Fix range selectors for pixa, pixaa, boxa, boxaa, pta: Now, last = -1 goes
to the end.
* When reading tiff --> pix, insert IMAGEDESCRIPTION into text field.
OBS-URL: https://build.opensuse.org/request/show/658864
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/leptonica?expand=0&rev=25
- Update to 1.75.3:
* See changes in the version-notes.html file.
* Fixed a stack based buffer overflows in gplotRead() and ptaReadStream()
when parsing crafted files can lead to denial of service
(CVE-2018-7186 bsc#1081576)
* Fixed a buffer overflow in pixHtmlViewer in prog/htmlviewer.c
(unsanitized input (rootname)), which could potentially lead to
arbitrary code exeuction. (CVE-2018-7247 bsc#1081631)
OBS-URL: https://build.opensuse.org/request/show/578161
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/leptonica?expand=0&rev=20
- Update to version 1.74.1
Version 1.74.1 4 Jan 17
* Configuration changes to support the patch number in the
version (major.minor.patch).
* Removed all remaining pixDisplayWrite() calls in prog/.
* Cleaned up and/or promoted about 15 programs to full regression
tests. There are now 95 tests in the regression set.
* Over half the initial coverity scan warnings have been removed.
Version 1.74.0 10 Dec 16
* Leptonica development was moved to github. The master is at:
github.com/danbloomberg/leptonica
* New modes for RGB --> gray conversion.
* New functions added for displaying a pix from a pixa.
* Split out sort/hash/set/map functions for dna, sarray and pta.
* More robust horizontal deskew on multi-column page images.
* Improve webpio_reg test.
* Remove X11 display for gplot; it is no longer supported.
* Remove most sleep calls, which were put in for gplot; no longer needed.
* Removed use of gthumb in library.
* Removed use of pixDisplayWrite() in the library; still in some progs.
* Improved test for endianness in makefile.static; no longer requires
any local files or building and running a program.
* Modified all files for doxygen output (spearheaded by Jurgen Buchmuller)
* Improved plotting of the boxes in a boxa.
* Replaced the slow point hash function with a simple fast one.
* Added pam (4 component) format writing to pnmio.c (Jurgen Buchmuller)
* Improved rendering of pixa in side/by/sides.
* Better utilities for pixa and pixacomp.
* Add read/write serialization functions from/to memory for all
OBS-URL: https://build.opensuse.org/request/show/458696
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/leptonica?expand=0&rev=10
- Update to version 1.74.1
Version 1.74.1 4 Jan 17
* Configuration changes to support the patch number in the
version (major.minor.patch).
* Removed all remaining pixDisplayWrite() calls in prog/.
* Cleaned up and/or promoted about 15 programs to full regression
tests. There are now 95 tests in the regression set.
* Over half the initial coverity scan warnings have been removed.
Version 1.74.0 10 Dec 16
* Leptonica development was moved to github. The master is at:
github.com/danbloomberg/leptonica
* New modes for RGB --> gray conversion.
* New functions added for displaying a pix from a pixa.
* Split out sort/hash/set/map functions for dna, sarray and pta.
* More robust horizontal deskew on multi-column page images.
* Improve webpio_reg test.
* Remove X11 display for gplot; it is no longer supported.
* Remove most sleep calls, which were put in for gplot; no longer needed.
* Removed use of gthumb in library.
* Removed use of pixDisplayWrite() in the library; still in some progs.
* Improved test for endianness in makefile.static; no longer requires
any local files or building and running a program.
* Modified all files for doxygen output (spearheaded by Jurgen Buchmuller)
* Improved plotting of the boxes in a boxa.
* Replaced the slow point hash function with a simple fast one.
* Added pam (4 component) format writing to pnmio.c (Jurgen Buchmuller)
* Improved rendering of pixa in side/by/sides.
* Better utilities for pixa and pixacomp.
* Add read/write serialization functions from/to memory for all
OBS-URL: https://build.opensuse.org/request/show/458696
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/leptonica?expand=0&rev=10
Version 1.74.1 4 Jan 17
* Configuration changes to support the patch number in the
version (major.minor.patch).
* Removed all remaining pixDisplayWrite() calls in prog/.
* Cleaned up and/or promoted about 15 programs to full regression
tests. There are now 95 tests in the regression set.
* Over half the initial coverity scan warnings have been removed.
Version 1.74.0 10 Dec 16
* Leptonica development was moved to github. The master is at:
github.com/danbloomberg/leptonica
* New modes for RGB --> gray conversion.
* New functions added for displaying a pix from a pixa.
* Split out sort/hash/set/map functions for dna, sarray and pta.
* More robust horizontal deskew on multi-column page images.
* Improve webpio_reg test.
* Remove X11 display for gplot; it is no longer supported.
* Remove most sleep calls, which were put in for gplot; no longer needed.
* Removed use of gthumb in library.
* Removed use of pixDisplayWrite() in the library; still in some progs.
* Improved test for endianness in makefile.static; no longer requires
any local files or building and running a program.
* Modified all files for doxygen output (spearheaded by Jurgen Buchmuller)
* Improved plotting of the boxes in a boxa.
* Replaced the slow point hash function with a simple fast one.
* Added pam (4 component) format writing to pnmio.c (Jurgen Buchmuller)
* Improved rendering of pixa in side/by/sides.
* Better utilities for pixa and pixacomp.
* Add read/write serialization functions from/to memory for all
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/leptonica?expand=0&rev=12