Fight for the Internet 1!

Tuesday, April 14, 2015

Getting Tox to work with Pidgin in Fedora 21

Quick guide to getting the encrypted instant messenger service Tox to work with Pidgin.

General information for those who need to look elsewhere when this guide isn't enough:
Maintainers Jin^eLD
Most of these commands should be run through a console.

1) You need to be using Pidgin 2.10.10 or later.

2) Make sure your firewall has trusted ports for the Tox account settings you prefer. The default port is 33445.

3) In case you haven't already, install the build tools you'll need:
yum groupinstall "Development Tools"
yum install libtool autoconf automake check check-devel
4) Install the plugin build dependencies:
# For ToxCore
yum install libvpx-devel opus-devel 
# For Tox-prpl
yum install libpurple-devel
5) Build and install libsodium (a dependency for the ToxCore). Grab your release from here: For this guide I used version 1.0.2. The compile instructions are the standard ones.
sudo make install
6) Grab the version 0.4.2 release of ToxCore from here: . This is the old API of Tox which is compatible with the current Tox plugin for Pidgin. The new API is not supported yet.
autoreconf -i
make check # My network test didn't pass but that's okay. Move along.
sudo make install
7) Grab the tox-prpl plugin from here: . The latest version (as of posting now), includes a minor but important fix from on Feb-26.

At this point you should quit / exit Pidgin. Make sure it's not running for this stage.

git clone
cd tox-prpl
autoconf -i
# Note that here I had a library path problem,and had to manually specify where the libtoxcore.pc file was located on my system. Some users may be able to get away with just doing plain old ./configure or may need to set a different PKG_CONFIG_PATH= value.
./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
make check

Almost done!
mkdir ~/.purple/plugin
If you get an error saying this folder already exists, that's fine. Move along.
cp build/.libs/ ~/.purple/plugins/
8) Start Pidgin back up.

9) Next create a Tox account in Pidgin, using these options. This fix is from here: See that bug-report for details on why you need this workaround.

In the Pidgin Tox account creation window, enter this settings under Advanced tab:
Port: 33445
Server key: 3CEE1F054081E7A011234883BC4FC39F661A55B73637A5AC293DDF1251D9432B

No comments:

Post a Comment