
Description
Adds Google Shared Status compatibility that permit to set the status for all the resources connected. This allows to go Invisible
NEW [13/07/2013]: for ADIUM!
Thanks to David Ryskalczyk there’s now an Adium Google Shared Status plugin. Adium users can find the code at:
AIGtalkSharedStatus code
and the binaries at:
AIGtalkSharedStatus binaries
Have fun
NOTE:
- [31/12/2011] Now stripping markup in new status when updating shared status to prevent markup being sent and shown on other Google shared status capable clients. Thanks to Cyryl.
-
[18/10/2011] I’ve started playing with launchpad. If you’re using Ubuntu 11.10 or later you can add the ppa repository and install the plugin by opening a terminal and typing:
- sudo add-apt-repository ppa:federico-zanco/ppa-gss
- sudo apt-get update
- sudo apt-get install gtalk-shared-status
To visit the PPA archive go to https://launchpad.net/~federico-zanco/+archive/ppa-gss.
To visit launchpad project go to https://code.launchpad.net/~federico-zanco/gtalk-shared-status/ - [13/10/2011]: I was warned that the plugin didn’t work anymore. I’ve taken a rapid check and the only thing I can see is that Google now sends shared status iq with node prefix. I’ve made a quick fix and seems to work. Please email me for any problem
- [13/10/2011]: Some people have reported that Invisible status has disappeared after Pidgin update. I’ve verified it too in my GNU/Linux PCs (Pidgin 2.10.0) so what I’ve done to solve the problem was disabling and reenabling the plugin and disabling and reenabling my Google accounts in plugin settings. The last version enables all Jabber accounts by default so it should not be a problem anymore
- [13/10/2011]: Some people have reported that when they change status to Invisible and change again to another status (Available, DnD, …) the status remains invisible. I can’t reproduce this so please send a debug window log (menu Help\Debug Window to open debug window, just copy and paste text) while reproducing this bug.
- I’ve created an autotools version tar.gz and added a bit of localization support (there’s only italian for now 🙂 but if anyone wants to contribute…) to make package building an easier task. Note that the other tar.gz version don’t have localization.
- I’ve created a deb package. Tested with Ubuntu 11.10 and Debian Sid. To install: sudo dpkg -i gtalk-shared-status-<version>.deb
- You have to choose what accounts use Google Shared Status in plugin options.
- Now it works with Google Apps addresses too.
- The plugin is written to work with libpurple, so it (should) work with Finch, …, too.
- The statusbox and the icon in notification area are manged in a quite tricky way in Pidgin. So it can happen that Pidgin doesn’t report correctly the current status of the resource (which is the shared status).
- I’ve added a mode called Unique shared status that propagates every change of GSS of any account to any other active Google account. With this option disabled, all accounts are managed indipendently. Unique shared status is enabled by default, this means that every change in a resource which address is managed by Pidgin/Finch propagates to every other account managed. I.e. if I use three Google email addresses : [email protected], [email protected], [email protected] (Google Apps) and I use Pidgin at home managing pizza, spaghetti and mandolino and Gmail (web client) at work managing pizza, if I set the status “Prosecco is my favorite white wine” at work, this be set by Pidgin for pizza, spaghetti and mandolino too.
- There’s an issue when you change from status Invisible to Idle/Away: shared status does not manage Away/Idle that is a per-resource task. I cannot find an effective solution because I can’t simply switch to Available/DnD first and then to Idle/Away (maybe this will become a plugin option). This would change the shared staus of all active resources to Available/DnD and then only Pidgin/Finch resource to Idle Away and maybe this is not what we want. For now I’ve only added an alert to warn the user that changing from Invisible to Idle/Away will leave the shared status invisible and, if he/she wants, to switch to Available or DnD first and then to Idle/Away.
- The plugin should work with multiple accounts.
TO DO:
- add an option to force Pidgin (or other clients) status at startup.
*** 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. ***
Download
Compiled on libpurple 2.10.0 (this means you have to use this version or newer!).
So many packages… which one to choose?
- Windows XP/7: download and install (copy to libpurple dir). No localization;
-
Ubuntu 11.10 (i386/amd64): you should add the PPA repository and install the plugin with apt-get. You can add the ppa repository and install the plugin by opening a terminal and typing:
- sudo add-apt-repository ppa:federico-zanco/ppa-gss
- sudo apt-get update
- sudo apt-get install gtalk-shared-status
- Debian Sid (i386/amd64): you should download the i386 deb. To install it, open a terminal and t… ok you’re using Debian, I suppose you know what to do! 🙂
-
Any other GNU/Linux Distro: you can
- download and install any precompiled binary;
- download, compile and install the src.tar.gz (No localization);
- (preferred) download, compile and install the autotools version source (with localization) following the common procedure: ./configure && make && sudo make install;
ARCH | File | Last Update | Version |
---|---|---|---|
Win32 | gtalk-shared-status-0.2.5.win32.zip* | 31/12/2011 | 0.2.5 |
Linux i386 | gtalk-shared-status-0.2.5.i386.tar.gz | 31/12/2011 | 0.2.5 |
Linux i386 deb** | gtalk-shared-status_0.2.5-1_i386.deb | 31/12/2011 | 0.2.5 |
Linux amd64 | gtalk-shared-status-0.2.5.amd64.tar.gz | 31/12/2011 | 0.2.5 |
Linux amd64 deb** | gtalk-shared-status_0.2.5-1_amd64.deb | 31/12/2011 | 0.2.5 |
Source | gtalk-shared-status-0.2.5.src.tar.gz | 31/12/2011 | 0.2.5 |
Source (autotools) | gtalk_shared_status-0.2.5.tar.gz | 31/12/2011 | 0.2.5 |
- Tested on Windows XP, Windows 7
** Built on/for Debian Sid
ChangeLog
Date | Version | Note |
---|---|---|
31/12/2011 | 0.2.5 | Now stripping markup in new status when updating shared status to prevent markup being sent and shown on other Google shared status capable clients. Thanks to Cyryl. |
16/10/2011 | 0.2.4 | Changed the default behaviour on plugin load. Now all accounts are enabled by default. |
13/10/2011 | 0.2.3 | Quick fix to manage namespace prefix in shared status XML. |
15/07/2011 | 0.2.2 | Added an alert to warn the user when changing from Invisible to Idle/Away. |
10/07/2011 | 0.2.1 | Now you can/have to choose what accounts should use GSS. |
10/07/2011 | 0.2 | Added a way to check Google Shared Status compatibility. Now you use google apps email address (no need to be gmail.com). Found a way to manage status and added the Unique shared status that propagates every change of GSS of any account to any other active Google account. |
19/01/2011 | 0.1.4 | Nothing new but I’ve add a Makefile to make compiling easier and more efficient. Now unused dependencies like gtk are no more needed (Finch users should be happy!) |
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
How to build:
LINUX:
To build the plugin you have to install gcc, GNU make and pidgin dependencies
(or maybe only libpurple if in your os they are distribuited separately).
I.e. in Debian/Ubuntu, open a terminal and type:
sudo apt-get install gcc make pidgin-dev
then to build type:
make
to install (default directory is ~/.purple/plugins) type:
make install
You can also create a compressed tar by typing:
make tar
WINDOWS:
It’s hard for non experts to build the plugin in Windows so the best solution
is to download the binary directly from site.
If you feel brave you have two ways and all of them explained in
HowdoIcompileapluginWindows
where there’s written to setup a build environment like that in
BuildingWinPidgin
I’ve included the Mingw Makefile that I use to build my plugins for Windows.
Restart Pidgin after installing/copying. Then 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: if you don’t have GNU make program installed on your system, to install the plugin manually 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). In Windows it should be something like C:\Programmi\Pidgin\plugins\
3) Restart Pidgin and in Tools/Plugins you should see Gtalk Shared Status Plugin. In plugin options enable/disable Unique shared status options and enable/disable accounts that should use Gtalk Shared Status.
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.
Issues:
- An application restart is required when enabling the plugin with already connected accounts
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.