Bug#907793: libgit2-glib: please make the build reproducible
Chris Lamb
lamby at debian.org
Sun Sep 2 09:31:47 BST 2018
Source: libgit2-glib
Version: 0.26.4-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 libgit2-glib could not be built reproducibly.
This is due to using @filename@ in the .h template (and
corresponding .c file, but that is not installed as-is in the final
package) and this includes the full, absolute build path.
Patch attached that uses @basename@ instead.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
diff --git a/libgit2-glib/ggit-enum-types.c.template b/libgit2-glib/ggit-enum-types.c.template
index 2c5f15b..acc5f75 100644
--- a/libgit2-glib/ggit-enum-types.c.template
+++ b/libgit2-glib/ggit-enum-types.c.template
@@ -4,7 +4,7 @@
/*** END file-header ***/
/*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
#include "@filename@"
/*** END file-production ***/
diff --git a/libgit2-glib/ggit-enum-types.h.template b/libgit2-glib/ggit-enum-types.h.template
index 7d7c564..f40326d 100644
--- a/libgit2-glib/ggit-enum-types.h.template
+++ b/libgit2-glib/ggit-enum-types.h.template
@@ -9,7 +9,7 @@ G_BEGIN_DECLS
/*** END file-header ***/
/*** BEGIN file-production ***/
-/* Enumerations from "@filename@" */
+/* Enumerations from "@basename@" */
/*** END file-production ***/
More information about the pkg-gnome-maintainers
mailing list