martes, 24 de noviembre de 2009

Compiling the countdown plugin for pidgin.

Given my current situation I will have my 3 most difficult exams on Thursday and Friday. So I decided to find a way to put it into my Pidgin status. At first I thought that updating it from time to time would be enough. But then I thought, "there must be something to automate it."

I asked the saint of the searches Saint Google and he answered me almost immediately (I damn my ISP).(Remember that this plugin is not the final one. But it works.)

https://launchpad.net/pidgin-countdown

I found this page and downloaded the file. Decompressed it and then used the ol' trusty Terminal.

cd ~/Documents/count/

Inside that directory there are 2 files.

ls
countdown.c Makefile


Now before compiling, check that you have this directory: ~/.purple/plugins/

If you don't(like me) do the following

mkdir ~/.purple/plugins/

Time to compile.Inside the directory where the Makefile is found.

Make -f Makefile

If you have some errors after this step install this:

Ubuntu:

sudo apt-get install pidgin-devel

Fedora:

su -c'yum install pidgin-devel'

Then try again the command to compile.

Now the only thing left is to go back to our beloved pidgin and go to tools and then to plug-ins.Check the countdown check-box and then go to "Configure Plug-in". Select the date that you want the countdown to show and then close those windows. Your personal message will display the time until your specified date.

Have fun!

No hay comentarios: