1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-01 17:37:46 +02:00
toxic/README.md

48 lines
2.2 KiB
Markdown
Raw Normal View History

# Toxic [![Build Status](https://travis-ci.org/Tox/toxic.png?branch=master)](https://travis-ci.org/Tox/toxic)
Toxic is an ncurses-based instant messaging client for [Tox](https://tox.im) which formerly resided in the [Tox core repository](https://github.com/irungentoo/toxcore), and is now available as a standalone application.
2014-07-04 09:30:18 +02:00
![Toxic Screenshot](https://i.imgur.com/LdXXM62.png "Main Screen").
2013-08-23 10:57:16 +02:00
2014-03-04 09:08:04 +01:00
## Installation
2013-08-23 10:57:16 +02:00
### Dependencies
##### Base
* [libtoxcore](https://github.com/irungentoo/toxcore)
2014-06-24 17:46:52 +02:00
* [ncurses](https://www.gnu.org/software/ncurses) (for Debian based systems, 'libncursesw5-dev')
2013-08-23 10:57:16 +02:00
##### Audio
* libtoxav (libtoxcore compiled with audio support)
* [openal](http://openal.org)
2014-06-24 12:28:56 +02:00
### Compiling
1. `cd build/`
2014-06-25 09:13:57 +02:00
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
2014-06-24 12:28:56 +02:00
2014-06-25 09:13:57 +02:00
### Packaging
2014-06-25 10:54:05 +02:00
* For packaging purpose, you can use `DESTDIR=""` to specify a directory where to store installed files
2014-06-25 09:13:57 +02:00
* `DESTDIR=""` can be used in addition to `PREFIX=""`:
2014-06-25 10:54:05 +02:00
* `DESTDIR=""` is meant to specify a directory where to store installed files (ex: "/tmp/build/pkg")
2014-06-25 09:13:57 +02:00
* `PREFIX=""` is meant to specify a prefix directory for binaries and data files (ex: "/usr/local")
2014-06-24 12:28:56 +02:00
### Troubleshooting
If your default prefix is "/usr/local" and you receive the following:
2014-06-24 12:45:14 +02:00
```
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
```
2014-06-24 12:28:56 +02:00
2014-04-08 08:17:19 +02:00
## 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.
2014-06-28 18:04:10 +02:00
You can view our example config file [here](misc/toxic.conf.example).