Update to 4.1.3

This commit is contained in:
Sandro Mani 2021-11-17 20:49:21 +01:00
parent b7e7f1cc99
commit 7e0070b2c1
4 changed files with 25 additions and 25 deletions

1
.gitignore vendored
View File

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

View File

@ -1 +1 @@
SHA512 (tesseract-4.1.1.tar.gz) = 017723a2268be789fe98978eed02fd294968cc8050dde376dee026f56f2b99df42db935049ae5e72c4519a920e263b40af1a6a40d9942e66608145b3131a71a2
SHA512 (tesseract-4.1.3.tar.gz) = 16b3813cb287f0ccf72ab66f36e140cc55f80a0a7b1fad319649110e60e85dea97dd59558644535592df1018f981aae69ca84175d04654d6a96ac46fd2acf748

View File

@ -1,8 +1,8 @@
#global pre beta.4
Name: tesseract
Version: 4.1.1
Release: 7%{?pre:.%pre}%{?dist}
Version: 4.1.3
Release: 1%{?pre:.%pre}%{?dist}
Summary: Raw OCR Engine
License: ASL 2.0
@ -71,10 +71,6 @@ find %{buildroot}%{_libdir} -type f -name '*.la' -delete
mkdir -p %{buildroot}/%{_datadir}/%{name}/tessdata/
%ldconfig_scriptlets
%files
%license LICENSE
%doc AUTHORS ChangeLog README.md
@ -113,6 +109,9 @@ mkdir -p %{buildroot}/%{_datadir}/%{name}/tessdata/
%changelog
* Wed Nov 17 2021 Sandro Mani <manisandro@gmail.com> - 4.1.3-1
- Update to 4.1.7
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

View File

@ -1,8 +1,8 @@
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 =
diff -rupN --no-dereference tesseract-4.1.3/src/ccutil/Makefile.am tesseract-4.1.3-new/src/ccutil/Makefile.am
--- tesseract-4.1.3/src/ccutil/Makefile.am 2021-11-15 09:50:28.000000000 +0100
+++ tesseract-4.1.3-new/src/ccutil/Makefile.am 2021-11-17 20:49:03.900528627 +0100
@@ -4,7 +4,7 @@ AM_CPPFLAGS =
AM_CPPFLAGS += -I$(top_builddir)/include
if !NO_TESSDATA_PREFIX
-AM_CXXFLAGS += -DTESSDATA_PREFIX=@datadir@
@ -10,10 +10,10 @@ diff -rupN --no-dereference tesseract-4.1.1/src/ccutil/Makefile.am tesseract-4.1
endif
if VISIBILITY
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
diff -rupN --no-dereference tesseract-4.1.3/src/lstm/Makefile.am tesseract-4.1.3-new/src/lstm/Makefile.am
--- tesseract-4.1.3/src/lstm/Makefile.am 2021-11-15 09:50:28.000000000 +0100
+++ tesseract-4.1.3-new/src/lstm/Makefile.am 2021-11-17 20:49:03.900528627 +0100
@@ -15,7 +15,7 @@ AM_CPPFLAGS += -I/usr/include/tensorflow
endif
if !NO_TESSDATA_PREFIX
@ -22,27 +22,27 @@ diff -rupN --no-dereference tesseract-4.1.1/src/lstm/Makefile.am tesseract-4.1.1
endif
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
diff -rupN --no-dereference tesseract-4.1.3/tessdata/configs/Makefile.am tesseract-4.1.3-new/tessdata/configs/Makefile.am
--- tesseract-4.1.3/tessdata/configs/Makefile.am 2021-11-15 09:50:28.000000000 +0100
+++ tesseract-4.1.3-new/tessdata/configs/Makefile.am 2021-11-17 20:49:03.900528627 +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 --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
diff -rupN --no-dereference tesseract-4.1.3/tessdata/Makefile.am tesseract-4.1.3-new/tessdata/Makefile.am
--- tesseract-4.1.3/tessdata/Makefile.am 2021-11-15 09:50:28.000000000 +0100
+++ tesseract-4.1.3-new/tessdata/Makefile.am 2021-11-17 20:49:03.901528627 +0100
@@ -1,4 +1,4 @@
-datadir = @datadir@/tessdata
+datadir = @datadir@/tesseract/tessdata
data_DATA = pdf.ttf
EXTRA_DIST = $(data_DATA)
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
diff -rupN --no-dereference tesseract-4.1.3/tessdata/tessconfigs/Makefile.am tesseract-4.1.3-new/tessdata/tessconfigs/Makefile.am
--- tesseract-4.1.3/tessdata/tessconfigs/Makefile.am 2021-11-15 09:50:28.000000000 +0100
+++ tesseract-4.1.3-new/tessdata/tessconfigs/Makefile.am 2021-11-17 20:49:03.901528627 +0100
@@ -1,3 +1,3 @@
-datadir = @datadir@/tessdata/tessconfigs
+datadir = @datadir@/tesseract/tessdata/tessconfigs