From ef14eafe9b058d3206d14ed709cc66b7ffb1bbd5 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Thu, 19 Apr 2018 08:34:51 +0200 Subject: [PATCH] Make the build reproducible Whilst working on the Reproducible Builds effort [0], we noticed that libdazzle could not be built reproducibly as it includes the absolute build path. The glib-mkenums documentation recommends using @basename@ over @filename@ for this reason [1]. Patch attached. [0] https://reproducible-builds.org/ [1] https://developer.gnome.org/gobject/stable/glib-mkenums.html#id-1.5.2.5.4 --- src/dzl-enums.c.in | 2 +- src/dzl-enums.h.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dzl-enums.c.in b/src/dzl-enums.c.in index ce68f26..d132b52 100644 --- a/src/dzl-enums.c.in +++ b/src/dzl-enums.c.in @@ -10,7 +10,7 @@ /*** END file-header ***/ /*** BEGIN file-production ***/ -/* enumerations from "@filename@" */ +/* enumerations from "@basename@" */ /*** END file-production ***/ /*** BEGIN value-header ***/ diff --git a/src/dzl-enums.h.in b/src/dzl-enums.h.in index 815d002..a63097d 100644 --- a/src/dzl-enums.h.in +++ b/src/dzl-enums.h.in @@ -11,7 +11,7 @@ G_BEGIN_DECLS /*** BEGIN file-production ***/ -/* enumerations from "@filename@" */ +/* enumerations from "@basename@" */ /*** END file-production ***/ /*** BEGIN value-header ***/ -- GitLab