[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug#42738] [PATCH v4] gnu: emacs: Update to 27.1.
From: |
Mark H Weaver |
Subject: |
Re: [bug#42738] [PATCH v4] gnu: emacs: Update to 27.1. |
Date: |
Fri, 28 Aug 2020 16:04:55 -0400 |
Hi Amin,
Amin Bandali <bandali@gnu.org> wrote:
> Brett Gilio writes:
>
> [...]
>>
>> Also, are we planning to keep emacs-next and have it track 28.x or
>> remove it?
>>
>> Brett Gilio
>
> I would like it if it's kept. Though, if it is truly meant to track the
> "next" release of Emacs, it should be pointed at the `emacs-27' branch,
> as there will likely be one or more point releases in the 27 series.
Feel free to re-add it. I was torn about whether to remove it. Anyway,
most of its code is now integrated into the main 'emacs' package, so it
should be a lot simpler now. Here's a first draft (untested), but of
course it should be updated to a later commit:
--8<---------------cut here---------------start------------->8---
(define-public emacs-next
(let ((commit "c36c5a3dedbb2e0349be1b6c3b7567ea7b594f1c")
(revision "0")
(emacs-version "27.0.91"))
(package
(inherit emacs)
(name "emacs-next")
(version (git-version emacs-version revision commit))
(source
(origin
(inherit (package-source emacs))
(method git-fetch)
(uri (git-reference
(url "https://git.savannah.gnu.org/git/emacs.git")
(commit commit)))
(sha256
(base32 "0mlrg2npy1r79laahkgzhxd1qassfcdz8qk1cpw7mqgf6y5x505h"))
(file-name (git-file-name name version))))
(native-inputs
`(("autoconf" ,autoconf) ; needed when building from trunk
,@(package-native-inputs emacs)))
;; TODO: consider changing `emacs' to use a more robust way of
;; specifying version for "EMACSLOADPATH", so as to avoid having to
;; duplicate native-search-paths here.
(native-search-paths
(list (search-path-specification
(variable "EMACSLOADPATH")
;; The versioned entry is for the Emacs' builtin libraries.
(files
(list "share/emacs/site-lisp"
(string-append "share/emacs/" emacs-version "/lisp"))))
(search-path-specification
(variable "INFOPATH")
(files '("share/info"))))))))
--8<---------------cut here---------------end--------------->8---
Regards,
Mark
Re: [PATCH v4] gnu: emacs: Update to 27.1., Mark H Weaver, 2020/08/28
Re: [PATCH v4] gnu: emacs: Update to 27.1., Giovanni Biscuolo, 2020/08/29