Docker image to build gettext and iconv binaries for Windows
1.1K
gettext tools and iconv binaries for Windows.
If you don't want to waste your time or if you don't know much about compiling and virtual machines, see mlocati.github.io/articles/gettext-iconv-windows.html.
You can build the gettext/iconv binaries with Docker.
Simply clone this repository, open a terminal and run this command:
docker run --rm -it -v "$PWD:/app mlocati/gettext-iconv-windows:latest" /app/compile-iconv-gettext-windows.sh
docker run --rm -it -v "%CD%:/app" mlocati/gettext-iconv-windows:latest /app/compile-iconv-gettext-windows.sh
docker run --rm -it -v "$((Get-Location).Path):/app" mlocati/gettext-iconv-windows:latest /app/compile-iconv-gettext-windows.sh
To compile all the versions (shared and static, 32 and 64 bits), you can use the compile-iconv-gettext-windows-all.sh script.
The build script has been written for Ubuntu 18.04 LTS.
Get the *.sh files and the patches directory (they must reside in the same directory).
Run the compile-iconv-gettext-windows.sh script to build the Windows binary files.
This requires a Windows PC.
compiled\<shared|static>-<32|64>check-dependencies.vbs script (cscript //Nologo check-dependencies.vbs)build-setup.vbs script (cscript //Nologo build-setup.vbs)This requires a Windows PC with Inno Setup installed (I used version 5.5.9-unicode).
If you want to build a setup to install these executables and automatically add them to the environmental path:
compiled\<shared|static>-<32|64>build-setup.vbs scriptThe patch that adds support to the GETTEXTIOENCODING environmental variable was created by Václav Slavík.
You can offer me a monthly coffee or a one-time coffee :wink:
Content type
Image
Digest
Size
1.2 GB
Last updated
about 6 years ago
docker pull mlocati/gettext-iconv-windows