[PATCH] gnu: emacs-benchmark-init: Update to 1.0-0243556.

  • Done
  • quality assurance status badge
Details
2 participants
  • Dominic Martinez
  • Ludovic Courtès
Owner
unassigned
Submitted by
Dominic Martinez
Severity
normal
D
D
Dominic Martinez wrote on 26 May 2022 03:39
(address . guix-patches@gnu.org)(name . Dominic Martinez)(address . dom@dominicm.dev)
20220526013903.1456-1-dom@dominicm.dev
* gnu/packages/emacs-xyz.scm (emacs-benchmark-init): Update to
1.0-0243556. Fixes build on emacs 28.
---

benchmark-init currently fails to build on emacs 28, but newer versions work correctly. Unfortunately the repo doesn't tag releases so a commit is specified.

gnu/packages/emacs-xyz.scm | 36 +++++++++++++++++++-----------------
1 file changed, 19 insertions(+), 17 deletions(-)

Toggle diff (50 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2191b05ea5..53d347c2c1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -20224,24 +20224,26 @@ (define-public emacs-suggest
(license license:gpl3+)))
(define-public emacs-benchmark-init
- (package
- (name "emacs-benchmark-init")
- (version "1.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/dholm/benchmark-init-el")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1kyn1izm5sbqbp9whnhk9dn3yc7zy8bz5san5w3ivi3rpx15fh94"))))
- (build-system emacs-build-system)
- (home-page "https://github.com/dholm/benchmark-init-el")
- (synopsis "Benchmark Emacs @code{require} and @code{load} calls")
- (description "@code{benchmark-init} provides a way to keep track of where
+ (let ((commit "02435560415bbadbcf5051fb7042880549170e7e")
+ (revision "1"))
+ (package
+ (name "emacs-benchmark-init")
+ (version (git-version "1.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dholm/benchmark-init-el")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "19375vamhld4xm2qrdmhlp2nczfvalmz9x6ahl23zwkilr8n1nbw"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/dholm/benchmark-init-el")
+ (synopsis "Benchmark Emacs @code{require} and @code{load} calls")
+ (description "@code{benchmark-init} provides a way to keep track of where
time is being spent during Emacs startup in order to optimize startup time.")
- (license license:gpl3+)))
+ (license license:gpl3+))))
(define-public emacs-magit-gerrit
(package
--
2.36.0
L
L
Ludovic Courtès wrote on 3 Jun 2022 23:51
(name . Dominic Martinez)(address . dom@dominicm.dev)(address . 55650-done@debbugs.gnu.org)
87h751h0vh.fsf@gnu.org
Dominic Martinez <dom@dominicm.dev> skribis:

Toggle quote (6 lines)
> * gnu/packages/emacs-xyz.scm (emacs-benchmark-init): Update to
> 1.0-0243556. Fixes build on emacs 28.
> ---
>
> benchmark-init currently fails to build on emacs 28, but newer versions work correctly. Unfortunately the repo doesn't tag releases so a commit is specified.

Applied, thanks!
Closed
?