gplugin/gplugin

Disable gplugin-introspection by default
default tip
30 hours ago, Gary Kramlich
f92923c3ccbe
Disable gplugin-introspection by default

This has had issues for awhile and causes build failures which is potentially
masking other errors/warnings. Also this isn't currently used by and down
streams, so it makes sense to turn it off until it is worthwhile to figure it
out.

Testing Done:
Ran a build and verified the warnings related to gplugin-introspection were gone.

Reviewed at https://reviews.imfreedom.org/r/3261/
SOURCES = [
'introspectablecore.c',
'introspectabletype.c',
'introspectabletype.h',
]
introspectable = shared_module(
'introspectable',
SOURCES,
name_prefix : '',
dependencies : [gplugin_dep, GLIB, GOBJECT])
GIR = dependency('gobject-introspection-1.0', version : '>=1.0.0')
plugin_path = introspectable.full_path()
exe_introspectable = executable('introspectable',
sources : 'generate.c',
dependencies : [gplugin_dep, gplugin_introspection_dep, GLIB, GOBJECT, GIR],
c_args : [f'-DPLUGIN_FILENAME="@plugin_path@"'],
install : false,
win_subsystem : 'console')
gnome.generate_gir(
exe_introspectable,
sources : SOURCES,
includes : ['GObject-2.0', gplugin_gir[0]],
namespace : 'Introspectable',
symbol_prefix : 'introspectable',
nsversion : '1.0',
install : false,
export_packages : ['introspectable'],
extra_args : ['--quiet'])