Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package leptonica for openSUSE:Factory 
checked in at 2023-01-09 18:21:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/leptonica (Old)
 and      /work/SRC/openSUSE:Factory/.leptonica.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "leptonica"

Mon Jan  9 18:21:54 2023 rev:22 rq: version:1.82.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes      2023-01-09 
17:24:30.911400401 +0100
+++ /work/SRC/openSUSE:Factory/.leptonica.new.32243/leptonica.changes   
2023-01-09 18:22:00.122998721 +0100
@@ -2,38 +1,0 @@
-Mon Jan  9 02:50:35 UTC 2023 - Mia Herkt <[email protected]>
-
-- 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)
-
--------------------------------------------------------------------

Old:
----
  leptonica-1.83.0.tar.gz

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

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

Other differences:
------------------
++++++ leptonica.spec ++++++
--- /var/tmp/diff_new_pack.daRUNg/_old  2023-01-09 18:22:01.151004500 +0100
+++ /var/tmp/diff_new_pack.daRUNg/_new  2023-01-09 18:22:01.167004590 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package leptonica
 #
-# Copyright (c) 2023 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
@@ -16,9 +16,9 @@
 #
 
 
-%define major   6
+%define major   5
 Name:           leptonica
-Version:        1.83.0
+Version:        1.82.0
 Release:        0
 Summary:        Library for image processing and image analysis applications
 License:        BSD-2-Clause
@@ -26,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
@@ -39,22 +40,19 @@
 %description
 Library for efficient image processing and image analysis operations.
 
-%package -n libleptonica%{major}
+%package -n liblept%{major}
 Summary:        Library for image processing and image analysis applications
 Group:          System/Libraries
-Obsoletes:      liblept < %{version}
-Provides:       liblept = %{version}
 
-%description -n libleptonica%{major}
+%description -n liblept%{major}
 Library for efficient image processing and image analysis operations.
 
 %package devel
 Summary:        Leptonica Development Files
 Group:          Development/Libraries/C and C++
-Requires:       libleptonica%{major} = %{version}
-Provides:       libleptonica-devel = %{version}
-Obsoletes:      liblept-devel < %{version}
+Requires:       liblept%{major} = %{version}
 Provides:       liblept-devel = %{version}
+Obsoletes:      liblept-devel < 1.70
 
 %description devel
 Development files for the Leptonica library.
@@ -80,6 +78,11 @@
 find %{buildroot} -type f -name "*.la" -delete -print
 rm -f %{buildroot}%{_bindir}/{*gen,*reg,*test*}
 
+# Just symlinks. Linked to liblept.so.* and to the missing liblept.la.
+# We don't need, I guess.
+rm -f %{buildroot}%{_libdir}/libleptonica.so
+rm -f %{buildroot}%{_libdir}/libleptonica.la
+
 # Something related to cmake build. Not use at the moment.
 rm -fr %{buildroot}%{_libdir}/cmake/
 
@@ -87,19 +90,19 @@
 # Don't run multiple jobs: some tests failed somehow.
 %make_build -j1 check
 
-%post -n libleptonica%{major} -p /sbin/ldconfig
-%postun -n libleptonica%{major} -p /sbin/ldconfig
+%post -n liblept%{major} -p /sbin/ldconfig
+%postun -n liblept%{major} -p /sbin/ldconfig
 
-%files -n libleptonica%{major}
+%files -n liblept%{major}
 %license leptonica-license.txt
 %doc version-notes.html moller52.jpg
-%{_libdir}/libleptonica.so.*
+%{_libdir}/liblept.so.*
 
 %files devel
 %license leptonica-license.txt
 %doc README.html version-notes.html moller52.jpg
 %{_includedir}/leptonica/
-%{_libdir}/libleptonica.so
+%{_libdir}/liblept.so
 %{_libdir}/pkgconfig/*
 
 %files -n leptonica-tools

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.daRUNg/_old  2023-01-09 18:22:01.195004747 +0100
+++ /var/tmp/diff_new_pack.daRUNg/_new  2023-01-09 18:22:01.199004769 +0100
@@ -1,2 +1,2 @@
-libleptonica6
+liblept5
 

++++++ ea2bb8c9cf61d3eba2589cfaac05f59a33b4110d.patch ++++++
>From ea2bb8c9cf61d3eba2589cfaac05f59a33b4110d Mon Sep 17 00:00:00 2001
From: danblooomberg <[email protected]>
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.83.0.tar.gz -> leptonica-1.82.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/leptonica/leptonica-1.83.0.tar.gz 
/work/SRC/openSUSE:Factory/.leptonica.new.32243/leptonica-1.82.0.tar.gz differ: 
char 5, line 1

Reply via email to