Browse Source

chore(docs): build toxcore with bootstrap daemon disabled

toxcore requires libconfig to build the bootstrap daemon. our current
dependencies don't list libconfig, and we have no use for the bootstrap daemon,
so don't build it for qTox.
reviewable/pr5892/r2
Anthony Bilinski 6 years ago
parent
commit
196a20f124
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
  1. 2
      INSTALL.md
  2. 4
      bootstrap.sh
  3. 1
      flatpak/io.github.qtox.qTox.json

2
INSTALL.md

@ -499,7 +499,7 @@ Provided that you have all required dependencies installed, you can simply run: @@ -499,7 +499,7 @@ Provided that you have all required dependencies installed, you can simply run:
git clone https://github.com/toktok/c-toxcore.git toxcore
cd toxcore
git checkout v0.2.10
cmake .
cmake . -DBOOTSTRAP_DAEMON=OFF
make -j$(nproc)
sudo make install

4
bootstrap.sh

@ -114,11 +114,11 @@ install_toxcore() { @@ -114,11 +114,11 @@ install_toxcore() {
# compile and install
if [[ $SYSTEM_WIDE = "false" ]]
then
cmake . -DCMAKE_INSTALL_PREFIX=${BASE_DIR}
cmake . -DCMAKE_INSTALL_PREFIX=${BASE_DIR} -DBOOTSTRAP_DAEMON=OFF
make -j $(nproc)
make install
else
cmake .
cmake . -DBOOTSTRAP_DAEMON=OFF
make -j $(nproc)
sudo make install
sudo ldconfig

1
flatpak/io.github.qtox.qTox.json

@ -145,6 +145,7 @@ @@ -145,6 +145,7 @@
{
"name": "c-toxcore",
"buildsystem": "cmake-ninja",
"config-opts": ["-DBOOTSTRAP_DAEMON=OFF"],
"sources": [
{
"type": "git",

Loading…
Cancel
Save