[tkhtml3] 01/01: Remove build date from manpages for reproducibility
Ole Streicher
olebole at moszumanska.debian.org
Wed Feb 18 12:47:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch debian
in repository tkhtml3.
commit 875f16e221e91c5568de664712fec3f6fd5cb17d
Author: Ole Streicher <debian at liska.ath.cx>
Date: Wed Feb 18 13:47:11 2015 +0100
Remove build date from manpages for reproducibility
---
debian/changelog | 1 +
debian/patches/install_manpages.patch | 17 ++++++++---------
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 56826e7..85598c0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ tk-html3 (3.0~fossil20110109-5) UNRELEASED; urgency=low
* Update maintainers e-mail address
* Update standards version to 3.9.6. No changes needed.
+ * Remove build date from manpages for reproducibility
-- Ole Streicher <olebole at debian.org> Thu, 25 Sep 2014 12:21:33 +0200
diff --git a/debian/patches/install_manpages.patch b/debian/patches/install_manpages.patch
index 6c724c0..5d05ebe 100644
--- a/debian/patches/install_manpages.patch
+++ b/debian/patches/install_manpages.patch
@@ -3,7 +3,7 @@ Description: Install the manpages in the proper section. Fix trivial manpage
spelling.
--- a/Makefile.in
+++ b/Makefile.in
-@@ -208,7 +208,9 @@ libraries: $(HV3_LIB)
+@@ -208,7 +208,9 @@
#========================================================================
doc:
@@ -14,7 +14,7 @@ Description: Install the manpages in the proper section. Fix trivial manpage
install: all install-binaries install-libraries install-doc
-@@ -235,12 +235,12 @@ install-libraries: libraries
+@@ -235,12 +237,12 @@
#========================================================================
install-doc: doc
@@ -33,21 +33,22 @@ Description: Install the manpages in the proper section. Fix trivial manpage
test: binaries libraries
--- a/doc/macros.tcl
+++ b/doc/macros.tcl
-@@ -71,6 +71,8 @@ proc process_text {input {nocommands 0}} {
+@@ -71,6 +71,8 @@
regsub -all {_([^ \n]*)_} $output {\1}
]
-+ set output [string map { " -" " \\-" "\t-" "\t\\-"
++ set output [string map { " -" " \\-" "\t-" "\t\\-"
+ "\t." "\t ." "'" "\""} $output ]
set output [string trim [strip_leading_tabs $output]]
set output [regsub -all {[\n]*REMOVELINEBREAK\n} $output \n]
-@@ -79,7 +81,7 @@ proc process_text {input {nocommands 0}} {
+@@ -78,8 +80,7 @@
+ }
proc TH {name section} {
- set date [clock format [clock seconds]]
+- set date [clock format [clock seconds]]
- return "\n.TH \"$name\" \"$section\" \"$date\"\n"
-+ return "\n.TH \"$name\" \"3tcl\" \"$date\"\n"
++ return "\n.TH \"$name\" \"3tcl\" \"Sat Feb 25 2006\"\n"
}
proc Section {args} {
@@ -80,8 +81,6 @@ Description: Install the manpages in the proper section. Fix trivial manpage
character. Each block of whitespace is collapsed to a
single space, except within blocks with the CSS 'white-space'
property set to "pre".
-diff --git a/doc/hv3.man b/doc/hv3.man
-index fdc7513..3a5ac48 100644
--- a/doc/hv3.man
+++ b/doc/hv3.man
@@ -58,7 +58,7 @@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/tkhtml3.git
More information about the debian-science-commits
mailing list