Gtalk Logo

Gtalk Shared Status plugin for libpurple (Pidgin)



Description

Adds Google Shared Status compatibility that permit to set the status for all the resources connected. This allows to go Invisible...



NOTE:

TO DO:


Download

*** I've been asked to build the plugin for Adium too. Unfortunately I'm not a Mac User and I don't have a Mac nor a powerful pc to run a Virtual Machine to run MacOS (I work on a old AMD 3200!) and, to tell the truth, I don't have the time to do the work now. So if any Mac User wants to translate and build the plugin for Adium I'll be happy to add it in this page. ***

Compiled on libpurple 2.7.1 (this means you have to use this version or newer!).

ARCH File Last Update Version
Win32 gtalk-shared-status.dll* 29/06/2010 0.1.3
Linux i386 gtalk-shared-status.so 29/06/2010 0.1.3
Linux amd64 (thanks to Ng Oon-Ee) gtalk-shared-status.so 29/06/2010 0.1.3
Source gtalk-shared-status.c 29/06/2010 0.1.3

* Tested on Windows XP, Windows 7


Changelog

Date Version Note
29/06/2010 0.1.3

Fixed a bit of minor bugs. Now status-list are filled in the same way that Google Talk does (before changes, the most recent status for Google Talk was the least recent status for the plugin and vice-versa)

29/06/2010 0.1.2

(Finally) Fixed a bug that freezes Pidgin with new accounts (status-list node)

28/06/2010 0.1.1

Fixed a bug that freezes Pidgin with new accounts (status-list node). Thanks to  Xuchen Yao




Contacts

For bugs reports, hints, ... email me at federico.zanco ( at ) gmail.com       ...and maybe one day I'll answer...


README:

How to compile (Debian):

1) Install pidgin-dev packet (and obviously gcc...):
    # apt-get install pidgin-dev

2) Compile the the plugin (you've to be in the plugin source file dir):
   $ gcc -shared -fPIC  -D_REENTRANT -pthread -I/usr/include/pidgin -I/usr/include/gtk-2.0 -I/usr/include/libpurple -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread -lgtk-x11-2.0 -lpurple -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lgio-2.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -o gtalk-shared-status.so gtalk-shared-status.c -Wall

3) Copy gtalk-shared-status.so in your purple home dir:
    (if ~/.purple/plugins/ does not exist:
    $ mkdir ~/.purple/plugins/ )   
    $ cp gtalk-shared-status.so ~/.purple/plugins/

4) Restart Pidgin and in Tools/Plugins you should see Gtalk Shared Status

How to use:

1) Compile or Download the plugin for your arch (see above).

2)

Linux: Copy gtalk-shared-status.so in your purple home dir:
    (if ~/.purple/plugins/ does not exist:
    $ mkdir ~/.purple/plugins/ )
    $ cp gtalk-shared-status.so ~/.purple/plugins/

Windows: Move gtalk-shared-status.dll in Pidgin plugins dir (I suppose you can create C:\Documents and Settings\<user>\Applications data\.purple\plugins and move the plugin there too but I'm not sure). In Windows it should be somtething like C:\Programmi\Pidgin\plugins\

3) Restart Pidgin and in Tools/Plugins you should see Gtalk Shared Status Plugin


Simply enable the plugin and just change to your favourite status. Note that at startup the plugin reads and sets the status saved on the server. The plugin (should) works with multiple accounts. Obviously you can set only one status for all accounts!


Issues:


License:

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA.