- Move NSIS installer file to new location
- Support cross builds with NSIS
- Clean nsis configuration
- Fix typos in nsis configuration
- Add jar files needed for ScrollView.jar
- Move ScrollView.jar to a new section
- Add missing configurations to tessdata
- Registry settings are now disabled (problems with long PATH)
- Add menu sections for all languages
- Simplify language downloads
- Tune and improve nsis configuration
- Add sizes for language data
- Add missing translations to nsis configuration
- Don't show details in installer by default
- Initial code for 64 bit Tesseract installer
- Fix uninstall for TESSDATA_PREFIX registry key
- Remove cube code
- nsis: Add all training executables
- nsis: Disable registry settings
Trying to add to PATH fails if the old PATH is very long and
will result in an empty PATH.
Remove these settings as they were already disabled by default,
and both are not needed.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
FreeBSD uses git to manage Ports Tree. Tesseract, when building from the Ports Tree, is built from a tarball that doesn't have .git and then git describe is ran on top of the Ports Tree.
Both forms are used in American English, but 'cannot' is more common
(also in Tesseract code), so use it always.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Tesseract for FreeBSD was built without support for SSE4.1, AVX,
AVX2 or FMA because it uses a different value for `host_cpu`.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Fix the following build failure on aarch64_be:
/home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-none-linux-gnu/10.3.1/../../../../aarch64_be-none-linux-gnu/bin/ld: ./.libs/libtesseract.so: undefined reference to `tesseract::IntSimdMatrix::intSimdMatrixNEON'
Fixes:
- http://autobuild.buildroot.org/results/b9246a37fcf6be4fabfc491daddadfb09e0a320a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
The old code failed with an error message when running in a
git working directory without any tag (for example after
git clone --depth 1).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
MSYS2 clang64 uses the lld linker which does not support --as-needed.
The normal GNU ld uses that linker option with ELF targets but ignores
it for PE targets (.exe, .dll), so it can be removed.
Remove also the -Wl, which is only needed when linker options are
passed to the compiler but not when they are directly passed to the
linker.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
If no PKG_CONFIG_PATH was provided by the user, it is now set
automatically on hosts which have the `brew` command.
MacOS with Homebrew needs PKG_CONFIG_PATH to find icu4c and libarchive.
Signed-off-by: Stefan Weil <stweil@notebook11.fritz.box>
Using those flags is not acceptable for Linux distributions
because the resulting code then depends on the build
infrastructure, so the build result is not deterministic.
It is still possible to use those compiler flags by specifying
CXXFLAGS.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
It is still possible to build Tesseract with double LSTM:
# autoconf
./configure --disable-float32
# cmake
cmake .. -DFAST_FLOAT=ON
Signed-off-by: Stefan Weil <sw@weilnetz.de>
The old commit only silenced parts of the build,
while the new one silences the whole build.
Fixes: 47af1282f4
Signed-off-by: Stefan Weil <sw@weilnetz.de>
On latest MacOS 11.3 the system header file "ostream" includes a file
named "version".
The macro DEFAULT_INCLUDES adds the source root to the list of include
directories by default. As MacOS uses a case insensitive file system,
the compiler finds and includes the file "VERSION" there which causes
compiler errors and a failing build process.
Setting an empty DEFAULT_INCLUDES fixes that, but requires moving
config_auto.h to another directory in the include search path.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
autoconf reported this warning:
configure.ac:263: warning: AC_CHECK_HEADERS("tensorflow/core/framework/graph.pb.h"): you should use literals
Signed-off-by: Stefan Weil <sw@weilnetz.de>