[Bug 260079] graphics/leptonica: update to 1.82.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 27 Nov 2021 17:53:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260079

            Bug ID: 260079
           Summary: graphics/leptonica: update to 1.82.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
                CC: hiroto.kagotani@gmail.com
                CC: hiroto.kagotani@gmail.com
             Flags: maintainer-feedback?(hiroto.kagotani@gmail.com)

Created attachment 229758
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229758&action=edit
[patch] update graphics/leptonica to 1.82.0, tweaks for portlint/portclippy

Update graphics/leptonica to 1.82.0 (Sep 2021) from 1.76.0 (May 2018).

Changes include run time bug fixes, build fixes, new features & tools
(imagetops), improved tests:
https://github.com/DanBloomberg/leptonica/blob/master/version-notes.html

Some run testing was done briefly with tesseract.  It would be great if users
more familiar with leptonica could do more testing.  But 'make test' reports
only one failed regression test out of 144 [1].

While here, make portlint & portclippy happy (just a couple changes for
recommended sorting / grouping of variables).

QA for the update patch:
 - build with non-default LOCALBASE (ok)
 - brief run-time testing with text2image and back to image (with tesseract)
 - poudriere testport (ok - amd64,i386)
 - portlint (ok - no errors or warnings)
 - portclippy (no new recommended changes)
 - make test (143/144 regression tests succeeded [1])


[1] one failed test:

FAILURE: maze_reg
Failed to complete maze_reg

////////////////////////////////////////////////
////////////////   maze_reg   ///////////////
////////////////////////////////////////////////
leptonica-1.82.0 : libgif 5.2.1 : libjpeg 8d (libjpeg-turbo 2.1.2) : libpng
1.6.37+apng : libtiff 4.3
.0 : zlib 1.2.11 : libwebp 1.2.1
Info in pixSearchBinaryMaze:  No path found
Error in pixDisplayPta: pta not defined
Error in pixScaleBySampling: pixs not defined
Error in pixaAddPix: pix not defined
Error in regTestWritePixAndCheck: pix not defined
Time:   0.651 sec

This could be reported upstream.  I don't know how this compares to the 1.76.0
port.  Unless this is a critical piece, perhaps the update could be committed
while investigating this test failure.

-- 
You are receiving this mail because:
You are the assignee for the bug.