Browse Source

feat(extensions): Update documentation

pull/5932/head
Mick Sayson 6 years ago committed by Anthony Bilinski
parent
commit
a11a65af2a
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
  1. 52
      INSTALL.md
  2. 8
      doc/user_manual_en.md

52
INSTALL.md

@ -34,18 +34,20 @@
## Dependencies ## Dependencies
| Name | Version | Modules | | Name | Version | Modules |
|---------------|-------------|----------------------------------------------------------| |--------------------------|-------------|----------------------------------------------------------|
| [Qt] | >= 5.5.0 | concurrent, core, gui, network, opengl, svg, widget, xml | | [Qt] | >= 5.5.0 | concurrent, core, gui, network, opengl, svg, widget, xml |
| [GCC]/[MinGW] | >= 4.8 | C++11 enabled | | [GCC]/[MinGW] | >= 4.8 | C++11 enabled |
| [toxcore] | >= 0.2.10 | core, av | | [toxcore] | >= 0.2.10 | core, av |
| [FFmpeg] | >= 2.6.0 | avformat, avdevice, avcodec, avutil, swscale | | [FFmpeg] | >= 2.6.0 | avformat, avdevice, avcodec, avutil, swscale |
| [CMake] | >= 2.8.11 | | | [CMake] | >= 2.8.11 | |
| [OpenAL Soft] | >= 1.16.0 | | | [OpenAL Soft] | >= 1.16.0 | |
| [qrencode] | >= 3.0.3 | | | [qrencode] | >= 3.0.3 | |
| [sqlcipher] | >= 3.2.0 | | | [sqlcipher] | >= 3.2.0 | |
| [pkg-config] | >= 0.28 | | | [pkg-config] | >= 0.28 | |
| [snorenotify] | >= 0.7.0 | optional dependency | | [snorenotify] | >= 0.7.0 | optional dependency |
| [toxext] | >= 0.0.1 | |
| [tox_extension_messages] | >= 0.0.1 | |
## Optional dependencies ## Optional dependencies
@ -424,6 +426,30 @@ echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf
sudo ldconfig sudo ldconfig
``` ```
### Compile extensions
qTox uses the toxext library and some of the extensions that go with it.
You will likely have to compile these yourself
```bash
git clone https://github.com/toxext/toxext.git toxext
cd toxext
git checkout v0.0.2
cmake .
make -j$(nproc)
sudo make install
```
```bash
git clone https://github.com/toxext/tox_extension_messages.git tox_extension_messages
cd tox_extension_messages
git checkout v0.0.2
cmake .
make -j$(nproc)
sudo make install
```
### Compile qTox ### Compile qTox
**Make sure that all the dependencies are installed.** If you experience **Make sure that all the dependencies are installed.** If you experience
@ -756,3 +782,5 @@ Switches:
[toxcore]: https://github.com/TokTok/c-toxcore/ [toxcore]: https://github.com/TokTok/c-toxcore/
[sonnet]: https://github.com/KDE/sonnet [sonnet]: https://github.com/KDE/sonnet
[snorenotify]: https://techbase.kde.org/Projects/Snorenotify [snorenotify]: https://techbase.kde.org/Projects/Snorenotify
[toxext]: https://github.com/toxext/toxext
[tox_extension_messages]: https://github.com/toxext/tox_extension_messages

8
doc/user_manual_en.md

@ -489,3 +489,11 @@ public key, and which changes on every start of a client, so it's best to use a
[ToxMe service]: #register-on-toxme [ToxMe service]: #register-on-toxme
[user profile]: #user-profile [user profile]: #user-profile
[profile corner]: #profile-corner [profile corner]: #profile-corner
# Extensions
qTox supports extra features through the use of extensions to the tox protocol. Not all contacts are going to support these extensions.
For most cases you won't have to do anything, but you may wonder why behavior of chats is different for some friends. There is a puzzle piece icon to the left of your contact's name in the top of a chat. If it's green that means that they support all the features qTox cares about. If it's yellow it means some of the features are supported. If it's red it means that they don't support any extensions.
You can hover over the icon to see which extensions they support. qTox should dynamically enable/disable features based on the extension set of your friend.

Loading…
Cancel
Save