[gucharmap] Make the build reproducible
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gucharmap] Make the build reproducible
- Date: Fri, 4 Sep 2020 18:41:30 +0000 (UTC)
commit 619bd8d1372d4398698133de4b2043606a188f8a
Author: Chris Lamb <lamby debian org>
Date: Mon Mar 30 10:24:12 2020 +0100
Make the build reproducible
The Reproducible Builds effort [0] noticed that gucharmap could not be
built reproducibly.
This is because it includes the absolute build path in the generated
gucharmap-type-builtins.h file:
- /* enumerations from
"/build/1st/gucharmap-13.0.1/obj-x86_64-linux-gnu/../gucharmap/gucharmap-charmap.h" */
+ /* enumerations from
"/build/2/gucharmap-13.0.1/2nd/obj-x86_64-linux-gnu/../gucharmap/gucharmap-charmap.h" */
This commit also makes the parallel change to the .c file; although this
does not make a difference to the build, it feels like the right thing
to do.
[0] https://reproducible-builds.org/
Resolves: https://gitlab.gnome.org/GNOME/gucharmap/-/issues/38
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955341
gucharmap/gucharmap-type-builtins.c.template | 2 +-
gucharmap/gucharmap-type-builtins.h.template | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gucharmap/gucharmap-type-builtins.c.template b/gucharmap/gucharmap-type-builtins.c.template
index 9aafe856..fb78d123 100644
--- a/gucharmap/gucharmap-type-builtins.c.template
+++ b/gucharmap/gucharmap-type-builtins.c.template
@@ -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/gucharmap/gucharmap-type-builtins.h.template b/gucharmap/gucharmap-type-builtins.h.template
index 6774aa7d..fe11900b 100644
--- a/gucharmap/gucharmap-type-builtins.h.template
+++ b/gucharmap/gucharmap-type-builtins.h.template
@@ -14,7 +14,7 @@ G_BEGIN_DECLS
/*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
/*** END file-production ***/
/*** BEGIN value-header ***/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]