48 lines
2.4 KiB
Diff
48 lines
2.4 KiB
Diff
diff -rupN --no-dereference tesseract-5.0.0/Makefile.am tesseract-5.0.0-new/Makefile.am
|
|
--- tesseract-5.0.0/Makefile.am 2021-11-30 18:48:16.000000000 +0100
|
|
+++ tesseract-5.0.0-new/Makefile.am 2021-12-17 11:28:40.773210872 +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.0/tessdata/configs/Makefile.am tesseract-5.0.0-new/tessdata/configs/Makefile.am
|
|
--- tesseract-5.0.0/tessdata/configs/Makefile.am 2021-11-30 18:48:16.000000000 +0100
|
|
+++ tesseract-5.0.0-new/tessdata/configs/Makefile.am 2021-12-17 11:28:40.773210872 +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.0/tessdata/Makefile.am tesseract-5.0.0-new/tessdata/Makefile.am
|
|
--- tesseract-5.0.0/tessdata/Makefile.am 2021-11-30 18:48:16.000000000 +0100
|
|
+++ tesseract-5.0.0-new/tessdata/Makefile.am 2021-12-17 11:28:40.774210870 +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.0/tessdata/tessconfigs/Makefile.am tesseract-5.0.0-new/tessdata/tessconfigs/Makefile.am
|
|
--- tesseract-5.0.0/tessdata/tessconfigs/Makefile.am 2021-11-30 18:48:16.000000000 +0100
|
|
+++ tesseract-5.0.0-new/tessdata/tessconfigs/Makefile.am 2021-12-17 11:28:40.774210870 +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
|