[grads] 01/01: Prep. 2.0.2-4 for libdap transition

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Aug 28 10:47:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to tag debian/2.0.2-4
in repository grads.

commit 9ea4e7174cad7e6f337d1a5c85e7ed2210eea063
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Mon Jul 6 14:51:43 2015 +0100

    Prep. 2.0.2-4 for libdap transition
---
 debian/changelog                         | 10 ++++++
 debian/control                           |  9 +++--
 debian/patches/reproducible-builds.patch | 61 ++++++++++++++++++++++++++++++++
 debian/patches/series                    |  1 +
 4 files changed, 79 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9ebd66e..e117f83 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+grads (2:2.0.2-4) unstable; urgency=medium
+
+  * Build against libdap 3.14.0 for transition.
+  * Remove build_date from config scripts to make build bit-reproducible.
+  * Move to Standards-Version: 3.9.6
+  * Add Vcs-Git pointing to git repo in debian-science. 
+  * Require libsx-dev >> 2.05-7
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Mon, 06 Jul 2015 11:28:06 +0100
+
 grads (2:2.0.2-3) unstable; urgency=low
 
   [ Gilles Filippini ]
diff --git a/debian/control b/debian/control
index df6927c..4587ae4 100644
--- a/debian/control
+++ b/debian/control
@@ -2,10 +2,15 @@ Source: grads
 Section: science
 Priority: extra
 Maintainer: Alastair McKinstry <mckinstry at debian.org>
-Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~),  pkg-config, libreadline-dev, libgeotiff-dev, libgrib2c-dev, libnetcdf-dev, libjasper-dev, zlib1g-dev, libudunits2-dev,  libhdf5-serial-dev | libhdf5-dev, libdap-dev, libsx-dev, automake, autoconf, libx11-dev, libxmu-headers, libgd2-xpm-dev, libshp-dev, libdap-dev, netcdf-bin, libhdf4-alt-dev, dh-autoreconf, libgadap-dev
+Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~),  pkg-config, libreadline-dev, libgeotiff-dev, libgrib2c-dev, libnetcdf-dev, 
+ libjasper-dev, zlib1g-dev, libudunits2-dev,  libhdf5-serial-dev | libhdf5-dev, libdap-dev, 
+ libsx-dev (>> 2.05-7), 
+ automake, autoconf, libx11-dev, libxmu-headers, libgd2-xpm-dev, libshp-dev, libdap-dev, netcdf-bin, libhdf4-alt-dev, 
+ dh-autoreconf, libgadap-dev
 Build-Conflicts: autoconf2.13
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
 Homepage: http://www.iges.org/grads/
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/grads.git
 
 Package: grads
 Architecture: any
diff --git a/debian/patches/reproducible-builds.patch b/debian/patches/reproducible-builds.patch
new file mode 100644
index 0000000..01e0e35
--- /dev/null
+++ b/debian/patches/reproducible-builds.patch
@@ -0,0 +1,61 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Remove build_date so that build is bit-reproducible.
+Last-Updated: 2015-07-06
+Forwarded: no
+
+Index: grads-2.0.2/configure
+===================================================================
+--- grads-2.0.2.orig/configure
++++ grads-2.0.2/configure
+@@ -21779,13 +21779,11 @@ fi
+ 
+ 
+ 
+-build_date=`date +%D`
+ build_host=`uname -sr`
+-build_info="Built `date` for ${host}"
+ 
+    echo \
+ "  +=========================================================================+"
+-   echo "   GrADS "2.0.2 ":" $build_info
++   echo "   GrADS "2.0.2 ":" $build_host
+    echo \
+ "  +=========================================================================+"
+    echo
+@@ -21873,7 +21871,7 @@ echo 2.0.2 > src/VERSION
+ 
+ echo "configure: creating src/buildinfo.h"
+ mkdir -p src
+-echo "static char *buildinfo = \"${build_info}\";" > src/buildinfo.h
++echo "static char *buildinfo = \"${build_host}\";" > src/buildinfo.h
+ 
+                     ac_config_files="$ac_config_files Makefile src/Makefile"
+ 
+Index: grads-2.0.2/configure.ac
+===================================================================
+--- grads-2.0.2.orig/configure.ac
++++ grads-2.0.2/configure.ac
+@@ -897,13 +897,11 @@ dnl ------------------------------------
+ dnl Print summary and write output files
+ dnl ----------------------------------------------------
+ 
+-build_date=`date +%D`
+ build_host=`uname -sr`
+-build_info="Built `date` for ${host}"
+ 
+    echo \
+ "  +=========================================================================+"
+-   echo "   GrADS "AC_PACKAGE_VERSION ":" $build_info
++   echo "   GrADS "AC_PACKAGE_VERSION ":" $build_host
+    echo \
+ "  +=========================================================================+"
+    echo     
+@@ -991,7 +989,7 @@ echo AC_PACKAGE_VERSION > src/VERSION
+ 
+ echo "configure: creating src/buildinfo.h"
+ mkdir -p src
+-echo "static char *buildinfo = \"${build_info}\";" > src/buildinfo.h
++echo "static char *buildinfo = \"${build_host}\";" > src/buildinfo.h
+ 
+ LINK_AS_NEEDED
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 54c5608..d0c766b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ asneeded.patch
 libsz_notpresent.patch
 timeunits_parse.patch
 format-security.patch
+reproducible-builds.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/grads.git



More information about the debian-science-commits mailing list