Package: ppl / 1:1.2-8.1

reproducible_builds_gzip_n Patch series | download
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
54
55
56
57
58
59
60
Description: Using gzip with -n for reproducible builds
Author: Michael Tautschnig <mt@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- ppl-1.1.orig/doc/Makefile.am
+++ ppl-1.1/doc/Makefile.am
@@ -1652,27 +1652,27 @@ endif BUILD_JAVA_INTERFACE
 
 $(USER_CORE_HTML_MANUAL): user.doxyconf-html $(USER_CORE_STUFF)
 	$(MAKE) $(AM_MAKEFLAGS) $(USER_CORE_HTML_DIR)
-	tar c $(USER_CORE_HTML_DIR) | gzip --best --force > $@
+	tar c $(USER_CORE_HTML_DIR) | gzip -n--best --force > $@
 
 $(USER_C_INTERFACE_HTML_MANUAL): $(USER_CORE_HTML_MANUAL) \
 user-language-interface.doxyconf $(USER_C_INTERFACE_STUFF)
 	$(MAKE) $(AM_MAKEFLAGS) $(USER_C_INTERFACE_HTML_DIR)
-	tar c $(USER_C_INTERFACE_HTML_DIR) | gzip --best --force > $@
+	tar c $(USER_C_INTERFACE_HTML_DIR) | gzip -n--best --force > $@
 
 $(USER_PROLOG_INTERFACE_HTML_MANUAL): $(USER_CORE_HTML_MANUAL) \
 user-language-interface.doxyconf $(USER_PROLOG_INTERFACE_STUFF)
 	$(MAKE) $(AM_MAKEFLAGS) $(USER_PROLOG_INTERFACE_HTML_DIR)
-	tar c $(USER_PROLOG_INTERFACE_HTML_DIR) | gzip --best --force > $@
+	tar c $(USER_PROLOG_INTERFACE_HTML_DIR) | gzip -n--best --force > $@
 
 $(USER_OCAML_INTERFACE_HTML_MANUAL): $(USER_CORE_HTML_MANUAL) \
 user-language-interface.doxyconf $(USER_OCAML_INTERFACE_STUFF)
 	$(MAKE) $(AM_MAKEFLAGS) $(USER_OCAML_INTERFACE_HTML_DIR)
-	tar c $(USER_OCAML_INTERFACE_HTML_DIR) | gzip --best --force > $@
+	tar c $(USER_OCAML_INTERFACE_HTML_DIR) | gzip -n--best --force > $@
 
 $(USER_JAVA_INTERFACE_HTML_MANUAL): $(USER_CORE_HTML_MANUAL) \
 user-language-interface.doxyconf $(USER_JAVA_INTERFACE_STUFF)
 	$(MAKE) $(AM_MAKEFLAGS) $(USER_JAVA_INTERFACE_HTML_DIR)
-	tar c $(USER_JAVA_INTERFACE_HTML_DIR) | gzip --best --force > $@
+	tar c $(USER_JAVA_INTERFACE_HTML_DIR) | gzip -n--best --force > $@
 
 ############################################################################
 
@@ -1680,7 +1680,7 @@ user-language-interface.doxyconf $(USER_
 	tar cf $@ $<
 
 %.gz: %
-	gzip --best --force $<
+	gzip -n --best --force $<
 
 %.pdf: %.tex
 	$(TEX_ENV) pdflatex $<