8 Commits

Author SHA256 Message Date
6524bfe214 Accepting request 1325726 from Publishing
- Update to version 5.5.2:
  * Simplify code for osdetect by @stweil in #4436
  * Fix and improve configuration for cmake builds by @stweil in #4437
  * Modernize some for loops and fix some signed/unsigned issues by @stweil in #4438
  * Cmake optimization with warp2 by @zdenop in #4452
  * Update checkout action by @rettinghaus in #4461
  * chore: fix cyrillic typo by @0xflotus in #4462
  * Move version info. to appropriate ALTO element by @david-russo in #4464
  * CI: Remove unneeded export statements from cmake workflow for macOS by @stweil in #4467
  * Bump actions/checkout from 5 to 6 by @dependabot[bot] in #4485
  * Bump github/codeql-action from 2 to 4 by @dependabot[bot] in #4488
  * Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #4487
  * Bump mikepenz/action-junit-report from 4 to 6 by @dependabot[bot] in #4486
  * Bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #4494

  * Fix linear congruential random number generator by @stweil in #4357
  * Make list classes templated by @egorpugin in #4356
  * add cli -c parameter(s) to init vectors by @zdenop in #4363
  * handle colormaps correctly by @zdenop in #4369
  * use constexpr for kDawgMagicNumber by @zdenop in #4378
  * Extend elf_aux_info() support for RISC-V on FreeBSD and OpenBSD by @brad0 in #4376
  * Fix building elf_aux_info() support on OpenBSD/arm by @brad0 in #4383
  * Fix invalid empty interval in punct_stripped() for all-punctuation words by @EnodoGH in #4404
  * Fix function addAvailableLanguages (issue #4416) by @stweil in #4417
  * Avoid error in pixSauvolaBinarizeTiled (issue #4390) by @stweil in #4418
  * Fix duplicated IDs in ALTO XML when multiple pages are present by @jankal in #4386
  * Remove unused include statements for tprintf.h by @stweil in #4419
  * Use links to the git history and online release notes instead of local ChangeLog by @stweil in #4423

OBS-URL: https://build.opensuse.org/request/show/1325726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tesseract-ocr?expand=0&rev=21
2026-01-07 15:02:30 +00:00
185293afc5 - Update to version 5.5.2:
* Simplify code for osdetect by @stweil in #4436
  * Fix and improve configuration for cmake builds by @stweil in #4437
  * Modernize some for loops and fix some signed/unsigned issues by @stweil in #4438
  * Cmake optimization with warp2 by @zdenop in #4452
  * Update checkout action by @rettinghaus in #4461
  * chore: fix cyrillic typo by @0xflotus in #4462
  * Move version info. to appropriate ALTO element by @david-russo in #4464
  * CI: Remove unneeded export statements from cmake workflow for macOS by @stweil in #4467
  * Bump actions/checkout from 5 to 6 by @dependabot[bot] in #4485
  * Bump github/codeql-action from 2 to 4 by @dependabot[bot] in #4488
  * Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #4487
  * Bump mikepenz/action-junit-report from 4 to 6 by @dependabot[bot] in #4486
  * Bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #4494
  * Fix linear congruential random number generator by @stweil in #4357
  * Make list classes templated by @egorpugin in #4356
  * add cli -c parameter(s) to init vectors by @zdenop in #4363
  * handle colormaps correctly by @zdenop in #4369
  * use constexpr for kDawgMagicNumber by @zdenop in #4378
  * Extend elf_aux_info() support for RISC-V on FreeBSD and OpenBSD by @brad0 in #4376
  * Fix building elf_aux_info() support on OpenBSD/arm by @brad0 in #4383
  * Fix invalid empty interval in punct_stripped() for all-punctuation words by @EnodoGH in #4404
  * Fix function addAvailableLanguages (issue #4416) by @stweil in #4417
  * Avoid error in pixSauvolaBinarizeTiled (issue #4390) by @stweil in #4418
  * Fix duplicated IDs in ALTO XML when multiple pages are present by @jankal in #4386
  * Remove unused include statements for tprintf.h by @stweil in #4419
  * Use links to the git history and online release notes instead of local ChangeLog by @stweil in #4423

OBS-URL: https://build.opensuse.org/package/show/Publishing/tesseract-ocr?expand=0&rev=52
2026-01-07 08:25:43 +00:00
d8d4396076 Accepting request 1284007 from Publishing
- Update to version 5.5.1:
	* Fix linear congruential random number generator by @stweil in #4357
	* Make list classes templated by @egorpugin in #4356
	* add cli -c parameter(s) to init vectors by @zdenop in #4363
	* handle colormaps correctly by @zdenop in #4369
	* use constexpr for kDawgMagicNumber by @zdenop in #4378
	* Extend elf_aux_info() support for RISC-V on FreeBSD and OpenBSD by @brad0 in #4376
	* Fix building elf_aux_info() support on OpenBSD/arm by @brad0 in #4383
	* Fix invalid empty interval in punct_stripped() for all-punctuation words by @EnodoGH in #4404
	* Fix function addAvailableLanguages (issue #4416) by @stweil in #4417
	* Avoid error in pixSauvolaBinarizeTiled (issue #4390) by @stweil in #4418
	* Fix duplicated IDs in ALTO XML when multiple pages are present by @jankal in #4386
	* Remove unused include statements for tprintf.h by @stweil in #4419
	* Use links to the git history and online release notes instead of local ChangeLog by @stweil in #4423

OBS-URL: https://build.opensuse.org/request/show/1284007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tesseract-ocr?expand=0&rev=20
2025-06-10 07:06:45 +00:00
0d1f9f6d7c - Update to version 5.5.1:
* Fix linear congruential random number generator by @stweil in #4357
	* Make list classes templated by @egorpugin in #4356
	* add cli -c parameter(s) to init vectors by @zdenop in #4363
	* handle colormaps correctly by @zdenop in #4369
	* use constexpr for kDawgMagicNumber by @zdenop in #4378
	* Extend elf_aux_info() support for RISC-V on FreeBSD and OpenBSD by @brad0 in #4376
	* Fix building elf_aux_info() support on OpenBSD/arm by @brad0 in #4383
	* Fix invalid empty interval in punct_stripped() for all-punctuation words by @EnodoGH in #4404
	* Fix function addAvailableLanguages (issue #4416) by @stweil in #4417
	* Avoid error in pixSauvolaBinarizeTiled (issue #4390) by @stweil in #4418
	* Fix duplicated IDs in ALTO XML when multiple pages are present by @jankal in #4386
	* Remove unused include statements for tprintf.h by @stweil in #4419
	* Use links to the git history and online release notes instead of local ChangeLog by @stweil in #4423

OBS-URL: https://build.opensuse.org/package/show/Publishing/tesseract-ocr?expand=0&rev=50
2025-06-09 08:07:22 +00:00
43ac1602cf Accepting request 1226250 from Publishing
- Update versioned dependencies and add missing buildrequirements
- Bump Leap version of gcc

- Update to 5.5.0
  - Fix TARGET_PDB_FILE error for static linking. in #4271
  - Make regular usage of CMAKE_INSTALL_LIBDIR and GNUInstallDirs in #4272
  - Ignore illegal TESSDATA_PREFIX (not existing filesystem entry, issue #4277) in #4278
  - Fix confidence output for the PAGE XML renderer in #4283
  - Set hOCR capabilities ocrp_dir and ocrp_lang unconditionally in #4301
  - Reduce clock syscalls in #4303
  - Calculate row bounding box in single-word mode per #4304 in #4305
  - Replace access/_access by std::filesystem::exists in #4307
  - Modernize code for list of available models in #4308
  - Fix performance and other issues reported by Codacy in #4309
  - Remove unnecessary assignment and assertions in #4313
  - Update code for tprintf in #4306
  - Add C++ stream for log messages and use it in two debug messages in #4314
  - cmake: Correctly set the soversion based on SemVer properties in #4319
  - Replace deprecated runner macos-12 by macos-latest in GitHub actions in #4326
  - Modernize code for renderers and remove filename conversion for Windows in #4330
  - Fix some typos and grammer issues in #4337
  - Add GitHub action and Makefile target for Windows installer in #4341
  - Support symbolic values for --oem and --psm options in #4344
  - Replace some tprintf by tesserr stream (fixes Windows compiler warnings) in #4345
  - Add RISC-V V support #4346
  - Fix and improve Windows installer in #4348
  - Remove Tensorflow support in #4350
  - Update submodule googletest to release v1.15.2 in #4352

OBS-URL: https://build.opensuse.org/request/show/1226250
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tesseract-ocr?expand=0&rev=19
2024-11-25 22:22:30 +00:00
b34295a88b - Update versioned dependencies and add missing buildrequirements
- Bump Leap version of gcc

OBS-URL: https://build.opensuse.org/package/show/Publishing/tesseract-ocr?expand=0&rev=48
2024-11-25 11:07:47 +00:00
1fbbeb61e1 OBS-URL: https://build.opensuse.org/package/show/Publishing/tesseract-ocr?expand=0&rev=47 2024-11-25 10:06:16 +00:00
31608a9ba1 - Update to 5.5.0
- Fix TARGET_PDB_FILE error for static linking. in #4271
  - Make regular usage of CMAKE_INSTALL_LIBDIR and GNUInstallDirs in #4272
  - Ignore illegal TESSDATA_PREFIX (not existing filesystem entry, issue #4277) in #4278
  - Fix confidence output for the PAGE XML renderer in #4283
  - Set hOCR capabilities ocrp_dir and ocrp_lang unconditionally in #4301
  - Reduce clock syscalls in #4303
  - Calculate row bounding box in single-word mode per #4304 in #4305
  - Replace access/_access by std::filesystem::exists in #4307
  - Modernize code for list of available models in #4308
  - Fix performance and other issues reported by Codacy in #4309
  - Remove unnecessary assignment and assertions in #4313
  - Update code for tprintf in #4306
  - Add C++ stream for log messages and use it in two debug messages in #4314
  - cmake: Correctly set the soversion based on SemVer properties in #4319
  - Replace deprecated runner macos-12 by macos-latest in GitHub actions in #4326
  - Modernize code for renderers and remove filename conversion for Windows in #4330
  - Fix some typos and grammer issues in #4337
  - Add GitHub action and Makefile target for Windows installer in #4341
  - Support symbolic values for --oem and --psm options in #4344
  - Replace some tprintf by tesserr stream (fixes Windows compiler warnings) in #4345
  - Add RISC-V V support #4346
  - Fix and improve Windows installer in #4348
  - Remove Tensorflow support in #4350
  - Update submodule googletest to release v1.15.2 in #4352

OBS-URL: https://build.opensuse.org/package/show/Publishing/tesseract-ocr?expand=0&rev=46
2024-11-25 09:29:15 +00:00
4 changed files with 83 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4bc2a81c12a472f445b7c2fb4705a08bd643ef467f51ec84f0e148bd368051b
size 1899949

3
tesseract-5.5.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6235ea0dae45ea137f59c09320406f5888383741924d98855bd2ce0d16b54f21
size 1903633

View File

@@ -1,3 +1,74 @@
-------------------------------------------------------------------
Wed Jan 7 08:22:14 UTC 2026 - Martin Pluskal <mpluskal@suse.com>
- Update to version 5.5.2:
* Simplify code for osdetect by @stweil in #4436
* Fix and improve configuration for cmake builds by @stweil in #4437
* Modernize some for loops and fix some signed/unsigned issues by @stweil in #4438
* Cmake optimization with warp2 by @zdenop in #4452
* Update checkout action by @rettinghaus in #4461
* chore: fix cyrillic typo by @0xflotus in #4462
* Move version info. to appropriate ALTO element by @david-russo in #4464
* CI: Remove unneeded export statements from cmake workflow for macOS by @stweil in #4467
* Bump actions/checkout from 5 to 6 by @dependabot[bot] in #4485
* Bump github/codeql-action from 2 to 4 by @dependabot[bot] in #4488
* Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #4487
* Bump mikepenz/action-junit-report from 4 to 6 by @dependabot[bot] in #4486
* Bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #4494
-------------------------------------------------------------------
Mon Jun 9 07:51:52 UTC 2025 - Martin Pluskal <mpluskal@suse.com>
- Update to version 5.5.1:
* Fix linear congruential random number generator by @stweil in #4357
* Make list classes templated by @egorpugin in #4356
* add cli -c parameter(s) to init vectors by @zdenop in #4363
* handle colormaps correctly by @zdenop in #4369
* use constexpr for kDawgMagicNumber by @zdenop in #4378
* Extend elf_aux_info() support for RISC-V on FreeBSD and OpenBSD by @brad0 in #4376
* Fix building elf_aux_info() support on OpenBSD/arm by @brad0 in #4383
* Fix invalid empty interval in punct_stripped() for all-punctuation words by @EnodoGH in #4404
* Fix function addAvailableLanguages (issue #4416) by @stweil in #4417
* Avoid error in pixSauvolaBinarizeTiled (issue #4390) by @stweil in #4418
* Fix duplicated IDs in ALTO XML when multiple pages are present by @jankal in #4386
* Remove unused include statements for tprintf.h by @stweil in #4419
* Use links to the git history and online release notes instead of local ChangeLog by @stweil in #4423
-------------------------------------------------------------------
Mon Nov 25 10:47:06 UTC 2024 - Martin Pluskal <mpluskal@suse.com>
- Update versioned dependencies and add missing buildrequirements
- Bump Leap version of gcc
-------------------------------------------------------------------
Mon Nov 25 06:36:09 UTC 2024 - ecsos <ecsos@opensuse.org>
- Update to 5.5.0
- Fix TARGET_PDB_FILE error for static linking. in #4271
- Make regular usage of CMAKE_INSTALL_LIBDIR and GNUInstallDirs in #4272
- Ignore illegal TESSDATA_PREFIX (not existing filesystem entry, issue #4277) in #4278
- Fix confidence output for the PAGE XML renderer in #4283
- Set hOCR capabilities ocrp_dir and ocrp_lang unconditionally in #4301
- Reduce clock syscalls in #4303
- Calculate row bounding box in single-word mode per #4304 in #4305
- Replace access/_access by std::filesystem::exists in #4307
- Modernize code for list of available models in #4308
- Fix performance and other issues reported by Codacy in #4309
- Remove unnecessary assignment and assertions in #4313
- Update code for tprintf in #4306
- Add C++ stream for log messages and use it in two debug messages in #4314
- cmake: Correctly set the soversion based on SemVer properties in #4319
- Replace deprecated runner macos-12 by macos-latest in GitHub actions in #4326
- Modernize code for renderers and remove filename conversion for Windows in #4330
- Fix some typos and grammer issues in #4337
- Add GitHub action and Makefile target for Windows installer in #4341
- Support symbolic values for --oem and --psm options in #4344
- Replace some tprintf by tesserr stream (fixes Windows compiler warnings) in #4345
- Add RISC-V V support #4346
- Fix and improve Windows installer in #4348
- Remove Tensorflow support in #4350
- Update submodule googletest to release v1.15.2 in #4352
-------------------------------------------------------------------
Tue Jul 2 17:03:59 UTC 2024 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package tesseract-ocr
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define lname libtesseract5
Name: tesseract-ocr
Version: 5.4.1
Version: 5.5.2
Release: 0
Summary: Open Source OCR Engine
License: Apache-2.0 AND GPL-2.0-or-later
@@ -44,15 +44,16 @@ 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
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(pango) >= 1.38.0
BuildRequires: pkgconfig(pangocairo)
BuildRequires: pkgconfig(pangoft2)
Recommends: tesseract-ocr-traineddata-english
%{?suse_build_hwcaps_libs}
%if 0%{?suse_version} > 1550
BuildRequires: gcc-c++
%else
BuildRequires: gcc12-c++
BuildRequires: gcc13-c++
%endif
%description
@@ -83,8 +84,8 @@ open-sourced by HP and UNLV in 2005. From 2007 it is developed by Google.
%build
%if 0%{?suse_version} < 1550
export CC=gcc-12
export CXX=g++-12
export CC=gcc-13
export CXX=g++-13
%endif
autoreconf -fiv