EionRobb / purple-hangouts

47 stars 4 forks source link

logo

Hangouts Plugin for libpurple

A replacement prpl for Hangouts in Pidgin/libpurple to support the proprietary protocol that Google uses for its Hangouts service. So far it supports all the fun things that aren't part of the XMPP interface, such as Group Chats, synchronised history between devices and SMS support via Google Voice.

This plugin is written by Eion Robb and Mike 'Maiku' Ruprecht. Heavily inspired by the hangups library by Tom Dryer (et. al.) using code from Nakul Gulati and protobufs from Darryl Pogue

Please read the FAQ before posting any issues

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-hangouts && cd purple-hangouts;
make && sudo make install

Fedora

On Fedora you can install package from Fedora's main repository:

#!sh
sudo dnf install purple-hangouts pidgin-hangouts

CentOS/RHEL

On CentOS/RHEL you can install package from Fedora's EPEL7 repository:

#!sh
sudo yum install purple-hangouts pidgin-hangouts

Arch Linux

On Arch Linux you can install a package from the AUR:

#!sh
wget https://aur.archlinux.org/cgit/aur.git/snapshot/purple-hangouts-hg.tar.gz
tar -xvf purple-hangouts-hg.tar.gz
cd purple-hangouts-hg
makepkg -sri

Building RPM package for Fedora/openSUSE/CentOS/RHEL

#!sh
mkdir -p ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
wget https://raw.githubusercontent.com/EionRobb/purple-hangouts/master/purple-hangouts.spec -O ~/rpmbuild/SPECS/purple-hangouts.spec
sudo dnf builddep ~/rpmbuild/SPECS/purple-hangouts.spec
spectool --all --get-files ~/rpmbuild/SPECS/purple-hangouts.spec --directory ~/rpmbuild/SOURCES/
rpmbuild -ba  ~/rpmbuild/SPECS/purple-hangouts.spec

The result can be found in ~/rpmbuild/RPMS/`uname -m`/ directory.

Windows

Use the Windows installer to make life easier, otherwise development builds of Windows dll's live at http://eion.robbmob.com/libhangouts.dll (you'll also need libprotobuf-c-1.dll and libjson-glib-1.0.dll in your Pidgin folder, included in the installer)

Like this plugin?

Say "Thanks" by sending us $1