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)
committerPeter Michael Green <plugwash@debian.org>
Thu, 19 Jan 2023 23:30:32 +0000 (23:30 +0000)
commit2b9e063bf00586fe3da57759bf57a3d011423f60
treeea90ba374aaeebc09380f63fad4f1b6959a149d4
parent589fcbb3eaffc54d2e6381448c1a98e5eb20748c
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