doc/reference/protocols/facebook/meson.build

Sat, 03 Oct 2020 05:58:21 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Sat, 03 Oct 2020 05:58:21 -0500
changeset 40541
9ceb8d25d4d9
parent 38515
2d4d3a8fd23c
child 40598
f88830d41330
permissions
-rw-r--r--

PurpleMessage cleanups from hell

Clean up libpurple/message.[ch] and remove the messages hash table as its current implementation will not fit our future needs

add a content-type property to PurpleMessage

Convert message timestamps from time_t to GDateTime and set default values

Make purple_message_new_outgoing take a parameter for the author.

Testing Done:
messages sent on bonjour, irc privmsg, irc chat, `/me` is broken i think unrelated.

Reviewed at https://reviews.imfreedom.org/r/124/

DOC_MODULE = 'facebook'

# Header files or dirs to ignore when scanning. Use base file/dir names
ignore_hfiles = [
]

# Extra options to supply to gtkdoc-scan.
scan_args = [
    '--deprecated-guards=PURPLE_DISABLE_DEPRECATED',
    '--rebuild-types',
    '--rebuild-sections',
    '--ignore-headers=' + ' '.join(ignore_hfiles),
]

# Extra SGML files that are included by $(DOC_MAIN_XML_FILE).
content_files = [
    libpurple_version_xml,
]

gnome.gtkdoc(DOC_MODULE,
    main_xml : DOC_MODULE + '-docs.xml',
    src_dir : facebook_inc,
    dependencies : facebook_dep,
    install : true,
    scan_args : scan_args,
    gobject_typesfile : DOC_MODULE + '.types',
    content_files : content_files)

mercurial