Commit Graph

121 Commits

Author SHA1 Message Date
Stefan Weil
270e466d75 Add build rule for fuzzer-api
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-03-26 11:09:22 +01:00
Stefan Weil
9aadaaba27 Fix automake rules for doc-clean and doc-pack
They used the wrong directory and failed for out of tree builds.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-03-23 08:25:19 +01:00
Stefan Weil
daf61f75db automake: Add missing dependency for "check" target (fix parallel build)
Some unit tests use code from training. Those tests are enabled
if training is enabled, so for that case the "check" target
depends on the "training" target.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-01-23 17:29:51 +01:00
zdenop
cdfb768010 move langtests and unlvtests from tesseract-ocr repository to test repository 2018-11-08 22:31:32 +01:00
Stefan Weil
73cefff3a1 Include LICENSE file in distribution
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-11-08 15:14:59 +01:00
Zdenko Podobný
90403ef371 update dist-hook 2018-10-12 20:10:39 +02:00
Zdenko Podobný
6359ba2eb3 add cmake files to autotools distribution package 2018-10-12 17:57:27 +02:00
Stefan Weil
d86d520fd0 Remove tab character in source files
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-12 11:31:10 +02:00
Zdenko Podobný
6e75924352 remove not existing directory from autotools distribution 2018-10-10 00:36:53 +02:00
Shree Devi Kumar
92922b421c Add langtests framework with frk example 2018-08-30 14:28:34 +00:00
Stefan Weil
c1c87d73ee Require tesseract/ for API header files (fixes potential name conflicts)
The tesseract/ subdirectory is no longer automatically added to the
include path of the compiler. Therefore old code which used code like

    #include "capi.h"

must now change that to

    #include "tesseract/capi.h"

This avoids name conflicts with header files from other projects.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-17 22:01:19 +02:00
Shree Devi Kumar
2563380d51 move testing and testdata to test, add unlvtests 2018-06-06 12:20:14 +00:00
Stefan Weil
4f9493c409 Partial fix for autotools configuration after source tree reorganisation
This should fix "make" and "make training".

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-25 21:33:28 +02:00
Stefan Weil
8c258750de Simplify Makefile and add missing dependency for target training-install (#1403)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-03-18 22:10:41 +01:00
Stefan Weil
43f34f5c3e Clean Makefile.am (#1322)
Replace the doc-dummy hack with .PHONY.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-02-18 15:25:31 +01:00
Shreeshrii
267734bc34 Changes needed for adding make check for unittest 2017-08-19 19:01:46 +05:30
zdenop
a0201831c3 Merge pull request #576 from stweil/shellcheck
Fix some issues reported by shellcheck (SC2004, SC2006)
2016-12-15 08:30:30 +01:00
Ray Smith
0b76f26497 More makefile changes to remove cube 2016-12-14 11:18:52 -08:00
Stefan Weil
b75beda7f9 Fix some issues reported by shellcheck (SC2004, SC2006)
Examples:

In training/tesstrain.sh line 64:
if (( ${LINEDATA} )); then
      ^-- SC2004: $/${} is unnecessary on arithmetic variables.

In training/tesstrain.sh line 56:
source `dirname $0`/language-specific.sh
       ^-- SC2006: Use $(..) instead of legacy `..`.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-14 14:11:24 +01:00
Zdenko Podobný
b0abed73b9 add option "make training-uninstall" 2016-11-22 08:42:55 +01:00
Ray Smith
c1c1e426b3 Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
Stefan Weil
c2574609e4 Makefile: Fix phony training target
This fixes wrong behaviour of "make training" when dependencies for
training were incomplete.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-06-19 08:20:53 +02:00
Zdenko Podobný
ddd3cad8c6 update ChangeLog;
remove ReleaseNotes (a relevant information are in Changelog file and there is Release note wiki online)
2016-03-14 23:03:44 +01:00
Zdenko Podobný
f81c258e14 rename README to README.md - fixes #45 2015-08-20 13:58:36 +02:00
Zdenko Podobný
41478fd5a1 implement build without cube (-DNO_CUBE_BUILD) 2015-07-24 11:51:44 +02:00
Zdenko Podobný
369fabb7fc fix filemode;
update autotools and distribution script to repository changes;
ignore doxygen generated files and langauge data files;
2014-08-14 23:37:17 +02:00
zdenop
0ebcf0d99c add training directory to 'make clean' and 'make distclean'
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1057 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-03-28 23:21:49 +00:00
theraysmith@gmail.com
449fc8af29 Updated ChangeLog for 3.03 rc1
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1049 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-02-05 00:53:56 +00:00
theraysmith@gmail.com
a703cc4607 Removed non-existent tesseract.spec
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@993 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-01-17 18:54:47 +00:00
theraysmith@gmail.com
31f98f7fc9 Removed image directory
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@967 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-01-09 18:08:12 +00:00
rajesh.katikam@gmail.com
bf0a83907b Cleaned up configure.ac and Makefile.am in multiple folder to use OPENCL paths
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@910 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-11-12 10:40:40 +00:00
zdenop@gmail.com
d5b3c6c47c fix Parallel Build Trees (a.k.a. VPATH Builds) ('make install-langs' and 'make install-jars')
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@888 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-10-03 21:26:35 +00:00
zdenop@gmail.com
9f1d243d82 autotools: check for icu library, implement 'make training'
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@885 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-09-26 20:23:17 +00:00
zdenop@gmail.com
b5d3d66a68 remove unused code(gettext)
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@859 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-07-07 16:39:13 +00:00
zdenop@gmail.com
a4e8bf7da0 fix 'make dist' and tesseract.pc.in
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@769 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-09-29 11:59:31 +00:00
zdenop@gmail.com
503f68966e fix 'make distclean'
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@754 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-09-21 17:36:27 +00:00
zdenop@gmail.com
eaf9d63626 Provide pkgconfig file (issue 451), improve configure.ac and INSTALL.SVN
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@733 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-07-28 21:17:20 +00:00
zdenop@gmail.com
d4d4b8aad8 improve autools system (mingw+msys fix); implementation of --disable-tessdata-prefix
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@708 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-22 20:01:33 +00:00
zdenop@gmail.com
1563c01565 fixed build in java directory; create documentation package with 'make doc-pack'
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@705 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-15 21:05:12 +00:00
zdenop@gmail.com
1455bf5610 set tessedit_module_name for windows;
implement 'make install LANG="eng ara deu"';
more headers need to be installed: https://groups.google.com/group/tesseract-dev/msg/a4f7424377993b2e


git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@700 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-06 22:41:43 +00:00
zdenop@gmail.com
8cc34e85f1 'make install' do not require language data; language data are installed by 'make install-langs'
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@695 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-05 00:11:38 +00:00
zdenop@gmail.com
5761bc5736 fix visibility build; + tprintf visible
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@693 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-03 21:13:42 +00:00
zdenop@gmail.com
97e19443a3 install only necessary headers, fix uninstall
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@692 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-03 13:22:51 +00:00
zdenop@gmail.com
30a70142a0 visibility - autotools part (./configure --enable-visibility)
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@690 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-02 23:51:33 +00:00
theraysmith@gmail.com
aae3da5bf1 Last minute fixes for making the tarball
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@636 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-10-22 05:28:44 +00:00
zdenop@gmail.com
67f47008c7 fixed "one lib" build on linux; runautoconf renamed to autogen.sh;
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@631 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-10-16 19:39:54 +00:00
zdenop@gmail.com
ab234da926 fix for issue 540
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@627 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-09-29 21:25:57 +00:00
joregan@gmail.com
bf4a09d72a make single/multiple libraries optional -- this needs testing!!!
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@623 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-29 21:28:28 +00:00
joregan@gmail.com
fbab153409 readd m4 stuff
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@622 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-18 22:06:01 +00:00
zdenop@gmail.com
2ded50b4d0 'make dist' improvement; removed debugwin.* from vs2008 and vs2010; decreased warning level in vs2008 project files for Release* build
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@620 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-18 21:33:28 +00:00
theraysmith@gmail.com
f33ac09829 Fixed make dist
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@619 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-18 19:57:34 +00:00
joregan@gmail.com
b69d9b90b7 there is no m4 directory
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@617 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-18 18:09:29 +00:00
joregan@gmail.com
c209583793 rm reference to config.rpath
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@616 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-18 18:00:22 +00:00
zdenop@gmail.com
9b9efa8e4c man pages included to install script, improved windows installer script (issue 425), output format for "tesseract -v" changed to "3.00 version", README cleanup.
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@601 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-08 20:33:18 +00:00
zdenop@gmail.com
4523ce9f7d 3.01 code from http://github.com/jimregan/tesseract-ocr with addaptions related to Linux and Windows (VC2008) compile process
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@526 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-11-23 18:34:14 +00:00
joregan
9b3d565be0 add vs2008 to the distribution
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@493 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-09-30 17:24:13 +00:00
joregan
e0b07948fc disabling gettext checks - not currently used, and something about disabling is causing subsequent autoconf checks to not run
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@492 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-09-30 16:27:39 +00:00
joregan
f2506871f9 move include of config_auto.h to not conflict with local types. Not finished
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@490 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-09-30 15:53:40 +00:00
joregan
a301f9a5c7 start of i18n
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@418 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-07-19 01:59:13 +00:00
joregan
34d8258049 use libtool
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@368 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-05-26 14:20:20 +00:00
theraysmith
fea38ee706 Misc root changes for 3.00
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@309 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-07-11 03:05:57 +00:00
mezhirov
a4d75230fc Converted 8 spaces to tabs in two Makefile.am-s.
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@166 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2008-04-22 14:49:14 +00:00
theraysmith
5c45dc15b1 Fixed name collision with jpeg library
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@165 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2008-04-22 00:44:56 +00:00
theraysmith
fa30c0965f Initial top-level changes for v2.02
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@154 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2008-02-01 00:59:01 +00:00
theraysmith
b60c6065e3 Autoconf changes for 2.01
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@110 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2007-08-30 18:25:18 +00:00
theraysmith
4df1016692 Automake changes for version 2.00.
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@84 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2007-07-18 01:04:56 +00:00
theraysmith
0757bc2ad7 Added ReleaseNotes to the distribution
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@63 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2007-05-17 01:52:36 +00:00
theraysmith
21d2607a4f Adding dlltest
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@61 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2007-05-17 00:47:26 +00:00
theraysmith
b6fb075485 General changes for version 1.04
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@57 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2007-05-16 01:47:11 +00:00
tmbdev
9f2b3b7154 changed autoconf/automake system to use standard install paths; removed auto-generated files from repository (use runautoconf instead)
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@16 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2007-03-30 23:53:34 +00:00
tmbdev
425d593ebe top-skimming import from sf.net
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk/trunk@2 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2007-03-07 20:03:40 +00:00