]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
HACKING: add Void Linux packages
authortobtoht <tob@featherwallet.org>
Mon, 23 Jan 2023 21:53:06 +0000 (22:53 +0100)
committertobtoht <tob@featherwallet.org>
Mon, 23 Jan 2023 21:53:34 +0000 (22:53 +0100)
HACKING.md

index d9b32499f3493306021618a22b917c3c1466dba4..c577600d47f4c4c1882c8c671fd16857adda867a 100644 (file)
@@ -26,6 +26,14 @@ apt install git cmake build-essential ccache libssl-dev libunbound-dev libboost-
     libx11-xcb-dev libprotobuf-dev libhidapi-dev
 ```
 
+#### Void Linux
+
+```bash
+xbps-install -S base-devel cmake boost-devel openssl-devel unbound-devel libsodium-devel libzbar-devel zlib-devel qt6-base-devel \
+                qt6-svg-devel qt6-websockets-devel qt6-multimedia-devel libgcrypt-devel libzip-devel hidapi-devel protobuf \
+                protobuf-devel qrencode-devel
+```
+
 #### macOS
 
 For macOS it's easiest to leverage [brew](https://brew.sh) to install the required dependencies.
@@ -54,6 +62,14 @@ apt update && apt install tor
 systemctl enable --now tor
 ```
 
+#### Void Linux
+
+```bash
+xbps-install tor
+ln -s /etc/sv/tor /var/service/.
+sv start tor
+```
+
 #### macOS
 
 ```bash
@@ -93,12 +109,14 @@ After the target is configured, `Run -> Run 'feather'` or press Shift + F10 to b
 To build Feather without an IDE:
 
 ```bash
-mkdir build && \
-cd build && \
-cmake .. && \
+mkdir build
+cd build
+cmake ..
 cmake --build . -j $(nproc)
 ```
 
+On platforms without `execinfo.h` use `cmake -DSTACK_TRACE:BOOL=OFF ..` instead of `cmake ..`
+
 ### CMake
 
 There are some CMake options that you may pass to control how Feather is built: