pidgin/pidgin
Clone
Summary
Browse
Changes
Graph
Fix some GWarnings during finch's startup
21 months ago, Gary Kramlich
01b94846bb60
Fix some GWarnings during finch's startup
Testing Done:
Ran via `G_DEBUG=fatal-warnings gdb --ex run finch3` and verified I was able to make it to the contact list.
Reviewed at https://reviews.imfreedom.org/r/1592/
BONJOUR_SOURCES
=
[
'bonjour.c'
,
'bonjour.h'
,
'buddy.c'
,
'buddy.h'
,
'xmpp.c'
,
'xmpp.h'
,
'mdns_common.c'
,
'mdns_common.h'
,
'mdns_types.h'
,
'parser.c'
,
'parser.h'
,
'bonjour_ft.c'
,
'bonjour_ft.h'
]
if
IS_WIN32
BONJOUR_SOURCES
+=
[
'dns_sd_proxy.c'
,
'dns_sd_proxy.h'
,
'mdns_dns_sd.c'
,
'mdns_dns_sd.h'
,
'mdns_win32.c'
]
bonjour_link_args
=
[
'-lnetapi32'
]
else
BONJOUR_SOURCES
+=
[
'mdns_avahi.c'
]
bonjour_link_args
=
[]
endif
if
DYNAMIC_BONJOUR
bonjour_resources
=
gnome
.
compile_resources
(
'bonjourresource'
,
'resources/bonjour.gresource.xml'
,
source_dir
:
'resources'
,
c_name
:
'bonjour'
)
BONJOUR_SOURCES
+=
bonjour_resources
bonjour_prpl
=
shared_library
(
'bonjour'
,
BONJOUR_SOURCES
,
c_args
:
[
'-DG_LOG_USE_STRUCTURED'
,
'-DG_LOG_DOMAIN="Purple-Bonjour"'
],
link_args
:
bonjour_link_args
,
dependencies
:
[
libxml
,
avahi
,
libpurple_dep
,
glib
,
nice
,
ws2_32
],
install
:
true
,
install_dir
:
PURPLE_PLUGINDIR
)
devenv
.
append
(
'PURPLE_PLUGIN_PATH'
,
meson
.
current_build_dir
())
endif