tesseract-ocr: update to 5.5.0
This commit is contained in:
parent
61d37d562a
commit
e56f972eb1
1
mingw-w64-tesseract-ocr/.gitignore
vendored
Normal file
1
mingw-w64-tesseract-ocr/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
osd.traineddata
|
||||
@ -11,7 +11,7 @@ diff --git a/src/ccutil/ccutil.cpp b/src/ccutil/ccutil.cpp
|
||||
index aad8ef6..18ade02 100644
|
||||
--- a/src/ccutil/ccutil.cpp
|
||||
+++ b/src/ccutil/ccutil.cpp
|
||||
@@ -69,6 +69,15 @@ void CCUtil::main_setup(const std::string &argv0, const std::string &basename) {
|
||||
@@ -73,6 +73,15 @@ void CCUtil::main_setup(const std::string &argv0, const std::string &basename) {
|
||||
datadir = subdir;
|
||||
}
|
||||
}
|
||||
@ -20,7 +20,7 @@ index aad8ef6..18ade02 100644
|
||||
+ *separator = '\0';
|
||||
+ std::string subdir = path;
|
||||
+ subdir += "/share/tessdata";
|
||||
+ if (_access(subdir.c_str(), 0) == 0) {
|
||||
+ if (std::filesystem::exists(subdir)) {
|
||||
+ datadir = subdir;
|
||||
+ }
|
||||
+ }
|
||||
|
||||
@ -1,13 +1,6 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -829,13 +829,13 @@
|
||||
${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
||||
set_target_properties(
|
||||
libtesseract PROPERTIES SOVERSION
|
||||
- ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
||||
+ ${VERSION_MAJOR}.${VERSION_MINOR})
|
||||
|
||||
set_target_properties(
|
||||
@@ -833,7 +833,7 @@
|
||||
libtesseract
|
||||
PROPERTIES
|
||||
OUTPUT_NAME
|
||||
|
||||
@ -4,8 +4,8 @@
|
||||
_realname=tesseract-ocr
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=5.4.1
|
||||
pkgrel=3
|
||||
pkgver=5.5.0
|
||||
pkgrel=1
|
||||
pkgdesc="Tesseract OCR (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||
@ -35,10 +35,10 @@ source=(https://github.com/tesseract-ocr/tesseract/archive/${pkgver}/${_realname
|
||||
0002-fix-soversion-with-cmake.patch
|
||||
0003-install-pango_training.patch
|
||||
0004-fix-build-on-clangarm64.patch)
|
||||
sha256sums=('c4bc2a81c12a472f445b7c2fb4705a08bd643ef467f51ec84f0e148bd368051b'
|
||||
sha256sums=('f2fb34ca035b6d087a42875a35a7a5c4155fa9979c6132365b1e5a28ebc3fc11'
|
||||
'9cf5d576fcc47564f11265841e5ca839001e7e6f38ff7f7aacf46d15a96b00ff'
|
||||
'dfa396e9476a03fc8c24ba59394a5dee2c6a604cee44b9b957be4fda0b5e4392'
|
||||
'581fb11a465c80c6f8de1d3afc1d2e693d04f984e4bcdf1fd67400e6ab590183'
|
||||
'2d7eaabdb8c56459eddd782a936b2f8512d28b697ebdb33556feb96571b14135'
|
||||
'aede606a2ddd54ee29f9d5b52c5d2eaa2bf84113f92793c24a206fac872b3320'
|
||||
'88f9a1ebb82f4ab747217c6098dab20d9659cd570e37b662b0712ad66858a129'
|
||||
'8d8dfc581f895f25059b60a5274b8a98368bd92bb5d70f24d018e1bd833cef7d')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user