File: 0001-Remove-timestamps-and-dates-from-documentation.patch

package info (click to toggle)
boost1.88 1.88.0-1.4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 577,108 kB
  • sloc: cpp: 4,149,243; xml: 136,789; ansic: 35,092; python: 33,910; asm: 5,698; sh: 4,604; ada: 1,681; makefile: 1,632; pascal: 1,139; perl: 1,124; sql: 640; yacc: 478; ruby: 271; java: 77; lisp: 24; csh: 6
file content (53 lines) | stat: -rw-r--r-- 2,442 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
From 7c9c189ea32470cd683939c11fabf78f0b2f3f17 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sat, 22 Apr 2023 19:53:22 -0700
Subject: [PATCH] Remove timestamps and dates from documentation.

https://reproducible-builds.org/docs/timestamps/
---
 libs/circular_buffer/doc/circular_buffer.qbk |  2 --
 libs/units/doc/units.qbk                     |  1 -
 tools/boostbook/xsl/html-base.xsl            | 22 --------------------
 tools/quickbook/doc/block.qbk                |  4 ++--
 4 files changed, 2 insertions(+), 27 deletions(-)

Index: boost1.88~beta1/libs/circular_buffer/doc/circular_buffer.qbk
===================================================================
--- boost1.88~beta1.orig/libs/circular_buffer/doc/circular_buffer.qbk
+++ boost1.88~beta1/libs/circular_buffer/doc/circular_buffer.qbk
@@ -596,8 +596,6 @@ Paul A. Bristow refactored the documenta
 
 [section:version_id Documentation Version Info]
 
-Last edit to Quickbook file __FILENAME__ was at __TIME__ on __DATE__.
-
 [tip This should appear on the pdf version
 (but may be redundant on a html version where the last edit date is on the first (home) page).]
 
Index: boost1.88~beta1/libs/units/doc/units.qbk
===================================================================
--- boost1.88~beta1.orig/libs/units/doc/units.qbk
+++ boost1.88~beta1/libs/units/doc/units.qbk
@@ -1309,7 +1309,6 @@ the design and implementation of this li
 
 __boostroot
 
-Last edit to Quickbook file __FILENAME__ was at __TIME__ on __DATE__.
 
 [tip This should appear on the pdf version (but may be redundant on html).]
 [/ Useful on pdf version. See also Last revised timestamp on first page of html version.]
Index: boost1.88~beta1/tools/quickbook/doc/block.qbk
===================================================================
--- boost1.88~beta1.orig/tools/quickbook/doc/block.qbk
+++ boost1.88~beta1/tools/quickbook/doc/block.qbk
@@ -602,8 +602,8 @@ Quickbook has some predefined macros tha
 
 [table Predefined Macros
     [[Macro]           [Meaning]                       [Example]]
-    [[[^\__DATE__]]    [Today's date]                  [__DATE__]]
-    [[[^\__TIME__]]    [The current time]              [__TIME__]]
+    [[[^\__DATE__]]    [Today's date]                  [2022-04-20]]
+    [[[^\__TIME__]]    [The current time]              [01:42:48 PM]]
     [[[^\__FILENAME__]][Quickbook source filename]     [__FILENAME__]]
 ]