[Bad implementation] Built from source library ignores all typelib files in /usr/lib/i386-linux-gnu/girepository-1.0
Use case: I just built the lib from source, which means the default folder for typelib files is /usr/local/lib/girepository-1.0
.. but all installed typelib files are in /usr/lib/i386-linux-gnu/girepository-1.0
(in my case).
I had to add the following code in the init_globals fn.
typelib_search_path = g_slist_prepend (typelib_search_path, "/usr/lib/i386-linux-gnu/girepository-1.0");
It'd be nice to have both macros GOBJECT_INTROSPECTION_LIBDIR
and GOBJECT_INTROSPECTION_LIBDIR_LOCAL
in the meson configuration so the user can configure the paths and both repositories are considered. The default value would be GOBJECT_INTROSPECTION_LIBDIR
=/usr/lib/i386-linux-gnu (current state) and the GOBJECT_INTROSPECTION_LIBDIR_LOCAL
would be /usr/lib/local
in this case..