[Top][All Lists]

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

Re: Timestamps in ...-autoloads.el files

From: Alex Kost
Subject: Re: Timestamps in ...-autoloads.el files
Date: Wed, 21 Oct 2015 16:05:33 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Ludovic Courtès (2015-10-20 22:38 +0300) wrote:

> Alex Kost <address@hidden> skribis:
>> However this will fix only those packages, that use
>> ‘emacs-generate-autoloads’ directly or via ‘emacs-build-system’.  But
>> there are also packages that generate autoloads on their own (for
>> example, 'emacs-w3m' or 'guix' itself).  What to do for these ones?
>> Perhaps we can make a special 'emacs-build' package (that will advise
>> ‘autoload-insert-section-header’ function somehow) and use it as an
>> input for emacs-packages, or are there other ways?
> What about patching Emacs directly?


> An upstreamable patch would be one that honors the ‘SOURCE_DATE_EPOCH’
> variable¹.
> Alternately, a patch that simply changes
> ‘autoload-insert-section-header’ to always use zero as the timestamp
> would work as well, unless this would somehow break functionality.
> Thoughts?

I like the idea to honor SOURCE_DATE_EPOCH, so I'm attaching a patch for
this.  But now I don't know how to make Guix set this variable during
the build process :-(  Need help.

> Thanks for looking into it,
> Ludo’.
> ¹

Thanks for the info!

Attachment: 0001-gnu-emacs-Honor-SOURCE_DATE_EPOCH.patch
Description: Text Data

reply via email to

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