View Single Post
ToJa92's Avatar
Posts: 1,091 | Thanked: 323 times | Joined on Feb 2010 @ ~
#31
Originally Posted by cehteh View Post
it blinks babe!
I just made a first version of a xchat plugin using the maemo notfication gadgets, being able to blink, vibrate, show banners or dialog boxes for highlighted messages, the raw code for review:

http://lumiera.org/maemo_notify.c

compiling is a bit bumpy, basically:
gcc -std=gnu99 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -Wall -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lglib-2.0 -Wl,--export-dynamic -Wall -O1 -shared -fPIC maemo_notify.c -o maemo_notify.so

put maemo_notify.so into ~/.xchat2/

cheers
Wow, sounds awesome. Any chance you can provide a compiled version?