commit 2d29c9313feeb6823d361700ee25eb03e8fb1a1a
parent b60751faef3572080f9092a31b661cdd06d3d0ed
Author: SomberNight <somber.night@protonmail.com>
Date: Sat, 30 Jun 2018 18:56:50 +0200
docker windows build: fix missing translations
Diffstat:
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/contrib/build-wine/build-electrum-git.sh b/contrib/build-wine/build-electrum-git.sh
@@ -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
diff --git a/contrib/build-wine/docker/Dockerfile b/contrib/build-wine/docker/Dockerfile
@@ -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 && \
diff --git a/contrib/build-wine/docker/README.md b/contrib/build-wine/docker/README.md
@@ -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
@@ -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 .
```