pidgin/pidgin

Create a test for verifying license headers and correct the ones that were wrong

We might want to move check_license_header.py script out to somewhere else,
but this is fine for now as we're just getting things going.

Testing Done:
Compiled with the Turtles.

Reviewed at https://reviews.imfreedom.org/r/2940/
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'
]
gmodule = dependency('gmodule-2.0')
bonjour_link_args = ['-lnetapi32']
else
BONJOUR_SOURCES += ['mdns_avahi.c']
gmodule = []
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
shared_library('bonjour', BONJOUR_SOURCES,
c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Purple-Bonjour"'],
gnu_symbol_visibility : 'hidden',
link_args : bonjour_link_args,
dependencies : [libxml, avahi, libpurple_dep, glib, gmodule, ws2_32],
install : true,
install_dir : PURPLE_PLUGINDIR)
devenv.append('PURPLE_PLUGIN_PATH', meson.current_build_dir())
endif