Update to 4.1.1

This commit is contained in:
Sandro Mani 2019-12-27 21:30:06 +01:00
parent 59b0b60939
commit 343cdd3feb
4 changed files with 23 additions and 19 deletions

1
.gitignore vendored
View File

@ -17,3 +17,4 @@ tesseract-2.00.eng.tar.gz
/tessdata_fast-4.0.0.tar.gz
/tesseract-4.0.0.tar.gz
/tesseract-4.1.0.tar.gz
/tesseract-4.1.1.tar.gz

View File

@ -1 +1 @@
SHA512 (tesseract-4.1.0.tar.gz) = d617f5c5b826640b2871dbe3d7973bcc5e66fafd837921a20e009d683806ed50f0f258aa455019d99fc54f5cb65c2fa0380e3a3c92b39ab0684b8799c730b09d
SHA512 (tesseract-4.1.1.tar.gz) = 017723a2268be789fe98978eed02fd294968cc8050dde376dee026f56f2b99df42db935049ae5e72c4519a920e263b40af1a6a40d9942e66608145b3131a71a2

View File

@ -1,8 +1,8 @@
#global pre beta.4
Name: tesseract
Version: 4.1.0
Release: 2%{?pre:.%pre}%{?dist}
Version: 4.1.1
Release: 1%{?pre:.%pre}%{?dist}
Summary: Raw OCR Engine
License: ASL 2.0
@ -112,6 +112,9 @@ mkdir -p %{buildroot}/%{_datadir}/%{name}/tessdata/
%changelog
* Fri Dec 27 2019 Sandro Mani <manisandro@gmail.com> - 4.1.1-1
- Update to 4.1.1
* Fri Nov 01 2019 Pete Walter <pwalter@fedoraproject.org> - 4.1.0-2
- Rebuild for ICU 65

View File

@ -1,6 +1,6 @@
diff -rupN tesseract-4.1.0/src/ccutil/Makefile.am tesseract-4.1.0-new/src/ccutil/Makefile.am
--- tesseract-4.1.0/src/ccutil/Makefile.am 2019-07-07 14:34:08.000000000 +0200
+++ tesseract-4.1.0-new/src/ccutil/Makefile.am 2019-07-16 19:14:00.221957997 +0200
diff -rupN --no-dereference tesseract-4.1.1/src/ccutil/Makefile.am tesseract-4.1.1-new/src/ccutil/Makefile.am
--- tesseract-4.1.1/src/ccutil/Makefile.am 2019-12-26 15:21:51.000000000 +0100
+++ tesseract-4.1.1-new/src/ccutil/Makefile.am 2019-12-27 21:19:53.950010557 +0100
@@ -2,7 +2,7 @@ AM_CXXFLAGS =
AM_CPPFLAGS =
@ -10,9 +10,9 @@ diff -rupN tesseract-4.1.0/src/ccutil/Makefile.am tesseract-4.1.0-new/src/ccutil
endif
if VISIBILITY
diff -rupN tesseract-4.1.0/src/lstm/Makefile.am tesseract-4.1.0-new/src/lstm/Makefile.am
--- tesseract-4.1.0/src/lstm/Makefile.am 2019-07-07 14:34:08.000000000 +0200
+++ tesseract-4.1.0-new/src/lstm/Makefile.am 2019-07-16 19:14:00.221957997 +0200
diff -rupN --no-dereference tesseract-4.1.1/src/lstm/Makefile.am tesseract-4.1.1-new/src/lstm/Makefile.am
--- tesseract-4.1.1/src/lstm/Makefile.am 2019-12-26 15:21:51.000000000 +0100
+++ tesseract-4.1.1-new/src/lstm/Makefile.am 2019-12-27 21:19:53.950010557 +0100
@@ -16,7 +16,7 @@ AM_CPPFLAGS += -I/usr/include/tensorflow
endif
@ -21,28 +21,28 @@ diff -rupN tesseract-4.1.0/src/lstm/Makefile.am tesseract-4.1.0-new/src/lstm/Mak
+AM_CXXFLAGS += -DTESSDATA_PREFIX=@datadir@/tesseract/
endif
if VISIBILITY
diff -rupN tesseract-4.1.0/tessdata/configs/Makefile.am tesseract-4.1.0-new/tessdata/configs/Makefile.am
--- tesseract-4.1.0/tessdata/configs/Makefile.am 2019-07-07 14:34:08.000000000 +0200
+++ tesseract-4.1.0-new/tessdata/configs/Makefile.am 2019-07-16 19:14:00.221957997 +0200
if DISABLED_LEGACY_ENGINE
diff -rupN --no-dereference tesseract-4.1.1/tessdata/configs/Makefile.am tesseract-4.1.1-new/tessdata/configs/Makefile.am
--- tesseract-4.1.1/tessdata/configs/Makefile.am 2019-12-26 15:21:51.000000000 +0100
+++ tesseract-4.1.1-new/tessdata/configs/Makefile.am 2019-12-27 21:19:53.950010557 +0100
@@ -1,4 +1,4 @@
-datadir = @datadir@/tessdata/configs
+datadir = @datadir@/tesseract/tessdata/configs
data_DATA = inter makebox box.train unlv ambigs.train lstm.train lstmdebug
data_DATA += api_config kannada box.train.stderr quiet logfile digits get.images
data_DATA += lstmbox wordstrbox
diff -rupN tesseract-4.1.0/tessdata/Makefile.am tesseract-4.1.0-new/tessdata/Makefile.am
--- tesseract-4.1.0/tessdata/Makefile.am 2019-07-07 14:34:08.000000000 +0200
+++ tesseract-4.1.0-new/tessdata/Makefile.am 2019-07-16 19:14:00.221957997 +0200
diff -rupN --no-dereference tesseract-4.1.1/tessdata/Makefile.am tesseract-4.1.1-new/tessdata/Makefile.am
--- tesseract-4.1.1/tessdata/Makefile.am 2019-12-26 15:21:51.000000000 +0100
+++ tesseract-4.1.1-new/tessdata/Makefile.am 2019-12-27 21:19:53.950010557 +0100
@@ -1,4 +1,4 @@
-datadir = @datadir@/tessdata
+datadir = @datadir@/tesseract/tessdata
data_DATA = pdf.ttf
EXTRA_DIST = $(data_DATA)
diff -rupN tesseract-4.1.0/tessdata/tessconfigs/Makefile.am tesseract-4.1.0-new/tessdata/tessconfigs/Makefile.am
--- tesseract-4.1.0/tessdata/tessconfigs/Makefile.am 2019-07-07 14:34:08.000000000 +0200
+++ tesseract-4.1.0-new/tessdata/tessconfigs/Makefile.am 2019-07-16 19:14:00.221957997 +0200
diff -rupN --no-dereference tesseract-4.1.1/tessdata/tessconfigs/Makefile.am tesseract-4.1.1-new/tessdata/tessconfigs/Makefile.am
--- tesseract-4.1.1/tessdata/tessconfigs/Makefile.am 2019-12-26 15:21:51.000000000 +0100
+++ tesseract-4.1.1-new/tessdata/tessconfigs/Makefile.am 2019-12-27 21:19:53.951010558 +0100
@@ -1,3 +1,3 @@
-datadir = @datadir@/tessdata/tessconfigs
+datadir = @datadir@/tesseract/tessdata/tessconfigs