Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package leptonica for openSUSE:Factory 
checked in at 2022-01-07 12:45:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/leptonica (Old)
 and      /work/SRC/openSUSE:Factory/.leptonica.new.1896 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "leptonica"

Fri Jan  7 12:45:33 2022 rev:20 rq:943942 version:1.82.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes      2020-07-30 
12:26:02.147619013 +0200
+++ /work/SRC/openSUSE:Factory/.leptonica.new.1896/leptonica.changes    
2022-01-07 12:46:56.443868767 +0100
@@ -1,0 +2,54 @@
+Fri Nov 26 18:25:29 UTC 2021 - Dirk M??ller <dmuel...@suse.com>
+
+- update to 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.
+- add ea2bb8c9cf61d3eba2589cfaac05f59a33b4110d.patch to fix test
+  failures to i586
+
+-------------------------------------------------------------------
+Thu Jun 24 19:34:39 UTC 2021 - Kyrill Detinov <lazy.k...@opensuse.org>
+
+- Update to 1.81.1.
+  * Added choice of codec (JP2 or J2K) when writing jp2k files.
+  * Fix use of hashmap with key based on dna.
+- Changes in 1.81.0.
+  * 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.
+
+-------------------------------------------------------------------

Old:
----
  leptonica-1.80.0.tar.gz

New:
----
  ea2bb8c9cf61d3eba2589cfaac05f59a33b4110d.patch
  leptonica-1.82.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ leptonica.spec ++++++
--- /var/tmp/diff_new_pack.J0Whzs/_old  2022-01-07 12:46:57.115869235 +0100
+++ /var/tmp/diff_new_pack.J0Whzs/_new  2022-01-07 12:46:57.119869237 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package leptonica
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,9 +17,8 @@
 
 
 %define major   5
-
 Name:           leptonica
-Version:        1.80.0
+Version:        1.82.0
 Release:        0
 Summary:        Library for image processing and image analysis applications
 License:        BSD-2-Clause
@@ -27,6 +26,7 @@
 URL:            http://leptonica.org/
 Source0:        http://leptonica.org/source/%{name}-%{version}.tar.gz
 Source1:        baselibs.conf
+Patch1:         
https://github.com/DanBloomberg/leptonica/commit/ea2bb8c9cf61d3eba2589cfaac05f59a33b4110d.patch
 BuildRequires:  giflib-devel
 BuildRequires:  gnuplot
 BuildRequires:  libjpeg-devel
@@ -36,7 +36,6 @@
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(libtiff-4)
 BuildRequires:  pkgconfig(libwebp) >= 0.2.0
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Library for efficient image processing and image analysis operations.
@@ -66,13 +65,13 @@
 Programs for manipulating images.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %configure \
     --disable-static \
     --program-prefix=lept-
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install
@@ -89,16 +88,14 @@
 
 %check
 # Don't run multiple jobs: some tests failed somehow.
-make check
+%make_build -j1 check
 
 %post -n liblept%{major} -p /sbin/ldconfig
-
 %postun -n liblept%{major} -p /sbin/ldconfig
 
 %files -n liblept%{major}
 %license leptonica-license.txt
 %doc version-notes.html moller52.jpg
-%defattr(-,root,root)
 %{_libdir}/liblept.so.*
 
 %files devel

++++++ ea2bb8c9cf61d3eba2589cfaac05f59a33b4110d.patch ++++++
>From ea2bb8c9cf61d3eba2589cfaac05f59a33b4110d Mon Sep 17 00:00:00 2001
From: danblooomberg <dan.bloomb...@gmail.com>
Date: Sun, 14 Nov 2021 14:52:24 -0800
Subject: [PATCH] Fix flaky hash_reg test on i686 * The sets that are generated
 from *SelectRange() functions can depend on   the platform, resulting in
 intersection sizes that differ by 1. * So, loosen the comparison to allow a
 difference of 1.

---
 prog/hash_reg.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/prog/hash_reg.c b/prog/hash_reg.c
index 8b408d6d..3414ba90 100644
--- a/prog/hash_reg.c
+++ b/prog/hash_reg.c
@@ -100,7 +100,7 @@ L_REGPARAMS  *rp;
     sarrayIntersectionByAset(sa1, sa2, &sa3);
     c1 = sarrayGetCount(sa3);
     sarrayDestroy(&sa3);
-    regTestCompareValues(rp, string_intersection, c1, 0);  /* 2 */
+    regTestCompareValues(rp, string_intersection, c1, 1);  /* 2 */
     if (rp->display) lept_stderr("  aset: intersection size = %d\n", c1);
     sarrayUnionByAset(sa1, sa2, &sa3);
     c1 = sarrayGetCount(sa3);
@@ -123,7 +123,7 @@ L_REGPARAMS  *rp;
     sarrayIntersectionByHmap(sa1, sa2, &sa3);
     c1 = sarrayGetCount(sa3);
     sarrayDestroy(&sa3);
-    regTestCompareValues(rp, string_intersection, c1, 0);  /* 6 */
+    regTestCompareValues(rp, string_intersection, c1, 1);  /* 6 */
     if (rp->display) lept_stderr("  hmap: intersection size = %d\n", c1);
     sarrayUnionByHmap(sa1, sa2, &sa3);
     c1 = sarrayGetCount(sa3);
@@ -160,7 +160,7 @@ L_REGPARAMS  *rp;
     ptaIntersectionByAset(pta1, pta2, &pta3);
     c1 = ptaGetCount(pta3);
     ptaDestroy(&pta3);
-    regTestCompareValues(rp, pta_intersection, c1, 0);  /* 10 */
+    regTestCompareValues(rp, pta_intersection, c1, 1);  /* 10 */
     if (rp->display) lept_stderr("  aset: intersection size = %d\n", c1);
     ptaUnionByAset(pta1, pta2, &pta3);
     c1 = ptaGetCount(pta3);
@@ -182,7 +182,7 @@ L_REGPARAMS  *rp;
     ptaIntersectionByHmap(pta1, pta2, &pta3);
     c1 = ptaGetCount(pta3);
     ptaDestroy(&pta3);
-    regTestCompareValues(rp, pta_intersection, c1, 0);  /* 14 */
+    regTestCompareValues(rp, pta_intersection, c1, 1);  /* 14 */
     if (rp->display) lept_stderr("  hmap: intersection size = %d\n", c1);
     ptaUnionByHmap(pta1, pta2, &pta3);
     c1 = ptaGetCount(pta3);
@@ -220,7 +220,7 @@ L_REGPARAMS  *rp;
     l_dnaIntersectionByAset(da1, da2, &da3);
     c1 = l_dnaGetCount(da3);
     l_dnaDestroy(&da3);
-    regTestCompareValues(rp, da_intersection, c1, 0);  /* 18 */
+    regTestCompareValues(rp, da_intersection, c1, 1);  /* 18 */
     if (rp->display) lept_stderr("  aset: intersection size = %d\n", c1);
     l_dnaUnionByAset(da1, da2, &da3);
     c1 = l_dnaGetCount(da3);
@@ -242,7 +242,7 @@ L_REGPARAMS  *rp;
     l_dnaIntersectionByHmap(da1, da2, &da3);
     c1 = l_dnaGetCount(da3);
     l_dnaDestroy(&da3);
-    regTestCompareValues(rp, da_intersection, c1, 0);  /* 22 */
+    regTestCompareValues(rp, da_intersection, c1, 1);  /* 22 */
     if (rp->display) lept_stderr("  hmap: intersection size = %d\n", c1);
     l_dnaUnionByHmap(da1, da2, &da3);
     c1 = l_dnaGetCount(da3);

++++++ leptonica-1.80.0.tar.gz -> leptonica-1.82.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/leptonica/leptonica-1.80.0.tar.gz 
/work/SRC/openSUSE:Factory/.leptonica.new.1896/leptonica-1.82.0.tar.gz differ: 
char 5, line 1

Reply via email to