Commit Graph

2192 Commits

Author SHA1 Message Date
Stefan Weil
de0aff106f doc: Remove cube related documentation
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-16 08:20:07 +01:00
Stefan Weil
e11009e7ac .gitignore: Remove cube code
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-16 08:20:07 +01:00
Zdenko Podobný
f8dffecf41 fix training build addition to 7c684be724 (Add missing linker flags for Leptonica) 2016-12-15 22:20:35 +01:00
zdenop
cb886a04ad Merge pull request #568 from stweil/opencl
opencl: Fix runtime crash when no device was found
2016-12-15 22:00:25 +01:00
zdenop
87a5b9b09a Merge pull request #585 from stweil/build
Add missing linker flags for Leptonica
2016-12-15 17:54:44 +01:00
Stefan Weil
7c684be724 Add missing linker flags for Leptonica
They were removed in commit d70f3c3663.
The old code implicitly added `-llept` by using the `AC_CHECK_LIB` macro.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-15 17:28:01 +01:00
Egor Pugin
9d4050faff Merge pull request #583 from neoneye/master
Fixed tiny typo
2016-12-15 18:02:29 +03:00
Simon Strandgaard
d38cffc332 Fixed typo 2016-12-15 14:58:53 +00:00
Egor Pugin
46da0ea014 Update appveyor.yml 2016-12-15 17:57:14 +03:00
Egor Pugin
a3f1227bd7 Update appveyor.yml 2016-12-15 17:32:30 +03:00
Egor Pugin
6c46cd7954 Update appveyor.yml 2016-12-15 17:00:58 +03:00
Egor Pugin
ea37493859 Update appveyor.yml 2016-12-15 16:58:19 +03:00
Egor Pugin
27ecaf72de Update appveyor.yml 2016-12-15 16:51:17 +03:00
Egor Pugin
c1a0d1902e Update appveyor.yml 2016-12-15 16:47:53 +03:00
Egor Pugin
a220204731 Update appveyor.yml 2016-12-15 16:46:04 +03:00
Egor Pugin
f995adface Update appveyor.yml 2016-12-15 16:41:13 +03:00
Egor Pugin
2be79ac8e2 Update appveyor.yml 2016-12-15 16:39:55 +03:00
Egor Pugin
8ef28f1338 Update appveyor.yml 2016-12-15 16:38:34 +03:00
Egor Pugin
dd91c1e479 Turn on silent building for CIs with cppan. 2016-12-15 16:04:18 +03:00
Egor Pugin
9f763e5466 Update SourceGroups.cmake 2016-12-15 14:11:47 +03:00
zdenop
393c7258bf Merge pull request #580 from amitdo/android-remove-cube
Update Android.mk
2016-12-15 11:48:49 +01:00
zdenop
30ad392423 Merge pull request #579 from stweil/master
Fix page range in log message
2016-12-15 11:47:42 +01:00
Amit D
06fb88495c Update Android.mk 2016-12-15 12:08:10 +02:00
Stefan Weil
23a7330c85 Fix page range in log message
The internal range is 0...(n-1), but for users a page range 1...n is
more natural. Showing a range 0...n is wrong because it would imply
n+1 pages.

Change printed text from

    Loaded 72/72 pages (0-72) of document ...

to

    Loaded 72/72 pages (1-72) of document ...

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-15 11:05:22 +01:00
Egor Pugin
ead87a7180 Fix build. 2016-12-15 12:43:13 +03:00
zdenop
831e161066 Merge pull request #569 from stweil/nullptr
training: Replace NULL by nullptr
2016-12-15 09:05:20 +01:00
zdenop
d77a9b7375 Merge pull request #577 from stweil/config
Simplify configuration for Leptonica
2016-12-15 08:30:48 +01:00
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
zdenop
da4c064c2e Merge pull request #531 from stweil/guards
Fix header file guards and replace reserved identifiers
2016-12-15 08:29:32 +01:00
Stefan Weil
cb6e9e0071 training: Replace NULL by nullptr
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-14 21:08:36 +01:00
Ray Smith
9d6e4f6c50 Fixed capi to remove cube part 2 2016-12-14 11:37:51 -08:00
Ray Smith
4b0dae5e22 Fixed capi to remove cube 2016-12-14 11:35:46 -08:00
Ray Smith
0b76f26497 More makefile changes to remove cube 2016-12-14 11:18:52 -08:00
Ray Smith
81ebba0394 More makefile changes to remove cube 2016-12-14 11:17:06 -08:00
Ray Smith
5c3839bdb4 Delete cube code 2016-12-14 11:00:43 -08:00
Ray Smith
432684dd6e Makefile changes to remove cube 2016-12-14 10:58:24 -08:00
Ray Smith
9f5ba9105f Removed dependency on cube from the code 2016-12-14 10:55:15 -08:00
Ray Smith
5129c43579 Stopped error messages from pixaGetCount 2016-12-14 10:46:27 -08:00
Stefan Weil
d70f3c3663 Simplify configuration for Leptonica
All relevant versions of Leptonica support pkg-config, so the old
configuration code can be removed.

Update also the error message for missing Leptonica.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-14 14:51:49 +01: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
Ray Smith
13e46ae1c4 Made LSTM the default engine, pushed cube out 2016-12-13 14:37:40 -08:00
zdenop
dc124043ec Merge pull request #572 from stweil/mingw64
Address some build issues (mainly for Mingw-w64)
2016-12-13 16:41:56 +01:00
Stefan Weil
3a5446bb52 Use pkg-config for Leptonica compiler flags
The old settings don't work for cross compilations (wrong include path)
or require setting LIBLEPT_HEADERSDIR. They are used as fallback if
there is no pkg-config configuration.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-13 15:52:29 +01:00
Stefan Weil
9ec0c4fa9c api: Add missing dependency on libtiff
It is needed because of a direct call to TIFFSetWarningHandler.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-13 13:29:34 +01:00
Stefan Weil
a9b300dc1d Use pkg-config for icu compiler and linker flags
The old settings are used as fallback if there is no configuration.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-13 13:29:34 +01:00
Stefan Weil
aa964b548a opencl: Fix runtime crash when no device was found
The native CPU is always available and needs an initialized profile.

Signed-off-by: Stefan Weil <stefan.weil@bib.uni-mannheim.de>
2016-12-12 20:16:08 +01:00
zdenop
9234b4c62d Merge pull request #565 from stweil/openmp
openmp: Fix OpenMP support
2016-12-12 08:42:34 +01:00
Stefan Weil
224eb8ae04 openmp: Fix OpenMP support
Replace OPENMP_CFLAGS by OPENMP_CXXFLAGS.
This completes commit 6140be6a55.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-11 22:48:26 +01:00
zdenop
faeb0d6f99 Merge pull request #563 from stweil/java
java: Improve build rules
2016-12-11 22:27:29 +01:00
Stefan Weil
92f2eda2c7 java: Improve build rules
* Fix builds in subdirectories:
  * Add srcdir to Manifest.txt.
  * Remove srcdir from piccolo2d-core-3.0.jar and piccolo2d-extras-3.0.jar.

* Add dependency of SCROLLVIEW_CLASSES on SCROLLVIEW_LIBS.
  The SCROLLVIEW_LIBS are now automatically fetched when needed.

* Add .PHONY target for fetch-jars.

* Improve rule for clean target.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-11 22:04:17 +01:00