Debian package of character counting plugin for Pidgin

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.

Screenshot of character counting plugin for Pidgin on Debian 4.0 (etch)

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:

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!

Tags: , ,

27 Responses to “Debian package of character counting plugin for Pidgin”

  1. Xeelee says:

    Oh, so it was you who wrote the plugin? Lovin’ it

  2. Dossy says:

    Xeelee: Yes, it was me. It makes me happy that you find it useful. Thanks for letting me know.

  3. This totally rocks. Your plugin has defeated my long-winded Twitter posts. Thanks!

  4. FND says:

    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?

  5. Dossy says:

    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.

  6. FND says:

    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…

  7. 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?

  8. Dossy says:

    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.

  9. FND says:

    Duh! Turns out that the Ubuntu repositories only have Pidgin 2.2.1 (current version is 2.4.0) – that explains it, I guess…

  10. Dossy says:

    FND: Indeed, Ubuntu Gutsy only has Pidgin 2.2.1, but Ubuntu Hardy has 2.4.0:

    http://packages.ubuntu.com/hardy/pidgin

  11. Callum says:

    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. :)

  12. Dossy says:

    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.

  13. fak3r says:

    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!

  14. Dossy says:

    fak3r: Yes, I didn’t know where to put the counter … the Formatting Toolbar seemed like the most natural place to add it.

  15. jyoseph says:

    Very useful for posting to http://ping.fm via IM, thanks!

  16. Krümel says:

    Thanx a lot!
    That’s exactly what I was searching for! And installed fine on my Debian Sid. :-)

  17. insub2 says:

    Thank you sooo much!

    This plus Ping.fm AIM update is AWESOME!!!

  18. Todd says:

    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).

  19. Doug says:

    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?

  20. Doug: Did you actually read the error message? Specifically, this:

    “You should recreate aclocal.m4 with aclocal and run automake again.”

  21. jay murphy says:

    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.

  22. 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/

  23. Spezi says:

    Thanks for this great plugin! The .deb package works fine on Pidgin 2.5.5 on kubuntu Jaunty (9.04) Beta!

  24. jahrra says:

    Thanks! This is really useful :)

    Works fine on Pidgin 2.5.5 on Ubuntu 9.04 (gnome), too.

  25. xy says:

    Has anyone successfully created a x86_64 build of convcharcount.la and convcharcount.so? I’d love to use this plugin, but not comfortable with performing what it takes to satisfy the dependencies when building from source on my system =\

Leave a Reply