Mercurial > pidgin.yaz
annotate pidgin/plugins/cap/Makefile.mingw @ 32297:1527020e33e2
In purple_buddy_icons_set_account_icon, call the prpl's set_buddy_icon
function if the account is in the connecting state (not just connected).
I believe this is the polite thing to do.
I'm seeing a little race condition in the jabber prpl where if the user
changes their icon while the account is connecting, the new icon isn't
set. This is one half of the fix.
I don't _think_ this will cause problems. It's possible that some
prpls will be unhappy if a user tries to set an icon while the account
is connecting. If those problems exist, I think they should be fixed
in each prpl.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 13 Apr 2011 00:16:51 +0000 |
parents | 926b94050ba7 |
children |
rev | line source |
---|---|
18641
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1 # |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
2 # Makefile.mingw |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
3 # |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
4 # Description: Makefile for cap plugin. |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
5 # |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
6 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
7 PIDGIN_TREE_TOP := ../../.. |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
8 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
9 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
10 TARGET = cap |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
11 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
12 # This is where sqlite3.[ch] from the sqlite "amalgamation" archive were extracted to |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
13 # This is available from http://www.sqlite.org/download.html |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
14 SQLITE_TOP ?= $(WIN32_DEV_TOP)/sqlite-3.4.1 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
15 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
16 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
17 ## INCLUDE PATHS |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
18 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
19 INCLUDE_PATHS += -I. \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
20 -I$(SQLITE_TOP) \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
21 -I$(GTK_TOP)/include \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
22 -I$(GTK_TOP)/include/gtk-2.0 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
23 -I$(GTK_TOP)/include/glib-2.0 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
24 -I$(GTK_TOP)/include/pango-1.0 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
25 -I$(GTK_TOP)/include/atk-1.0 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
26 -I$(GTK_TOP)/include/cairo \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
27 -I$(GTK_TOP)/lib/glib-2.0/include \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
28 -I$(GTK_TOP)/lib/gtk-2.0/include \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
29 -I$(PURPLE_TOP) \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
30 -I$(PURPLE_TOP)/win32 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
31 -I$(PIDGIN_TOP) \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
32 -I$(PIDGIN_TOP)/win32 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
33 -I$(PIDGIN_TREE_TOP) |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
34 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
35 LIB_PATHS += -L$(GTK_TOP)/lib \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
36 -L$(PURPLE_TOP) \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
37 -L$(PIDGIN_TOP) |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
38 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
39 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
40 ## SOURCES, OBJECTS |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
41 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
42 C_SRC = cap.c \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
43 $(SQLITE_TOP)/sqlite3.c |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
44 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
45 OBJECTS = $(C_SRC:%.c=%.o) |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
46 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
47 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
48 ## LIBRARIES |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
49 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
50 LIBS = -lgtk-win32-2.0 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
51 -lglib-2.0 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
52 -lgdk-win32-2.0 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
53 -lgobject-2.0 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
54 -lintl \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
55 -lpurple \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
56 -lpidgin |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
57 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
58 include $(PIDGIN_COMMON_RULES) |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
59 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
60 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
61 ## TARGET DEFINITIONS |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
62 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
63 .PHONY: all install clean |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
64 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
65 all: $(TARGET).dll |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
66 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
67 install: $(PIDGIN_INSTALL_PLUGINS_DIR) all |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
68 cp $(TARGET).dll $(PIDGIN_INSTALL_PLUGINS_DIR) |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
69 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
70 $(OBJECTS): $(PIDGIN_CONFIG_H) |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
71 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
72 $(TARGET).dll: $(PURPLE_DLL).a $(PIDGIN_DLL).a $(OBJECTS) |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
73 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
74 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
75 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
76 ## CLEAN RULES |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
77 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
78 clean: |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
79 rm -rf $(OBJECTS) |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
80 rm -rf $(TARGET).dll |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
81 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
82 include $(PIDGIN_COMMON_TARGETS) |