annotate libpurple/Makefile.am @ 29475:6d2ba42595fe

oscar: Fix a race condition that leads to a crash. With SSL enabled, if we start connecting and something calls purple_account_disconnect between when an SSL flap connection is started and when the connection is actually established, it isn't properly cleaned up (and we try to close the flap), which leads to free-after-use. You can simulate this by adding a timeout-triggered disconnect to the end of oscar_connect_to_bos. [02/22/10 17:11:51] <libpurple/oscar> Destroying oscar connection of type 0x0002. Disconnect reason is 0 [02/22/10 17:11:51] <libpurple/oscar> Disconnected. Code is 0x0000 and msg is (hiicq:17126): GLib-WARNING **: giounix.c:400Error while getting flags for FD: Bad file descriptor (9) [02/22/10 17:11:51] <libpurple/oscar> Scheduling destruction of FLAP connection of type 0x0002 [02/22/10 17:11:51] <libpurple/oscar> Signed off. ... [02/22/10 17:11:51] <libpurple/oscar> Destroying oscar connection of type 0x7261. Disconnect reason is 1668179315
author Paul Aurich <paul@darkrain42.org>
date Mon, 22 Feb 2010 17:53:38 +0000
parents 419415a431e1
children a14c2e81fcf0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
1 EXTRA_DIST = \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
2 dbus-analyze-functions.py \
27291
3a0552df3379 Add auto-generated D-Bus signals introspection, though parameter names
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26535
diff changeset
3 dbus-analyze-signals.py \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
4 dbus-analyze-types.py \
23797
e1c8ec1259de Updates voice and video to use Farsight 2, gets XMPP voice conferences
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
5 marshallers.list \
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
6 purple-notifications-example \
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
7 purple-remote \
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
8 purple-send \
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
9 purple-send-async \
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
10 purple-url-handler \
21297
5b1acbab99cf Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents: 20180
diff changeset
11 purple.h.in \
15615
4ea624932995 Add stuff for pkg-config
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 15461
diff changeset
12 purple.pc.in \
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
13 purple-uninstalled.pc.in \
16583
ce049678a67b soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <stu@nosnilmot.com>
parents: 16285
diff changeset
14 version.h.in \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
15 Makefile.mingw \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
16 win32/global.mak \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
17 win32/libc_interface.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
18 win32/libc_interface.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
19 win32/libc_internal.h \
15452
c6115dc73b28 dist fixes
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15373
diff changeset
20 win32/libpurplerc.rc.in \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
21 win32/rules.mak \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
22 win32/targets.mak \
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
23 win32/wpurpleerror.h \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
24 win32/win32dep.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
25 win32/giowin32.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
26 win32/win32dep.h
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
27
19406
7c84cbb57972 disapproval of revision '8d675a1883a0f1c7f3c08d9b12242cd3fc7bcaf9'
Richard Laager <rlaager@wiktel.com>
parents: 19405
diff changeset
28 if USE_GCONFTOOL
7c84cbb57972 disapproval of revision '8d675a1883a0f1c7f3c08d9b12242cd3fc7bcaf9'
Richard Laager <rlaager@wiktel.com>
parents: 19405
diff changeset
29 GCONF_DIR=gconf
7c84cbb57972 disapproval of revision '8d675a1883a0f1c7f3c08d9b12242cd3fc7bcaf9'
Richard Laager <rlaager@wiktel.com>
parents: 19405
diff changeset
30 endif
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
31
15615
4ea624932995 Add stuff for pkg-config
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 15461
diff changeset
32 pkgconfigdir = $(libdir)/pkgconfig
4ea624932995 Add stuff for pkg-config
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 15461
diff changeset
33 pkgconfig_DATA = purple.pc
4ea624932995 Add stuff for pkg-config
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 15461
diff changeset
34
28437
abb5343ec701 Build '.' before tests, since the tests require libpurple.la
Paul Aurich <paul@darkrain42.org>
parents: 28167
diff changeset
35 SUBDIRS = $(GCONF_DIR) plugins protocols . tests example
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
36
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
37 purple_coresources = \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
38 account.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
39 accountopt.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
40 blist.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
41 buddyicon.c \
17910
668a294f9a72 - Added certificate.[ch] and got them integrated into the build
William Ehlhardt <williamehlhardt@gmail.com>
parents: 17066
diff changeset
42 certificate.c \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
43 cipher.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
44 circbuffer.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
45 cmds.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
46 connection.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
47 conversation.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
48 core.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
49 debug.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
50 desktopitem.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
51 eventloop.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
52 ft.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
53 idle.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
54 imgstore.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
55 log.c \
29146
f46979436c78 Skeleton of the Farsight 2 media backend.
maiku@pidgin.im
parents: 29145
diff changeset
56 media/backend-fs2.c \
29145
0ae9306de1f6 Add a media backend interface to handle different backends in addition to
maiku@pidgin.im
parents: 29144
diff changeset
57 media/backend-iface.c \
29142
f585e10f156b Split out PurpleMediaCandidate into its own file.
maiku@pidgin.im
parents: 29141
diff changeset
58 media/candidate.c \
29144
e18c1d347e37 Break PurpleMediaCodec out into its own file.
maiku@pidgin.im
parents: 29142
diff changeset
59 media/codec.c \
29141
ab1e29779722 Split the media API's enum types out into its own file.
maiku@pidgin.im
parents: 29140
diff changeset
60 media/enum-types.c \
29352
419415a431e1 Move libpurple/media/media.c to libpurple/media.c.
Paul Aurich <paul@darkrain42.org>
parents: 29238
diff changeset
61 media.c \
23759
315151da0dc6 Basic Google Talk voice call support. No UI; receiving a call auto-accepts it.
Sean Egan <seanegan@gmail.com>
parents: 19405
diff changeset
62 mediamanager.c \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
63 mime.c \
15974
1a12ce76c4f4 The network module now registers the signal 'network-configuration-changed' and emits it when a network change is detected via libnm or the win32 network monitor. The UI could also emit this signal if it knows something network.c doesn't. UPnP and NAT-PMP respond to the signal by clearing their IP address caches; changing networks without quitting/relaunching will now lead to the new IP address being (lazily) determined. This commit also enables nat-pmp and adds nat-pmp.[h|c] to the build process; please let me know if there are any problems building, as I only have OS X test machines.
Evan Schoenberg <evan.s@dreskin.net>
parents: 15884
diff changeset
64 nat-pmp.c \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
65 network.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
66 ntlm.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
67 notify.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
68 plugin.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
69 pluginpref.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
70 pounce.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
71 prefs.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
72 privacy.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
73 proxy.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
74 prpl.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
75 request.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
76 roomlist.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
77 savedstatuses.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
78 server.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
79 signals.c \
22311
02eda4bd2b22 Apply the custom smiley patches from #1187, from Jorge Villaseo (Masca) and
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21816
diff changeset
80 smiley.c \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
81 dnsquery.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
82 dnssrv.c\
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
83 status.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
84 stringref.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
85 stun.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
86 sound.c \
25920
c0e3b62f8098 * Alphabetize files in a few Makefile.am files
Mark Doliner <mark@kingant.net>
parents: 25778
diff changeset
87 sound-theme.c \
25778
25af9b1994c8 renamed sound-loader.[ch] to sound-theme-loader.[ch]
Gary Kramlich <grim@reaperworld.com>
parents: 25097
diff changeset
88 sound-theme-loader.c \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
89 sslconn.c \
25074
de8f7e6a707a Added basic theme for libpurple to be used by theme manager and loaders (abstract gobject)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 23147
diff changeset
90 theme.c \
25076
68b7691aa3ed Added theme loader class abstract whose only (current/planned) function is to build themes
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25074
diff changeset
91 theme-loader.c \
25077
6356f402079c Added the theme-manager and basic functionality (needs to be given proper directories to find themes)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25076
diff changeset
92 theme-manager.c \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
93 upnp.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
94 util.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
95 value.c \
16583
ce049678a67b soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <stu@nosnilmot.com>
parents: 16285
diff changeset
96 version.c \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
97 xmlnode.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
98 whiteboard.c
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
99
27402
a50d0b8e3b7d Really fix build when srcdir = builddir and srcdir != builddir.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 27399
diff changeset
100 purple_builtsources = \
a50d0b8e3b7d Really fix build when srcdir = builddir and srcdir != builddir.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 27399
diff changeset
101 marshallers.c
a50d0b8e3b7d Really fix build when srcdir = builddir and srcdir != builddir.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 27399
diff changeset
102
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
103 purple_coreheaders = \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
104 account.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
105 accountopt.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
106 blist.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
107 buddyicon.h \
17910
668a294f9a72 - Added certificate.[ch] and got them integrated into the build
William Ehlhardt <williamehlhardt@gmail.com>
parents: 17066
diff changeset
108 certificate.h \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
109 cipher.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
110 circbuffer.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
111 cmds.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
112 connection.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
113 conversation.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
114 core.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
115 dbus-maybe.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
116 debug.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
117 desktopitem.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
118 eventloop.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
119 ft.h \
15860
1d594ccb09d6 gaim.h doesn't have a purpose, does it? I don't know the history of the joke therein, so I hope nobody is offended by its removal. Let's install gaim-compat.h instead!
Richard Laager <rlaager@wiktel.com>
parents: 15822
diff changeset
120 gaim-compat.h \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
121 idle.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
122 imgstore.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
123 log.h \
23759
315151da0dc6 Basic Google Talk voice call support. No UI; receiving a call auto-accepts it.
Sean Egan <seanegan@gmail.com>
parents: 19405
diff changeset
124 media.h \
26349
1ae3af12095a Move GStreamer related media functions into its own header.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 26131
diff changeset
125 media-gst.h \
23759
315151da0dc6 Basic Google Talk voice call support. No UI; receiving a call auto-accepts it.
Sean Egan <seanegan@gmail.com>
parents: 19405
diff changeset
126 mediamanager.h \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
127 mime.h \
15974
1a12ce76c4f4 The network module now registers the signal 'network-configuration-changed' and emits it when a network change is detected via libnm or the win32 network monitor. The UI could also emit this signal if it knows something network.c doesn't. UPnP and NAT-PMP respond to the signal by clearing their IP address caches; changing networks without quitting/relaunching will now lead to the new IP address being (lazily) determined. This commit also enables nat-pmp and adds nat-pmp.[h|c] to the build process; please let me know if there are any problems building, as I only have OS X test machines.
Evan Schoenberg <evan.s@dreskin.net>
parents: 15884
diff changeset
128 nat-pmp.h \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
129 network.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
130 notify.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
131 ntlm.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
132 plugin.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
133 pluginpref.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
134 pounce.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
135 prefs.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
136 privacy.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
137 proxy.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
138 prpl.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
139 request.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
140 roomlist.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
141 savedstatuses.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
142 server.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
143 signals.h \
22311
02eda4bd2b22 Apply the custom smiley patches from #1187, from Jorge Villaseo (Masca) and
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21816
diff changeset
144 smiley.h \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
145 dnsquery.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
146 dnssrv.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
147 status.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
148 stringref.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
149 stun.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
150 sound.h \
25920
c0e3b62f8098 * Alphabetize files in a few Makefile.am files
Mark Doliner <mark@kingant.net>
parents: 25778
diff changeset
151 sound-theme.h \
25778
25af9b1994c8 renamed sound-loader.[ch] to sound-theme-loader.[ch]
Gary Kramlich <grim@reaperworld.com>
parents: 25097
diff changeset
152 sound-theme-loader.h \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
153 sslconn.h \
25074
de8f7e6a707a Added basic theme for libpurple to be used by theme manager and loaders (abstract gobject)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 23147
diff changeset
154 theme.h \
25076
68b7691aa3ed Added theme loader class abstract whose only (current/planned) function is to build themes
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25074
diff changeset
155 theme-loader.h \
25077
6356f402079c Added the theme-manager and basic functionality (needs to be given proper directories to find themes)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 25076
diff changeset
156 theme-manager.h \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
157 upnp.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
158 util.h \
27711
c1314a6cefcf Automatically detect if running under valgrind and don't close plugin
Stu Tomlinson <stu@nosnilmot.com>
parents: 27635
diff changeset
159 valgrind.h \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
160 value.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
161 xmlnode.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
162 whiteboard.h
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
163
29211
3afc25b5b8fc Change the libpurple Makefile to keep the same directory structure regarding
maiku@pidgin.im
parents: 29153
diff changeset
164 purple_mediaheaders = \
3afc25b5b8fc Change the libpurple Makefile to keep the same directory structure regarding
maiku@pidgin.im
parents: 29153
diff changeset
165 backend-iface.h \
3afc25b5b8fc Change the libpurple Makefile to keep the same directory structure regarding
maiku@pidgin.im
parents: 29153
diff changeset
166 candidate.h \
3afc25b5b8fc Change the libpurple Makefile to keep the same directory structure regarding
maiku@pidgin.im
parents: 29153
diff changeset
167 codec.h \
3afc25b5b8fc Change the libpurple Makefile to keep the same directory structure regarding
maiku@pidgin.im
parents: 29153
diff changeset
168 enum-types.h
3afc25b5b8fc Change the libpurple Makefile to keep the same directory structure regarding
maiku@pidgin.im
parents: 29153
diff changeset
169
26535
a9ce6dedbf35 Fix build when srcdir != builddir.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 26495
diff changeset
170 purple_builtheaders = purple.h version.h marshallers.h
16754
441945083737 Now that version.h is a generated source file, we need to add
Stu Tomlinson <stu@nosnilmot.com>
parents: 16679
diff changeset
171
23797
e1c8ec1259de Updates voice and video to use Farsight 2, gets XMPP voice conferences
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
172 marshallers.h: marshallers.list
e1c8ec1259de Updates voice and video to use Farsight 2, gets XMPP voice conferences
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
173 @echo "Generating marshallers.h"
e1c8ec1259de Updates voice and video to use Farsight 2, gets XMPP voice conferences
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
174 $(GLIB_GENMARSHAL) --prefix=purple_smarshal $(srcdir)/marshallers.list --header > marshallers.h
e1c8ec1259de Updates voice and video to use Farsight 2, gets XMPP voice conferences
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
175
26071
49a10f6f3bb4 Make sure marshallers.h is created before compiling marshallers.c.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23840
diff changeset
176 marshallers.c: marshallers.list marshallers.h
23797
e1c8ec1259de Updates voice and video to use Farsight 2, gets XMPP voice conferences
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
177 @echo "Generating marshallers.c"
23805
f47be691e588 Silence warning.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23797
diff changeset
178 echo "#include \"marshallers.h\"" > marshallers.c
f47be691e588 Silence warning.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23797
diff changeset
179 $(GLIB_GENMARSHAL) --prefix=purple_smarshal $(srcdir)/marshallers.list --body >> marshallers.c
23797
e1c8ec1259de Updates voice and video to use Farsight 2, gets XMPP voice conferences
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
180
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
181 if ENABLE_DBUS
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
182
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
183 CLEANFILES = \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
184 dbus-bindings.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
185 dbus-client-binding.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
186 dbus-client-binding.h \
27291
3a0552df3379 Add auto-generated D-Bus signals introspection, though parameter names
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26535
diff changeset
187 dbus-signals.c \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
188 dbus-types.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
189 dbus-types.h \
23797
e1c8ec1259de Updates voice and video to use Farsight 2, gets XMPP voice conferences
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
190 marshallers.c \
e1c8ec1259de Updates voice and video to use Farsight 2, gets XMPP voice conferences
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
191 marshallers.h \
15822
32c366eeeb99 sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@gmail.com>
parents: 15617
diff changeset
192 purple-client-bindings.c \
32c366eeeb99 sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@gmail.com>
parents: 15617
diff changeset
193 purple-client-bindings.h \
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
194 purple.service
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
195
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
196 # purple dbus server
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
197
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
198 dbus_sources = dbus-server.c dbus-useful.c
18817
cc41918086bd Install dbus-types.h, which fixes #including dbus-server.h in UIs.
Will Thompson <will.thompson@collabora.co.uk>
parents: 18587
diff changeset
199 dbus_headers = dbus-bindings.h dbus-purple.h dbus-server.h dbus-useful.h dbus-define-api.h dbus-types.h
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
200
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
201 dbus_exported = dbus-useful.h dbus-define-api.h account.h blist.h buddyicon.h \
17811
e62095e99db0 Add new function purple_xfer_get_remote_user.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 17066
diff changeset
202 connection.h conversation.h core.h ft.h log.h notify.h prefs.h roomlist.h \
23144
f1df88964b3d Expose the smiley API to dbus.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 22311
diff changeset
203 savedstatuses.h smiley.h status.h server.h util.h xmlnode.h prpl.h
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
204
21514
aa89e649641a Fix building outside of the source directory. This is derived from the
Stu Tomlinson <stu@nosnilmot.com>
parents: 21297
diff changeset
205 purple_build_coreheaders = $(addprefix $(srcdir)/, $(purple_coreheaders)) \
29211
3afc25b5b8fc Change the libpurple Makefile to keep the same directory structure regarding
maiku@pidgin.im
parents: 29153
diff changeset
206 $(addprefix $(srcdir)/media/, $(purple_mediaheaders)) \
21514
aa89e649641a Fix building outside of the source directory. This is derived from the
Stu Tomlinson <stu@nosnilmot.com>
parents: 21297
diff changeset
207 $(purple_builtheaders)
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
208 dbus_build_exported = $(addprefix $(srcdir)/, $(dbus_exported))
27291
3a0552df3379 Add auto-generated D-Bus signals introspection, though parameter names
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26535
diff changeset
209 # We should probably make this better
27399
12edccab4944 Fix compile when srcdir != builddir.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 27291
diff changeset
210 dbus_signals = $(addprefix $(srcdir)/, $(purple_coresources)) \
12edccab4944 Fix compile when srcdir != builddir.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 27291
diff changeset
211 $(srcdir)/protocols/irc/irc.c \
12edccab4944 Fix compile when srcdir != builddir.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 27291
diff changeset
212 $(srcdir)/protocols/jabber/libxmpp.c
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
213
18286
95731e366df2 Fix the dependencies of dbus-types.c & dbus-types.h so they will be rebuilt
Stu Tomlinson <stu@nosnilmot.com>
parents: 17811
diff changeset
214 dbus-types.c: dbus-analyze-types.py $(purple_build_coreheaders)
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
215 cat $(purple_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --pattern=PURPLE_DBUS_DEFINE_TYPE\(%s\) > $@
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
216
18286
95731e366df2 Fix the dependencies of dbus-types.c & dbus-types.h so they will be rebuilt
Stu Tomlinson <stu@nosnilmot.com>
parents: 17811
diff changeset
217 dbus-types.h: dbus-analyze-types.py $(purple_build_coreheaders)
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
218 cat $(purple_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --pattern=PURPLE_DBUS_DECLARE_TYPE\(%s\) > $@
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
219
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
220 dbus-bindings.c: dbus-analyze-functions.py $(dbus_exported)
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
221 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py > $@
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
222
27291
3a0552df3379 Add auto-generated D-Bus signals introspection, though parameter names
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26535
diff changeset
223 dbus-signals.c: dbus-analyze-signals.py $(dbus_signals)
3a0552df3379 Add auto-generated D-Bus signals introspection, though parameter names
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26535
diff changeset
224 cat $(dbus_signals) | $(PYTHON) $(srcdir)/dbus-analyze-signals.py > $@
3a0552df3379 Add auto-generated D-Bus signals introspection, though parameter names
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26535
diff changeset
225
3a0552df3379 Add auto-generated D-Bus signals introspection, though parameter names
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26535
diff changeset
226 dbus-server.$(OBJEXT): dbus-bindings.c dbus-signals.c dbus-types.c dbus-types.h
3a0552df3379 Add auto-generated D-Bus signals introspection, though parameter names
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26535
diff changeset
227 dbus-server.lo: dbus-bindings.c dbus-signals.c dbus-types.c dbus-types.h
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
228 $(libpurple_la_OBJECTS): dbus-types.h
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
229
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
230 # libpurple-client
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
231
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
232 libpurple_client_lib = libpurple-client.la
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
233
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
234 libpurple_client_la_SOURCES = purple-client.c purple-client.h
16679
07b5cf0a46e2 This should set libpurple-client's so version to be the same as libpurple's,
Richard Laager <rlaager@wiktel.com>
parents: 16674
diff changeset
235 libpurple_client_la_LDFLAGS = -version-info $(PURPLE_LT_VERSION_INFO) -no-undefined
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
236 libpurple_client_la_LIBADD = $(DBUS_LIBS)
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
237
15822
32c366eeeb99 sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@gmail.com>
parents: 15617
diff changeset
238 purple-client-bindings.c: dbus-analyze-functions.py $(dbus_exported)
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
239 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py --client > $@
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
240
29211
3afc25b5b8fc Change the libpurple Makefile to keep the same directory structure regarding
maiku@pidgin.im
parents: 29153
diff changeset
241 purple-client-bindings.h: dbus-analyze-types.py dbus-analyze-functions.py $(purple_coreheaders) $(addprefix media/, $(purple_mediaheaders)) $(purple_builtheaders) $(dbus_exported)
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
242 cat $(purple_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --keyword=enum --verbatim > $@
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
243 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py --client --headers >> $@
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
244
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
245 $(libpurple_client_la_OBJECTS): purple-client-bindings.h purple-client-bindings.c
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
246
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
247 # purple-client-example
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
248
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
249 purple_client_example_SOURCES = purple-client-example.c
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
250
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
251 purple_client_example_DEPENDENCIES = libpurple-client.la
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
252
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
253 purple_client_example_LDADD = \
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
254 libpurple-client.la \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
255 $(GLIB_LIBS) \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
256 $(DBUS_LIBS)
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
257
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
258 bin_PROGRAMS = purple-client-example
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
259
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
260 purple-client-example.$(OBJEXT): purple-client-bindings.h
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
261
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
262 # scripts
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
263
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
264 bin_SCRIPTS = purple-remote purple-send purple-send-async purple-url-handler
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
265
21816
57765d468458 Clean up generated dbus sources in 'make clean'
Stu Tomlinson <stu@nosnilmot.com>
parents: 21633
diff changeset
266 BUILT_SOURCES = $(purple_builtheaders) \
27402
a50d0b8e3b7d Really fix build when srcdir = builddir and srcdir != builddir.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 27399
diff changeset
267 $(purple_builtsources) \
27291
3a0552df3379 Add auto-generated D-Bus signals introspection, though parameter names
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26535
diff changeset
268 dbus-bindings.c \
3a0552df3379 Add auto-generated D-Bus signals introspection, though parameter names
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26535
diff changeset
269 dbus-signals.c \
21816
57765d468458 Clean up generated dbus sources in 'make clean'
Stu Tomlinson <stu@nosnilmot.com>
parents: 21633
diff changeset
270 dbus-types.c \
57765d468458 Clean up generated dbus sources in 'make clean'
Stu Tomlinson <stu@nosnilmot.com>
parents: 21633
diff changeset
271 dbus-types.h \
57765d468458 Clean up generated dbus sources in 'make clean'
Stu Tomlinson <stu@nosnilmot.com>
parents: 21633
diff changeset
272 purple-client-bindings.c \
57765d468458 Clean up generated dbus sources in 'make clean'
Stu Tomlinson <stu@nosnilmot.com>
parents: 21633
diff changeset
273 purple-client-bindings.h
57765d468458 Clean up generated dbus sources in 'make clean'
Stu Tomlinson <stu@nosnilmot.com>
parents: 21633
diff changeset
274
57765d468458 Clean up generated dbus sources in 'make clean'
Stu Tomlinson <stu@nosnilmot.com>
parents: 21633
diff changeset
275 else
57765d468458 Clean up generated dbus sources in 'make clean'
Stu Tomlinson <stu@nosnilmot.com>
parents: 21633
diff changeset
276
27402
a50d0b8e3b7d Really fix build when srcdir = builddir and srcdir != builddir.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 27399
diff changeset
277 BUILT_SOURCES = $(purple_builtheaders) $(purple_builtsources)
21816
57765d468458 Clean up generated dbus sources in 'make clean'
Stu Tomlinson <stu@nosnilmot.com>
parents: 21633
diff changeset
278
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
279 endif
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
280
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
281 lib_LTLIBRARIES = libpurple.la $(libpurple_client_lib)
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
282
15461
e9c12873fae0 This renames the binary to 'pidgin', and I think it properly
Sean Egan <seanegan@gmail.com>
parents: 15452
diff changeset
283 libpurple_la_SOURCES = \
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
284 $(purple_coresources) \
27402
a50d0b8e3b7d Really fix build when srcdir = builddir and srcdir != builddir.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 27399
diff changeset
285 $(purple_builtsources) \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
286 $(dbus_sources)
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
287
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
288 noinst_HEADERS= \
27711
c1314a6cefcf Automatically detect if running under valgrind and don't close plugin
Stu Tomlinson <stu@nosnilmot.com>
parents: 27635
diff changeset
289 internal.h \
29153
f7746ebc0b40 Move the backend-fs2.h header into noinst_HEADERS.
maiku@pidgin.im
parents: 29146
diff changeset
290 media/backend-fs2.h \
27711
c1314a6cefcf Automatically detect if running under valgrind and don't close plugin
Stu Tomlinson <stu@nosnilmot.com>
parents: 27635
diff changeset
291 valgrind.h
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
292
15461
e9c12873fae0 This renames the binary to 'pidgin', and I think it properly
Sean Egan <seanegan@gmail.com>
parents: 15452
diff changeset
293 libpurpleincludedir=$(includedir)/libpurple
e9c12873fae0 This renames the binary to 'pidgin', and I think it properly
Sean Egan <seanegan@gmail.com>
parents: 15452
diff changeset
294 libpurpleinclude_HEADERS = \
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15860
diff changeset
295 $(purple_coreheaders) \
21514
aa89e649641a Fix building outside of the source directory. This is derived from the
Stu Tomlinson <stu@nosnilmot.com>
parents: 21297
diff changeset
296 $(purple_builtheaders) \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
297 $(dbus_headers)
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
298
29211
3afc25b5b8fc Change the libpurple Makefile to keep the same directory structure regarding
maiku@pidgin.im
parents: 29153
diff changeset
299 mediaincludedir=$(includedir)/libpurple/media
3afc25b5b8fc Change the libpurple Makefile to keep the same directory structure regarding
maiku@pidgin.im
parents: 29153
diff changeset
300 mediainclude_HEADERS = \
3afc25b5b8fc Change the libpurple Makefile to keep the same directory structure regarding
maiku@pidgin.im
parents: 29153
diff changeset
301 $(addprefix $(srcdir)/media/, $(purple_mediaheaders))
3afc25b5b8fc Change the libpurple Makefile to keep the same directory structure regarding
maiku@pidgin.im
parents: 29153
diff changeset
302
15461
e9c12873fae0 This renames the binary to 'pidgin', and I think it properly
Sean Egan <seanegan@gmail.com>
parents: 15452
diff changeset
303 libpurple_la_DEPENDENCIES = $(STATIC_LINK_LIBS)
16674
171acd9ebb1a Separate so versioning for libgnt.
Richard Laager <rlaager@wiktel.com>
parents: 16583
diff changeset
304 libpurple_la_LDFLAGS = -export-dynamic -version-info $(PURPLE_LT_VERSION_INFO) -no-undefined
15461
e9c12873fae0 This renames the binary to 'pidgin', and I think it properly
Sean Egan <seanegan@gmail.com>
parents: 15452
diff changeset
305 libpurple_la_LIBADD = \
18587
66f2354fb0fd move STATIC_LINK_LIBS up in link order to ensure its dependencies get included properly. Patch #2216 from IgorVlasenko
Sean Egan <seanegan@gmail.com>
parents: 18286
diff changeset
306 $(STATIC_LINK_LIBS) \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
307 $(DBUS_LIBS) \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
308 $(GLIB_LIBS) \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
309 $(LIBXML_LIBS) \
22895
0bd86dae2734 Use pkg-config to detect NetworkManager. Also, fail if it isn't present,
Richard Laager <rlaager@wiktel.com>
parents: 21816
diff changeset
310 $(NETWORKMANAGER_LIBS) \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
311 $(INTLLIBS) \
23759
315151da0dc6 Basic Google Talk voice call support. No UI; receiving a call auto-accepts it.
Sean Egan <seanegan@gmail.com>
parents: 19405
diff changeset
312 $(FARSIGHT_LIBS) \
23787
92e71f6e10d4 Patch from Marcus Lundblad ('mlundblad') to improve audio support in xmpp.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 23769
diff changeset
313 $(GSTREAMER_LIBS) \
26495
80e08aef33ec Also, fix the libpurple makefile to use the correct cflags/libs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26362
diff changeset
314 $(GSTINTERFACES_LIBS) \
27635
7fbf964c6c6c Move the IDN support into the DNS routines.
Paul Aurich <paul@darkrain42.org>
parents: 27402
diff changeset
315 $(IDN_LIBS) \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
316 -lm
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
317
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
318 AM_CPPFLAGS = \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
319 -DDATADIR=\"$(datadir)\" \
16583
ce049678a67b soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <stu@nosnilmot.com>
parents: 16285
diff changeset
320 -DLIBDIR=\"$(libdir)/purple-$(PURPLE_MAJOR_VERSION)/\" \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
321 -DLOCALEDIR=\"$(datadir)/locale\" \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
322 -DSYSCONFDIR=\"$(sysconfdir)\" \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
323 $(GLIB_CFLAGS) \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
324 $(DEBUG_CFLAGS) \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
325 $(DBUS_CFLAGS) \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
326 $(LIBXML_CFLAGS) \
23759
315151da0dc6 Basic Google Talk voice call support. No UI; receiving a call auto-accepts it.
Sean Egan <seanegan@gmail.com>
parents: 19405
diff changeset
327 $(FARSIGHT_CFLAGS) \
23787
92e71f6e10d4 Patch from Marcus Lundblad ('mlundblad') to improve audio support in xmpp.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 23769
diff changeset
328 $(GSTREAMER_CFLAGS) \
26495
80e08aef33ec Also, fix the libpurple makefile to use the correct cflags/libs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26362
diff changeset
329 $(GSTINTERFACES_CFLAGS) \
27635
7fbf964c6c6c Move the IDN support into the DNS routines.
Paul Aurich <paul@darkrain42.org>
parents: 27402
diff changeset
330 $(IDN_CFLAGS) \
22895
0bd86dae2734 Use pkg-config to detect NetworkManager. Also, fail if it isn't present,
Richard Laager <rlaager@wiktel.com>
parents: 21816
diff changeset
331 $(NETWORKMANAGER_CFLAGS)
23330
390384053186 Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@wiktel.com>
parents: 23147
diff changeset
332
390384053186 Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@wiktel.com>
parents: 23147
diff changeset
333 # INSTALL_SSL_CERTIFICATES is true when SSL_CERTIFICATES_DIR is empty.
390384053186 Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@wiktel.com>
parents: 23147
diff changeset
334 # We want to use SSL_CERTIFICATES_DIR when it's not empty.
390384053186 Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@wiktel.com>
parents: 23147
diff changeset
335 if ! INSTALL_SSL_CERTIFICATES
390384053186 Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@wiktel.com>
parents: 23147
diff changeset
336 AM_CPPFLAGS += -DSSL_CERTIFICATES_DIR=\"$(SSL_CERTIFICATES_DIR)\"
390384053186 Add a configure option, --with-ssl-certificates to allow packagers to
Richard Laager <rlaager@wiktel.com>
parents: 23147
diff changeset
337 endif