From f0daa498c4a6011ddc4ad81f6efddeb4ecd60cbd Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Tue, 13 Aug 2019 13:59:38 -0700 Subject: Make the build reproducible Whilst working on the Reproducible Builds effort [0] we noticed that libchamplain could not be built reproducibly. This is because it used the absolute build path in the comments of the .h files generated my glib-mkenums. Patch attached. It also changes the equivalent .c file for completeness but this is not strictly required. [0] https://reproducible-builds.org/ Signed-off-by: Chris Lamb --- champlain/champlain-enum-types.c.in | 2 +- champlain/champlain-enum-types.h.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/champlain/champlain-enum-types.c.in b/champlain/champlain-enum-types.c.in index f05069c..9c5ae1b 100644 --- a/champlain/champlain-enum-types.c.in +++ b/champlain/champlain-enum-types.c.in @@ -6,7 +6,7 @@ /*** END file-header ***/ /*** BEGIN file-production ***/ -/* enumerations from "@filename@" */ +/* enumerations from "@basename@" */ /*** END file-production ***/ /*** BEGIN value-header ***/ diff --git a/champlain/champlain-enum-types.h.in b/champlain/champlain-enum-types.h.in index 276fbf3..e8cb249 100644 --- a/champlain/champlain-enum-types.h.in +++ b/champlain/champlain-enum-types.h.in @@ -9,7 +9,7 @@ G_BEGIN_DECLS /*** BEGIN file-production ***/ -/* enumerations from "@filename@" */ +/* enumerations from "@basename@" */ /*** END file-production ***/ /*** BEGIN value-header ***/ -- cgit v1.2.1