EionRobb / purple-googlechat

A Google Chat protocol plugin for libpurple/Pidgin/bitlbee/whatever
GNU General Public License v3.0
112 stars 13 forks source link

Google Chat Plugin for libpurple

A replacement prpl for Google Chat in Pidgin/libpurple to support the proprietary protocol that Google uses for its "Google Chat" service.

This plugin is written by Eion Robb based on the old Hangouts plugin written by Eion Robb and Mike 'Maiku' Ruprecht.

Compiling

To compile, just do the standard make && sudo make install dance. You'll need development packages for libpurple, libjson-glib, glib and libprotobuf-c to be able to compile.

Debian/Ubuntu

Run the following commands from a terminal

#!sh
sudo apt-get install -y libpurple-dev libjson-glib-dev libglib2.0-dev libprotobuf-c-dev protobuf-c-compiler git make;
git clone https://github.com/EionRobb/purple-googlechat/ && cd purple-googlechat;
make && sudo make install

Fedora

json-glib-devel libpurple-devel glib2-devel libpurple-devel protobuf-c-devel protobuf-c-compiler

Windows

Development builds of Windows dll's will live at https://eion.robbmob.com/libgooglechat.dll - copy this into your C:\Program Files (x86)\Pidgin\plugins folder. You'll also need libprotobuf-c-1.dll and libjson-glib-1.0.dll in your C:\Program Files (x86)\Pidgin folder (not the plugins subfolder)

Until there's some kind of helper/installer, you might want to copy in the protocol icons into the pixmaps folder, eg copy https://github.com/EionRobb/purple-googlechat/raw/master/googlechat16.png to C:\Program Files (x86)\Pidgin\pixmaps\pidgin\protocols\16\googlechat.png (and the same for the 22 and 48 png files)

Bitlbee

If you're using this plugin with bitlbee, authentication might be a little confusing. After you follow the prompts, you should get a DM from a purple_request_0 user asking for the token. You can also set the token as the password on the account, if you don't see the DM.

Like this plugin?

Say "Thanks" by sending us $1