Sun, 15 Sep 2019 17:11:46 -0400
Replace Purple type macros by GObject macros.
These were necessary to support both static and dynamic plugins, but
we're just leaving the to GPlugin now.
####################################################################### # Check for Internationalized Domain Name support ####################################################################### if get_option('idn') idn = dependency('libidn', version : '>= 0.0.0', required : force_deps) use_idn = [ '-DUSE_IDN' ] else idn = [] use_idn = [] endif JABBERSOURCES = [ 'adhoccommands.c', 'adhoccommands.h', 'auth.c', 'auth.h', 'auth_digest_md5.c', 'auth_digest_md5.h', 'auth_plain.c', 'auth_scram.c', 'auth_scram.h', 'auth_webex.c', 'buddy.c', 'buddy.h', 'bosh.c', 'bosh.h', 'caps.c', 'caps.h', 'chat.c', 'chat.h', 'data.c', 'data.h', 'disco.c', 'disco.h', 'google/gmail.c', 'google/gmail.h', 'google/google.c', 'google/google.h', 'google/google_p2p.c', 'google/google_p2p.h', 'google/google_presence.c', 'google/google_presence.h', 'google/google_roster.c', 'google/google_roster.h', 'google/google_session.c', 'google/google_session.h', 'google/jingleinfo.c', 'google/jingleinfo.h', 'google/relay.c', 'google/relay.h', 'gtalk.c', 'gtalk.h', 'ibb.c', 'ibb.h', 'iq.c', 'iq.h', 'jabber.c', 'jabber.h', 'jingle/jingle.c', 'jingle/jingle.h', 'jingle/content.c', 'jingle/content.h', 'jingle/iceudp.c', 'jingle/iceudp.h', 'jingle/rawudp.c', 'jingle/rawudp.h', 'jingle/rtp.c', 'jingle/rtp.h', 'jingle/session.c', 'jingle/session.h', 'jingle/transport.c', 'jingle/transport.h', 'jutil.c', 'jutil.h', 'message.c', 'message.h', 'namespaces.h', 'oob.c', 'oob.h', 'parser.c', 'parser.h', 'pep.c', 'pep.h', 'ping.c', 'ping.h', 'presence.c', 'presence.h', 'roster.c', 'roster.h', 'si.c', 'si.h', 'useravatar.c', 'useravatar.h', 'usermood.c', 'usermood.h', 'usernick.c', 'usernick.h', 'usertune.c', 'usertune.h', 'xdata.c', 'xdata.h', 'xmpp.c', 'xmpp.h' ] if enable_cyrus_sasl JABBERSOURCES += ['auth_cyrus.c'] endif if IS_WIN32 jabber_link_args = ['-Wl,--export-all-symbols'] else jabber_link_args = [] endif if DYNAMIC_JABBER jabber_prpl = shared_library('jabber', JABBERSOURCES, c_args : use_idn, link_args : jabber_link_args, dependencies : [gstreamer, idn, libxml, sasl, libpurple_dep, glib, gio, math, ws2_32], install : true, install_dir : PURPLE_PLUGINDIR) subdir('tests') endif