1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-13 02:33:03 +01:00
A Tox-based instant messaging and video chat client
Go to file
mannol1 50fca4cddf Merge pull request #193 from Ansa89/makefile-fix
Makefile: little refactoring
2014-07-23 03:51:52 +02:00
build Makefile: little refactoring 2014-07-22 09:59:44 +02:00
cfg Makefile fix 2014-07-21 12:33:19 +02:00
doc Update toxic.conf.5 manpage 2014-07-22 16:38:20 +02:00
misc fix config file loading, fix makefile compile errors 2014-07-21 18:57:16 -04:00
sounds Makefile fix 2014-07-21 12:33:19 +02:00
src Merge pull request #193 from Ansa89/makefile-fix 2014-07-23 03:51:52 +02:00
.gitignore Update .gitignore: remove autotools 2014-06-24 12:37:43 +02:00
.travis.yml Forgot libalut-dev dependency 2014-07-21 12:50:29 +02:00
COPYING Put back license 2014-06-24 17:48:49 +02:00
README.md README.md: add dependencies for sound notifications 2014-07-21 14:19:01 +02:00

Toxic Build Status

Toxic is a Tox-based instant messenging client which formerly resided in the Tox core repository, and is now available as a standalone application.

Toxic Screenshot.

Installation

Dependencies

Base
Audio
  • libtoxav (libtoxcore compiled with audio support)
  • openal
Sound notifications

Compiling

  1. cd build/
  2. make PREFIX="/where/to/install"
  3. sudo make install PREFIX="/where/to/install"

Compilation Notes

  • You can add specific flags to the Makefile with USER_CFLAGS="" and/or USER_LDFLAGS=""
  • You can pass your own flags to the Makefile with CFLAGS="" and/or LDFLAGS="" (this will supersede the default ones)
  • Audio call support is automatically enabled if all dependencies are found
  • If you want to build toxic without audio call support, you can use make DISABLE_AV=1
  • Sound notifications support is automatically enabled if all dependencies are found
  • If you want to build toxic without sound notifications support, you can use make DISABLE_NOTIFY=1

Packaging

  • For packaging purpose, you can use DESTDIR="" to specify a directory where to store installed files
  • DESTDIR="" can be used in addition to PREFIX="":
    • DESTDIR="" is meant to specify a directory where to store installed files (ex: "/tmp/build/pkg")
    • PREFIX="" is meant to specify a prefix directory for binaries and data files (ex: "/usr/local")

Troubleshooting

If your default prefix is "/usr/local" and you receive the following:

error while loading shared libraries: libtoxcore.so.0: cannot open shared object file: No such file or directory

you can attempt to correct it by running sudo ldconfig. If that doesn't work, run:

echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf
sudo ldconfig

Settings

Running Toxic for the first time creates an empty file called toxic.conf in your home configuration directory ("~/.config/tox" for Linux users). Adding options to this file allows you to enable auto-logging, change the time format (12/24 hour), and much more. You can view our example config file here.