[fftw3] 02/04: debian/patches/reproducible_build.patch: include patch from Reiner Herrmann to improve reproducibility

Paul Brossier piem at moszumanska.debian.org
Mon Aug 21 15:10:41 UTC 2017


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

piem pushed a commit to branch master
in repository fftw3.

commit 6a3034b2c5dd14deedbc5e4766b59701f8b7ac32
Author: Paul Brossier <piem at piem.org>
Date:   Mon Aug 21 16:40:58 2017 +0200

    debian/patches/reproducible_build.patch: include patch from Reiner Herrmann to improve reproducibility
---
 debian/patches/reproducible_build.patch | 52 +++++++++++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 53 insertions(+)

diff --git a/debian/patches/reproducible_build.patch b/debian/patches/reproducible_build.patch
new file mode 100644
index 0000000..702ca3d
--- /dev/null
+++ b/debian/patches/reproducible_build.patch
@@ -0,0 +1,52 @@
+Author: Reiner Herrmann <reiner at reiner-h.de>
+Description: Remove dates from documentation to get reproducible documentation
+
+Index: fftw3-3.3.4/doc/FAQ/fftw-faq.bfnn
+===================================================================
+--- fftw3-3.3.4.orig/doc/FAQ/fftw-faq.bfnn
++++ fftw3-3.3.4/doc/FAQ/fftw-faq.bfnn
+@@ -12,7 +12,7 @@
+ \call-html startup html.refs2
+ \copyto ASCII
+             FFTW FREQUENTLY ASKED QUESTIONS WITH ANSWERS
+-                            `date '+%d %h %Y'`
++
+ 			     Matteo Frigo
+ 			   Steven G. Johnson
+  			    <fftw at fftw.org>
+@@ -28,7 +28,7 @@ END-INFO-DIR-ENTRY
+ File: $prefix.info, Node: Top, Next: Question 1.1, Up: (dir)
+ 
+             FFTW FREQUENTLY ASKED QUESTIONS WITH ANSWERS
+-                            `date '+%d %h %Y'`
++
+ 			     Matteo Frigo
+ 			   Steven G. Johnson
+ 			    <fftw at fftw.org>
+Index: fftw3-3.3.4/doc/FAQ/m-html.pl
+===================================================================
+--- fftw3-3.3.4.orig/doc/FAQ/m-html.pl
++++ fftw3-3.3.4/doc/FAQ/m-html.pl
+@@ -33,8 +33,6 @@ sub html_init {
+     print HTML "<html>\n";
+     $html_needpara= -1;
+     $html_end='';
+-    chop($html_date=`date '+%d %B %Y'`);
+-    chop($html_year=`date '+%Y'`);
+ }
+ 
+ sub html_startup {
+@@ -70,11 +68,10 @@ END
+ }
+ 
+ sub html_close {
+-    print HTML $html_end,"<address>\n$user_author\n";
+-    print HTML "- $html_date\n</address><br>\n";
++    print HTML $html_end,"<address>\n$user_author\n</address><br>\n";
+     print HTML "Extracted from $user_title,\n";
+     print HTML "<A href=\"$html_copyrighthref\">" if length($html_copyrighthref);
+-    print HTML "Copyright © $html_year $user_copyholder.";
++    print HTML "Copyright © 2015 $user_copyholder.";
+     print HTML "</A>" if length($html_copyrighthref);
+     print HTML "\n</body></html>\n";
+     close(HTML);
diff --git a/debian/patches/series b/debian/patches/series
index 81a516c..0aadf6c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix-runtime-neon-detection.patch
+reproducible_build.patch

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



More information about the debian-science-commits mailing list