I finally got around to learning how to create a Debian package using the excellent Debian New Maintainers’ Guide so that I could finally create Debian binaries for the character counting plugin for Pidgin that I whipped up last year.

There’s a screenshot of Pidgin 2.3.1 running on Debian 4.0 (etch) with the plugin loaded. You can download it here:
If you need to build the plugin for a different architecture (I only have i386 readily available to me), here’s what I used to package this:
- pidgin-convcharcount-plugin-2.3.1.tar.gz (10.6 kB)
If anyone wants to take this and make an RPM out of it, that’d be nice. If you do, leave a link to it in the comments so others can find it. Thanks!








February 2nd, 2008 at 11:27 pm
Oh, so it was you who wrote the plugin? Lovin’ it
February 3rd, 2008 at 12:22 am
Xeelee: Yes, it was me. It makes me happy that you find it useful. Thanks for letting me know.
February 20th, 2008 at 4:02 pm
This totally rocks. Your plugin has defeated my long-winded Twitter posts. Thanks!
March 9th, 2008 at 6:12 pm
I’m afraid it doesn’t seem to work for me on Ubuntu 7.10.
I’ve downloaded the .deb file, opened it with GDebi Package Installer, and now it appears in Pidgin’s plugin list.
However, it’s grayed out, saying “Error: ABI version mismatch 2.3.x (need 2.2.x) Check the plug-in website for an update.” - what am I doing wrong?
March 9th, 2008 at 6:27 pm
FND: A quick Google search for “ABI version mismatch 2.3.x” turned up this ubuntuforums.org link. At the end, it says:
UPDATE: purged libpurple0 and the abi stuff went away.
I’d recommend doing that, first.
March 11th, 2008 at 2:41 pm
I’m afraid that didn’t help.
I did “sudo apt-get remove –purge libpurple0″, which removed pidgin, libpurple0 and pidgin-convcharcoun-plugin. So I’ve reinstalled them, and still get the same error…
March 26th, 2008 at 1:47 pm
Thanks! Works for me with 2.3.1 in the Ubuntu Hardy beta. Any plans to get this into Sid or even push straight to Ubuntu?
March 26th, 2008 at 1:57 pm
Cristobal: Thanks for letting me know it works in Ubuntu Hardy. I don’t have any plans on getting it into Debian Sid or Ubuntu, mostly because I don’t really know what’s involved in doing that.
Anyone who is familiar with the process and is willing to do it is more than welcome to. I will help however I can.
March 29th, 2008 at 10:08 am
Duh! Turns out that the Ubuntu repositories only have Pidgin 2.2.1 (current version is 2.4.0) - that explains it, I guess…
March 29th, 2008 at 10:34 am
FND: Indeed, Ubuntu Gutsy only has Pidgin 2.2.1, but Ubuntu Hardy has 2.4.0:
http://packages.ubuntu.com/hardy/pidgin
April 10th, 2008 at 2:05 am
Great plugin, works like a charm, thanks very much.
I got it to work under Pidgin 2.4.1 on Fedora 8 by grabbing the .deb file and then taking the convcharcount.la and convcharcount.so files and putting them in /usr/lib/pidgin/ - then I opened the plugin dialog in Pidgin and it worked. Bingo. No other install required.
April 10th, 2008 at 7:52 am
Callum: Ah, thanks for verifying that it works with the latest Pidgin on Fedora 8! At some point, I’ll sit down and figure out how to create an RPM package, but for now, folks can do what you did.
April 15th, 2008 at 11:11 am
Nice, this works great, just what I was looking for - only thing is you need to have the ‘Formatting Toolbar’ on to use it. Not a big deal, I’d just rather have it turned off. Thanks for the plugin, I can now update Twitter from Pidgin with confidence!
April 15th, 2008 at 12:09 pm
fak3r: Yes, I didn’t know where to put the counter … the Formatting Toolbar seemed like the most natural place to add it.
July 21st, 2008 at 4:27 pm
Very useful for posting to http://ping.fm via IM, thanks!
September 17th, 2008 at 3:09 am
Thanx a lot!
That’s exactly what I was searching for! And installed fine on my Debian Sid.
October 9th, 2008 at 8:03 pm
Thank you sooo much!
This plus Ping.fm AIM update is AWESOME!!!
January 3rd, 2009 at 4:52 pm
I’ve been looking for a client with a character counter in linux for a while (i’ve used the windows plugin for a while). Just searched again and dicovered this. Works fine in Ubuntu Ibex (8.10).
January 31st, 2009 at 10:17 pm
How to build from source?
I’m using Ubuntu Ibex (8.10) 64-bit, so I can’t install the .deb package. Downloaded the tar.gz, unpacked it, looked for \configure\, and it’s not there. Ran ‘make’ and got the following error:
…
patch -p0 < pidgin-convcharcount-plugin-patch.txt
patching file pidgin-2.3.1/pidgin/plugins/Makefile.am
patching file pidgin-2.3.1/pidgin/plugins/Makefile.mingw
patching file pidgin-2.3.1/pidgin/plugins/convcharcount.c
touch patched-stamp
cd pidgin-2.3.1 && automake pidgin/plugins/Makefile
configure.ac:69: version mismatch. This is Automake 1.10.1,
configure.ac:69: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:69: comes from Automake 1.10. You should recreate
configure.ac:69: aclocal.m4 with aclocal and run automake again.
make: *** [pidgin-2.3.1/pidgin/plugins/Makefile.in] Error 63
Anyone know what to do?
February 1st, 2009 at 9:44 am
Doug: Did you actually read the error message? Specifically, this:
“You should recreate aclocal.m4 with aclocal and run automake again.”
March 11th, 2009 at 10:00 am
Looks like a great plugin…..but i can’t figure out how to install it….. ./configure and make won’t seem to do anything to the “source” you’ve provied. I don’t seem to see a link to a faq or install guide either…. a little bit of help for those of us who aren’t quite so well versed with linux would be nice.
March 11th, 2009 at 10:05 am
Jay: If you’re not comfortable with applying a patch and compiling Pidgin from source, then I suggest you look for a binary package. I’ve prepared Windows, Debian (and thus, Ubuntu) and Redhat (Fedora, CentOS, etc.) binary packages. See the updates at the bottom of my original blog entry for links:
http://dossy.org/2007/10/character-counting-plugin-for-pidgin/
April 12th, 2009 at 8:08 am
Thanks for this great plugin! The .deb package works fine on Pidgin 2.5.5 on kubuntu Jaunty (9.04) Beta!
May 4th, 2009 at 7:08 am
Thanks! This is really useful
Works fine on Pidgin 2.5.5 on Ubuntu 9.04 (gnome), too.