toxic

Installation

Dependencies

| Name | Needed by | Debian package | |——————————————————|—————————-|———————| | Tox Core | BASE | libtoxcore-dev | | NCurses | BASE | libncursesw5-dev | | LibConfig | BASE | libconfig-dev | | GNUmake | BASE | make | | libcurl | BASE | libcurl4-openssl-dev| | libqrencode | QRCODE | libqrencode-dev | | OpenAL | AUDIO, SOUND NOTIFICATIONS | libopenal-dev | | OpenALUT | SOUND NOTIFICATIONS | libalut-dev | | LibNotify | DESKTOP NOTIFICATIONS | libnotify-dev | | X11| VIDEO, DESKTOP FOCUS | libx11-dev | | Python 3 | PYTHON | python3-dev | | AsciiDoc | DOCUMENTATION1 | asciidoc |

1: see Documentation

Compiling

make
sudo make install

Documentation

Run make doc in the build directory after editing the asciidoc files to regenerate the manpages.
Note for developers: asciidoc files and generated manpages will need to be committed together.
Note for everyone: asciidoc (and this step) is only required for regenerating manpages when you modify them.

OS X Notes

Using Homebrew:

brew install curl qrencode openal-soft freealut libconfig libpng
brew install --HEAD https://raw.githubusercontent.com/Tox/homebrew-tox/master/Formula/libtoxcore.rb
brew install libnotify
export PKG_CONFIG_PATH=/usr/local/opt/openal-soft/lib/pkgconfig
make

FreeBSD Notes

To compile Toxic on FreeBSD you’ll need to use gmake instead of make, and you may need to manually tell pkg-config where to find the toxcore library. In order to build with audio/video support you’ll need to install the v4l_compat port.

The following commands should work for a default installation of both toxcore and toxic:

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
gmake
sudo -E gmake install

Notes

Compilation variables

Environment variables