GNOME Bugzilla – Bug 787414
meson: Rework gir/typelib generation and dependencies
Last modified: 2017-09-11 17:39:09 UTC
GIR generation fails for me without these changes, and the dependency changes are needed for using pango as a subproject inside gtk+ FAILED: subprojects/pango/pango/PangoXft-1.0.gir /usr/bin/g-ir-scanner [...] --include-uninstalled=pango/Pango-1.0.gir --include-uninstalled=pango/PangoFT2-1.0.gir [...] Traceback (most recent call last):
+ Trace 237937
sys.exit(scanner_main(sys.argv))
transformer = create_transformer(namespace, options)
transformer.register_include_uninstalled(include_path)
self._parse_include(include_path, uninstalled=True)
parser = self._cachestore.load(filename)
if not self._cache_is_valid(store_filename, filename):
os.stat(filename).st_mtime)
Created attachment 359371 [details] [review] meson: Rework gir/typelib generation and dependencies Don't use --include-uninstalled, it's not needed with Meson because we take care of inter-gir target dependencies. Add girs and typelibs to the relevant libpango*_dep declared dependencies so that they can be used via subprojects.
Review of attachment 359371 [details] [review]: Looks like a nice cleanup indeed.
Thanks, pushed! Attachment 359371 [details] pushed as 711af0c - meson: Rework gir/typelib generation and dependencies