From 7bf6786bf5f4b9427e1750398a9894234e482c9a Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 26 Jun 2019 04:18:24 +0200 Subject: [PATCH] build: note whether binary is reproducible in each case --- contrib/build-linux/README.md | 2 ++ contrib/build-linux/appimage/README.md | 12 ++++++++++-- contrib/build-wine/README.md | 13 +++++-------- contrib/osx/README.md | 3 +++ electrum/gui/kivy/Readme.md | 5 ++++- 5 files changed, 24 insertions(+), 11 deletions(-) diff --git a/contrib/build-linux/README.md b/contrib/build-linux/README.md index 8d45038c4..22705a435 100644 --- a/contrib/build-linux/README.md +++ b/contrib/build-linux/README.md @@ -1,6 +1,8 @@ Source tarballs =============== +✗ _This script does not produce reproducible output (yet!)._ + 1. Build locale files ``` diff --git a/contrib/build-linux/appimage/README.md b/contrib/build-linux/appimage/README.md index 747c84c55..6f6be280a 100644 --- a/contrib/build-linux/appimage/README.md +++ b/contrib/build-linux/appimage/README.md @@ -1,9 +1,17 @@ AppImage binary for Electrum ============================ +✓ _This binary should be reproducible, meaning you should be able to generate + binaries that match the official releases._ + This assumes an Ubuntu host, but it should not be too hard to adapt to another -similar system. The docker commands should be executed in the project's root -folder. +similar system. The host architecture should be x86_64 (amd64). +The docker commands should be executed in the project's root folder. + +We currently only build a single AppImage, for x86_64 architecture. +Help to adapt these scripts to build for (some flavor of) ARM would be welcome, +see [issue #5159](https://github.com/spesmilo/electrum/issues/5159). + 1. Install Docker diff --git a/contrib/build-wine/README.md b/contrib/build-wine/README.md index 4c4f3b43c..9c6cb1d7b 100644 --- a/contrib/build-wine/README.md +++ b/contrib/build-wine/README.md @@ -1,10 +1,10 @@ -Deterministic Windows binaries with Docker -========================================== +Windows binaries +================ -Produced binaries are deterministic, so you should be able to generate -binaries that match the official releases. +✓ _These binaries should be reproducible, meaning you should be able to generate + binaries that match the official releases._ -This assumes an Ubuntu host, but it should not be too hard to adapt to another +This assumes an Ubuntu (x86_64) host, but it should not be too hard to adapt to another similar system. The docker commands should be executed in the project's root folder. @@ -54,9 +54,6 @@ folder. -Note: the `setup` binary (NSIS installer) is not deterministic yet. - - Code Signing ============ diff --git a/contrib/osx/README.md b/contrib/osx/README.md index ca404ff11..fdba1913f 100644 --- a/contrib/osx/README.md +++ b/contrib/osx/README.md @@ -1,6 +1,9 @@ Building Mac OS binaries ======================== +✗ _This script does not produce reproducible output (yet!). + Please help us remedy this._ + This guide explains how to build Electrum binaries for macOS systems. diff --git a/electrum/gui/kivy/Readme.md b/electrum/gui/kivy/Readme.md index 85e54494e..887d7899f 100644 --- a/electrum/gui/kivy/Readme.md +++ b/electrum/gui/kivy/Readme.md @@ -5,7 +5,10 @@ To generate an APK file, follow these instructions. ## Android binary with Docker -This assumes an Ubuntu host, but it should not be too hard to adapt to another +✗ _This script does not produce reproducible output (yet!). + Please help us remedy this._ + +This assumes an Ubuntu (x86_64) host, but it should not be too hard to adapt to another similar system. The docker commands should be executed in the project's root folder.