~ruther/guix-local

ref: bc2e049af14cd9a25b9571e79f1c5e6c97c5f742 guix-local/gnu/packages/patches/awesome-reproducible-png.patch -rw-r--r-- 703 bytes
bc2e049a — Sharlatan Hellseher gnu: Remove python-nose-exclude. 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Do not introduce timestamps in PNG files (for icons).
See <https://wiki.debian.org/ReproducibleBuilds/TimestampsInPNG>.

--- awesome-3.4.15/CMakeLists.txt	2013-02-11 14:50:21.000000000 +0100
+++ awesome-3.4.15/CMakeLists.txt	2016-06-16 13:59:30.528125439 +0200
@@ -295,7 +295,7 @@ macro(a_icon_convert match replacement i
         set(ALL_ICONS ${ALL_ICONS} ${output})
 
         add_custom_command(
-            COMMAND ${CONVERT_EXECUTABLE} ${input} -strip ${ARGN} ${output}
+            COMMAND ${CONVERT_EXECUTABLE} +set date:create +set date:modify -define png:exclude-chunk=time ${input} -strip ${ARGN} ${output}
             OUTPUT  ${output}
             DEPENDS ${input}
             VERBATIM)