From 3c1304def5d09ec689024feaef1a7f40340aa21d Mon Sep 17 00:00:00 2001 From: Vivia Nikolaidou Date: Sun, 3 May 2020 19:17:41 +0300 Subject: [PATCH] Add DEVELOPMENT.md To explain how the development process works (how to update the bindings) --- DEVELOPMENT.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 DEVELOPMENT.md diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md new file mode 100644 index 000000000..57a4f4c05 --- /dev/null +++ b/DEVELOPMENT.md @@ -0,0 +1,11 @@ +# How to update the bindings + + * Make sure gstreamer-rs-sys is up to date + * Take the updated .gir files from gstreamer-rs-sys and copy them over + * If there is a new GStreamer version: Manually update `gst*/Cargo.toml` + * Run generator.py + * Investigate the diff, fix any mess-ups, look at commented functions and + implement them manually + * `cargo build` + * `for f in (ls |grep gstreamer); cd $f; cargo build --features v1_18; cd ..; end` + (or with the new version you just added)