Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix and improve Windows installer #4348

Merged
merged 5 commits into from
Nov 6, 2024
Merged

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
1 check passed
@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