Update to 5.3.2

This commit is contained in:
Sandro Mani 2023-07-13 23:43:40 +02:00
parent fcf35d01f8
commit 4c3dc8bf8e
5 changed files with 23 additions and 19 deletions

1
.gitignore vendored
View File

@ -25,3 +25,4 @@ tesseract-2.00.eng.tar.gz
/tesseract-5.2.0.tar.gz
/tesseract-5.3.0.tar.gz
/tesseract-5.3.1.tar.gz
/tesseract-5.3.2.tar.gz

View File

@ -1 +1 @@
SHA512 (tesseract-5.3.1.tar.gz) = 1744106d76eafd0786b99b517707afdd22b7b5cb3dfd7f0af02954539715c981ff0f12d142ee103113ba38dac8476052d6880b81d4c8050de650bf1cee6ba06c
SHA512 (tesseract-5.3.2.tar.gz) = 92db2a513f00b931a0207cc705020bee9fea4ff7fa93c57a6f446b5777713864cce19121b316ef8b78b6bd625ee7e6fd473352515f98c4a2187569cbd0a9713a

View File

@ -7,8 +7,8 @@
%endif
Name: tesseract
Version: 5.3.1
Release: 2%{?dist}
Version: 5.3.2
Release: 1%{?dist}
Summary: Raw OCR Engine
License: Apache-2.0
@ -242,6 +242,9 @@ cp -a doc/*.5 %{buildroot}%{_mandir}/man5/
%changelog
* Thu Jul 13 2023 Sandro Mani <manisandro@gmail.com> - 5.3.2-1
- Update to 5.3.2
* Tue Jul 11 2023 František Zatloukal <fzatlouk@redhat.com> - 5.3.1-2
- Rebuilt for ICU 73.2

View File

@ -1,7 +1,7 @@
diff -rupN --no-dereference tesseract-5.3.1/CMakeLists.txt tesseract-5.3.1-new/CMakeLists.txt
--- tesseract-5.3.1/CMakeLists.txt 2023-04-01 21:50:30.000000000 +0200
+++ tesseract-5.3.1-new/CMakeLists.txt 2023-04-03 12:08:00.033581846 +0200
@@ -361,7 +361,7 @@ elseif(UNIX)
diff -rupN --no-dereference tesseract-5.3.2/CMakeLists.txt tesseract-5.3.2-new/CMakeLists.txt
--- tesseract-5.3.2/CMakeLists.txt 2023-07-11 13:54:45.000000000 +0200
+++ tesseract-5.3.2-new/CMakeLists.txt 2023-07-13 23:43:05.571496441 +0200
@@ -362,7 +362,7 @@ elseif(UNIX)
set(LIB_pthread pthread)
endif()
elseif(WIN32)
@ -10,7 +10,7 @@ diff -rupN --no-dereference tesseract-5.3.1/CMakeLists.txt tesseract-5.3.1-new/C
endif()
add_definitions("-DCMAKE_BUILD")
@@ -831,12 +831,17 @@ set_target_properties(
@@ -850,12 +850,17 @@ set_target_properties(
libtesseract PROPERTIES SOVERSION
${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
@ -34,7 +34,7 @@ diff -rupN --no-dereference tesseract-5.3.1/CMakeLists.txt tesseract-5.3.1-new/C
if(SW_BUILD)
target_link_libraries(libtesseract PUBLIC org.sw.demo.danbloomberg.leptonica
@@ -958,9 +963,9 @@ install(
@@ -977,9 +982,9 @@ install(
if(INSTALL_CONFIGS)
install(FILES ${TESSERACT_CONFIGS}
@ -46,9 +46,9 @@ diff -rupN --no-dereference tesseract-5.3.1/CMakeLists.txt tesseract-5.3.1-new/C
endif()
# ##############################################################################
diff -rupN --no-dereference tesseract-5.3.1/src/training/CMakeLists.txt tesseract-5.3.1-new/src/training/CMakeLists.txt
--- tesseract-5.3.1/src/training/CMakeLists.txt 2023-04-01 21:50:30.000000000 +0200
+++ tesseract-5.3.1-new/src/training/CMakeLists.txt 2023-04-03 12:08:00.034581845 +0200
diff -rupN --no-dereference tesseract-5.3.2/src/training/CMakeLists.txt tesseract-5.3.2-new/src/training/CMakeLists.txt
--- tesseract-5.3.2/src/training/CMakeLists.txt 2023-07-11 13:54:45.000000000 +0200
+++ tesseract-5.3.2-new/src/training/CMakeLists.txt 2023-07-13 23:43:05.571496441 +0200
@@ -115,7 +115,7 @@ if(NOT DISABLED_LEGACY_ENGINE)
common/trainingsampleset.h)
endif()

View File

@ -1,7 +1,7 @@
diff -rupN --no-dereference tesseract-5.3.1/CMakeLists.txt tesseract-5.3.1-new/CMakeLists.txt
--- tesseract-5.3.1/CMakeLists.txt 2023-04-03 12:08:00.080581809 +0200
+++ tesseract-5.3.1-new/CMakeLists.txt 2023-04-03 12:08:00.084581806 +0200
@@ -248,7 +248,7 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "a
diff -rupN --no-dereference tesseract-5.3.2/CMakeLists.txt tesseract-5.3.2-new/CMakeLists.txt
--- tesseract-5.3.2/CMakeLists.txt 2023-07-13 23:43:05.622496401 +0200
+++ tesseract-5.3.2-new/CMakeLists.txt 2023-07-13 23:43:05.627496397 +0200
@@ -249,7 +249,7 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "a
set(HAVE_AVX512F FALSE)
set(HAVE_FMA FALSE)
set(HAVE_SSE4_1 FALSE)
@ -10,9 +10,9 @@ diff -rupN --no-dereference tesseract-5.3.1/CMakeLists.txt tesseract-5.3.1-new/C
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm.*")
diff -rupN --no-dereference tesseract-5.3.1/src/arch/simddetect.cpp tesseract-5.3.1-new/src/arch/simddetect.cpp
--- tesseract-5.3.1/src/arch/simddetect.cpp 2023-04-01 21:50:30.000000000 +0200
+++ tesseract-5.3.1-new/src/arch/simddetect.cpp 2023-04-03 12:08:00.084581806 +0200
diff -rupN --no-dereference tesseract-5.3.2/src/arch/simddetect.cpp tesseract-5.3.2-new/src/arch/simddetect.cpp
--- tesseract-5.3.2/src/arch/simddetect.cpp 2023-07-11 13:54:45.000000000 +0200
+++ tesseract-5.3.2-new/src/arch/simddetect.cpp 2023-07-13 23:43:05.627496397 +0200
@@ -254,7 +254,7 @@ SIMDDetect::SIMDDetect() {
// SSE detected.
SetDotProduct(DotProductSSE, &IntSimdMatrix::intSimdMatrixSSE);