From: Martin Marshall <law@martinmarshall.com>
To: 61889@debbugs.gnu.org
Subject: [bug#61889] [PATCH] gnu: Add mairix.
Date: Fri, 10 Mar 2023 18:29:46 -0500 [thread overview]
Message-ID: <875yb8kwwl.fsf@martinmarshall.com> (raw)
In-Reply-To: <60c8c3a5840d45d2d6b8be492498d8150705f37b.1677642780.git.law@martinmarshall.com>
[-- Attachment #1: Type: text/plain, Size: 580 bytes --]
Per Guix QA, all builds succeed except for "i586-gnu". Still not sure
why my system fails the check phase when emulating "armhf-linux". Will
attribute to user-error.
Attached is an updated patch which builds successfully on my
x86_64-linux system.
Changes from the original patch:
* Moved propagated-inputs to inputs.
* Added perl to inputs.
* Removed (setenv "LC_ALL" "en_US.UTF-8") from configure phase.
* Added (supported-systems ...) at the end to reflect the systems
indicated by Guix QA as building correctly.
Best regards.
--
Martin Marshall
law@martinmarshall.com
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: * gnu/packages/mail.scm (mairix): Add variable --]
[-- Type: text/x-patch, Size: 2111 bytes --]
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 6ef4c6fdab..95dee43df0 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -408,6 +408,46 @@ (define-public mailutils
;; Libraries are under LGPLv3+, and programs under GPLv3+.
(list license:gpl3+ license:lgpl3+))))
+(define-public mairix
+ (let ((commit "1cc06f4a73ba4b940008c1ffc398d2ac708cd6d6")
+ (revision "0"))
+ (package
+ (name "mairix")
+ (version (git-version "0.24" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vandry/mairix")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "12bhmk5j77cl3vjda48cmdysq1c2yjzvfv6zm4hlky6d5g3l49d7"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:parallel-tests? #f
+ #:phases #~(modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key inputs #:allow-other-keys)
+ (invoke "./configure"
+ (string-append "--prefix="
+ #$output)))))))
+ (inputs (list bzip2
+ openssl
+ perl
+ xz
+ zlib))
+ (native-inputs (list bison
+ flex))
+ (home-page "https://github.com/vandry/mairix")
+ (synopsis "Program for indexing and searching email messages")
+ (description
+ "Mairix is a program for indexing and searching email messages stored in
+Maildir, MH, MMDF or mbox folders.")
+ (license license:gpl2)
+ (supported-systems (list "x86_64-linux" "i686-linux" "aarch64-linux"
+ "armhf-linux" "powerpc64le-linux")))))
+
(define-public go-gitlab.com-shackra-goimapnotify
(package
(name "go-gitlab.com-shackra-goimapnotify")
next prev parent reply other threads:[~2023-03-10 23:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-01 3:55 [bug#61889] [PATCH] gnu: Add mairix. (WIP) Martin Marshall
2023-03-01 4:02 ` Martin Marshall
2023-03-10 23:29 ` Martin Marshall [this message]
2023-04-02 21:16 ` bug#61889: [PATCH] gnu: Add mairix Nicolas Goaziou
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=875yb8kwwl.fsf@martinmarshall.com \
--to=law@martinmarshall.com \
--cc=61889@debbugs.gnu.org \
/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).