Sun, 09 Nov 2008 20:55:10 +0000
Added menu items to buddy list context menu to start voice and video sessions
After discussing the matter with Maiku, we decided to have two choises.
"Audio call" which will show up if audio sessions is possible with a buddy and
the other item is either "Audio/Video" or "Video" depending on if the buddy
supports both at the same time or not
|
18939
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
1 | # |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
2 | # Makefile.mingw |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
3 | # |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
4 | # Description: Makefile for cap plugin. |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
5 | # |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
6 | |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
7 | PIDGIN_TREE_TOP := ../../.. |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
8 | include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
9 | |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
10 | TARGET = cap |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
11 | |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
12 | # This is where sqlite3.[ch] from the sqlite "amalgamation" archive were extracted to |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
13 | # This is available from http://www.sqlite.org/download.html |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
14 | SQLITE_TOP ?= $(WIN32_DEV_TOP)/sqlite-3.4.1 |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
15 | |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
16 | ## |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
17 | ## INCLUDE PATHS |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
18 | ## |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
19 | INCLUDE_PATHS += -I. \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
20 | -I$(SQLITE_TOP) \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
21 | -I$(GTK_TOP)/include \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
22 | -I$(GTK_TOP)/include/gtk-2.0 \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
23 | -I$(GTK_TOP)/include/glib-2.0 \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
24 | -I$(GTK_TOP)/include/pango-1.0 \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
25 | -I$(GTK_TOP)/include/atk-1.0 \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
26 | -I$(GTK_TOP)/include/cairo \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
27 | -I$(GTK_TOP)/lib/glib-2.0/include \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
28 | -I$(GTK_TOP)/lib/gtk-2.0/include \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
29 | -I$(PURPLE_TOP) \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
30 | -I$(PURPLE_TOP)/win32 \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
31 | -I$(PIDGIN_TOP) \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
32 | -I$(PIDGIN_TOP)/win32 \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
33 | -I$(PIDGIN_TREE_TOP) |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
34 | |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
35 | LIB_PATHS += -L$(GTK_TOP)/lib \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
36 | -L$(PURPLE_TOP) \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
37 | -L$(PIDGIN_TOP) |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
38 | |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
39 | ## |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
40 | ## SOURCES, OBJECTS |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
41 | ## |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
42 | C_SRC = cap.c \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
43 | $(SQLITE_TOP)/sqlite3.c |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
44 | |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
45 | OBJECTS = $(C_SRC:%.c=%.o) |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
46 | |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
47 | ## |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
48 | ## LIBRARIES |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
49 | ## |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
50 | LIBS = -lgtk-win32-2.0 \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
51 | -lglib-2.0 \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
52 | -lgdk-win32-2.0 \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
53 | -lgobject-2.0 \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
54 | -lintl \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
55 | -lpurple \ |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
56 | -lpidgin |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
57 | |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
58 | include $(PIDGIN_COMMON_RULES) |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
59 | |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
60 | ## |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
61 | ## TARGET DEFINITIONS |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
62 | ## |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
63 | .PHONY: all install clean |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
64 | |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
65 | all: $(TARGET).dll |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
66 | |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
67 | install: $(PIDGIN_INSTALL_PLUGINS_DIR) all |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
68 | cp $(TARGET).dll $(PIDGIN_INSTALL_PLUGINS_DIR) |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
69 | |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
70 | $(OBJECTS): $(PIDGIN_CONFIG_H) |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
71 | |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
72 | $(TARGET).dll: $(PURPLE_DLL).a $(PIDGIN_DLL).a $(OBJECTS) |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
73 | $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
74 | |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
75 | ## |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
76 | ## CLEAN RULES |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
77 | ## |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
78 | clean: |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
79 | rm -rf $(OBJECTS) |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
80 | rm -rf $(TARGET).dll |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
81 | |
|
06394c9e81d8
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <datallah@pidgin.im>
parents:
diff
changeset
|
82 | include $(PIDGIN_COMMON_TARGETS) |