[bug#77676] gnu: emacs-jinx: Update to 2.1.

Message ID d342e6dfd42a650141f1c6c18a5f5378843ca479.1744191843.git.csantosb@inventati.org
State New
Headers
Series [bug#77676] gnu: emacs-jinx: Update to 2.1. |

Commit Message

Cayetano Santos April 9, 2025, 9:44 a.m. UTC
  * gnu/packages/emacs-xyz.scm (emacs-jinx): Update to 2.1.

[arguments]<#:tests>: Disable.
[arguments]<#:phases>: Remove install-info, not needed.
[native-inputs]: Remove redundant inputs.

Change-Id: I98cd4dae31296b5c5805b65c35bee362d0678ee5
---
 gnu/packages/emacs-xyz.scm | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)


base-commit: 90357c6090de8c6befec232996dbc7415112a081
  

Comments

Christopher Baines April 11, 2025, 11:38 a.m. UTC | #1
Cayetano Santos via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-jinx): Update to 2.1.
>
> [arguments]<#:tests>: Disable.
> [arguments]<#:phases>: Remove install-info, not needed.
> [native-inputs]: Remove redundant inputs.
>
> Change-Id: I98cd4dae31296b5c5805b65c35bee362d0678ee5
> ---
>  gnu/packages/emacs-xyz.scm | 14 +++++---------
>  1 file changed, 5 insertions(+), 9 deletions(-)

Thanks for the patch, I've pushed this to master as
a775db24601f656c2b5e68d1db444755bfc12ebc.

Chris
  

Patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 486cb24321..ee51d23ea5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12548,7 +12548,7 @@  (define-public emacs-jinja2-mode
 (define-public emacs-jinx
   (package
     (name "emacs-jinx")
-    (version "1.12")
+    (version "2.1")
     (source
      (origin
        (method git-fetch)
@@ -12558,10 +12558,11 @@  (define-public emacs-jinx
          (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1cxnxwbxfq29793r6f8pvvw2mb9mj7pa7g7z5k46abplkq65ds3g"))))
+        (base32 "1kfxx9657zn4sy463gxwsqqh4bcdxxaf3x7jkgasl4v18mrvid1i"))))
     (build-system emacs-build-system)
     (arguments
      (list
+      #:tests? #f ; no tests
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'expand-load-path 'build-jinx-mod
@@ -12579,7 +12580,6 @@  (define-public emacs-jinx
           (add-after 'build-jinx-mod 'patch-path-to-jinx-mod
             (lambda _
               (let ((file "jinx.el"))
-                (make-file-writable file)
                 (emacs-substitute-sexps file
                   ("\"Compile and load dynamic module.\""
                    `(module-load
@@ -12588,14 +12588,10 @@  (define-public emacs-jinx
           (add-after 'install 'install-jinx-mod
             (lambda _
               (install-file "jinx-mod.so"
-                            (string-append #$output "/lib/emacs"))))
-          (add-after 'install 'install-info
-            (lambda _
-              (install-file "jinx.info"
-                            (string-append #$output "/share/info")))))))
+                            (string-append #$output "/lib/emacs")))))))
     (inputs (list enchant))
     (propagated-inputs (list emacs-compat))
-    (native-inputs (list emacs-compat enchant pkg-config texinfo))
+    (native-inputs (list pkg-config texinfo))
     (home-page "https://github.com/minad/jinx")
     (synopsis "Emacs spell checker based on Enchant library")
     (description "Jinx is a just-in-time spell-checker for Emacs