Source: snapd-glib
Version: 1.54-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
snapd-glib could not be built reproducibly. This is because it
embedded the full build path in comments.

Patch attached that uses the basename instead.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible-build.diff    1969-12-31 16:00:00.000000000 
-0800
--- b/debian/patches/reproducible-build.diff    2020-02-27 09:47:57.281749065 
-0800
@@ -0,0 +1,26 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2020-02-27
+
+--- snapd-glib-1.54.orig/snapd-glib/snapd-enum-types.c.in
++++ snapd-glib-1.54/snapd-glib/snapd-enum-types.c.in
+@@ -13,7 +13,7 @@
+ 
+ /*** BEGIN file-production ***/
+ 
+-/* enumerations from "@filename@" */
++/* enumerations from "@basename@" */
+ #include "@filename@"
+ 
+ /*** END file-production ***/
+--- snapd-glib-1.54.orig/snapd-glib/snapd-enum-types.h.in
++++ snapd-glib-1.54/snapd-glib/snapd-enum-types.h.in
+@@ -22,7 +22,7 @@ G_BEGIN_DECLS
+ /*** END file-header ***/
+ 
+ /*** BEGIN file-production ***/
+-/* enumerations from "@filename@" */
++/* enumerations from "@basename@" */
+ /*** END file-production ***/
+ 
+ /*** BEGIN file-tail ***/
--- a/debian/patches/series     1969-12-31 16:00:00.000000000 -0800
--- b/debian/patches/series     2020-02-27 09:47:56.309741403 -0800
@@ -0,0 +1 @@
+reproducible-build.diff

Reply via email to