summaryrefslogtreecommitdiff
path: root/mail/notmuch
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-10-09 21:20:44 +0000
committerwiz <wiz@pkgsrc.org>2016-10-09 21:20:44 +0000
commit491d453084c2dc9f1352fc84c2f02967a1487eae (patch)
tree997ea69d480a05a2e3c1a727653da8c30d189e5f /mail/notmuch
parent77fdfa2100a78e51a7af98ec50c935ce80a26521 (diff)
downloadpkgsrc-491d453084c2dc9f1352fc84c2f02967a1487eae.tar.gz
Updated notmuch to 0.23.
Notmuch 0.23 (2016-10-03) ========================= General (Xapian 1.4+) --------------------- Compiling against Xapian 1.4 enables several new features. Support for single argument date: queries `date:<expr>` is equivalent to `date:<expr>..<expr>`. Support for blocking opens When opening a database notmuch by default will wait for another process to release a write lock, rather than returning an error. Support for named queries Named queries (also known as 'saved searches') can be defined with a `query:name` format. The expansion of these queries is stored in the database and they can be used from any notmuch client. Library ------- Message property API libnotmuch now supports the attachment of arbitrary key-value pairs to messages. These can be used by various tools to manage their private data without polluting the user tag space. They also support iteration of values with the same key or same key prefix. Bug fix for `notmuch_directory_set_mtime` Update cached mtime to match on-disk mtime. CLI --- Support for compile time options A group of `built_with` keys is now supported for notmuch config. Initial keys in this group are `compact`, `field_processor`, and `retry_lock`. Dump/Restore support for configuration information and properties Any configuration information stored in the database (initially just named queries) is dumped and restored. Similarly any properties attached to messages are also dumped and restored. Any new information in the dump format is prefixed by '#' to allow existing scripts to ignore it. Emacs ----- Make notmuch-message-mode use insert for fcc Notmuch-message-mode now defaults to using notmuch insert for fcc. The old file based fcc behaviour can be restored by setting the defcustom `notmuch-maildir-use-notmuch-insert` to nil. When using notmuch insert, `notmuch-fcc-dirs` must be a subdirectory of the mailstore (absolute paths are not permitted) followed by any tag changes to be applied to the inserted message. The tag changes are applied after the default tagging for new messages. For example setting the header to "sentmail -inbox +sent" would insert the message in the subdirectory sentmail of the mailstore, add the tag "sent", and not add the (normally added) "inbox" tag. Finally, if the insert fails (e.g. if the database is locked) the user is presented with the option to retry, ignore, or edit the header. Make internal address completion customizable There is a new defcustom `notmuch-address-internal-completion` which controls how the internal completion works: it allows the user to choose whether to match on messages the user sent, or the user received, and to filter the messages used for the match, for example by date. Allow internal address completion on an individual basis There is a new function `notmuch-address-toggle-internal-completion` (by default it has no keybinding) which allows users who normally use an external completion command to use the builtin internal completion for the current buffer. Alternatively, if the user has company-mode enabled, then the user can use company mode commands such as `company-complete` to activate the builtin completion for an individual completion. Resend messages The function `notmuch-show-resend-message` (bound to `b` in show and tree modes) will (attempt to) send current message to new recipients. The headers of the message won't be altered (e.g. `To:` may point to yourself). New `Resent-To:`, `Resent-From:` and so on will be added instead. Face customization is easier New faces `notmuch-tag-unread`, `notmuch-tag-flagged`, `notmuch-tag-deleted`, `notmuch-tag-added`, `notmuch-search-flagged-face` and `notmuch-search-unread-face` are now used by default. Customize `notmuch-faces` to modify them. Omit User-Agent header by default when sending mail Ruby Bindings ------------- Add support for `notmuch_database_get_all_tags` Go Bindings ----------- Go bindings moved to contrib Add support for `notmuch_threads_t` and `notmuch_thread_t` Fixed constant values so they are not all zero anymore Previously, it was impossible to open writable database handles, because `DATABASE_MODE_READ_ONLY` and `DATABASE_MODE_READ_WRITE` were both set to zero. The same issue occured with sort modes.
Diffstat (limited to 'mail/notmuch')
-rw-r--r--mail/notmuch/Makefile4
-rw-r--r--mail/notmuch/PLIST4
-rw-r--r--mail/notmuch/distinfo14
-rw-r--r--mail/notmuch/patches/patch-Makefile.local12
-rw-r--r--mail/notmuch/patches/patch-aa12
5 files changed, 23 insertions, 23 deletions
diff --git a/mail/notmuch/Makefile b/mail/notmuch/Makefile
index 216aacd0f27..0b628f751c7 100644
--- a/mail/notmuch/Makefile
+++ b/mail/notmuch/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2016/09/12 07:42:41 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2016/10/09 21:20:44 wiz Exp $
-DISTNAME= notmuch-0.22.2
+DISTNAME= notmuch-0.23
CATEGORIES= mail
MASTER_SITES= http://notmuchmail.org/releases/
diff --git a/mail/notmuch/PLIST b/mail/notmuch/PLIST
index 04e0c6b005b..d431cca7188 100644
--- a/mail/notmuch/PLIST
+++ b/mail/notmuch/PLIST
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.6 2015/11/22 23:55:33 wiz Exp $
+@comment $NetBSD: PLIST,v 1.7 2016/10/09 21:20:44 wiz Exp $
bin/notmuch
include/notmuch.h
lib/libnotmuch.so
lib/libnotmuch.so.4
-lib/libnotmuch.so.4.3.0
+lib/libnotmuch.so.4.4.0
man/man1/notmuch-address.1
man/man1/notmuch-compact.1
man/man1/notmuch-config.1
diff --git a/mail/notmuch/distinfo b/mail/notmuch/distinfo
index 3274777be29..baae489b706 100644
--- a/mail/notmuch/distinfo
+++ b/mail/notmuch/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.12 2016/09/12 07:42:41 wiz Exp $
+$NetBSD: distinfo,v 1.13 2016/10/09 21:20:44 wiz Exp $
-SHA1 (notmuch-0.22.2.tar.gz) = f60825656b0d00a6a60f82a01ab687f5bb46e839
-RMD160 (notmuch-0.22.2.tar.gz) = d8f497c53359e9b00f3c1fd9ebfeac4be616b408
-SHA512 (notmuch-0.22.2.tar.gz) = cc11feb8d1c2c7959a42e032c1e36e828290a8e8477af8936a27654117fbc2e080c71fe69ec92bd80763d9d3b163d45b7c0fa9fe9c4ec649600fa928110da4ee
-Size (notmuch-0.22.2.tar.gz) = 683796 bytes
-SHA1 (patch-Makefile.local) = fad3bf11d139a9e0207965803bf854670f8f4853
-SHA1 (patch-aa) = a4c815c0663fa6e5e8692ff14f50ecf9537dda9a
+SHA1 (notmuch-0.23.tar.gz) = 23dfe637aa6b1d5102f00e4cfba9ea6a729d4765
+RMD160 (notmuch-0.23.tar.gz) = b4a71eaf5c0888eb0c7650b90650f164fd08ad6d
+SHA512 (notmuch-0.23.tar.gz) = 87e3bb97035cc2d48b5b1cfdebf49576de96498d54192f7a58976e495b8b77672037a9702af194d882e9eb1e0252daeb01f49df90709434ff04d2b3db236a039
+Size (notmuch-0.23.tar.gz) = 689540 bytes
+SHA1 (patch-Makefile.local) = cab8635a8ff1f2f2e7dc45f2c853f90553c28606
+SHA1 (patch-aa) = 5276035fce76d9cf891d168aeba60b0eede00a09
SHA1 (patch-lib_Makefile.local) = c81920e239d1e26d4502e57c4e7fdbd3209b6325
SHA1 (patch-notmuch-dump.c) = d85095239da2c7247113143d2668d6ca47bc324f
SHA1 (patch-notmuch-restore.c) = 5f908d2ee146e29bd025eee36adb5997d897e9ea
diff --git a/mail/notmuch/patches/patch-Makefile.local b/mail/notmuch/patches/patch-Makefile.local
index 1f75ab88a9f..09bfcecc6ec 100644
--- a/mail/notmuch/patches/patch-Makefile.local
+++ b/mail/notmuch/patches/patch-Makefile.local
@@ -1,19 +1,19 @@
-$NetBSD: patch-Makefile.local,v 1.2 2015/08/26 13:33:36 wiz Exp $
+$NetBSD: patch-Makefile.local,v 1.3 2016/10/09 21:20:45 wiz Exp $
Avoid conflict with NetBSD's libutil.
---- Makefile.local.orig 2014-12-15 20:14:52.000000000 +0000
+--- Makefile.local.orig 2016-10-04 01:47:21.000000000 +0000
+++ Makefile.local
-@@ -46,7 +46,7 @@ PV_FILE=bindings/python/notmuch/version.
- # Smash together user's values with our extra values
- FINAL_CFLAGS = -DNOTMUCH_VERSION=$(VERSION) $(CPPFLAGS) $(CFLAGS) $(WARN_CFLAGS) $(extra_cflags) $(CONFIGURE_CFLAGS)
+@@ -47,7 +47,7 @@ PV_FILE=bindings/python/notmuch/version.
+ STD_CFLAGS := -std=gnu99
+ FINAL_CFLAGS = -DNOTMUCH_VERSION=$(VERSION) $(CPPFLAGS) $(STD_CFLAGS) $(CFLAGS) $(WARN_CFLAGS) $(extra_cflags) $(CONFIGURE_CFLAGS)
FINAL_CXXFLAGS = $(CPPFLAGS) $(CXXFLAGS) $(WARN_CXXFLAGS) $(extra_cflags) $(extra_cxxflags) $(CONFIGURE_CXXFLAGS)
-FINAL_NOTMUCH_LDFLAGS = $(LDFLAGS) -Lutil -lutil -Llib -lnotmuch
+FINAL_NOTMUCH_LDFLAGS = $(LDFLAGS) -Lutil -lmyutil -Llib -lnotmuch
ifeq ($(LIBDIR_IN_LDCONFIG),0)
FINAL_NOTMUCH_LDFLAGS += $(RPATH_LDFLAGS)
endif
-@@ -297,7 +297,7 @@ notmuch_client_modules = $(notmuch_clien
+@@ -301,7 +301,7 @@ notmuch_client_modules = $(notmuch_clien
notmuch.o: version.stamp
diff --git a/mail/notmuch/patches/patch-aa b/mail/notmuch/patches/patch-aa
index 1da6a75aaf2..b39e221c91a 100644
--- a/mail/notmuch/patches/patch-aa
+++ b/mail/notmuch/patches/patch-aa
@@ -1,11 +1,11 @@
-$NetBSD: patch-aa,v 1.5 2015/11/22 23:55:33 wiz Exp $
+$NetBSD: patch-aa,v 1.6 2016/10/09 21:20:45 wiz Exp $
Install completion files into example directory.
Accept zlib 1.2.3.
---- configure.orig 2015-10-30 10:14:41.000000000 +0000
+--- configure.orig 2016-10-04 01:47:21.000000000 +0000
+++ configure
-@@ -411,9 +411,9 @@ if ! pkg-config --exists zlib; then
+@@ -490,9 +490,9 @@ if ! pkg-config --exists zlib; then
rm -f compat/gen_zlib_pc
fi
@@ -17,8 +17,8 @@ Accept zlib 1.2.3.
printf "Yes.\n"
have_zlib=1
zlib_cflags=$(pkg-config --cflags zlib)
-@@ -614,7 +614,7 @@ EOF
- echo " http://xapian.org/"
+@@ -688,7 +688,7 @@ EOF
+ echo " https://xapian.org/"
fi
if [ $have_zlib -eq 0 ]; then
- echo " zlib library (>= version 1.2.5.2, including development files such as headers)"
@@ -26,7 +26,7 @@ Accept zlib 1.2.3.
echo " http://zlib.net/"
echo
fi
-@@ -952,10 +952,10 @@ HAVE_DOXYGEN=${have_doxygen}
+@@ -1026,10 +1026,10 @@ HAVE_DOXYGEN=${have_doxygen}
desktop_dir = \$(prefix)/share/applications
# The directory to which bash completions files should be installed