[gexiv2] Avoid non-reproducible absolute build path in .h.



commit 6ae2aa0a6266952d74aba6eba0424826497c6761
Author: Chris Lamb <chris chris-lamb co uk>
Date:   Fri Mar 2 09:13:03 2018 +0000

    Avoid non-reproducible absolute build path in .h.
    
    Whilst working on the Reproducible Builds effort [0], we noticed
    that gexiv2 could not be built reproducibly.
    
    This is because the generated enums files contain the absolute build path.
    The basename is sufficient in context.
    
    This was originally filed in Debian as:
    
      https://bugs.debian.org/891897
    
    https://bugzilla.gnome.org/show_bug.cgi?id=793984

 gexiv2/gexiv2-enums.cpp.template |    2 +-
 gexiv2/gexiv2-enums.h.template   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gexiv2/gexiv2-enums.cpp.template b/gexiv2/gexiv2-enums.cpp.template
index f0890f9..0caca7a 100644
--- a/gexiv2/gexiv2-enums.cpp.template
+++ b/gexiv2/gexiv2-enums.cpp.template
@@ -3,7 +3,7 @@
 
 /*** END file-header ***/
 /*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
 #include "@filename@"
 /*** END file-production ***/
 /*** BEGIN value-header ***/
diff --git a/gexiv2/gexiv2-enums.h.template b/gexiv2/gexiv2-enums.h.template
index 879ec01..0c0303c 100644
--- a/gexiv2/gexiv2-enums.h.template
+++ b/gexiv2/gexiv2-enums.h.template
@@ -9,7 +9,7 @@ G_BEGIN_DECLS
 /*** END file-header ***/
 
 /*** BEGIN file-production ***/
-/* enumerations from @filename@ */
+/* enumerations from @basename@ */
 
 /*** END file-production ***/
 


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