summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HACKING16
1 files changed, 16 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index b5c9c81c..282f3c25 100644
--- a/HACKING
+++ b/HACKING
@@ -1,6 +1,22 @@
Notes to developers hacking on GObjectIntrospection
===================================================
+updating GLib bindings
+----------------------
+
+Some bindings are not generated by the libraries themselves, usually
+for dependency reasons, but are updated through some ad hoc utilities.
+
+Updating GLib, Gio, GModule, GObject bindings:
+```sh
+$ git clone https://gitlab.gnome.org/GNOME/glib.git
+$ meson _build
+$ ninja -C _build
+$ ./misc/update-glib-annotations.py glib/
+```
+
+In short, build gobject-introspection in the `_build` directory, and
+run the script on a `glib` checkout.
debugging
---------