head 1.24; access; symbols pkgsrc-2023Q4:1.22.0.2 pkgsrc-2023Q4-base:1.22 pkgsrc-2023Q3:1.21.0.6 pkgsrc-2023Q3-base:1.21 pkgsrc-2023Q2:1.21.0.4 pkgsrc-2023Q2-base:1.21 pkgsrc-2023Q1:1.21.0.2 pkgsrc-2023Q1-base:1.21 pkgsrc-2022Q4:1.20.0.10 pkgsrc-2022Q4-base:1.20 pkgsrc-2022Q3:1.20.0.8 pkgsrc-2022Q3-base:1.20 pkgsrc-2022Q2:1.20.0.6 pkgsrc-2022Q2-base:1.20 pkgsrc-2022Q1:1.20.0.4 pkgsrc-2022Q1-base:1.20 pkgsrc-2021Q4:1.20.0.2 pkgsrc-2021Q4-base:1.20 pkgsrc-2021Q3:1.17.0.4 pkgsrc-2021Q3-base:1.17 pkgsrc-2021Q2:1.17.0.2 pkgsrc-2021Q2-base:1.17 pkgsrc-2021Q1:1.16.0.6 pkgsrc-2021Q1-base:1.16 pkgsrc-2020Q4:1.16.0.4 pkgsrc-2020Q4-base:1.16 pkgsrc-2020Q3:1.16.0.2 pkgsrc-2020Q3-base:1.16 pkgsrc-2020Q2:1.15.0.4 pkgsrc-2020Q2-base:1.15 pkgsrc-2020Q1:1.15.0.2 pkgsrc-2020Q1-base:1.15 pkgsrc-2019Q4:1.14.0.10 pkgsrc-2019Q4-base:1.14 pkgsrc-2019Q3:1.14.0.6 pkgsrc-2019Q3-base:1.14 pkgsrc-2019Q2:1.14.0.4 pkgsrc-2019Q2-base:1.14 pkgsrc-2019Q1:1.14.0.2 pkgsrc-2019Q1-base:1.14 pkgsrc-2018Q4:1.13.0.2 pkgsrc-2018Q4-base:1.13 pkgsrc-2018Q3:1.12.0.4 pkgsrc-2018Q3-base:1.12 pkgsrc-2018Q2:1.12.0.2 pkgsrc-2018Q2-base:1.12 pkgsrc-2018Q1:1.11.0.2 pkgsrc-2018Q1-base:1.11 pkgsrc-2017Q4:1.6.0.2 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.5.0.6 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.2 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.4.0.2 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.3.0.8 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.6 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.4 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.2 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.2.0.2 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.1.0.8 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.6 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.4 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.2 pkgsrc-2014Q4-base:1.1; locks; strict; comment @# @; 1.24 date 2024.01.19.15.17.11; author adam; state Exp; branches; next 1.23; commitid r0TUZSeUb6hOw4VE; 1.23 date 2024.01.04.14.51.04; author adam; state Exp; branches; next 1.22; commitid WGQXv3vSLozBR8TE; 1.22 date 2023.12.20.10.31.34; author nros; state Exp; branches; next 1.21; commitid 6eyCWuFkmomCUbRE; 1.21 date 2023.01.30.07.53.38; author adam; state Exp; branches; next 1.20; commitid wSxwXTwSQPW1sxbE; 1.20 date 2021.10.26.10.46.24; author nia; state Exp; branches; next 1.19; commitid 6mU28GyqPd3PdjeD; 1.19 date 2021.10.07.14.12.26; author nia; state Exp; branches; next 1.18; commitid 7mrgNTa8lk0sYSbD; 1.18 date 2021.09.29.11.53.13; author adam; state Exp; branches; next 1.17; commitid w3g90SIBj3OLsQaD; 1.17 date 2021.06.15.10.26.48; author adam; state Exp; branches; next 1.16; commitid 2ZU05njAidjmodXC; 1.16 date 2020.07.29.07.02.21; author adam; state Exp; branches; next 1.15; commitid bBx5SumNOhxTzWhC; 1.15 date 2020.01.02.12.55.07; author adam; state Exp; branches; next 1.14; commitid 7s33uDcmXT6sf7RB; 1.14 date 2019.03.22.08.23.04; author adam; state Exp; branches; next 1.13; commitid pUK5EbwOMLJ3WkgB; 1.13 date 2018.12.16.14.20.22; author adam; state Exp; branches; next 1.12; commitid B17kckNcNQsXZ14B; 1.12 date 2018.05.09.11.39.04; author adam; state Exp; branches; next 1.11; commitid eUG8BTHCz0LPcCBA; 1.11 date 2018.02.20.09.37.56; author adam; state Exp; branches; next 1.10; commitid l5Cf4D7FkMC03ArA; 1.10 date 2018.02.14.11.19.36; author adam; state Exp; branches; next 1.9; commitid TsI3KNfFdNhKNOqA; 1.9 date 2018.02.05.10.53.36; author jperkin; state Exp; branches; next 1.8; commitid ecnyKXPUnWaTWEpA; 1.8 date 2018.02.02.12.09.18; author adam; state Exp; branches; next 1.7; commitid DGbihWTq5a8JshpA; 1.7 date 2018.01.25.11.27.35; author adam; state Exp; branches; next 1.6; commitid uj2nBKJ3kMeoufoA; 1.6 date 2017.10.11.22.54.42; author jperkin; state Exp; branches; next 1.5; commitid 00Hh3aDjPg9rHGaA; 1.5 date 2017.06.14.14.26.24; author fhajny; state Exp; branches; next 1.4; commitid 12Vmw0KVn58cIlVz; 1.4 date 2017.02.21.14.04.49; author fhajny; state Exp; branches; next 1.3; commitid cxgyJPQXALv1ePGz; 1.3 date 2016.03.17.12.44.58; author fhajny; state Exp; branches; next 1.2; commitid yk8y2eWsEaQRIZYy; 1.2 date 2015.11.03.21.34.06; author agc; state Exp; branches; next 1.1; commitid PgUQO3oNWmoc0HHy; 1.1 date 2014.10.02.07.23.56; author adam; state Exp; branches; next ; commitid xhRS9P933DEk4BSx; desc @@ 1.24 log @leptonica: use proper pkg-config filename @ text @$NetBSD: distinfo,v 1.23 2024/01/04 14:51:04 adam Exp $ BLAKE2s (leptonica-1.84.1.tar.gz) = 28535355a46bd2dae46b26d2dbe48258f00a9559657445b33c3c5a2b0c0a8cd0 SHA512 (leptonica-1.84.1.tar.gz) = 949be33a09e1dfc04527f5401d3d682999bd6904dca0b4950b457d12564e3290ec5b62ab4b14ef14d6f499a0fbfa0ebc37c2e8ab2966913883127b9489f47e97 Size (leptonica-1.84.1.tar.gz) = 14102299 bytes SHA1 (patch-CMakeLists.txt) = 9cc561f6daa7c960a681e6b695f1e6fb2cf655d2 SHA1 (patch-src_environ.h) = 4170fe05038704412cd100c1179397c89ab3a44b @ 1.23 log @leptonica: updated to 1.84.1 1.84.1 * Remove support for openjpeg versions < 2.1. * Improve error handling for stringLength() and stringCat(), and add tests in prog/string_reg. * Source files changed: blend.c, dnafunc1.c, jp2kio.c, pageseg.c, partify.c, pix1.c, ptafunc2.c, sarray2.c, utils2.c * Prog files changed: boxa3_reg.c, string_reg.c, writetext_reg.c, deskew_it.c 1.84.0 * Add getPdfPageCount() to find the number of pages in a pdf file. * Add getPdfPageSizes() and getPdfMediaBoxSizes() to find the information necessary to render images properly. Modify cleanpdf.c and concatpdf.c to use this information. * Add prog/splitpdf.c to split a pdf file into nearly equal page sets. * Add ability to read and write rgba in bmp format, and test in ioformats_reg. * Add regression test prog/partition_reg.c * Change the autotools library name from liblept to libleptonica, to be consistent with the cmake library name. (Apologies to Jeff!) * Add tests for 24 bit pix reading and writing in bmp and png in ioformats_reg. Test new pixDisplayDiff() for visualizing diffs. * Allow prog/concatpdf to output pdf with tiffg4 encoding and with mixed tiffg4 and DCT encoding depending on image color content. * Rename prog/concatpdf --> prog/compresspdf * Put image processing and generation of output pdf from compresspdf and cleanpdf into functions in new files: pdfapp.c, pdfappstub.c. * Add versatile function for cropping an image and filling to page size, along with prog/croppdf to do this on pdf file. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.22 2023/12/20 10:31:34 nros Exp $ d6 1 @ 1.22 log @leptonica: fix build for packages that use liptonica with gcc 12 and C++ on Solaris @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.21 2023/01/30 07:53:38 adam Exp $ d3 3 a5 3 BLAKE2s (leptonica-1.83.1.tar.gz) = 87967c42fd0729eecfb9ad23bfab3e81878a7910bed6cf6f8f415c3b08ce506c SHA512 (leptonica-1.83.1.tar.gz) = 14c76b8795e494637cd225982cd27a1cd82d22b34c0c0d6ed061530c0ed8cec87fc1c8482bbda8f56a04f240b9fb50d481b8fffe5df846958cb146f9d2d51553 Size (leptonica-1.83.1.tar.gz) = 14028566 bytes @ 1.21 log @leptonica: updated to 1.83.1 Leptonica version 1.83.1 This is a configure-ready release, derived from 1.83.0 on 26 Jan 2023. Leptonica version 1.83.0 This is a configure-ready release, derived from the master on 20 Dec 2022. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.20 2021/10/26 10:46:24 nia Exp $ d6 1 @ 1.20 log @graphics: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.19 2021/10/07 14:12:26 nia Exp $ d3 3 a5 4 BLAKE2s (leptonica-1.82.0.tar.gz) = dca6fbf45081166d41bb293a653d659b2dc0bd545cad85394112ccf4f61b0f75 SHA512 (leptonica-1.82.0.tar.gz) = cb0484570bf3921307ab5c805b3f0e08d4aaa811adfb592f3956b563fc145f7a45173e2278fc5d8a9e37f729bb34dbf8068e030e2066d54547f82d26b56aa27d Size (leptonica-1.82.0.tar.gz) = 14041481 bytes SHA1 (patch-src_Makefile.in) = 6a412f514c630c5bea12f6ec228796c6f942acc2 @ 1.19 log @graphics: Remove SHA1 hashes for distfiles @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.18 2021/09/29 11:53:13 adam Exp $ d3 1 a3 1 RMD160 (leptonica-1.82.0.tar.gz) = bb3b14b6f0615d2d25f804d7861a8ac7ed0231d1 @ 1.18 log @leptonica: updated to 1.82.0 1.82.0 * Fix issue-585: reading tiff rgb with tiffbpl = 1.5 * packedbpl. * Fix issue-586: failure to properly wrap tiff-g4 in pdf without transcoding. The fix is to do transcoding for tiff-g4, as was done before April 2021. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.17 2021/06/15 10:26:48 adam Exp $ a2 1 SHA1 (leptonica-1.82.0.tar.gz) = 0566b433f760e886617a25ac94c52ebc954c06a7 @ 1.17 log @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. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.16 2020/07/29 07:02:21 adam Exp $ d3 4 a6 4 SHA1 (leptonica-1.81.1.tar.gz) = b7ed74d01aa985e9083dd41bb140577538c68b8d RMD160 (leptonica-1.81.1.tar.gz) = e536d44cac07b9f7616c5d7b386690281c350ed1 SHA512 (leptonica-1.81.1.tar.gz) = 3c24e30eab21b634094543a722172553e35d928b3a50bfe78e9b0123cd16d710b4be8714acaac87344b22292b460d6ffb06b05a8e7f3df060544a2bbf3f8a7d2 Size (leptonica-1.81.1.tar.gz) = 14056320 bytes @ 1.16 log @leptonica: updated to 1.80.0 1.80.0: * Improve bmp handling of 1 bpp images and sanity checking of params. * Add function to display all rgb gamut colors * in Makefile.am, use option serial-tests to avoid races in testing * Make md subdirectory and add ax_split_version.md there * Simple function for hue-invariant mapping (pixMapWithInvariantHue) * Fixed bug in limit of ptra size when used for sorting by bins. * Use hashmap to count pixel colors in RGB(A) images. * Convert hashtest program to regression test hash_reg. * Convert croptest program to regression test crop_reg. * New color segmentation by region growing (colorfill.c) * New regression tests: colorfill_reg, circle_reg, ccbord_reg. * Set maxima for all allocations for common leptonica data structures. * Don't fail when downscaling 2, 4, 8, and 32 bpp images, even to one pixel, invoking pixScaleSmooth(). * New functions that select 1 bpp components based on their area. * Incremental addition to sorted array of numbers. * new prog/fuzzing directory for oss-fuzz based fuzzing programs * use of pixcmapIsValid() with extra argument to determine validity with the pix it is attached to. * Use lept_stderr() in all programs in the prog directory. * New program rasteroptest() for thorough testing of rasterop functions. * Removed the pixSaveTiled*() functions * Stubbed pixDisplayWrite(). Last used in tesseract 3.04.01 (2/2016). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.15 2020/01/02 12:55:07 adam Exp $ d3 4 a6 4 SHA1 (leptonica-1.80.0.tar.gz) = 728a3d61d62f274201f829dd9c52dfafc45744a2 RMD160 (leptonica-1.80.0.tar.gz) = 6663b997b1ab3a403d6b4003717228baeb9d8937 SHA512 (leptonica-1.80.0.tar.gz) = f8062a169b7ac558c8818615e534c0dcb5db48924af4d3106d0e0929e9b2f03347bdeaae45f80bded0b2aed135bb133f775244c8c752891ca4948b5d6b21e147 Size (leptonica-1.80.0.tar.gz) = 13926793 bytes @ 1.15 log @leptonica: updated to 1.79.0 1.79.0: * Clean up auto-generation of files; removed 'register' * Some fixes for issues identified by fuzzer * New source files: checkerboard.c * New programs: replacebytes.c, webpanimio_reg.c, partifytest.c, rectangle_reg.c, lowsat_reg.c, rotate_it.c, scale_it.c, dewarp_it.c, pdfio1_reg.c, pdfio2_reg.c, checkerboard_reg.c, underlinetest.c. * Convert to standard reg test: heap_reg.c, pixa1_reg.c, smallpix_reg.c * Improve data checking when reading image file headers (pnm, png, jpeg, tiff) * Fix some bugs in pnm reading * Fix inconsistencies with the encoding type flags in pdf writing * Allow tiff to write images with colormaps * Fix errors in PS code; made some functions static * Add code for animated webp (requires webp mux and demux libraries) * Add "partify" application for separating parts in a musical score * Enable tif read/write of gray+alpha and rgba; filter out tiff pixels that are not uint and compression by tile * Apply consistent formatting of static const variables * Add programs for scaling, rotation and deskew, named dewkew_it, rotate_it and scale_it, for useful operations on arbitrary images. * Convert pdfiotest program to two regression tests: pdfio1_reg and pdfio2_reg. * Remove all use of strncat; use stringCat(). * New functions from removing outliers in sequences of boxes. * Generalize pixAverageInRect(): mask, region and range filters, and subsampling. New pixAverageInRectRGB(). * Fix int overflow bug in pixMedianCut(); required new heap accessor. * New pixMultiplyGray() allows pix to be multiplied by an array (or another pix) * Better routines for counting color. * Lossless conversion for RGB to cmap with not more than 256 colors. * New histo based global thresholding: pixThresholdByHisto(). * Allow most reg tests to run even if external libraries are not available. * New one-line gplot functions that return a pix. * New application to find where corners meet in a checkerboard. * Add utility functions for painting through mask in cmap pix, creating a hit-miss sela from a color pix, equality of two pta. * Proper handling of 1 bpp colormap tiffs: remove when reading, preserve when writing. * Deprecate three pixSaveTile*() functions; removed all calls to these from the library and progs. * Include auto_config.h explicitly in all src and prog files. * Improve input data checking for bmp files. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.14 2019/03/22 08:23:04 adam Exp $ d3 4 a6 4 SHA1 (leptonica-1.79.0.tar.gz) = be08309753e949ae9321aeca802a2f6f72d5f2a3 RMD160 (leptonica-1.79.0.tar.gz) = b5d535994fad46ddfd2b67c707b79f08070265d7 SHA512 (leptonica-1.79.0.tar.gz) = 4d0830683757004bb47752a17985d80c6758b97c0fd6ec64d23bbf43c9c68b04bee751831574afa4c25f5d5030c0c9f7fc22d9fc8ef932aa990401344f588ba5 Size (leptonica-1.79.0.tar.gz) = 13438669 bytes @ 1.14 log @leptonica: updated to 1.78.0 1.78.0: * Various improvements in handling boxa sequences and transforms. * New regression tests: boxa4_reg, string_reg * New function for copying a pix, filtered by a boxa. * Modify histogram method for image comparison. * More careful attention to invalid boxes in box geometry functions. * Better string and array functions for search and replace. * Convenience functions for generating simple masks. * Allow pdf writing of jp2k images, in full generality. * Allow writing compressed ps images for printing. * Modified enum comments to include a suggested enum name. * New program: imagetops @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.13 2018/12/16 14:20:22 adam Exp $ d3 5 a7 4 SHA1 (leptonica-1.78.0.tar.gz) = ab387b6ae0a3358017c277aac1cd6985c8501a35 RMD160 (leptonica-1.78.0.tar.gz) = 6ab179da9136d719a89a6847c45ce89791d3b841 SHA512 (leptonica-1.78.0.tar.gz) = f059ccc8e7b5ff2c796aeb4ab18bd25e133ec4f38c36b9e2ee203db35a1e68cf45b8baf78ebc4acba4e3607328d1374ea0e8425f35cbe06c6c5728a1ec8c3f50 Size (leptonica-1.78.0.tar.gz) = 12905925 bytes @ 1.13 log @leptonica: updated to 1.77.0 1.77.0: Here is the current status of CVE issues with leptonica; see https://security-tracker.debian.org/tracker/source-package/leptonlib * CVE-2018-7442: potential injection attack because '/' is allowed in gplot rootdir. Functions using this command have been disabled by default in the distribution, starting with 1.76.0. As for the specific issue, it is impossible to specify a general path without using the standard directory subdivider '/'. * CVE-2018-7186: number of characters not limited in fscanf or sscanf, allowing possible attack with buffer overflow. This has been fixed in 1.75.3. * CVE-2018-3836: command injection vulnerability in gplotMakeOutput(). This has been fixed in 1.75.3, using stringCheckForChars() to block rootnames containing any of: ;&|>"?*$()/< * CVE-2017-18196: duplicated path components. This was fixed in 1.75.3. * CVE-2018-7441: hardcoded /tmp pathnames. These are all wrapped in special debug functions that are not enabled by default in the distribution, starting with 1.76.0. * CVE-2018-7247: input 'rootname' can overflow a buffer. This was fixed in 1.76.0, using snprintf(). * CVE-2018-7440: command injection in gplotMakeOutput using $(command). Fixed in 1.75.3, which blocks '$' as well as 11 other characters. Wrapped the few 'system' calls in an extra layer of debug code. More coverity scan fixes; defects are about 1 per 10,000 source lines. New regression tests: numa1_reg, numa2_reg, lowaccess_reg, pixmem_reg. New non-regression test programs: histoduptest Juergen Buchmueller is working on Lua bindings. He typedef'd l_ok and used it in 1100 functions that return a success/failure status. He also helped clean up remaining issues in the doxygen-generated documentation. 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. Cleaned up IOS guards to avoid compiling a system(3) call on IOS. Renamed autobuild --> autogen.sh Added some basic pixa functions for rotation and translation. Added an iterative method to find rectangular coverings for arbitrary connected components. Converted two tests to reg tests running in alltests_reg: ptra1_reg, ptra2_reg 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. Converted iotest to reg test iomisc_reg; added to alltests_reg Converted rasterop_reg into a standard regression test; added to alltests_reg. Converted boxa2_reg and fhmtauto_reg into standard regression tests; added to alltests_reg. Split boxa sequence functions out of boxfunc4.c, into a new boxfunc5.c. Simplified bmp header and made reading more clearly endian agnostic (Juergen Buchmueller) New boxa3_reg regression test. This tests sequences of boxes by two new boxfunctions in boxfunc5.c. New bootnumgen4.c for more digit templates. Rename prog/recog_bootnum.c --> prog/recog_bootname1.c New in prog: recog_bootnum2.c, recog_bootnum3.c, recogtest7.c Fixed uninitialized data in pixCentroid() on 1 bpp pix. New reg test: bytea_reg.c. (removed byteatest.c) Fixed bug in non-transcoding pdf generation from 1 bpp png. Added LGTM to static analyzers that run over the library. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.12 2018/05/09 11:39:04 adam Exp $ d3 4 a6 4 SHA1 (leptonica-1.77.0.tar.gz) = 12a2fc81b4d0c1f910c29b831811b88cca8ae7ef RMD160 (leptonica-1.77.0.tar.gz) = 577ae581b2a9fb8feff130f9bed37ecb45cb71d8 SHA512 (leptonica-1.77.0.tar.gz) = 3cf764c76d5acb6d5982c44e78c02d7a7c3b5e79937c41df193e71dd8a02dbbf965d34a2ecdf0444e907cb73c06bdb8bcae4ceafbf5ee1483c022659e897015b Size (leptonica-1.77.0.tar.gz) = 12888756 bytes @ 1.12 log @leptonica: updated to 1.76.0 1.76.0: Modify infrastructure to fix outstanding security issues. By default, you can no longer create temp directories and temp files whose names are known to the compiler. Also, prevent "system" calls, which were used for image display and gnuplot. Replaced remaining sprintf() with snprintf() in prog tests. Added non-transcoding functions for generating pdf from jpeg pixacomp Add control of jpeg quality from pixWriteMem() and pixWriteStream() Fixed getFilenamesInDirectory() to properly identify directories Prevent size overflow in calloc for kernel; cleaned it up fpix and dpix bmp reading now accepts negative height Simplified splitimage2pdf; it no longer uses ps2pdf Remove name-mangling WRITE_AS_NAMED compile option. Removed 2 deprecated write functions. Added these regression tests: locminmax_reg, speckle_reg, watershed_reg, @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.11 2018/02/20 09:37:56 adam Exp $ d3 4 a6 4 SHA1 (leptonica-1.76.0.tar.gz) = 5b93531f6f7e5b6c6870c9fba743008a77a93e4e RMD160 (leptonica-1.76.0.tar.gz) = 23a3a09614290d04de43e05df1b45b0b5adc9b42 SHA512 (leptonica-1.76.0.tar.gz) = 83c77bebbf739cecab997ee08f7c9abf3ca884019c559b8f77c292ea2676c464cbf9b6812d7f12aefceef86c19d04bb3bc85119de298647a641b984dcdf3b111 Size (leptonica-1.76.0.tar.gz) = 12436958 bytes @ 1.11 log @leptonica: updated to 1.75.3 1.75.3: Fixed some coverity scan issues. Autotools fix to check for png if enabling gnuplot @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.10 2018/02/14 11:19:36 adam Exp $ d3 4 a6 5 SHA1 (leptonica-1.75.3.tar.gz) = f2c1d1147304b3a564c34ae033619004a1640275 RMD160 (leptonica-1.75.3.tar.gz) = 006ced964c7d9125c5b728bf8b717849c7dda21a SHA512 (leptonica-1.75.3.tar.gz) = ba2586e76634afb9be6699e4261e55078dd176ee2d0674aedfe49f7f0736ddedadd6961bcce23391d47dc24511cf5ab4b451544f3349c2d060da5f789dc5ab3f Size (leptonica-1.75.3.tar.gz) = 12379109 bytes SHA1 (patch-src_sarray1.c) = 2e465517a82453d80d5c40654aa13e6d23f620a9 @ 1.10 log @leptonica: updated to 1.75.2 1.75.2: Converted several progs to standard regression tests. Added these tests to the alltests_reg suite: adaptnorm_reg, binmorph1_reg, binmorph3_reg, equal_reg, extrema_reg, grayfill_reg, falsecolor_reg, grayquant_reg. Autotools fix for restricting giflib to 5.1+, and allowing openjpeg 2.3 @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.9 2018/02/05 10:53:36 jperkin Exp $ d3 4 a6 4 SHA1 (leptonica-1.75.2.tar.gz) = 43011e2405dffc420b3db44ab2539945df2b6acd RMD160 (leptonica-1.75.2.tar.gz) = a6df71500ed58305bc8d924ccd2d303f619204ac SHA512 (leptonica-1.75.2.tar.gz) = b5107673d1b94b936105cf9795e349c89bd58b80f5947f8e041867b052580215f4fb5bc728cd893c11082efdde11158562a1c93ad53387b6ffb33e7b9e089efb Size (leptonica-1.75.2.tar.gz) = 12377982 bytes @ 1.9 log @leptonica: Avoid fstatat(2) until it can be properly tested for. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.8 2018/02/02 12:09:18 adam Exp $ d3 4 a6 5 SHA1 (leptonica-1.75.1.tar.gz) = 2b02e0694ed5841279d21af7bda2c3b7c1d38bd0 RMD160 (leptonica-1.75.1.tar.gz) = 200467483af7a7052f9461e08ca7271b28914229 SHA512 (leptonica-1.75.1.tar.gz) = f4a00d17a23e9f3397dba8d896a550110ed3918e7697e7226c46721f66a5b8161b64bd8890c82253b338e1937e9d4b4365ca99d8f236c51bab27bc0f3ec575ee Size (leptonica-1.75.1.tar.gz) = 12392535 bytes SHA1 (patch-configure) = 775f6cdcb7442f08847cef481c2dfdcba9641e9d @ 1.8 log @leptonica: updated to 1.75.1 1.75.1: * Simpler and more accurate function for finding word masks from * text image; better debugging and more thorough testing. * Added to regression test set: prog/italic_reg * Fix for potential injection attack using gplot rootdir. * Bug fix for bmp reading to set opacity. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.7 2018/01/25 11:27:35 adam Exp $ d8 1 @ 1.7 log @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 @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.6 2017/10/11 22:54:42 jperkin Exp $ d3 4 a6 4 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 @ 1.6 log @leptonica: Support openjpeg-2.3. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.5 2017/06/14 14:26:24 fhajny Exp $ d3 4 a6 4 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 @ 1.5 log @Update graphics/leptonica to 1.74.4. 1.74.4 11 Jun 17 - Converted two progs to reg tests - New version because 1.74.3 had some spurious files (xtractprotos, endianness.h) 1.74.3 9 Jun 17 - Coverity scan fixes. - Several fixes for running on Windows, including subtle one with tiff encoding depending on pad bits. - Utility and test if a page image likely has a table. - Remove use of pixCreateTemplateNoInit() where it may cause problems. - Make release 'configure-make ready' @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.4 2017/02/21 14:04:49 fhajny Exp $ d7 1 @ 1.4 log @Update graphics/leptonica to 1.74.1 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. 1.74.0 10 Dec 16 - Leptonica development was moved to github. The master is at: github.com/danbloomberg/leptonica - Egor Pugin is the maintainer of the site. - A very large number of changes have been made. Some of them follow; - details can be found in the git commit messages. - Static makefiles modified to work with gnu*9 and c*9. - Modify SET macros to work on windows. - 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 the major data structures that do not already have them. - More serialized boot recognizers stored as self-generating code. - Cleaned up generating an adapted recognizer from the boot recognizer. - Simplified temp file naming; removed most instances of named temp files from non-debug code; use tmpfile() and a wrapper l_makeTempFilename(). - Simplify and streamline multipage tiff reading (Jeff Breidenbach). - Improvement of Otsu thresholding. - Recognize outstanding contributors to leptonica over the years. - New gif mem read/write interface that avoids writing a temp file, contributed by Tobias Peirick. - Use double arrays (dna) instead of float (numa) for set ops. - Enrolled in coverity scan to find potential bugs (Stefan Weil managed it). Fixed about 200 of them, mostly potential memory leaks from early function exit. - Cleanup of gray quantization functions and tests. - Refactored connectivity-conserving operations, to make them more useful. - Provided methods for measuring and regularizing the width of strokes. - Removed viewfiles.c from library; code is now in prog htmlviewer.c. - Better debugging in page segmentation (pageseg.c) - Deprecated the pixDisplayWrite*() debugging methods. - Added about 15 regression tests to the framework in alltests_reg.c - Final mods for compatibility with tesseract 4.00. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.3 2016/03/17 12:44:58 fhajny Exp $ d3 4 a6 4 SHA1 (leptonica-1.74.1.tar.gz) = 6769a388878279994aaabe0b167dd2691a8bd080 RMD160 (leptonica-1.74.1.tar.gz) = 3bf459bf2615b4449f23f232cd110191d0551c5a SHA512 (leptonica-1.74.1.tar.gz) = c6f08458d288997283aa56258932a79f4ecef10bf3fb95c91749b8b6fbe2a1573774371d969a43c2b73eb6fd67c1d6a3d07db465c29e5055bd42fc0ac22a5b47 Size (leptonica-1.74.1.tar.gz) = 11707064 bytes @ 1.3 log @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. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.2 2015/11/03 21:34:06 agc Exp $ d3 4 a6 4 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 @ 1.2 log @Add SHA512 digests for distfiles for graphics category Problems found with existing digests: Package fotoxx distfile fotoxx-14.03.1.tar.gz ac2033f87de2c23941261f7c50160cddf872c110 [recorded] 118e98a8cc0414676b3c4d37b8df407c28a1407c [calculated] Package ploticus-examples distfile ploticus-2.00/plnode200.tar.gz 34274a03d0c41fae5690633663e3d4114b9d7a6d [recorded] da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated] Problems found locating distfiles: Package AfterShotPro: missing distfile AfterShotPro-1.1.0.30/AfterShotPro_i386.deb Package pgraf: missing distfile pgraf-20010131.tar.gz Package qvplay: missing distfile qvplay-0.95.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.1 2014/10/02 07:23:56 adam Exp $ d3 4 a6 4 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 @ 1.1 log @This package contains well-tested C code for some basic image processing operations, along with a description of the functions and some design methods. A full set of affine transformations (translation, shear, rotation, scaling) on images of all depths is included, with the exception that some of the scaling methods do not work at all depths. There are also implementations of binary morphology, grayscale morphology, convolution and rank order filters, and applications such as jbig2 image processing and color quantization. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.43 2014/07/31 06:52:22 adam Exp $ d5 1 @