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