48 lines
2.4 KiB
Diff
48 lines
2.4 KiB
Diff
diff -rupN --no-dereference tesseract-5.0.1/Makefile.am tesseract-5.0.1-new/Makefile.am
|
|
--- tesseract-5.0.1/Makefile.am 2022-01-07 13:43:52.000000000 +0100
|
|
+++ tesseract-5.0.1-new/Makefile.am 2022-01-08 09:29:40.505363003 +0100
|
|
@@ -338,7 +338,7 @@ endif
|
|
libtesseract_ccutil_la_CPPFLAGS = $(AM_CPPFLAGS)
|
|
libtesseract_ccutil_la_CPPFLAGS += $(libarchive_CFLAGS)
|
|
if !NO_TESSDATA_PREFIX
|
|
-libtesseract_ccutil_la_CPPFLAGS += -DTESSDATA_PREFIX='"@datadir@"'
|
|
+libtesseract_ccutil_la_CPPFLAGS += -DTESSDATA_PREFIX='"@datadir@/tesseract"'
|
|
endif
|
|
|
|
noinst_HEADERS += src/ccutil/ccutil.h
|
|
@@ -504,7 +504,7 @@ libtesseract_lstm_la_CPPFLAGS += -DINCLU
|
|
libtesseract_lstm_la_CPPFLAGS += -I/usr/include/tensorflow
|
|
endif
|
|
if !NO_TESSDATA_PREFIX
|
|
-libtesseract_lstm_la_CPPFLAGS += -DTESSDATA_PREFIX='"@datadir@"'
|
|
+libtesseract_lstm_la_CPPFLAGS += -DTESSDATA_PREFIX='"@datadir@/tessdata"'
|
|
endif
|
|
|
|
noinst_HEADERS += src/lstm/convolve.h
|
|
diff -rupN --no-dereference tesseract-5.0.1/tessdata/configs/Makefile.am tesseract-5.0.1-new/tessdata/configs/Makefile.am
|
|
--- tesseract-5.0.1/tessdata/configs/Makefile.am 2022-01-07 13:43:52.000000000 +0100
|
|
+++ tesseract-5.0.1-new/tessdata/configs/Makefile.am 2022-01-08 09:29:40.505363003 +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-5.0.1/tessdata/Makefile.am tesseract-5.0.1-new/tessdata/Makefile.am
|
|
--- tesseract-5.0.1/tessdata/Makefile.am 2022-01-07 13:43:52.000000000 +0100
|
|
+++ tesseract-5.0.1-new/tessdata/Makefile.am 2022-01-08 09:29:40.506363004 +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-5.0.1/tessdata/tessconfigs/Makefile.am tesseract-5.0.1-new/tessdata/tessconfigs/Makefile.am
|
|
--- tesseract-5.0.1/tessdata/tessconfigs/Makefile.am 2022-01-07 13:43:52.000000000 +0100
|
|
+++ tesseract-5.0.1-new/tessdata/tessconfigs/Makefile.am 2022-01-08 09:29:40.506363004 +0100
|
|
@@ -1,3 +1,3 @@
|
|
-datadir = @datadir@/tessdata/tessconfigs
|
|
+datadir = @datadir@/tesseract/tessdata/tessconfigs
|
|
data_DATA = batch batch.nochop nobatch matdemo segdemo msdemo
|
|
EXTRA_DIST = batch batch.nochop nobatch matdemo segdemo msdemo
|