pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail/mu
Module Name: pkgsrc
Committed By: ktnb
Date: Thu May 2 13:35:48 UTC 2024
Added Files:
pkgsrc/mail/mu: DESCR Makefile PLIST PLIST.emacs PLIST.guile distinfo
options.mk
pkgsrc/mail/mu/patches: patch-lib_utils_mu-logger.cc
patch-lib_utils_mu-utils-file.cc patch-mu_mu-cmd-find.cc
Log Message:
mail/mu: Add mu version 1.12.3
mu is a tool for dealing with e-mail messages stored in the
Maildir-format. mu's purpose in life is to help you to quickly
find the messages you need; in addition, it allows you to view
messages, extract attachments, create new maildirs, and so on.
Built on top of mu are some extensions:
- mu4e: a full-featured e-mail client that runs inside emacs
- mu-guile: bindings for the Guile/Scheme programming language
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/mu/DESCR pkgsrc/mail/mu/Makefile \
pkgsrc/mail/mu/PLIST pkgsrc/mail/mu/PLIST.emacs \
pkgsrc/mail/mu/PLIST.guile pkgsrc/mail/mu/distinfo \
pkgsrc/mail/mu/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/mu/patches/patch-lib_utils_mu-logger.cc \
pkgsrc/mail/mu/patches/patch-lib_utils_mu-utils-file.cc \
pkgsrc/mail/mu/patches/patch-mu_mu-cmd-find.cc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/mail/mu/DESCR
diff -u /dev/null pkgsrc/mail/mu/DESCR:1.1
--- /dev/null Thu May 2 13:35:48 2024
+++ pkgsrc/mail/mu/DESCR Thu May 2 13:35:48 2024
@@ -0,0 +1,8 @@
+mu is a tool for dealing with e-mail messages stored in the
+Maildir-format. mu's purpose in life is to help you to quickly
+find the messages you need; in addition, it allows you to view
+messages, extract attachments, create new maildirs, and so on.
+
+Built on top of mu are some extensions:
+- mu4e: a full-featured e-mail client that runs inside emacs
+- mu-guile: bindings for the Guile/Scheme programming language
Index: pkgsrc/mail/mu/Makefile
diff -u /dev/null pkgsrc/mail/mu/Makefile:1.1
--- /dev/null Thu May 2 13:35:48 2024
+++ pkgsrc/mail/mu/Makefile Thu May 2 13:35:48 2024
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2024/05/02 13:35:48 ktnb Exp $
+
+DISTNAME= mu-1.12.3
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_GITHUB:=djcb/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://www.djcbsoftware.nl/code/mu/
+COMMENT= E-mail searching and indexing tools
+LICENSE= gnu-gpl-v3
+
+MESON_ARGS+= -Dinfodir=info
+MESON_ARGS+= -Dlispdir=${EMACS_LISPPREFIX}
+USE_LANGUAGES= c c++
+USE_TOOLS+= pkg-config
+
+PYTHON_FOR_BUILD_ONLY= tool
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+REPLACE_PYTHON+= build-aux/date.py
+
+.include "options.mk"
+
+.include "../../lang/python/application.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../devel/meson/build.mk"
+BUILDLINK_API_DEPENDS.glib2+= glib2>=2.16.0
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../mail/gmime3/buildlink3.mk"
+.include "../../textproc/xapian/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/mail/mu/PLIST
diff -u /dev/null pkgsrc/mail/mu/PLIST:1.1
--- /dev/null Thu May 2 13:35:48 2024
+++ pkgsrc/mail/mu/PLIST Thu May 2 13:35:48 2024
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2024/05/02 13:35:48 ktnb Exp $
+bin/mu
Index: pkgsrc/mail/mu/PLIST.emacs
diff -u /dev/null pkgsrc/mail/mu/PLIST.emacs:1.1
--- /dev/null Thu May 2 13:35:48 2024
+++ pkgsrc/mail/mu/PLIST.emacs Thu May 2 13:35:48 2024
@@ -0,0 +1,83 @@
+@comment $NetBSD: PLIST.emacs,v 1.1 2024/05/02 13:35:48 ktnb Exp $
+info/mu4e.info
+man/man1/mu-add.1
+man/man1/mu-cfind.1
+man/man1/mu-extract.1
+man/man1/mu-find.1
+man/man1/mu-help.1
+man/man1/mu-index.1
+man/man1/mu-info.1
+man/man1/mu-init.1
+man/man1/mu-mkdir.1
+man/man1/mu-move.1
+man/man1/mu-remove.1
+man/man1/mu-server.1
+man/man1/mu-verify.1
+man/man1/mu-view.1
+man/man1/mu.1
+man/man5/mu-bookmarks.5
+man/man7/mu-easy.7
+man/man7/mu-query.7
+share/doc/mu/NEWS.org
+share/doc/mu/mu4e-about.org
+${EMACS_LISPPREFIX}/mu4e/mu4e-actions.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-actions.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-autoloads.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-bookmarks.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-bookmarks.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-compose.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-compose.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-config.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-contacts.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-contacts.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-context.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-context.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-contrib.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-contrib.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-folders.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-folders.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-headers.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-headers.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-helpers.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-helpers.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-icalendar.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-icalendar.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-lists.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-lists.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-main.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-main.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-mark.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-mark.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-message.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-message.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-mime-parts.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-mime-parts.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-modeline.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-modeline.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-notification.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-notification.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-obsolete.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-obsolete.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-org.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-org.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-pkg.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-query-items.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-query-items.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-search.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-search.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-server.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-server.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-speedbar.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-speedbar.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-thread.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-thread.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-update.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-update.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-vars.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-vars.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-view.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-view.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e-window.el
+${EMACS_LISPPREFIX}/mu4e/mu4e-window.elc
+${EMACS_LISPPREFIX}/mu4e/mu4e.el
+${EMACS_LISPPREFIX}/mu4e/mu4e.elc
Index: pkgsrc/mail/mu/PLIST.guile
diff -u /dev/null pkgsrc/mail/mu/PLIST.guile:1.1
--- /dev/null Thu May 2 13:35:48 2024
+++ pkgsrc/mail/mu/PLIST.guile Thu May 2 13:35:48 2024
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST.guile,v 1.1 2024/05/02 13:35:48 ktnb Exp $
+guile/3.0/lib/guile/3.0/extensions/libguile-mu.so
+info/mu-guile.info
+share/doc/mu/NEWS.org
+share/guile/site/3.0/mu.scm
+share/guile/site/3.0/mu/message.scm
+share/guile/site/3.0/mu/plot.scm
+share/guile/site/3.0/mu/script.scm
+share/guile/site/3.0/mu/stats.scm
+share/mu/scripts/find-dups.scm
+share/mu/scripts/histogram.scm
+share/mu/scripts/msgs-count.scm
Index: pkgsrc/mail/mu/distinfo
diff -u /dev/null pkgsrc/mail/mu/distinfo:1.1
--- /dev/null Thu May 2 13:35:48 2024
+++ pkgsrc/mail/mu/distinfo Thu May 2 13:35:48 2024
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2024/05/02 13:35:48 ktnb Exp $
+
+BLAKE2s (mu-1.12.3.tar.gz) = bb68bcd5bd4c70ca715edf5aba81e6fe93a425b15dae277d674a5efa41d401c8
+SHA512 (mu-1.12.3.tar.gz) = 018a7abb91dd61f27bb4f6d1ce1b52f762f42383a73fd63f0c42264fe3938530dd232b4315d1f599fa2974938a22ead7d0dc2c188b1e45c8acbc1ce21f287d66
+Size (mu-1.12.3.tar.gz) = 958099 bytes
+SHA1 (patch-lib_utils_mu-logger.cc) = 9fbc427529d2b3696d41a980f2926e8b28f0f76f
+SHA1 (patch-lib_utils_mu-utils-file.cc) = e35e880a64f39e3f26c1a635fd6ac4f2ea1b4b50
+SHA1 (patch-mu_mu-cmd-find.cc) = 1ae455a4939eed86b1cac75a6af347c7ffd61be6
Index: pkgsrc/mail/mu/options.mk
diff -u /dev/null pkgsrc/mail/mu/options.mk:1.1
--- /dev/null Thu May 2 13:35:48 2024
+++ pkgsrc/mail/mu/options.mk Thu May 2 13:35:48 2024
@@ -0,0 +1,35 @@
+# $NetBSD: options.mk,v 1.1 2024/05/02 13:35:48 ktnb Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.mu
+PKG_SUPPORTED_OPTIONS= mu-emacs guile
+PKG_SUGGESTED_OPTIONS= mu-emacs
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_SRC= PLIST
+
+###
+### Include the Emacs mu frontend, mu4e
+###
+.if !empty(PKG_OPTIONS:Mmu-emacs)
+.include "../../editors/emacs/modules.mk"
+INFO_FILES= yes
+USE_TOOLS+= makeinfo
+PLIST_SRC+= PLIST.emacs
+.else
+MESON_ARGS+= -Demacs=disabled
+.endif
+
+###
+### Support guile
+###
+.if !empty(PKG_OPTIONS:Mguile)
+.include "../../lang/guile30/buildlink3.mk"
+PLIST_SRC+= PLIST.guile
+# TODO: update for meson
+# CONFIGURE_ENV+= ac_cv_path_GUILE=guile
+USE_TOOLS+= makeinfo
+MESON_ARGS+= -Dguile=enabled
+.else
+MESON_ARGS+= -Dguile=disabled
+.endif
Index: pkgsrc/mail/mu/patches/patch-lib_utils_mu-logger.cc
diff -u /dev/null pkgsrc/mail/mu/patches/patch-lib_utils_mu-logger.cc:1.1
--- /dev/null Thu May 2 13:35:48 2024
+++ pkgsrc/mail/mu/patches/patch-lib_utils_mu-logger.cc Thu May 2 13:35:48 2024
@@ -0,0 +1,19 @@
+$NetBSD: patch-lib_utils_mu-logger.cc,v 1.1 2024/05/02 13:35:48 ktnb Exp $
+
+Only Linux has systemd
+
+--- lib/utils/mu-logger.cc.orig 2024-05-01 14:55:55.224250331 +0000
++++ lib/utils/mu-logger.cc
+@@ -156,8 +156,12 @@ Mu::Logger::Logger(const std::string& pa
+ }
+
+ // log to the journal, or, if not available to a file.
++#if defined(__linux__)
+ if (any_of(MuLogOptions & Options::File) ||
+ log_journal(level, fields, n_fields, user_data) != G_LOG_WRITER_HANDLED)
++#else
++ if (any_of(MuLogOptions & Options::File))
++#endif
+ return log_file(level, fields, n_fields, user_data);
+ else
+ return G_LOG_WRITER_HANDLED;
Index: pkgsrc/mail/mu/patches/patch-lib_utils_mu-utils-file.cc
diff -u /dev/null pkgsrc/mail/mu/patches/patch-lib_utils_mu-utils-file.cc:1.1
--- /dev/null Thu May 2 13:35:48 2024
+++ pkgsrc/mail/mu/patches/patch-lib_utils_mu-utils-file.cc Thu May 2 13:35:48 2024
@@ -0,0 +1,17 @@
+$NetBSD: patch-lib_utils_mu-utils-file.cc,v 1.1 2024/05/02 13:35:48 ktnb Exp $
+
+Must include sys/wait.h for WEXITSTATUS
+
+--- lib/utils/mu-utils-file.cc.orig 2024-04-08 20:22:35.000000000 +0000
++++ lib/utils/mu-utils-file.cc
+@@ -24,6 +24,10 @@
+
+ #include <sys/stat.h>
+
++#if defined(__NetBSD__)
++#include <sys/wait.h>
++#endif
++
+ #include <glib.h>
+ #include <gio/gio.h>
+ #include <gio/gunixinputstream.h>
Index: pkgsrc/mail/mu/patches/patch-mu_mu-cmd-find.cc
diff -u /dev/null pkgsrc/mail/mu/patches/patch-mu_mu-cmd-find.cc:1.1
--- /dev/null Thu May 2 13:35:48 2024
+++ pkgsrc/mail/mu/patches/patch-mu_mu-cmd-find.cc Thu May 2 13:35:48 2024
@@ -0,0 +1,16 @@
+$NetBSD: patch-mu_mu-cmd-find.cc,v 1.1 2024/05/02 13:35:48 ktnb Exp $
+
+Must include sys/wait.h for WEXITSTATUS
+
+--- mu/mu-cmd-find.cc.orig 2024-04-08 20:22:35.000000000 +0000
++++ mu/mu-cmd-find.cc
+@@ -27,6 +27,9 @@
+ #include <errno.h>
+ #include <stdlib.h>
+ #include <signal.h>
++#if defined(__NetBSD__)
++#include <sys/wait.h>
++#endif
+
+ #include "message/mu-message.hh"
+ #include "mu-maildir.hh"
Home |
Main Index |
Thread Index |
Old Index