mycroes

There's always time to play

Monday, March 12, 2007

2ndw.net gentoo overlay

I'm back with other news... Me and a friend started a gentoo overlay at 2ndw.net. You can use the overlay by going to a directory where you want the overlay and typing "svn co http://2ndw.net/svn/". Currently ebuilds for AWN (revision 158) and gcc-4.2 (march 7) are in the tree. AWN will be updated whenever njpatel adds new stuff to the AWN repository, and more packages will be added soon...

Wednesday, March 7, 2007

gaim_awn, gaim_awn and birthday

I updated gaim_awn twice... revision 12 contains a Makefile that uses pkg-config to get include directories and fixes issue #1, that loading the plugin wouldn't always detect the right status. Revision 13 fixes a bug in this code where the icon wouldn't get updated if you would start offline and load the plugin.

While fixing these bugs I also noticed there's a bug in the gaim docklet, it doesn't connect to the account-connecting signal, and thus should never receive that an account started connecting at gaim startup. Due to the fact that it takes some time for the gaim docklet to get embedded into the panel and the fact that it polls then, it does show connecting status. Howeever, my plugin tried to poll status earlier, which doesn't work because the account subsystem gets loaded after the plugin subsystem, so I needed to connect to the account-connecting signal.

Last thing to mention today is that it's my birthday, I'm 21 now, so now I'm allowed to play with the sticky key sound in windows (press shift five times, hit enter, press ctrl twice, press alt twice, repeat last two steps until you get bored, then hit shift a couple of times). Also I'm now old enough to set text size for active title bar to 2000 so the active window will vanish of the screen... This also seems to cause display corruption in the titlebar... Thank god I'm a windows ABuser...

Saturday, March 3, 2007

Compiling the gaim_awn plugin

I started working on the gaim_awn plugin from within gaim 2 beta 6 sources, but it's complete and utter BS to need gaim sources and Makefiles to compile the plugin, so my goal for today was to compile it myself and create a Makefile. At first I was getting nowhere. I tried to do the same as was done in the gaim Makefile, but that didn't get me any further. I searched the net a bit but didn't find much I could use. Then at some point I sort of compiled something, so I was looking at how to put it in a Makefile (been a year since I last used one) when I found how I could compile my module with ease. There's nothing to it... So in case anyone else has the same problem, here's how I did it:
gcc -fPIC -c gaim_awn.c -o gaim_awn.o -DVERSION=\"`date "+%Y%m-%d_%R"`\" -I /usr/include/gaim/ -I /usr/include/gtk-2.0 -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/glib-2.0/ -I /usr/lib/glib-2.0/include/ -I /usr/include/dbus-1.0/

gcc -shared -Wl,-soname,gaim_awn.so -o gaim_awn.so gaim_awn.o
This evening I will fix my Makefile and put it on svn too, so everyone can compile without much hassle...

Friday, March 2, 2007

#awn IRC channel

I forgot to mention that avant-window-navigator has it's own IRC channel, it's #awn on irc.gnome.org (gimpnet). Perhaps I'll see you there?

Thursday, March 1, 2007

awn-plugins on Google Code

Because it was nice to have a versioning system for my Gaim plugin and because it can be very useful in the future I started a Google Code project at code.google.com/p/awn-plugins/. The Gaim plugin is availible on that page now and instructions for svn access to the code are there too. There's also room for more developers and all plugins are welcome.

gaim_awn

Recently I discovered the miracle called avant-window-navigator made by njpatel. As soon as he mentioned dbus support to create plugins for AWN I decided I'd make plugins. I started with a gaim plugin, which you can currently download (binary and source) from the AWN wiki. More news on this plugin and AWN is to come soon.

Hello world!

Hello world!