Skip to content

Conversation

@stweil
Copy link
Member

@stweil stweil commented Nov 6, 2024

  • Add missing DLLs which are provided by the compiler.
  • Strip all executables. This reduces the size of the installer from about 44 MB to 25 MB.
  • Some more small improvements.

Strip all installed executables and libraries.

Signed-off-by: Stefan Weil <[email protected]>
The pattern for the training tools *.exe also includes tesseract.exe,
so it must be excluded explicitly.

Add also a macro BINDIR which simplifies the NSIS rules.

Signed-off-by: Stefan Weil <[email protected]>
The Debian package mingw-w64-tools already contains the required
/usr/bin/x86_64-w64-mingw32-pkg-config.

Signed-off-by: Stefan Weil <[email protected]>
…nstaller

The build process needs the packages curl, python3-venv and unzip
which are missing in the Docker image for Ubuntu.

Signed-off-by: Stefan Weil <[email protected]>
libstdc++-6.dll and libgcc_s_seh-1.dll must be taken from the compiler
directory, not from the pacman DLLs.

Signed-off-by: Stefan Weil <[email protected]>
@stweil stweil merged commit d2f311b into tesseract-ocr:main Nov 6, 2024
@stweil stweil deleted the stripped branch November 6, 2024 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants