docker windows build: fix missing translations

This commit is contained in:
SomberNight 2018-06-30 18:56:50 +02:00
parent b60751faef
commit 2d29c9313f
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9
3 changed files with 7 additions and 2 deletions

View file

@ -45,6 +45,10 @@ VERSION=`git describe --tags --dirty`
echo "Last commit: $VERSION" echo "Last commit: $VERSION"
pushd ./contrib/deterministic-build/electrum-locale 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 for i in ./locale/*; do
dir=$i/LC_MESSAGES dir=$i/LC_MESSAGES
mkdir -p $dir mkdir -p $dir

View file

@ -23,6 +23,7 @@ RUN dpkg --add-architecture i386 && \
autotools-dev=20180224.1 \ autotools-dev=20180224.1 \
autoconf=2.69-11 \ autoconf=2.69-11 \
libtool=2.4.6-2 \ libtool=2.4.6-2 \
gettext=0.19.8.1-6 \
&& \ && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
apt-get autoremove -y && \ apt-get autoremove -y && \

View file

@ -1,7 +1,7 @@
Deterministic Windows binaries with Docker 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. similar system.
1. Install Docker 1. Install Docker
@ -17,7 +17,7 @@ similar system.
``` ```
$ cd contrib/build-wine/docker $ cd contrib/build-wine/docker
$ PROJECT_ROOT=$(pwd)/../../../ $ PROJECT_ROOT=$PWD/../../../
$ sudo docker build --no-cache -t electrum-wine-builder-img . $ sudo docker build --no-cache -t electrum-wine-builder-img .
``` ```