summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2020-02-20 12:35:18 +0100
committerBastien Nocera <hadess@hadess.net>2020-02-20 12:37:14 +0100
commit65c4b00f9bae38a095c68870137a39ea27006944 (patch)
tree016edd9284a6cf81c8ecdcf56a847837f95bc8e0
parent80799e2453f4f6213892f191a785f298be1ee715 (diff)
downloadgobject-introspection-65c4b00f9bae38a095c68870137a39ea27006944.tar.gz
HACKING: Document how to update glib GIR
Closes: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/320
-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
---------