Update to 4.1.0

This commit is contained in:
Sandro Mani 2019-07-28 23:24:57 +02:00
parent 09f048f53d
commit 6ac7d5466f
4 changed files with 29 additions and 24 deletions

1
.gitignore vendored
View File

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

View File

@ -1 +1 @@
SHA512 (tesseract-4.0.0.tar.gz) = 69e57d4ba1fc43d212fd0fff69a2b5d48a3b37cfee7054fdc083cbb7e04d92317609a32e457229661d70ce8d9b16c9d25e81bfc3861db660dd2c8f292202d447
SHA512 (tesseract-4.1.0.tar.gz) = d617f5c5b826640b2871dbe3d7973bcc5e66fafd837921a20e009d683806ed50f0f258aa455019d99fc54f5cb65c2fa0380e3a3c92b39ab0684b8799c730b09d

View File

@ -1,8 +1,8 @@
#global pre beta.4
Name: tesseract
Version: 4.0.0
Release: 7%{?pre:.%pre}%{?dist}
Version: 4.1.0
Release: 1%{?pre:.%pre}%{?dist}
Summary: Raw OCR Engine
License: ASL 2.0
@ -112,6 +112,9 @@ mkdir -p %{buildroot}/%{_datadir}/%{name}/tessdata/
%changelog
* Sun Jul 28 2019 Sandro Mani <manisandro@gmail.com> - 4.1.0-1
- Update to 4.1.0
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View File

@ -1,7 +1,7 @@
diff -rupN tesseract-4.0.0/src/ccutil/Makefile.am tesseract-4.0.0-new/src/ccutil/Makefile.am
--- tesseract-4.0.0/src/ccutil/Makefile.am 2018-10-29 09:53:12.000000000 +0100
+++ tesseract-4.0.0-new/src/ccutil/Makefile.am 2018-11-13 15:23:08.331318335 +0100
@@ -3,7 +3,7 @@ AM_CXXFLAGS =
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
@@ -2,7 +2,7 @@ AM_CXXFLAGS =
AM_CPPFLAGS =
if !NO_TESSDATA_PREFIX
@ -10,11 +10,11 @@ diff -rupN tesseract-4.0.0/src/ccutil/Makefile.am tesseract-4.0.0-new/src/ccutil
endif
if VISIBILITY
diff -rupN tesseract-4.0.0/src/lstm/Makefile.am tesseract-4.0.0-new/src/lstm/Makefile.am
--- tesseract-4.0.0/src/lstm/Makefile.am 2018-10-29 09:53:12.000000000 +0100
+++ tesseract-4.0.0-new/src/lstm/Makefile.am 2018-11-13 15:23:08.332317564 +0100
@@ -12,7 +12,7 @@ SUBDIRS =
AM_CXXFLAGS = $(OPENMP_CXXFLAGS)
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
@@ -16,7 +16,7 @@ AM_CPPFLAGS += -I/usr/include/tensorflow
endif
if !NO_TESSDATA_PREFIX
-AM_CXXFLAGS += -DTESSDATA_PREFIX=@datadir@
@ -22,26 +22,27 @@ diff -rupN tesseract-4.0.0/src/lstm/Makefile.am tesseract-4.0.0-new/src/lstm/Mak
endif
if VISIBILITY
diff -rupN tesseract-4.0.0/tessdata/configs/Makefile.am tesseract-4.0.0-new/tessdata/configs/Makefile.am
--- tesseract-4.0.0/tessdata/configs/Makefile.am 2018-10-29 09:53:12.000000000 +0100
+++ tesseract-4.0.0-new/tessdata/configs/Makefile.am 2018-11-13 15:23:08.332317564 +0100
@@ -1,3 +1,3 @@
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
@@ -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 api_config kannada box.train.stderr quiet logfile digits hocr tsv linebox pdf rebox strokewidth bigram txt
EXTRA_DIST = inter makebox box.train unlv ambigs.train lstm.train lstmdebug api_config kannada box.train.stderr quiet logfile digits hocr tsv linebox pdf rebox strokewidth bigram txt
diff -rupN tesseract-4.0.0/tessdata/Makefile.am tesseract-4.0.0-new/tessdata/Makefile.am
--- tesseract-4.0.0/tessdata/Makefile.am 2018-10-29 09:53:12.000000000 +0100
+++ tesseract-4.0.0-new/tessdata/Makefile.am 2018-11-13 15:23:08.332317564 +0100
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
@@ -1,4 +1,4 @@
-datadir = @datadir@/tessdata
+datadir = @datadir@/tesseract/tessdata
data_DATA = pdf.ttf
EXTRA_DIST = $(data_DATA)
diff -rupN tesseract-4.0.0/tessdata/tessconfigs/Makefile.am tesseract-4.0.0-new/tessdata/tessconfigs/Makefile.am
--- tesseract-4.0.0/tessdata/tessconfigs/Makefile.am 2018-10-29 09:53:12.000000000 +0100
+++ tesseract-4.0.0-new/tessdata/tessconfigs/Makefile.am 2018-11-13 15:23:08.332317564 +0100
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
@@ -1,3 +1,3 @@
-datadir = @datadir@/tessdata/tessconfigs
+datadir = @datadir@/tesseract/tessdata/tessconfigs