Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix and improve Windows installer#4348

Merged
stweil merged 5 commits into
tesseract-ocr:maintesseract-ocr/tesseract:mainfrom
stweil:strippedstweil/tesseract:strippedCopy head branch name to clipboard
Nov 6, 2024
Merged

Fix and improve Windows installer#4348
stweil merged 5 commits into
tesseract-ocr:maintesseract-ocr/tesseract:mainfrom
stweil:strippedstweil/tesseract:strippedCopy head branch name to clipboard

Conversation

@stweil
Copy link
Copy Markdown
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 <sw@weilnetz.de>
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 <sw@weilnetz.de>
The Debian package mingw-w64-tools already contains the required
/usr/bin/x86_64-w64-mingw32-pkg-config.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
…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 <sw@weilnetz.de>
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 <sw@weilnetz.de>
@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.