Bug#908219: libhinawa: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Sep 7 14:38:53 BST 2018


Source: libhinawa
Version: 1.0.0-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 libhinawa could not be built reproducibly.

This is because it uses the absolute @filename@ template variable to
generate a comment in a header files. Patch attached that uses
@basename@ instead.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/01-reproducible-build.patch	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/01-reproducible-build.patch	2018-09-07 14:28:06.424844056 +0100
@@ -0,0 +1,26 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2018-09-07
+
+--- libhinawa-1.0.0.orig/src/hinawa_enums.c.template
++++ libhinawa-1.0.0/src/hinawa_enums.c.template
+@@ -4,7 +4,7 @@
+ 
+ /*** BEGIN file-production ***/
+ 
+-/* enumerations from "@filename@" */
++/* enumerations from "@basename@" */
+ /*** END file-production ***/
+ 
+ /*** BEGIN value-header ***/
+--- libhinawa-1.0.0.orig/src/hinawa_enums.h.template
++++ libhinawa-1.0.0/src/hinawa_enums.h.template
+@@ -9,7 +9,7 @@ G_BEGIN_DECLS
+ 
+ /*** BEGIN file-production ***/
+ 
+-/* enumerations from "@filename@" */
++/* enumerations from "@basename@" */
+ /*** END file-production ***/
+ 
+ /*** BEGIN value-header ***/
--- a/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series	2018-09-07 14:28:05.332837328 +0100
@@ -0,0 +1 @@
+01-reproducible-build.patch


More information about the Reproducible-bugs mailing list