[metview] 80/97: Add reproducilibitly.patch
Alastair McKinstry
mckinstry at moszumanska.debian.org
Tue Sep 1 09:18:56 UTC 2015
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch master
in repository metview.
commit 4ada128690fa54f1d70c033c951404d9be0e0023
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Thu Jul 23 07:08:28 2015 +0100
Add reproducilibitly.patch
---
debian/patches/reproducibility.patch | 31 +++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 32 insertions(+)
diff --git a/debian/patches/reproducibility.patch b/debian/patches/reproducibility.patch
new file mode 100644
index 0000000..29be4c1
--- /dev/null
+++ b/debian/patches/reproducibility.patch
@@ -0,0 +1,31 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Do not put build paths, timestamps in Debian packages
+ It breaks bit-reproducibility,
+ Also set METVIEW_BIN
+Last-Updated: 2015-07-22
+Forwarded: not-needed
+
+Index: metview-4.5.6/scripts/CONFIG.site.in
+===================================================================
+--- metview-4.5.6.orig/scripts/CONFIG.site.in
++++ metview-4.5.6/scripts/CONFIG.site.in
+@@ -4,16 +4,16 @@
+ #
+ set -ea
+ #
+-# THIS FILE IS GENERATED BY configure on @TODAYS_DATE@
++# THIS FILE IS GENERATED BY configure
+ #
+ WMO_SITE_NR=@SITE_WMO_CODE@
+-##QT_DIR_LIB=/usr/local/apps/qt/4.6.2-64/lib
+ PATH=@NETCDF_BIN@:@ODB_API_BIN_DIR@:${PATH}
+ INSTALLDIR=@CMAKE_INSTALL_PREFIX@
+ METVIEW_SCRIPT=@METVIEW_SCRIPT@
+ MV_MARS_ACCESS=@MARS_ACCESS@
++METVIEW_BIN=/usr/lib/metview_bin
+ MARS_HOME=@MARS_HOME@
+-METVIEW_DIR_DEV=@metview_BINARY_DIR@
++METVIEW_DIR_DEV=UNDEFINED
+ METVIEW_TITLE_PROD="Production @EXTRA_TITLE@"
+ METVIEW_TITLE_DEV="Development @EXTRA_TITLE@"
+ MV_ENVIRON=@MV_ENVIRON@
diff --git a/debian/patches/series b/debian/patches/series
index 75dcc5f..d1ec29b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,5 @@
fix-paths.patch
fix-scripts.patch
cmake-fixes.patch
+reproducibility.patch
mv_compress.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/metview.git
More information about the debian-science-commits
mailing list