[bug#77223]

Message ID CH3PR02MB9746D9C944908D3926E748CD90AE2@CH3PR02MB9746.namprd02.prod.outlook.com
State New
Headers
Series [bug#77223] |

Commit Message

guix-patches--- via April 3, 2025, 1:59 a.m. UTC
  I've added a comment noting that cmigemo is not yet packaged in guix.
  

Comments

Cayetano Santos April 3, 2025, 8:09 a.m. UTC | #1
user guix
usertag 77223 + reviewed-looks-good
thanks

Items marked as checked:

- commit messages

  tried to apply with:

   + mumi current 77223 && mumi am @9
   + b4 shazam CH3PR02MB9746D9C944908D3926E748CD90AE2@CH3PR02MB9746.namprd02.prod.outlook.com
   + git am --3way maildir_with_patch

  In all cases the message is wrong.

- package builds
- lint warnings
- package style
- no dependent packages
- synopsis and descriptions
- package tests disabled and explained
- license
  
Andreas Enge April 3, 2025, 11:51 a.m. UTC | #2
Pushed, thanks!

Andreas
  

Patch

From 77d7ef5bc518aba54ebf346f3a76d65865f13c9e Mon Sep 17 00:00:00 2001
From: Spencer King <spencer.king@wustl.edu>
Date: Fri, 21 Mar 2025 18:08:43 -0500
Subject: [PATCH] gnu: Add emacs-migemo.

* gnu/packages/emacs-xyz.scm (emacs-migemo): New variable.

Change-Id: I17da166c1d2bc149f73c9ffcdfb2eb850a0d5dd5
---
 gnu/packages/emacs-xyz.scm | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f7459c3c32..f9cdb9ae20 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -145,7 +145,7 @@ 
 ;;; Copyright © 2024 Daniel Szmulewicz <daniel.szmulewicz@gmail.com>
 ;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se>
 ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
-;;; Copyright © 2024 Spencer King <spencer.king@nursiapress.com>
+;;; Copyright © 2024, 2025 Spencer King <spencer.king@wustl.edu>
 ;;; Copyright © 2024 emma thompson <bigbookofbug@proton.me>
 ;;; Copyright © 2024-2025 Liam Hupfer <liam@hpfr.net>
 ;;; Copyright © 2024 aurtzy <aurtzy@gmail.com>
@@ -6886,6 +6886,34 @@  (define-public emacs-kanji
 and limited version of the images provided by the KanjiVG project.")
       (license license:gpl3+))))
 
+(define-public emacs-migemo
+  (let ((commit "fbc16b57eace9bf25bcb325032c59c50b186b9d7")
+        (revision "0"))
+    (package
+      (name "emacs-migemo")
+      (version (git-version "1.9.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/emacs-jp/migemo")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "10d27jrmn7k4mqqd5cgqf8jwa0pq9yh2550b1r6lwmz6wx509552"))))
+      (build-system emacs-build-system)
+      (arguments
+       (list
+        ;; tests rely on cmigemo, which has not yet been packaged
+        #:tests? #f))
+      (home-page "https://github.com/emacs-jp/migemo")
+      (synopsis
+       "Japanese incremental search through dynamic pattern expansion")
+      (description
+       "This package provides incremental searching through Japanese text through
+romanization for Emacs.")
+      (license license:gpl2+))))
+
 (define-public emacs-kbd
   ;; Package has no release.  Version is extracted from "Version:" keyword in
   ;; main file.

base-commit: 5bf7d80535720077aec104a9904480d08b9b4f2b
-- 
2.41.0