From f257d2f891d98e23d63fd56dedf02b57c4ef081b Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Wed, 20 Nov 2019 09:03:47 -0600 Subject: [PATCH] Fix build reproducibility ba744068 ("Make meson.override_find_program working on more complex use cases") made the build no longer reproducible by encoding a build system path into the output. This shouldn't be necessary anyway, since it should be possible to add new paths to search for gir files by setting the XDG_DATA_DIR environment variable. Closes #318 Signed-off-by: Joshua Watt --- girparser.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/girparser.c b/girparser.c index fb47e75c2..53450baf5 100644 --- a/girparser.c +++ b/girparser.c @@ -309,10 +309,6 @@ locate_gir (GIrParser *parser, if (g_file_test (path, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR)) return path; g_free (path); - path = g_build_filename (UNINSTALLED_GIR_DIR, girname, NULL); - if (g_file_test (path, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR)) - return path; - g_free (path); return NULL; }