Skip to content

Commit

Permalink
[tesseract] Update to 5.3.3 (microsoft#34868)
Browse files Browse the repository at this point in the history
* [tesseract] Update to 5.3.3

* update version
  • Loading branch information
LilyWangLL authored Nov 5, 2023
1 parent b7e7317 commit 06f19b6
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 29 deletions.
25 changes: 0 additions & 25 deletions ports/tesseract/fix-aarch64-mfpu-not-available.patch

This file was deleted.

14 changes: 14 additions & 0 deletions ports/tesseract/fix-link-include-path.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 68da6c5..781fb97 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -820,7 +820,8 @@ target_include_directories(
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/textord>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/viewer>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/wordrec>
- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/training>)
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/training>
+ $<INSTALL_INTERFACE:include>)
if(BUILD_SHARED_LIBS)
target_compile_definitions(
libtesseract
4 changes: 2 additions & 2 deletions ports/tesseract/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO tesseract-ocr/tesseract
REF "${VERSION}"
SHA512 92db2a513f00b931a0207cc705020bee9fea4ff7fa93c57a6f446b5777713864cce19121b316ef8b78b6bd625ee7e6fd473352515f98c4a2187569cbd0a9713a
SHA512 c04ae68ac4ecf85243c54feb4233e282cd420522588fd4b3eaa87619cb236a575052e3667a806c2f56de06dc013b88926c2dbea4cb4ee02f0119c032598169f2
PATCHES
${tesseract_patch}
fix_static_link_icu.patch
fix-aarch64-mfpu-not-available.patch
fix-link-include-path.patch
)

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
Expand Down
2 changes: 1 addition & 1 deletion ports/tesseract/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tesseract",
"version": "5.3.2",
"version": "5.3.3",
"description": "An OCR Engine that was developed at HP Labs between 1985 and 1995... and now at Google.",
"homepage": "https://github.com/tesseract-ocr/tesseract",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -8297,7 +8297,7 @@
"port-version": 0
},
"tesseract": {
"baseline": "5.3.2",
"baseline": "5.3.3",
"port-version": 0
},
"tfhe": {
Expand Down
5 changes: 5 additions & 0 deletions versions/t-/tesseract.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9f806a1d29bd65196abb77d6db253305d82e0c94",
"version": "5.3.3",
"port-version": 0
},
{
"git-tree": "894841bddec08acc323ddaf3f10f6dfdee9a92c6",
"version": "5.3.2",
Expand Down

0 comments on commit 06f19b6

Please sign in to comment.