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 17:24:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/leptonica (Old) and /work/SRC/openSUSE:Factory/.leptonica.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "leptonica" Mon Jan 9 17:24:29 2023 rev:21 rq:1057098 version:1.83.0 Changes: -------- --- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes 2022-01-07 12:46:56.443868767 +0100 +++ /work/SRC/openSUSE:Factory/.leptonica.new.32243/leptonica.changes 2023-01-09 17:24:30.911400401 +0100 @@ -1,0 +2,38 @@ +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: ---- ea2bb8c9cf61d3eba2589cfaac05f59a33b4110d.patch leptonica-1.82.0.tar.gz New: ---- leptonica-1.83.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ leptonica.spec ++++++ --- /var/tmp/diff_new_pack.zQHJNx/_old 2023-01-09 17:24:31.623404431 +0100 +++ /var/tmp/diff_new_pack.zQHJNx/_new 2023-01-09 17:24:31.627404453 +0100 @@ -1,7 +1,7 @@ # # spec file for package leptonica # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 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 5 +%define major 6 Name: leptonica -Version: 1.82.0 +Version: 1.83.0 Release: 0 Summary: Library for image processing and image analysis applications License: BSD-2-Clause @@ -26,7 +26,6 @@ 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 @@ -40,19 +39,22 @@ %description Library for efficient image processing and image analysis operations. -%package -n liblept%{major} +%package -n libleptonica%{major} Summary: Library for image processing and image analysis applications Group: System/Libraries +Obsoletes: liblept < %{version} +Provides: liblept = %{version} -%description -n liblept%{major} +%description -n libleptonica%{major} Library for efficient image processing and image analysis operations. %package devel Summary: Leptonica Development Files Group: Development/Libraries/C and C++ -Requires: liblept%{major} = %{version} +Requires: libleptonica%{major} = %{version} +Provides: libleptonica-devel = %{version} +Obsoletes: liblept-devel < %{version} Provides: liblept-devel = %{version} -Obsoletes: liblept-devel < 1.70 %description devel Development files for the Leptonica library. @@ -78,11 +80,6 @@ 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/ @@ -90,19 +87,19 @@ # Don't run multiple jobs: some tests failed somehow. %make_build -j1 check -%post -n liblept%{major} -p /sbin/ldconfig -%postun -n liblept%{major} -p /sbin/ldconfig +%post -n libleptonica%{major} -p /sbin/ldconfig +%postun -n libleptonica%{major} -p /sbin/ldconfig -%files -n liblept%{major} +%files -n libleptonica%{major} %license leptonica-license.txt %doc version-notes.html moller52.jpg -%{_libdir}/liblept.so.* +%{_libdir}/libleptonica.so.* %files devel %license leptonica-license.txt %doc README.html version-notes.html moller52.jpg %{_includedir}/leptonica/ -%{_libdir}/liblept.so +%{_libdir}/libleptonica.so %{_libdir}/pkgconfig/* %files -n leptonica-tools ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.zQHJNx/_old 2023-01-09 17:24:31.663404657 +0100 +++ /var/tmp/diff_new_pack.zQHJNx/_new 2023-01-09 17:24:31.667404679 +0100 @@ -1,2 +1,2 @@ -liblept5 +libleptonica6 ++++++ leptonica-1.82.0.tar.gz -> leptonica-1.83.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/leptonica/leptonica-1.82.0.tar.gz /work/SRC/openSUSE:Factory/.leptonica.new.32243/leptonica-1.83.0.tar.gz differ: char 5, line 1
