From: Hilton Chain via Guix-patches via <guix-patches@gnu.org>
To: "64217@debbugs.gnu.org"@debbugs.gnu.org
Cc: Hilton Chain <hako@ultrarare.space>,
Andrew Tropin <andrew@trop.in>,
Liliana Marie Prikler <liliana.prikler@gmail.com>
Subject: [bug#64217] [PATCH v2 1/3] gnu: Add emacs-spamfilter-el.
Date: Sat, 24 Jun 2023 20:26:02 +0800 [thread overview]
Message-ID: <4b153ce02dab1dbf31e9e4d8f99059d096cda7ea.1687609087.git.hako@ultrarare.space> (raw)
In-Reply-To: <cover.1687609087.git.hako@ultrarare.space>
* gnu/packages/emacs-xyz.scm (emacs-spamfilter-el): New variable.
(emacs-wanderlust)[inputs]: Add emacs-spamfilter-el.
---
gnu/packages/emacs-xyz.scm | 43 ++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 08d53be8a9..3d4e1fc045 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -35405,6 +35405,48 @@ (define-public emacs-spaceleader
provides an easy way to bind keys under a configurable prefix key.")
(license license:gpl3+))))
+(define-public emacs-spamfilter-el
+ (package
+ (name "emacs-spamfilter-el")
+ (version "1.13")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://web.archive.org/web/20190227001412/"
+ "http://www.geocities.co.jp/SiliconValley-PaloAlto/7043/"
+ "spamfilter-1.1.tar.gz"))
+ (sha256
+ (base32
+ "1rd7wfn24bqlqlrrhq0d87vfhhcq09pnmrkkr7jpcnsls081a2iv"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'convert-encoding
+ (lambda _
+ (for-each
+ (lambda (name)
+ (invoke "iconv" "-f" "EUC-JP" "-t" "UTF-8" name "-o" name))
+ (find-files "." "\\.el")))))))
+ (home-page
+ (string-append
+ "https://web.archive.org/web/20190326203214/"
+ "http://www.geocities.co.jp/SiliconValley-PaloAlto/7043/index.html#spamfilter.el"))
+ (synopsis "Bayesian spam filter")
+ (description
+ "This package provides a spam filtering library for Emacs MUAs. It
+supports Japanese and has the following features:
+
+@itemize
+@item Pure Emacs Lisp implementation.
+@item Interactive process within the MUA.
+@item Incremental corpus learning.
+@item Three different methods for Japanese word segmentation.
+@item Built-in support for @code{emacs-wanderlust} and @code{emacs-mew}.
+@item @url{https://github.com/naota/navi2ch, Navi2ch} integration.
+@end itemize\n")
+ (license license:gpl2+)))
+
(define-public emacs-promise
;; XXX: Last stable release fails to build with "(wrong-number-of-arguments
;; (3 . 4) 2)" error.
@@ -37139,6 +37181,7 @@ (define-public emacs-wanderlust
(invoke "make" "install")
(invoke "make" "install-info"))))))
(propagated-inputs (list emacs-semi-epg))
+ (inputs (list emacs-spamfilter-el))
(home-page "https://www.emacswiki.org/emacs/WanderLust")
(synopsis "Yet Another Message Interface on Emacsen")
(description
--
2.40.1
next prev parent reply other threads:[~2023-06-24 12:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <"<cover.1687420809.git.hako@ultrarare.space>
2023-06-24 12:24 ` [bug#64217] [PATCH v2 0/3] Add emacs-spamfilter-el and update emacs-wanderlust Hilton Chain via Guix-patches via
2023-06-24 12:26 ` Hilton Chain via Guix-patches via [this message]
2023-06-24 12:26 ` [bug#64217] [PATCH v2 2/3] gnu: emacs-flim-lb: Update to 1.14.9-136.2cf5a78 Hilton Chain via Guix-patches via
2023-06-24 12:26 ` [bug#64217] [PATCH v2 3/3] gnu: emacs-wanderlust: Update to 2.15.9-791.8369b2d Hilton Chain via Guix-patches via
2023-06-28 3:51 ` bug#64217: [PATCH v2 0/3] Add emacs-spamfilter-el and update emacs-wanderlust Andrew Tropin
2023-06-28 4:27 ` [bug#64217] " Liliana Marie Prikler
2023-06-22 8:14 [bug#64217] [PATCH " Hilton Chain via Guix-patches via
2023-06-22 8:16 ` [bug#64217] [PATCH 1/3] gnu: Add emacs-spamfilter-el Hilton Chain via Guix-patches via
2023-06-22 8:16 ` [bug#64217] [PATCH 2/3] gnu: emacs-flim-lb: Update to 1.14.9-136.2cf5a78 Hilton Chain via Guix-patches via
2023-06-22 8:16 ` [bug#64217] [PATCH 3/3] gnu: emacs-wanderlust: Update to 2.15.9-789.3a827f7 Hilton Chain via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4b153ce02dab1dbf31e9e4d8f99059d096cda7ea.1687609087.git.hako@ultrarare.space \
--to=guix-patches@gnu.org \
--cc="64217@debbugs.gnu.org"@debbugs.gnu.org \
--cc=andrew@trop.in \
--cc=hako@ultrarare.space \
--cc=liliana.prikler@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).