doc/reference/pidgin/meson.build

Mon, 07 Aug 2023 23:23:40 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 07 Aug 2023 23:23:40 -0500
changeset 42267
fdd35a822758
parent 41690
fc7915f49b1c
child 42481
94a590e39869
permissions
-rw-r--r--

Remove a bunch of dead code from gtkconv

I tried my best to get the keybindings working, but none of them did.

Testing Done:
Compiled and tried all sorts of keybindings in the history and input. I had a message selected in the history and was able to type in the input without any of that old code.

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

pidgin_doc_content_files = [
	'signals_gtkblist.md',
	'signals_gtkconv.md',
]

if get_option('doc')
	pidgin_toml = configure_file(
		input : 'pidgin.toml.in',
		output : 'pidgin.toml',
		configuration : version_conf,
		install : true,
		install_dir : docs_dir / 'pidgin',
	)

	pidgin_doc = custom_target('pidgin-doc',
		input : [ pidgin_toml, pidgin_gir[0] ],
		output : 'pidgin',
		command : [
			gidocgen,
			'generate',
			'--quiet',
			'--fatal-warnings',
			'--config=@INPUT0@',
			'--output-dir=@OUTPUT@',
			'--no-namespace-dir',
			'--content-dir=@0@'.format(meson.current_source_dir()),
			'--add-include-path=@0@'.format(meson.global_build_root() / 'subprojects/gplugin/gplugin'),
			'--add-include-path=@0@'.format(meson.global_build_root() / 'subprojects/gplugin/gplugin-gtk4'),
			'--add-include-path=@0@'.format(meson.project_build_root() / 'libpurple'),
			'--add-include-path=@0@'.format(meson.global_build_root() / 'subprojects/talkatu/talkatu'),
			'@INPUT1@'
		],
		depends: [ libpurple_gir[0] ],
		depend_files : [ pidgin_doc_content_files ],
		build_by_default : true,
		install : true,
		install_dir : docs_dir,
	)
endif

mercurial