gnu: netpbm: Remove timestamps from build products.
* gnu/packages/netpbm.scm (netpbm)[source]: Patch "buildtools/stamp-date".
This commit is contained in:
parent
61dc82d9b9
commit
56501d3b17
|
@ -55,9 +55,8 @@
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
(file-name (string-append name "-" version "-checkout"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
;; Remove non-FSDG-compliant code.
|
|
||||||
'(begin
|
'(begin
|
||||||
(use-modules (guix build utils))
|
;; Remove non-FSDG-compliant code.
|
||||||
|
|
||||||
(define-syntax drop
|
(define-syntax drop
|
||||||
(syntax-rules (in)
|
(syntax-rules (in)
|
||||||
|
@ -85,7 +84,15 @@
|
||||||
(drop "pbmto4425" "pbmtoln03" "pbmtolps" "pbmtopk" "pktopbm"
|
(drop "pbmto4425" "pbmtoln03" "pbmtolps" "pbmtopk" "pktopbm"
|
||||||
in "converter/pbm")
|
in "converter/pbm")
|
||||||
(drop "spottopgm" in "converter/pgm")
|
(drop "spottopgm" in "converter/pgm")
|
||||||
(drop "ppmtopjxl" in "converter/ppm")))))
|
(drop "ppmtopjxl" in "converter/ppm")
|
||||||
|
|
||||||
|
;; Remove timestamps from the generated code.
|
||||||
|
(substitute* "buildtools/stamp-date"
|
||||||
|
(("^DATE=.*")
|
||||||
|
"DATE=\"Thu Jan 01 00:00:00+0000 1970\"\n")
|
||||||
|
(("^USER=.*")
|
||||||
|
"USER=Guix\n"))))))
|
||||||
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs `(("ghostscript" ,ghostscript)
|
(inputs `(("ghostscript" ,ghostscript)
|
||||||
("libjpeg" ,libjpeg)
|
("libjpeg" ,libjpeg)
|
||||||
|
|
Loading…
Reference in New Issue