Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
clients:ratox [2015/09/08 00:59] – created cmotc | clients:ratox [2015/09/23 06:30] (current) – [debootstrap/chroot method(Debian, Ubuntu, etc only] fixed a typo I missed a second ago cmotc | ||
---|---|---|---|
Line 4: | Line 4: | ||
| Repository: | http:// | | Repository: | http:// | ||
- | | Maintainers: | + | | Maintainers: |
| Language: | C | | | Language: | C | | ||
| Operating Systems: | Linux, OSX | | | Operating Systems: | Linux, OSX | | ||
Line 14: | Line 14: | ||
===== Features ===== | ===== Features ===== | ||
- | 1 v 1 messaging: Yes | + | |
- | File transfer: Yes | + | * 1 v 1 messaging: Yes |
- | Group chat: No | + | |
- | Audio: Yes | + | |
- | Video: No | + | |
- | DNS discovery: No | + | |
- | Chat logs: Yes | + | |
- | Proxy support: Yes | + | |
- | Offline message: Yes | + | |
- | Offline transfers: Yes | + | |
- | Contact aliases: No | + | |
- | Contact blocking: No | + | |
- | Save file encryption: Yes | + | |
- | Multilingual: | + | |
- | Multiprofile: | + | |
- | Typing notification: | + | |
- | Audio notifications: | + | |
- | Emoticons: No | + | |
- | Spell check: No | + | |
- | Desktop sharing: No | + | |
- | Inline images: No | + | |
- | File resuming: No | + | |
- | Read receipts: No | + | |
- | Message splitting: Yes | + | |
- | Changing nospam: Yes | + | |
- | toxi URI: No | + | |
+ | * tox URI: No | ||
NOTE: Some of these features are not intended to be developed | NOTE: Some of these features are not intended to be developed | ||
Line 47: | Line 48: | ||
===== Installation ===== | ===== Installation ===== | ||
+ | ratox has not been updated to use the new Tox API yet, and must be compiled against the old api, which is available here [[https:// | ||
+ | |||
+ | ==== debootstrap/ | ||
+ | |||
+ | This one is time and space consuming, but it's also relatively easy and offers an environment in which you can continue to build against the old API for as long as it works. As of the time of this posting(2015/ | ||
+ | |||
+ | === Step Zero, install dependencies === | ||
+ | |||
+ | You'll need to install the debootstrap and chroot packages from your package manager. Just do | ||
+ | |||
+ | < | ||
+ | sudo apt-get install debootstrap chroot | ||
+ | </ | ||
+ | |||
+ | or install via your own preferred package manager. | ||
+ | |||
+ | === Step one, use debootstrap to create a system to chroot into === | ||
+ | |||
+ | First, create a folder for holding your old Tox API project workspace. This will be the base of your chroot filesystem. | ||
+ | |||
+ | < | ||
+ | mkdir -p ~/ | ||
+ | </ | ||
+ | |||
+ | Next, use debootstrap to install a basic filesystem into that folder. debootstrap will retrieve and set up a base Debian system into the workspace folder. | ||
+ | |||
+ | < | ||
+ | sudo debootstrap < | ||
+ | </ | ||
+ | |||
+ | === Step two, prepare to connect to the chroot environment === | ||
+ | |||
+ | You'll have to mount the /proc and /sys pseudo-filesystems in your guest before you can compile ratox. You can do this two ways, depending on what you need. | ||
+ | |||
+ | == 2.a If you are experimenting with the old Tox API or are updating software that used it to the new Tox API. == | ||
+ | |||
+ | If you are going to be using the old Tox API frequently, then you may be better off adding your chroot' | ||
+ | |||
+ | < | ||
+ | proc / | ||
+ | sysfs / | ||
+ | </ | ||
+ | |||
+ | == 2.b If you just want Ratox again. == | ||
+ | |||
+ | If you're just wanting an environment to compile Ratox in so you can use it, perhaps to write more [[http:// | ||
+ | |||
+ | < | ||
+ | #! /bin/sh | ||
+ | sudo mount proc $HOME/ | ||
+ | sudo mount sysfs $HOME/ | ||
+ | sudo chroot oldtox_workspace | ||
+ | </ | ||
+ | |||
+ | === Step three, install build dependencies in the chroot === | ||
+ | |||
+ | < | ||
+ | apt-get install build-essential libtool autotools-dev automake checkinstall check git yasm libsodium13 libsodium-dev | ||
+ | </ | ||
+ | |||
+ | If you're running an oldstable or LTS, your distribution' | ||
+ | |||
+ | == 3.a Install it from source == | ||
+ | |||
+ | libsodium has minimal dependencies and compiles in the pretty much the classic autoreconf, make, make install pattern. | ||
+ | |||
+ | < | ||
+ | git clone git:// | ||
+ | cd libsodium | ||
+ | git checkout tags/1.0.3 | ||
+ | ./ | ||
+ | ./configure | ||
+ | make check | ||
+ | sudo make install | ||
+ | cd .. | ||
+ | </ | ||
+ | |||
+ | == 3.b Install it from Jessie repositories using apt-pinning == | ||
+ | |||
+ | You can also get it from Jessie while still keeping most of your system on oldstable. | ||
+ | < | ||
+ | echo "deb http:// | ||
+ | </ | ||
+ | |||
+ | And make sure that apt knows to only use Jessie' | ||
+ | < | ||
+ | echo " | ||
+ | Pin: release a=oldstable | ||
+ | Priority: 999 | ||
+ | |||
+ | Package: * | ||
+ | Pin: release a=stable | ||
+ | Priority: 500 | ||
+ | " | tee / | ||
+ | </ | ||
+ | |||
+ | **Remember these steps are only necessary on oldstable(Debian 7 " | ||
+ | |||
+ | You'll also need to install the Tox AV libraries to build ratox. Here's how to work out it's dependencies, | ||
+ | |||
+ | < | ||
+ | sudo apt-get install libopus-dev libvpx-dev pkg-config | ||
+ | </ | ||
+ | |||
+ | If you're on an older version of Ubuntu and you do not have access to libopus through the repositories, | ||
+ | |||
+ | == 3.c libopus backport, the Ubuntu way == | ||
+ | < | ||
+ | sudo add-apt-repository ppa: | ||
+ | sudo apt-get install libopus-dev | ||
+ | </ | ||
+ | |||
+ | |||
+ | == 3.d libvpx is available all the way back in squeeze, but if you need a newer version then you can always build it from source or add it from Jessie using backports as well(See above). == | ||
+ | |||
+ | < | ||
+ | git clone https:// | ||
+ | cd libvpx | ||
+ | ./configure | ||
+ | make -j3 | ||
+ | sudo make install | ||
+ | cd .. | ||
+ | </ | ||
+ | |||
+ | == If you're using Debian Squeeze, you may need to compile libvpx from source or install it from squeeze-backports. The instructions for using a backports repository are identical to the instructions for using a distribution repository like Jessie (See above). == | ||
+ | |||
+ | < | ||
+ | wget http:// | ||
+ | tar xvzf opus-1.0.3.tar.gz | ||
+ | cd opus-1.0.3 | ||
+ | ./configure | ||
+ | make -j3 | ||
+ | sudo make install | ||
+ | cd .. | ||
+ | </ | ||
+ | |||
+ | === Step Four, download and build the old Tox API === | ||
+ | |||
+ | For this part, we first need to retrieve the old Tox API. It's available as a [[https:// | ||
+ | |||
+ | From within your chroot, wget the old API as a tar.gz. | ||
+ | |||
+ | < | ||
+ | wget https:// | ||
+ | </ | ||
+ | |||
+ | Now untar and gunzip it. | ||
+ | |||
+ | < | ||
+ | tar -xvzf api_old_version.tar.gz -C toxcore-old | ||
+ | cd toxcore-old | ||
+ | </ | ||
+ | |||
+ | Finally, you can just compile and install toxcore. | ||
+ | |||
+ | < | ||
+ | autoreconf -i | ||
+ | ./configure | ||
+ | make | ||
+ | sudo make install | ||
+ | </ | ||
+ | |||
+ | === Step five, compile and install ratox === | ||
+ | |||
+ | All that work you just did makes this step really, really easy. Just | ||
+ | |||
+ | < | ||
+ | git clone git:// | ||
+ | cd ratox | ||
+ | make | ||
+ | sudo make install | ||
+ | </ | ||
+ | |||
+ | and that's it. You now have a ratox binary you can use, study, modify, or package as you see fit. | ||
===== Usage ===== | ===== Usage ===== | ||
Line 77: | Line 252: | ||
You may have to play about with the cache size. | You may have to play about with the cache size. | ||
+ | |||
+ | ===== Other clients ===== | ||
+ | |||
+ | {{page> |