Hello community, here is the log from the commit of package tesseract-ocr for openSUSE:Factory checked in at 2019-12-13 12:05:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tesseract-ocr (Old) and /work/SRC/openSUSE:Factory/.tesseract-ocr.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tesseract-ocr" Fri Dec 13 12:05:10 2019 rev:7 rq:756765 version:4.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/tesseract-ocr/tesseract-ocr.changes 2018-02-21 14:11:47.061513395 +0100 +++ /work/SRC/openSUSE:Factory/.tesseract-ocr.new.4691/tesseract-ocr.changes 2019-12-13 12:06:05.133363375 +0100 @@ -1,0 +2,19 @@ +Fri Dec 13 09:03:19 UTC 2019 - Martin Pluskal <mplus...@suse.com> + +- Packaging Cleanups +- Update dependencies and enable openCL + +------------------------------------------------------------------- +Fri Dec 13 03:01:02 UTC 2019 - hiwatari.se...@gmail.com + +- Update to 4.1.0 + * Added a new output option formatted in the ALTO standard + * SIMD optimization + * Bugfixes +- Update to 4.0.0 + * New OCR engine based on LSTMs + * Removed Cube OCR engine + * Updated build system + * Cleanups and fixes + +------------------------------------------------------------------- Old: ---- tesseract-ocr-3.05.01.tar.gz New: ---- tesseract-ocr-4.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tesseract-ocr.spec ++++++ --- /var/tmp/diff_new_pack.kBRd5Y/_old 2019-12-13 12:06:05.785363129 +0100 +++ /var/tmp/diff_new_pack.kBRd5Y/_new 2019-12-13 12:06:05.789363127 +0100 @@ -1,7 +1,7 @@ # # spec file for package tesseract-ocr # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,31 +12,39 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define so_ver 3 +%define so_ver 4 Name: tesseract-ocr -Version: 3.05.01 +Version: 4.1.0 Release: 0 Summary: Open Source OCR Engine -License: Apache-2.0 AND GPL-2.0+ +License: Apache-2.0 AND GPL-2.0-or-later Group: Productivity/Graphics/Other -Url: https://github.com/tesseract-ocr/tesseract +URL: https://github.com/tesseract-ocr/tesseract Source0: https://github.com/tesseract-ocr/tesseract/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: asciidoc BuildRequires: autoconf BuildRequires: automake -BuildRequires: cairo-devel BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: libicu-devel -BuildRequires: liblept-devel >= 1.74 BuildRequires: libtool -BuildRequires: m4 -BuildRequires: pango-devel -BuildRequires: pkgconfig +BuildRequires: libxslt-tools +BuildRequires: opencl-headers +BuildRequires: pkgconfig >= 0.9.0 +BuildRequires: pkgconfig(OpenCL) +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(fontconfig) +BuildRequires: pkgconfig(icu-i18n) >= 52.1 +BuildRequires: pkgconfig(icu-uc) >= 52.1 +BuildRequires: pkgconfig(lept) >= 1.74 +BuildRequires: pkgconfig(libarchive) +BuildRequires: pkgconfig(pango) >= 1.22.0 +BuildRequires: pkgconfig(pangocairo) >= 1.22.0 +BuildRequires: pkgconfig(pangoft2) >= 1.22.0 Recommends: tesseract-ocr-traineddata-english %description @@ -64,22 +72,17 @@ open-sourced by HP and UNLV in 2005. From 2007 it is developed by Google. %prep -%setup -q -n tesseract-%{version} -autoreconf -fi - -# Remove build time references so build-compare can do its work -echo "HTML_TIMESTAMP = NO" >> doc/Doxyfile +%autosetup -n tesseract-%{version} %build -export CXXFLAGS="%{optflags} -fno-strict-aliasing -fPIC" -%configure --disable-static -make %{?_smp_mflags} -make training %{?_smp_mflags} -make doc %{?_smp_mflags} +autoreconf -fiv +%configure \ + --enable-opencl \ + --disable-static +%make_build all training doc %install -%make_install -make DESTDIR=%{buildroot} training-install +%make_install all training-install # Remove libtool config files rm -f %{buildroot}%{_libdir}/libtesseract.la @@ -90,6 +93,9 @@ # Fix rpmlint warning "doc-file-dependency" rm -f %{buildroot}%{_defaultdocdir}/%{name}-devel/html/installdox +# Fix rpmlint warning "non-executable-in-bin" +chmod 0755 %{buildroot}%{_bindir}/tesstrain_utils.sh + # Fix rpmlint warning "files-duplicate" %fdupes -s %{buildroot} @@ -97,14 +103,15 @@ %postun -n libtesseract%{so_ver} -p /sbin/ldconfig %files -%doc AUTHORS COPYING ChangeLog README.md +%doc AUTHORS ChangeLog README.md +%license LICENSE %{_bindir}/* %dir %{_datadir}/tessdata %{_datadir}/tessdata/configs/ %{_datadir}/tessdata/tessconfigs/ %{_datadir}/tessdata/pdf.ttf -%{_mandir}/man1/*.1%{ext_man} -%{_mandir}/man5/*.5%{ext_man} +%{_mandir}/man1/*.1%{?ext_man} +%{_mandir}/man5/*.5%{?ext_man} %files devel %doc %{_defaultdocdir}/tesseract-ocr-devel/ ++++++ tesseract-ocr-3.05.01.tar.gz -> tesseract-ocr-4.1.0.tar.gz ++++++ ++++ 462334 lines of diff (skipped)