tdocker windows build: fix missing translations - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 2d29c9313feeb6823d361700ee25eb03e8fb1a1a DIR parent b60751faef3572080f9092a31b661cdd06d3d0ed HTML Author: SomberNight <somber.night@protonmail.com> Date: Sat, 30 Jun 2018 18:56:50 +0200 docker windows build: fix missing translations Diffstat: M contrib/build-wine/build-electrum-… | 4 ++++ M contrib/build-wine/docker/Dockerfi… | 1 + M contrib/build-wine/docker/README.md | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) --- DIR diff --git a/contrib/build-wine/build-electrum-git.sh b/contrib/build-wine/build-electrum-git.sh t@@ -45,6 +45,10 @@ VERSION=`git describe --tags --dirty` echo "Last commit: $VERSION" pushd ./contrib/deterministic-build/electrum-locale +if ! which msgfmt > /dev/null 2>&1; then + echo "Please install gettext" + exit 1 +fi for i in ./locale/*; do dir=$i/LC_MESSAGES mkdir -p $dir DIR diff --git a/contrib/build-wine/docker/Dockerfile b/contrib/build-wine/docker/Dockerfile t@@ -23,6 +23,7 @@ RUN dpkg --add-architecture i386 && \ autotools-dev=20180224.1 \ autoconf=2.69-11 \ libtool=2.4.6-2 \ + gettext=0.19.8.1-6 \ && \ rm -rf /var/lib/apt/lists/* && \ apt-get autoremove -y && \ DIR diff --git a/contrib/build-wine/docker/README.md b/contrib/build-wine/docker/README.md t@@ -1,7 +1,7 @@ Deterministic Windows binaries with Docker ========================================== -This assumes an Ubuntu host, but it should not be too hard to adopt to another +This assumes an Ubuntu host, but it should not be too hard to adapt to another similar system. 1. Install Docker t@@ -17,7 +17,7 @@ similar system. ``` $ cd contrib/build-wine/docker - $ PROJECT_ROOT=$(pwd)/../../../ + $ PROJECT_ROOT=$PWD/../../../ $ sudo docker build --no-cache -t electrum-wine-builder-img . ```