aboutsummaryrefslogtreecommitdiff
path: root/utils/tesseract
Commit message (Collapse)AuthorAge
* tesseract: update to 5.3.4krant2024-02-22
| | | | | | - Fix NEON mis-detection which was breaking builds on some platforms Signed-off-by: krant <aleksey.vasilenko@gmail.com>
* tesseract: update to 5.3.3Rosen Penev2023-12-01
| | | | | | Fixes compilation with GCC13. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* treewide: remove AUTORELEASEPaul Fertser2023-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatically compute and substitute current values for all $(AUTORELEASE) instances as this feature is deprecated and shouldn't be used. The following temporary change was made to the core: diff --git a/rules.mk b/rules.mk index 57d7995d4fa8..f16367de87a8 100644 --- a/rules.mk +++ b/rules.mk @@ -429,7 +429,7 @@ endef abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1)))) COMMITCOUNT = $(if $(DUMP),0,$(call commitcount)) -AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1)) +AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile)) all: FORCE: ; And this command used to fix affected packages: for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \ sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/download done Signed-off-by: Paul Fertser <fercerpav@gmail.com>
* tesseract: fix build on macosSergey V. Lobanov2022-02-07
| | | | | | | | | | | | | | | | | tesseract build script checks /proc/cpuinfo file, but this file is not exist or darwin. This check is used for getting optimized build flags depends on CPU. This feature does not work in cross-compile case and should be explicitly disabled. This patch disables CPU detection using cmake option BUILD_TRAINING_TOOLS=OFF. Generated binaries (aarch64 target) are exactly the same on Ubuntu 20.04 x86_64 and MacOS 11.6 arm64. Binaries generated on Linux build host are not changed (the same checksums before and after applying this patch). Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
* treewide: back to cmake.mkRosen Penev2021-06-12
| | | | | | Ninja was merged to base and therefore we can now use normal cmake.mk Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tesseract: update to 4.1.1Rosen Penev2021-03-25
| | | | | | | | | | | | Switch to AUTORELEASE for simplicity. Add libarchive dependency since it's now used. Build with ninja for faster compilation. Refresh SIMD CMake patch and add musl patch. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tesseract: switch to CMakeRosen Penev2020-07-08
| | | | | | | | Allows simplifying the Makefile. Also faster compilation. Added CMake patch to fix compilation. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tesseract: add packageValentín Kivachuk2019-07-18
Tesseract is an open source text recognizer (OCR) Engine, available under the Apache 2.0 license. It can be used directly, or (for programmers) using an API to extract printed text from images. It supports a wide variety of languages. Signed-off-by: Valentín Kivachuk <vk18496@gmail.com>