[gdk-pixbuf: 1/2] Use @basename@ instead of @filename@ for reproducible builds



commit 7e4d50aab9e25ff32e09c406a6fc09d7ff137f57
Author: Chris Lamb <lamby debian org>
Date:   Sun Sep 9 07:51:23 2018 -0400

    Use @basename@ instead of @filename@ for reproducible builds
    
    Whilst working on the Reproducible Builds effort [0], we noticed [1]
    that gdk-pixbuf could not be built reproducibly as it includes the
    absolute build path.
    
    The glib-mkenums documentation recommends using @basename@ over
    @filename@ for this reason [2].
    
     [0] https://reproducible-builds.org/
     [1] https://bugs.debian.org/908309
     [2] https://developer.gnome.org/gobject/stable/glib-mkenums.html#id-1.5.2.5.4

 gdk-pixbuf/gdk-pixbuf-enum-types.c.template | 2 +-
 gdk-pixbuf/gdk-pixbuf-enum-types.h.template | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk-pixbuf/gdk-pixbuf-enum-types.c.template b/gdk-pixbuf/gdk-pixbuf-enum-types.c.template
index f79e8b7a9..a4252f336 100644
--- a/gdk-pixbuf/gdk-pixbuf-enum-types.c.template
+++ b/gdk-pixbuf/gdk-pixbuf-enum-types.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/gdk-pixbuf/gdk-pixbuf-enum-types.h.template b/gdk-pixbuf/gdk-pixbuf-enum-types.h.template
index 8dad58f2b..f4e47963b 100644
--- a/gdk-pixbuf/gdk-pixbuf-enum-types.h.template
+++ b/gdk-pixbuf/gdk-pixbuf-enum-types.h.template
@@ -15,7 +15,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]