Source: vala-panel
Version: 0.4.91+dfsg1-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 vala-panel could not be built reproducibly. This is because
it used the absolute build path in the comments of the .h files
generated my glib-mkenums.

Patch attached. It also changes the equivalent .c file for
completeness but this is not strictly required

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/ui/vala-panel-enums.c.template b/ui/vala-panel-enums.c.template
index 4086d59..8f75ba1 100644
--- a/ui/vala-panel-enums.c.template
+++ b/ui/vala-panel-enums.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/ui/vala-panel-enums.h.template b/ui/vala-panel-enums.h.template
index f24c56e..10094e8 100644
--- a/ui/vala-panel-enums.h.template
+++ b/ui/vala-panel-enums.h.template
@@ -9,7 +9,7 @@ G_BEGIN_DECLS
 /*** END file-header ***/
 
 /*** BEGIN file-production ***/
-/* Enumerations from "@filename@" */
+/* Enumerations from "@basename@" */
 #include "@basename@"
 
 /*** END file-production ***/
diff --git a/util/gtk/vala-panel-util-enums.c.template 
b/util/gtk/vala-panel-util-enums.c.template
index ea7abb0..e7a674c 100644
--- a/util/gtk/vala-panel-util-enums.c.template
+++ b/util/gtk/vala-panel-util-enums.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/util/gtk/vala-panel-util-enums.h.template 
b/util/gtk/vala-panel-util-enums.h.template
index f24c56e..10094e8 100644
--- a/util/gtk/vala-panel-util-enums.h.template
+++ b/util/gtk/vala-panel-util-enums.h.template
@@ -9,7 +9,7 @@ G_BEGIN_DECLS
 /*** END file-header ***/
 
 /*** BEGIN file-production ***/
-/* Enumerations from "@filename@" */
+/* Enumerations from "@basename@" */
 #include "@basename@"
 
 /*** END file-production ***/

Reply via email to