pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/notmuch Updated notmuch to 0.25.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/835220b2814d
branches:  trunk
changeset: 366465:835220b2814d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Aug 14 20:17:00 2017 +0000

description:
Updated notmuch to 0.25.

Notmuch 0.25 (2017-07-25)
=========================

General
-------

Add regexp searching for mid, paths, and tags.

Skip HTML tags when indexing

  In particular this avoids indexing large inline images.

Command Line Interface
----------------------

Bash completion is now installed to /usr/share by default.

Allow space as separator for keyword arguments.

Emacs
-----

Support for stashing message timestamp in show and tree views

  Invoking `notmuch-show-stash-date` with a prefix argument
  stashes the unix timestamp of the current message instead of
  the date string.

Don't use 'function' as variable name, workaround emacs bug 26406.

Library Changes
---------------

Add workaround for date parsing of bad input in older GMime

  In certain circumstances, older GMime libraries could return
  negative numbers when parsing syntactically invalid dates.

Replace deprecated functions with status returning versions

  API of notmuch_query_{search,count}_{messages,threads} has
  changed.  notmuch_query_add_tag_exclude now returns a status
  value.

Add support for building against GMime 3.0.

Rename libutil.a to libnotmuch_util.a.

libnotmuch SONAME is incremented to libnotmuch.so.5.

diffstat:

 mail/notmuch/Makefile                            |   4 ++--
 mail/notmuch/PLIST                               |   8 ++++----
 mail/notmuch/buildlink3.mk                       |   4 ++--
 mail/notmuch/distinfo                            |  16 +++++-----------
 mail/notmuch/patches/patch-Makefile.global       |  15 ---------------
 mail/notmuch/patches/patch-Makefile.local        |  15 ---------------
 mail/notmuch/patches/patch-aa                    |  19 -------------------
 mail/notmuch/patches/patch-lib_Makefile.local    |  17 -----------------
 mail/notmuch/patches/patch-lib_notmuch-private.h |  14 --------------
 mail/notmuch/patches/patch-util_Makefile.local   |  17 -----------------
 10 files changed, 13 insertions(+), 116 deletions(-)

diffs (194 lines):

diff -r a4d9f0564224 -r 835220b2814d mail/notmuch/Makefile
--- a/mail/notmuch/Makefile     Mon Aug 14 20:12:10 2017 +0000
+++ b/mail/notmuch/Makefile     Mon Aug 14 20:17:00 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2017/06/14 20:24:51 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2017/08/14 20:17:00 wiz Exp $
 
-DISTNAME=      notmuch-0.24.2
+DISTNAME=      notmuch-0.25
 CATEGORIES=    mail
 MASTER_SITES=  http://notmuchmail.org/releases/
 
diff -r a4d9f0564224 -r 835220b2814d mail/notmuch/PLIST
--- a/mail/notmuch/PLIST        Mon Aug 14 20:12:10 2017 +0000
+++ b/mail/notmuch/PLIST        Mon Aug 14 20:17:00 2017 +0000
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.7 2016/10/09 21:20:44 wiz Exp $
+@comment $NetBSD: PLIST,v 1.8 2017/08/14 20:17:00 wiz Exp $
 bin/notmuch
 include/notmuch.h
 lib/libnotmuch.so
-lib/libnotmuch.so.4
-lib/libnotmuch.so.4.4.0
+lib/libnotmuch.so.5
+lib/libnotmuch.so.5.0.0
 man/man1/notmuch-address.1
 man/man1/notmuch-compact.1
 man/man1/notmuch-config.1
@@ -58,4 +58,4 @@
 ${PLIST.emacs}share/emacs/site-lisp/notmuch-wash.elc
 ${PLIST.emacs}share/emacs/site-lisp/notmuch.el
 ${PLIST.emacs}share/emacs/site-lisp/notmuch.elc
-share/examples/notmuch/zsh/functions/Completion/Unix/_notmuch
+share/zsh/functions/Completion/Unix/_notmuch
diff -r a4d9f0564224 -r 835220b2814d mail/notmuch/buildlink3.mk
--- a/mail/notmuch/buildlink3.mk        Mon Aug 14 20:12:10 2017 +0000
+++ b/mail/notmuch/buildlink3.mk        Mon Aug 14 20:17:00 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2017/03/31 10:32:15 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2017/08/14 20:17:00 wiz Exp $
 
 BUILDLINK_TREE+=       notmuch
 
@@ -6,7 +6,7 @@
 NOTMUCH_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.notmuch+=        notmuch>=0.16
-BUILDLINK_ABI_DEPENDS.notmuch+=        notmuch>=0.24nb1
+BUILDLINK_ABI_DEPENDS.notmuch+=        notmuch>=0.25
 BUILDLINK_PKGSRCDIR.notmuch?=  ../../mail/notmuch
 
 .include "../../mail/gmime/buildlink3.mk"
diff -r a4d9f0564224 -r 835220b2814d mail/notmuch/distinfo
--- a/mail/notmuch/distinfo     Mon Aug 14 20:12:10 2017 +0000
+++ b/mail/notmuch/distinfo     Mon Aug 14 20:17:00 2017 +0000
@@ -1,12 +1,6 @@
-$NetBSD: distinfo,v 1.24 2017/06/14 20:24:51 wiz Exp $
+$NetBSD: distinfo,v 1.25 2017/08/14 20:17:00 wiz Exp $
 
-SHA1 (notmuch-0.24.2.tar.gz) = 4adbc4dc6f2b20c3afd400a9168f1dc6887ef0f5
-RMD160 (notmuch-0.24.2.tar.gz) = fe851236764b3d933446d65b8facb45c58c54cef
-SHA512 (notmuch-0.24.2.tar.gz) = fcdc4ad5a65c57dd3077d93aeb384378f8dee105362fa8c2755daf14bbeb5376f8d1580fd79c8bd8e8d2d88cd44846ca9972b2f942133a447eb99d08ef9056dc
-Size (notmuch-0.24.2.tar.gz) = 709272 bytes
-SHA1 (patch-Makefile.global) = 848213d8914c59d2786c74eee71df5c7599c17ec
-SHA1 (patch-Makefile.local) = e5a11e3fd7470f745fccb3086fb864c2068f55a7
-SHA1 (patch-aa) = 90414224b80703587d211c8b56bfba0cbe1377b6
-SHA1 (patch-lib_Makefile.local) = 84ebfe1a57647e590f923d727d206b5f4687e1ce
-SHA1 (patch-lib_notmuch-private.h) = 24e608eb28c682e5f47c98c74f1bb3c2d62ac092
-SHA1 (patch-util_Makefile.local) = 1dcf152c0aba329e5e309c98042bd14f9a733714
+SHA1 (notmuch-0.25.tar.gz) = ea56f3f9ec2ab2f00b114d61fe8573c75ca52661
+RMD160 (notmuch-0.25.tar.gz) = 75a3c6e42a89c9f575799f4319f485377a659901
+SHA512 (notmuch-0.25.tar.gz) = 5f4961818c8c0350e3fbbedd86f407a55fecf211971003a770d99ea2db89bb6b98c2294e114d6abff4d40985f506b7f4b52736a7ee5c78390eb4f2363a65c6f5
+Size (notmuch-0.25.tar.gz) = 882093 bytes
diff -r a4d9f0564224 -r 835220b2814d mail/notmuch/patches/patch-Makefile.global
--- a/mail/notmuch/patches/patch-Makefile.global        Mon Aug 14 20:12:10 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-Makefile.global,v 1.1 2017/03/20 13:19:27 wiz Exp $
-
-Change library name to myutil to avoid conflict with NetBSD's.
-
---- Makefile.global.orig       2017-03-13 01:31:16.000000000 +0000
-+++ Makefile.global
-@@ -52,7 +52,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
diff -r a4d9f0564224 -r 835220b2814d mail/notmuch/patches/patch-Makefile.local
--- a/mail/notmuch/patches/patch-Makefile.local Mon Aug 14 20:12:10 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-Makefile.local,v 1.4 2017/03/20 13:19:27 wiz Exp $
-
-Avoid conflict with NetBSD's libutil.
-
---- Makefile.local.orig        2017-03-13 01:31:16.000000000 +0000
-+++ Makefile.local
-@@ -241,7 +241,7 @@ notmuch_client_modules = $(notmuch_clien
- 
- notmuch.o: version.stamp
- 
--notmuch: $(notmuch_client_modules) lib/libnotmuch.a util/libutil.a parse-time-string/libparse-time-string.a
-+notmuch: $(notmuch_client_modules) lib/libnotmuch.a util/libmyutil.a parse-time-string/libparse-time-string.a
-       $(call quiet,CXX $(CFLAGS)) $^ $(FINAL_LIBNOTMUCH_LDFLAGS) -o $@
- 
- notmuch-shared: $(notmuch_client_modules) lib/$(LINKER_NAME)
diff -r a4d9f0564224 -r 835220b2814d mail/notmuch/patches/patch-aa
--- a/mail/notmuch/patches/patch-aa     Mon Aug 14 20:12:10 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-aa,v 1.7 2017/03/12 20:51:13 wiz Exp $
-
-Install completion files into example directory.
-
---- configure.orig     2016-10-04 01:47:21.000000000 +0000
-+++ configure
-@@ -1026,10 +1026,10 @@ HAVE_DOXYGEN=${have_doxygen}
- desktop_dir = \$(prefix)/share/applications
- 
- # The directory to which bash completions files should be installed
--bash_completion_dir = ${BASHCOMPLETIONDIR:=\$(sysconfdir)/bash_completion.d}
-+bash_completion_dir = ${BASHCOMPLETIONDIR:=\$(prefix)/share/examples/notmuch/bash_completion.d}
- 
- # The directory to which zsh completions files should be installed
--zsh_completion_dir = ${ZSHCOMLETIONDIR:=\$(prefix)/share/zsh/functions/Completion/Unix}
-+zsh_completion_dir = ${ZSHCOMLETIONDIR:=\$(prefix)/share/examples/notmuch/zsh/functions/Completion/Unix}
- 
- # Whether the canonicalize_file_name function is available (if not, then notmuch will
- # build its own version)
diff -r a4d9f0564224 -r 835220b2814d mail/notmuch/patches/patch-lib_Makefile.local
--- a/mail/notmuch/patches/patch-lib_Makefile.local     Mon Aug 14 20:12:10 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-lib_Makefile.local,v 1.4 2017/03/12 20:51:13 wiz Exp $
-
-* Don't overlap with BSD's libutil.
-
---- lib/Makefile.local.orig    2015-06-27 13:05:31.000000000 +0000
-+++ lib/Makefile.local
-@@ -76,8 +76,8 @@ libnotmuch_modules := $(libnotmuch_c_src
- $(dir)/libnotmuch.a: $(libnotmuch_modules)
-       $(call quiet,AR) rcs $@ $^
- 
--$(dir)/$(LIBNAME): $(libnotmuch_modules) notmuch.sym util/libutil.a parse-time-string/libparse-time-string.a
--      $(call quiet,CXX $(CXXFLAGS)) $(libnotmuch_modules) $(FINAL_LIBNOTMUCH_LDFLAGS) $(LIBRARY_LINK_FLAG) -o $@ util/libutil.a parse-time-string/libparse-time-string.a
-+$(dir)/$(LIBNAME): $(libnotmuch_modules) notmuch.sym util/libmyutil.a parse-time-string/libparse-time-string.a
-+      $(call quiet,CXX $(CXXFLAGS)) $(libnotmuch_modules) $(FINAL_LIBNOTMUCH_LDFLAGS) $(LIBRARY_LINK_FLAG) -o $@ util/libmyutil.a parse-time-string/libparse-time-string.a
- 
- notmuch.sym: $(srcdir)/$(dir)/notmuch.h $(libnotmuch_modules)
-       sh $(srcdir)/$(lib)/gen-version-script.sh $< $(libnotmuch_modules) > $@
diff -r a4d9f0564224 -r 835220b2814d mail/notmuch/patches/patch-lib_notmuch-private.h
--- a/mail/notmuch/patches/patch-lib_notmuch-private.h  Mon Aug 14 20:12:10 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-lib_notmuch-private.h,v 1.1 2017/04/20 09:06:34 jperkin Exp $
-
-Include strings.h for index(3).
-
---- lib/notmuch-private.h.orig 2017-04-01 12:29:38.000000000 +0000
-+++ lib/notmuch-private.h
-@@ -38,6 +38,7 @@ NOTMUCH_BEGIN_DECLS
- #include <sys/stat.h>
- #include <sys/mman.h>
- #include <string.h>
-+#include <strings.h>
- #include <errno.h>
- #include <fcntl.h>
- #include <unistd.h>
diff -r a4d9f0564224 -r 835220b2814d mail/notmuch/patches/patch-util_Makefile.local
--- a/mail/notmuch/patches/patch-util_Makefile.local    Mon Aug 14 20:12:10 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-util_Makefile.local,v 1.1 2014/12/18 12:26:51 joerg Exp $
-
-Don't overlap with BSD's libutil.
-
---- util/Makefile.local.orig   2014-12-15 20:14:25.000000000 +0000
-+++ util/Makefile.local
-@@ -9,8 +9,8 @@ libutil_c_srcs := $(dir)/xutil.c $(dir)/
- 
- libutil_modules := $(libutil_c_srcs:.c=.o)
- 
--$(dir)/libutil.a: $(libutil_modules)
-+$(dir)/libmyutil.a: $(libutil_modules)
-       $(call quiet,AR) rcs $@ $^
- 
- SRCS := $(SRCS) $(libutil_c_srcs)
--CLEAN := $(CLEAN) $(libutil_modules) $(dir)/libutil.a
-+CLEAN := $(CLEAN) $(libutil_modules) $(dir)/libmyutil.a



Home | Main Index | Thread Index | Old Index