[libdazzle: 1/2] Make the build reproducible



commit ef14eafe9b058d3206d14ed709cc66b7ffb1bbd5
Author: Chris Lamb <chris chris-lamb co uk>
Date:   Thu Apr 19 08:34:51 2018 +0200

    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 ***/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]