girepository: Update gi-compile-repository and use it to compile GIRs

Adapt gi-compile-repository sources to compile against the updated
libgirepository that is included with GLib.

This also renames "g-ir-compiler" to "gi-compile-repository" to avoid
overwriting the existing binary and to simplify the binary name going
forward.
This commit is contained in:
Evan Welsh
2024-01-15 23:21:02 -08:00
committed by Philip Withnall
parent b862fe077a
commit 5d997cad03
5 changed files with 61 additions and 30 deletions

View File

@@ -255,7 +255,7 @@ gi_field_info_get_field (GIFieldInfo *field_info,
break;
case GI_TYPE_TAG_ARRAY:
/* We don't check the array type and that it is fixed-size,
we trust g-ir-compiler to do the right thing */
we trust gi-compile-repository to do the right thing */
value->v_pointer = G_STRUCT_MEMBER_P (mem, offset);
result = TRUE;
break;