doc/reference/libpurple/meson.build

Sun, 14 Apr 2024 01:48:40 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Sun, 14 Apr 2024 01:48:40 -0500
changeset 42727
67132affc27c
parent 42705
e78a46048ae7
child 42731
c29c417539ff
permissions
-rw-r--r--

Remove the remaining BuddyList API

It's taken a long time to get here, but we made it!

Testing Done:
Called in the turtles.

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

41164
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
1 libpurple_doc_content_files = [
41655
f0fdd404bfc4 Replace the old contributing docs with a link to the online version.
Gary Kramlich <grim@reaperworld.com>
parents: 41164
diff changeset
2 'contributing.md',
41164
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
3 'plugin_i18n.md',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
4 'plugin_ids.md',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
5 'signals_account.md',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
6 'signals_cmd.md',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
7 'signals_connection.md',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
8 'signals_conversation.md',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
9 'signals_core.md',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
10 'tut_c_plugins.md',
40678
8f1d8122f07e Add extra-dir options for gtkdoc-fixxref to correctly link to other gtkdoc books
Gary Kramlich <grim@reaperworld.com>
parents: 40613
diff changeset
11 ]
8f1d8122f07e Add extra-dir options for gtkdoc-fixxref to correctly link to other gtkdoc books
Gary Kramlich <grim@reaperworld.com>
parents: 40613
diff changeset
12
41164
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
13 if get_option('doc')
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
14 libpurple_toml = configure_file(
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
15 input : 'libpurple.toml.in',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
16 output : 'libpurple.toml',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
17 configuration : version_conf,
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
18 install : true,
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
19 install_dir : docs_dir / 'libpurple',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
20 )
38515
2d4d3a8fd23c Add documentation to Meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
21
41164
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
22 libpurple_doc = custom_target('libpurple-doc',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
23 input : [ libpurple_toml, libpurple_gir[0] ],
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
24 output : 'libpurple',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
25 command : [
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
26 gidocgen,
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
27 'generate',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
28 '--quiet',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
29 '--fatal-warnings',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
30 '--config=@INPUT0@',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
31 '--output-dir=@OUTPUT@',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
32 '--no-namespace-dir',
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
33 '--content-dir=@0@'.format(meson.current_source_dir()),
42581
73eda937c387 Add purple_contact_info_get_menu and PurpleContactInfo::populate-menu
Gary Kramlich <grim@reaperworld.com>
parents: 41801
diff changeset
34 '--add-include-path=@0@'.format(meson.global_build_root() / 'subprojects/birb/birb'),
41164
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
35 '--add-include-path=@0@'.format(meson.global_build_root() / 'subprojects/gplugin/gplugin'),
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
36 '@INPUT1@'
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
37 ],
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
38 depend_files : [ libpurple_doc_content_files ],
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
39 build_by_default : true,
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
40 install : true,
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
41 install_dir : docs_dir,
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
42 )
42656
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42581
diff changeset
43
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42581
diff changeset
44 test('doc-check',
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42581
diff changeset
45 gidocgen,
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42581
diff changeset
46 args: [
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42581
diff changeset
47 'check',
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42581
diff changeset
48 '--config', libpurple_toml,
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42581
diff changeset
49 '--add-include-path=@0@'.format(meson.global_build_root() / 'subprojects/birb/birb'),
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42581
diff changeset
50 '--add-include-path=@0@'.format(meson.global_build_root() / 'subprojects/gplugin/gplugin'),
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42581
diff changeset
51 libpurple_gir[0],
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42581
diff changeset
52 ],
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42581
diff changeset
53 depends: libpurple_gir[0],
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42581
diff changeset
54 verbose: true,
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42581
diff changeset
55 )
41164
d861b10105fb Convert the libpurple docs to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 41056
diff changeset
56 endif
38515
2d4d3a8fd23c Add documentation to Meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
57

mercurial