Source: metview
Version: 4.5.7-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that metview could not be built reproducibly.
Timestamps are embedded into the metview script.

The attached patch amends the existing reproducibility patch to remove
those timestamps too.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch
index b13abca..9ee0585 100644
--- a/debian/patches/reproducible-build.patch
+++ b/debian/patches/reproducible-build.patch
@@ -10,3 +10,25 @@ Index: metview-4.5.7/share/metview/app-defaults/MvVersionDetails.in
 @@ -1 +1 @@
 -1 Metview @metview_MAJOR_VERSION_STR@ @metview_MINOR_VERSION_STR@ @metview_REVISION_VERSION_STR@ @THIS_YEAR@ 1990-@THIS_YEAR@ @THIS_VERBOSE_DATE@
 +1 Metview @metview_MAJOR_VERSION_STR@ @metview_MINOR_VERSION_STR@ @metview_REVISION_VERSION_STR@ 2015 1990-2015 21-October-2015
+Index: metview-4.5.7/scripts/metview_base.in
+===================================================================
+--- metview-4.5.7.orig/scripts/metview_base.in
++++ metview-4.5.7/scripts/metview_base.in
+@@ -14,7 +14,7 @@
+ #
+ set -ea
+ #
+-# THIS FILE IS GENERATED BY cmake on @TODAYS_DATE@
++# THIS FILE IS GENERATED BY cmake
+ #
+ WMO_SITE_NR=@SITE_WMO_CODE@
+ ##QT_DIR_LIB=/usr/local/apps/qt/4.6.2-64/lib
+@@ -40,7 +40,7 @@ MV_ODB1_VERSION=@MV_ODB1_VERSION@
+ ##MV_ODB1_BIN=/usr/local/apps/odb/CY37R3.001/pgf90/LP64/bin
+ ##MV_ODB1_USE_SCRIPT=/usr/local/share/ecmwf/use/sh.odb
+ METVIEW_RELEASE=@METVIEW_VERSION_STR@
+-METVIEW_VERSION_TITLE="Metview @METVIEW_VERSION_STR@ @EXTRA_TITLE@ (@TODAYS_DATE@)"
++METVIEW_VERSION_TITLE="Metview @METVIEW_VERSION_STR@ @EXTRA_TITLE@"
+ LD_LIBRARY_PATH="@METVIEW_LD_PATHS@:${LD_LIBRARY_PATH}"
+ METVIEW_GUI_BUILT=@METVIEW_GUI_BUILT@
+ @MV_FLEXTRA_PATH_SET@
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to