Bug#896064: libdazzle: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Apr 19 07:25:53 BST 2018


Source: libdazzle
Version: 3.28.1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
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 ***/


More information about the pkg-gnome-maintainers mailing list