guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#28015] Re: [bug#28015] [PATCH] Reproducible issue for djvulibre


From: Z. Ren
Subject: [bug#28015] Re: [bug#28015] [PATCH] Reproducible issue for djvulibre
Date: Wed, 23 Aug 2017 17:48:46 +0800 (GMT+08:00)

Thanks for your kind reply. I re-check the build result. According to the 
output of diffoscope (see below for the snippet), the file that's different 
between the two builds is scalable/mimetypes/djvu.svgz. It is indeed a gzip 
file, though the extension is svgz. Not sure whether it could be handled 
automatically by the upcoming build system?

├── scalable
├── mimetypes
├── djvu.svgz
├── metadata
│ │ │ │ │ │ │ @@ -1 +1 @@
│ │ │ │ │ │ │ -gzip compressed data, last modified: Fri Mar 10 23:39:11 2017, 
from Unix
│ │ │ │ │ │ │ +gzip compressed data, last modified: Wed Aug 23 09:27:59 2017, 
from Unix

Best regards,
Ren

> -----Original Messages-----
> From: "Ludovic Courtès" <address@hidden>
> Sent Time: 2017-08-22 20:55:44 (Tuesday)
> To: "Z. Ren" <address@hidden>
> Cc: address@hidden
> Subject: Re: [bug#28015] [PATCH] Reproducible issue for djvulibre
> 
> "Z. Ren" <address@hidden> skribis:
> 
> > --- a/gnu/packages/djvu.scm
> > +++ b/gnu/packages/djvu.scm
> > @@ -34,6 +34,13 @@
> >                 (base32
> >                  "0psh3zl9dj4n4r3lx25390nx34xz0bg0ql48zdskhq354ljni5p6"))))
> >      (build-system gnu-build-system)
> > +    (arguments
> > +     `(#:phases
> > +       (modify-phases %standard-phases
> > +        (add-after 'unpack 'reproducible
> > +         (lambda _
> > +          (substitute* "desktopfiles/Makefile.in"
> > +           (("gzip") "gzip -n")))))))
> 
> In the ‘core-updates’ branch, which is about to be merged, this should
> be unnecessary because there’s an extra ‘reset-gzip-timestamps’ phase
> that has the same effect (for files whose name ends in “.gz” or “.tgz”,
> which I assume is the case?
> 
> Thanks,
> Ludo’.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]