Source: libhinawa Version: 1.0.0-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@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 `. `'` la...@debian.org / chris-lamb.co.uk `-
--- 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 <la...@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