libpurple/protocols/sametime/meson.build

Sun, 31 Mar 2019 17:45:25 -0400

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Sun, 31 Mar 2019 17:45:25 -0400
changeset 39526
4f678f514b69
parent 39525
e1280f3aaea8
child 39669
bab07ecb9330
permissions
-rw-r--r--

Switch to GMime for sametime.

This causes a few differences (as shown in the tests):

* MIME headers are in a slightly different order,
* MIME headers use `Camel-Case` instead of `lower-case`,
* `Content-Type` includes a `charset` parameter,
* An extra newline at the end of MIME parts was dropped,
* Filenames in attachment parts are no longer quoted,
* `Content-Disposition` and image base64 data are now wrapped,
* Unix newlines are sent consistently as DOS newlines (but correctly
parsed back to Unix).

SAMETIMESOURCES = [
	'sametime.c',
	'sametime.h',
	'im_mime.c',
	'im_mime.h',
]

if DYNAMIC_SAMETIME
	sametime_prpl = shared_library('sametime', SAMETIMESOURCES,
	    c_args : ['-DG_LOG_DOMAIN="sametime"'],
	    dependencies : [meanwhile, gmime, libpurple_dep, glib],
	    install : true, install_dir : PURPLE_PLUGINDIR)
	
	subdir('tests')
endif

mercurial