node-editor: Save test data relative to current working directory
authorSimon McVittie <smcv@debian.org>
Tue, 6 Dec 2022 11:13:59 +0000 (11:13 +0000)
committerSimon McVittie <smcv@debian.org>
Tue, 3 Jan 2023 12:45:21 +0000 (12:45 +0000)
commit770a70fd3e134ac62e8e3a497c6f3d0c80d4e200
tree857f980c5663d8fa5c781044350363495e7479ab
parentfc7497fd57abee4a671417297d1992cb872b4af9
node-editor: Save test data relative to current working directory

This avoids hard-coding the GTK source directory into the binary, which
would make the binary non-reproducible across different source paths,
particularly in a distro build environment where the source directory
used by autobuilders will often not exist on end-user systems. The node
editor can still be used to create new test-cases by running it with the
GTK source directory as its current working directory.

Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5403
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5297
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name node-editor-Save-test-data-relative-to-current-working-di.patch
demos/node-editor/meson.build