[libchamplain: 1/2] Make the build reproducible



commit f0daa498c4a6011ddc4ad81f6efddeb4ecd60cbd
Author: Chris Lamb <chris chris-lamb co uk>
Date:   Tue Aug 13 13:59:38 2019 -0700

    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 <chris chris-lamb co uk>

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


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