From 80a8c82bd20b0f0879b8665ee29dbbc42da32446 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Mon, 23 Jan 2023 22:53:06 +0100 Subject: [PATCH] HACKING: add Void Linux packages --- HACKING.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/HACKING.md b/HACKING.md index d9b3249..c577600 100644 --- a/HACKING.md +++ b/HACKING.md @@ -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: