Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 1: [PATCH 01/68] build: adapt Roots platform support to Core 30.3

doc/build-unix.md

Before: doc/build-unix.md · After: doc/build-unix.md

File metadata
index d9bbb350a7af3cce858a44b0838313cd93620630..db30ccfa69f0ac21c6118b951fb3efa59c873eee 100644

Download original patch · Release notes

Diff rows 1–62 of 62. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.

doc/build-unix.md CHANGED
@@ -66,6 +66,10 @@ Cap'n Proto is needed for IPC functionality (see [multiprocess.md](multiprocess.
66
66
 
67
67
  Compile with `-DENABLE_IPC=OFF` if you do not need IPC functionality.
68
68
 
69
+ Optional port mapping library (see: `-DWITH_MINIUPNPC=ON`):
70
+
71
+ sudo apt install libminiupnpc-dev
72
+
69
73
  ZMQ-enabled binaries are compiled with `-DWITH_ZMQ=ON` and require the following dependency:
70
74
 
71
75
  sudo apt-get install libzmq3-dev
@@ -77,9 +81,10 @@ User-Space, Statically Defined Tracing (USDT) dependencies:
77
81
  GUI dependencies:
78
82
 
79
83
  Bitcoin Core includes a GUI built with the cross-platform Qt Framework. To compile the GUI, we need to install
80
- the necessary parts of Qt, the libqrencode and pass `-DBUILD_GUI=ON`. Skip if you don't intend to use the GUI.
84
+ the necessary parts of Qt and some image processing tools, and pass `-DBUILD_GUI=ON` to cmake.
85
+ Skip if you don't intend to use the GUI.
81
86
 
82
- sudo apt-get install qt6-base-dev qt6-tools-dev qt6-l10n-tools qt6-tools-dev-tools libgl-dev
87
+ sudo apt-get install qt6-base-dev qt6-tools-dev qt6-l10n-tools qt6-tools-dev-tools libgl-dev librsvg2-bin imagemagick
83
88
 
84
89
  Additionally, to support Wayland protocol for modern desktop environments:
85
90
 
@@ -91,6 +96,8 @@ The GUI will be able to encode addresses in QR codes unless this feature is expl
91
96
 
92
97
  Otherwise, if you don't need QR encoding support, use the `-DWITH_QRENCODE=OFF` option to disable this feature in order to compile the GUI.
93
98
 
99
+ Note: You can also build with Qt 6 (instead of Qt 5) by passing `-DWITH_QT_VERSION=6` to cmake.
100
+
94
101
 
95
102
  ### Fedora
96
103
 
@@ -110,6 +117,10 @@ SQLite is required for the wallet:
110
117
 
111
118
  To build Bitcoin Core without the wallet, see [*Disable-wallet mode*](#disable-wallet-mode)
112
119
 
120
+ Optional port mapping library (see: `-DWITH_MINIUPNPC=ON`):
121
+
122
+ sudo dnf install miniupnpc-devel
123
+
113
124
  ZMQ-enabled binaries are compiled with `-DWITH_ZMQ=ON` and require the following dependency:
114
125
 
115
126
  sudo dnf install zeromq-devel
@@ -127,9 +138,10 @@ Compile with `-DENABLE_IPC=OFF` if you do not need IPC functionality.
127
138
  GUI dependencies:
128
139
 
129
140
  Bitcoin Core includes a GUI built with the cross-platform Qt Framework. To compile the GUI, we need to install
130
- the necessary parts of Qt, the libqrencode and pass `-DBUILD_GUI=ON`. Skip if you don't intend to use the GUI.
141
+ the necessary parts of Qt and some image processing tools, and pass `-DBUILD_GUI=ON` to cmake.
142
+ Skip if you don't intend to use the GUI.
131
143
 
132
- sudo dnf install qt6-qtbase-devel qt6-qttools-devel
144
+ sudo dnf install qt6-qtbase-devel qt6-qttools-devel librsvg2-tools ImageMagick
133
145
 
134
146
  Additionally, to support Wayland protocol for modern desktop environments:
135
147
 
@@ -205,8 +217,8 @@ Setup and Build Example: Arch Linux
205
217
  -----------------------------------
206
218
  This example lists the steps necessary to setup and build a command line only distribution of the latest changes on Arch Linux:
207
219
 
208
- pacman --sync --needed capnproto cmake boost gcc git libevent make python sqlite
209
- git clone https://github.com/bitcoin/bitcoin.git
220
+ pacman --sync --needed capnproto cmake boost gcc git libevent make python sqlite librsvg imagemagick
221
+ git clone https://github.com/luganoplanb/bitcoin-roots.git
210
222
  cd bitcoin/
211
223
  cmake -B build
212
224
  cmake --build build