[bug#77484] gnu: emacs-corfu: Update to 2.0.

Message ID 4124b2150f5212fec20b9868e0a7cdbbf1257262.1743675984.git.csantosb@inventati.org
State New
Headers
Series [bug#77484] gnu: emacs-corfu: Update to 2.0. |

Commit Message

Cayetano Santos April 3, 2025, 10:26 a.m. UTC
  * gnu/packages/emacs-xyz.scm (emacs-corfu): Update to 2.0.

Change-Id: Ibebd4b221984e814fa970802fd922f02e8d4b779
---
 gnu/packages/emacs-xyz.scm | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)


base-commit: 6f53abfdab78e45530d0d9ca3b789482c052c6a7
  

Patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e30989cb1e..ca7f43003c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5565,7 +5565,7 @@  (define-public emacs-citeproc-el
 (define-public emacs-corfu
   (package
     (name "emacs-corfu")
-    (version "1.7")
+    (version "2.0")
     (source
      (origin
        (method git-fetch)
@@ -5574,7 +5574,7 @@  (define-public emacs-corfu
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0yyc64bfqpsjs5iwgwxm171sg85al4mzj4pv3qd4cpmkgmamrrv3"))))
+        (base32 "15vmhbwpjgvc9ly8icrjf74jhbplhigfyfa762s45ipnrq6gyixq"))))
     (build-system emacs-build-system)
     (arguments
      (list
@@ -5588,15 +5588,12 @@  (define-public emacs-corfu
                 (for-each (lambda (f)
                             (rename-file f (basename f)))
                           el-files))))
-          (add-after 'install 'makeinfo
+          (add-after 'unpack 'makeinfo
             (lambda _
-              (invoke "emacs"
-                      "--batch"
+              (invoke "emacs" "--batch"
                       "--eval=(require 'ox-texinfo)"
                       "--eval=(find-file \"README.org\")"
-                      "--eval=(org-texinfo-export-to-info)")
-              (install-file "corfu.info"
-                            (string-append #$output "/share/info")))))))
+                      "--eval=(org-texinfo-export-to-info)"))))))
     (native-inputs (list texinfo))
     (propagated-inputs
      (list emacs-compat))