doc/reference/protocols/facebook/meson.build

Wed, 29 Mar 2023 23:21:45 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Wed, 29 Mar 2023 23:21:45 -0500
changeset 42186
637ba5491231
parent 41468
ff4332b17f80
permissions
-rw-r--r--

Remove the original irc protocol plugin

I was waiting to do this until IRCv3 was at feature parity, but now one is
using this right now anyways which means having to keep updating it for changes
is just a waste of effort.

Testing Done:
ran `ninja turtles` and opened the new account dialog without issue.

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

41122
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
1 facebook_doc_content_files = []
38515
2d4d3a8fd23c Add documentation to Meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
2
41122
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
3 if get_option('doc')
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
4 facebook_toml = configure_file(
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
5 input : 'facebook.toml.in',
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
6 output : 'facebook.toml',
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
7 configuration : version_conf,
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
8 install : true,
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
9 install_dir : docs_dir / 'facebook',
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
10 )
38515
2d4d3a8fd23c Add documentation to Meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
11
41122
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
12 facebook_doc = custom_target('facebook-doc',
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
13 input : [ facebook_toml, facebook_gir[0] ],
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
14 output : 'facebook',
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
15 command : [
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
16 gidocgen,
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
17 'generate',
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
18 '--quiet',
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
19 '--fatal-warnings',
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
20 '--config=@INPUT0@',
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
21 '--output-dir=@OUTPUT@',
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
22 '--no-namespace-dir',
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
23 '--content-dir=@0@'.format(meson.current_source_dir()),
41142
a9f32316d828 Fix includes for the introspection targets that I thought weren't needed during the gi-docgen conversation
Gary Kramlich <grim@reaperworld.com>
parents: 41122
diff changeset
24 '--add-include-path=@0@'.format(meson.global_build_root() / 'subprojects/gplugin/gplugin'),
41468
ff4332b17f80 Fix Meson deprecation from Facebook docs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41142
diff changeset
25 '--add-include-path=@0@'.format(meson.global_build_root() / 'libpurple'),
41122
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
26 '@INPUT1@'
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
27 ],
41142
a9f32316d828 Fix includes for the introspection targets that I thought weren't needed during the gi-docgen conversation
Gary Kramlich <grim@reaperworld.com>
parents: 41122
diff changeset
28 depends: [ libpurple_gir[0] ],
41122
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
29 depend_files : [ facebook_doc_content_files ],
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
30 build_by_default : true,
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
31 install : true,
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
32 install_dir : docs_dir,
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
33 )
f29fa0dda4bf Convert the facebook documentation to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40678
diff changeset
34 endif
38515
2d4d3a8fd23c Add documentation to Meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
35

mercurial