public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tesseract] f44: Update to 5.5.3
@ 2026-07-29 11:49 Sandro Mani
  0 siblings, 0 replies; only message in thread
From: Sandro Mani @ 2026-07-29 11:49 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/tesseract
Branch : f44
Commit : d0304717aa3c7b0c504407d17d2d84a3aebd6627
Author : Sandro Mani <manisandro@gmail.com>
Date   : 2026-07-29T12:22:37+02:00
Stats  : +26/-22 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/tesseract/c/d0304717aa3c7b0c504407d17d2d84a3aebd6627?branch=f44

Log:
Update to 5.5.3

---
diff --git a/.gitignore b/.gitignore
index 6da0def..a5cd611 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,3 +33,4 @@ tesseract-2.00.eng.tar.gz
 /tesseract-5.5.0.tar.gz
 /tesseract-5.5.1.tar.gz
 /tesseract-5.5.2.tar.gz
+/tesseract-5.5.3.tar.gz

diff --git a/sources b/sources
index 5d5192e..f452e0b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tesseract-5.5.2.tar.gz) = e9103c68ba186821aedd38de4d9949cd6732da93a2d0764de18aaaac70eb9c305384a6eb1fe656a8a269bee833178a583a91dd72027ae26d27c8329ed722f4a9
+SHA512 (tesseract-5.5.3.tar.gz) = c55ad36af09f4ba48df2f32a3e2413764aeee330f5f5468e92be59572fd90b388f0ea3cb7dc0cc89c21ff68f76cd0baaee1ca0a45e648dc8f4819aefdc2749c2

diff --git a/tesseract.spec b/tesseract.spec
index ef2b7ec..cd48d1d 100644
--- a/tesseract.spec
+++ b/tesseract.spec
@@ -7,8 +7,8 @@
 %endif
 
 Name:          tesseract
-Version:       5.5.2
-Release:       5%{?dist}
+Version:       5.5.3
+Release:       1%{?dist}
 Summary:       Raw OCR Engine
 
 License:       Apache-2.0
@@ -275,6 +275,9 @@ cp -a doc/*.5 %{buildroot}%{_mandir}/man5/
 
 
 %changelog
+* Wed Jul 29 2026 Sandro Mani <manisandro@gmail.com> - 5.5.3-1
+- Update to 5.5.3
+
 * Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.2-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/tesseract_cmake.patch b/tesseract_cmake.patch
index 1699b13..64a9194 100644
--- a/tesseract_cmake.patch
+++ b/tesseract_cmake.patch
@@ -1,7 +1,7 @@
-diff -rupN --no-dereference tesseract-5.5.2/CMakeLists.txt tesseract-5.5.2-new/CMakeLists.txt
---- tesseract-5.5.2/CMakeLists.txt	2025-12-26 18:27:50.000000000 +0100
-+++ tesseract-5.5.2-new/CMakeLists.txt	2025-12-27 18:26:53.244564788 +0100
-@@ -375,7 +375,7 @@ elseif(UNIX)
+diff -rupN tesseract-5.5.3/CMakeLists.txt tesseract-5.5.3-new/CMakeLists.txt
+--- tesseract-5.5.3/CMakeLists.txt	2026-07-24 20:27:02.000000000 +0200
++++ tesseract-5.5.3-new/CMakeLists.txt	2026-07-29 09:46:19.471456583 +0200
+@@ -379,7 +379,7 @@ elseif(UNIX)
      set(LIB_pthread pthread)
    endif()
  elseif(WIN32)
@@ -10,7 +10,7 @@ diff -rupN --no-dereference tesseract-5.5.2/CMakeLists.txt tesseract-5.5.2-new/C
  endif()
  
  add_definitions("-DCMAKE_BUILD")
-@@ -927,12 +927,17 @@ set_target_properties(
+@@ -827,12 +827,17 @@ set_target_properties(
    libtesseract PROPERTIES SOVERSION
                            ${VERSION_MAJOR}.${VERSION_MINOR})
  
@@ -32,9 +32,9 @@ diff -rupN --no-dereference tesseract-5.5.2/CMakeLists.txt tesseract-5.5.2-new/C
 +  )
 +endif()
  
- if(SW_BUILD)
-   target_link_libraries(libtesseract PUBLIC org.sw.demo.danbloomberg.leptonica
-@@ -1063,9 +1068,9 @@ install(
+ target_link_libraries(libtesseract PUBLIC ${Leptonica_LIBRARIES})
+   export(
+@@ -951,9 +956,9 @@ install(
  
  if(INSTALL_CONFIGS)
    install(FILES ${TESSERACT_CONFIGS}
@@ -46,10 +46,10 @@ diff -rupN --no-dereference tesseract-5.5.2/CMakeLists.txt tesseract-5.5.2-new/C
  endif()
  
  # ##############################################################################
-diff -rupN --no-dereference tesseract-5.5.2/src/training/CMakeLists.txt tesseract-5.5.2-new/src/training/CMakeLists.txt
---- tesseract-5.5.2/src/training/CMakeLists.txt	2025-12-26 18:27:50.000000000 +0100
-+++ tesseract-5.5.2-new/src/training/CMakeLists.txt	2025-12-27 18:26:53.244940112 +0100
-@@ -114,7 +114,7 @@ if(NOT DISABLED_LEGACY_ENGINE)
+diff -rupN tesseract-5.5.3/src/training/CMakeLists.txt tesseract-5.5.3-new/src/training/CMakeLists.txt
+--- tesseract-5.5.3/src/training/CMakeLists.txt	2026-07-24 20:27:02.000000000 +0200
++++ tesseract-5.5.3-new/src/training/CMakeLists.txt	2026-07-29 09:56:56.137021787 +0200
+@@ -107,7 +107,7 @@ if(NOT DISABLED_LEGACY_ENGINE)
      common/trainingsampleset.h)
  endif()
  
@@ -58,21 +58,21 @@ diff -rupN --no-dereference tesseract-5.5.2/src/training/CMakeLists.txt tesserac
  target_include_directories(common_training PUBLIC common
                                                    ${CMAKE_CURRENT_BINARY_DIR})
  target_link_libraries(common_training PUBLIC libtesseract)
-@@ -282,7 +282,7 @@ if(ICU_FOUND)
+@@ -273,7 +273,7 @@ if(ICU_FOUND)
  
    file(GLOB unicharset_training_src unicharset/*)
  
 -  add_library(unicharset_training ${unicharset_training_src})
 +  add_library(unicharset_training STATIC ${unicharset_training_src})
-   if(SW_BUILD)
-     target_link_libraries(unicharset_training
-                           PUBLIC common_training org.sw.demo.unicode.icu.i18n)
-@@ -426,7 +426,7 @@ if(ICU_FOUND)
+   if(PKG_CONFIG_FOUND)
+     target_link_libraries(unicharset_training PUBLIC common_training PkgConfig::ICU)
+   else()
+@@ -409,7 +409,7 @@ if(ICU_FOUND)
  
      file(GLOB pango_training_src pango/*)
  
 -    add_library(pango_training ${pango_training_src})
 +    add_library(pango_training STATIC ${pango_training_src})
      target_link_libraries(pango_training PUBLIC unicharset_training)
-     if(SW_BUILD)
-       target_link_libraries(pango_training
+     target_include_directories(pango_training BEFORE
+                                PUBLIC ${PANGO_INCLUDE_DIRS})

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-29 11:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-29 11:49 [rpms/tesseract] f44: Update to 5.5.3 Sandro Mani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox