175
by Jason Conti
Ported Notification.py to gobject introspection, everything except dbus. Going to attempt that next, but may revert if it doesn't work so well yet. |
1 |
DBUS_CFLAGS = $(shell pkg-config --cflags dbus-1) |
2 |
DBUS_LIBS = $(shell pkg-config --libs dbus-1) |
|
3 |
GTK_CFLAGS = $(shell pkg-config --cflags gtk+-2.0) |
|
4 |
GTK_LIBS = $(shell pkg-config --libs gtk+-2.0) |
|
5 |
||
193
by Jason Conti
Adding notification-glib.c, a basic working example of using GDBus to watch for Notify method calls. |
6 |
all: example notification notification-glib |
175
by Jason Conti
Ported Notification.py to gobject introspection, everything except dbus. Going to attempt that next, but may revert if it doesn't work so well yet. |
7 |
|
191
by Jason Conti
Adding a simple composite menuitem to the test indicator code. |
8 |
example: example.c message-menuitem.c |
9 |
gcc -Wall -g $(GTK_CFLAGS) -o example example.c message-menuitem.c $(GTK_LIBS) |
|
175
by Jason Conti
Ported Notification.py to gobject introspection, everything except dbus. Going to attempt that next, but may revert if it doesn't work so well yet. |
10 |
|
11 |
notification: notification.c |
|
12 |
gcc -Wall -g $(DBUS_CFLAGS) -o notification notification.c $(DBUS_LIBS) |
|
193
by Jason Conti
Adding notification-glib.c, a basic working example of using GDBus to watch for Notify method calls. |
13 |
|
14 |
notification-glib: notification-glib.c |
|
15 |
gcc -Wall -g $(GTK_CFLAGS) -o notification-glib notification-glib.c $(GTK_LIBS) |
|
16 |