Re: [gmailieer] fast fetch and two-way tag synchronization between notmuch and GMail
Rafael Avila de Espindola writes on mars 14, 2017 16:51: That looks really interesting. What is the license? :-) Ay, GPL v3+ it is! - gaute ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
RE: Upcoming GMime 3.0 changes
> -Original Message- > From: David Bremner [mailto:da...@tethera.net] > Sent: Tuesday, March 14, 2017 9:18 AM > To: Jeffrey Stedfast ; notmuch@notmuchmail.org > Subject: Re: Upcoming GMime 3.0 changes > > Jeffrey Stedfast writes: > > > Hello notmuch devs, > > > > I'm sending this email to inform you guys of some upcoming GMime 3.0 > features and other changes that I've implemented. > > > > Thanks for the heads up. At least the GPGME stuff sounds like good news, > we may finally have working S/MIME encryption/decryption No problem! Notmuch and Balsa are the 2 main projects I know of using GMime so I want to make sure you guys get a chance to comment on the changes I've been making for 3.0. I also want you guys to know that if there's anything that you wished GMime had that it doesn't, now is a great time to make the suggestion 😊 (oh, btw, I just added support for inline-pgp encrypt/decrypt/sign/verify this morning) Daniel Kahn Gillmor has already been keeping in touch with me on improvements to the GPG support which is why I made the switch to GpgME, so once I did that, it was not much effort to add support for S/MIME (I believe someone from the notmuch group actually asked me what it would take to implement S/MIME support sometime this past year and I had started to look into it but never got a chance to finish until now). Jeff ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Re: [PATCH] rename libutil.a to libnotmuch_util.a
On 03/14, David Bremner wrote: > Apparently some systems (MacOS?) have a system library called libutil > and the name conflict causes problems. Hello, David! For reference, this issue was also discussed in the past at: https://notmuchmail.org/pipermail/notmuch/2015/020728.html Yes, macOS has a system library with that name: === macOS Sierra === $ ls -alF /usr/lib/libutil* -rwxr-xr-x 1 root wheel 77008 Dec 10 03:02 /usr/lib/libutil.dylib* lrwxr-xr-x 1 root wheel 13 Sep 23 11:40 /usr/lib/libutil1.0.dylib@ -> libutil.dylib === NetBSD does too: === NetBSD 6 === $ ls -alF /usr/lib/libutil* -r--r--r-- 1 root wheel 177672 Nov 9 10:58 /usr/lib/libutil.a lrwxr-xr-x 1 root wheel 25 Nov 9 11:05 /usr/lib/libutil.so@ -> ../../lib/libutil.so.7.19 lrwxr-xr-x 1 root wheel 25 Nov 9 11:05 /usr/lib/libutil.so.7@ -> ../../lib/libutil.so.7.19 lrwxr-xr-x 1 root wheel 25 Nov 9 11:05 /usr/lib/libutil.so.7.19@ -> ../../lib/libutil.so.7.19 -r--r--r-- 1 root wheel 184398 Nov 9 10:58 /usr/lib/libutil_p.a -r--r--r-- 1 root wheel 187056 Nov 9 10:58 /usr/lib/libutil_pic.a === I'm almost certain NetBSD 7 and current have it too, and FreeBSD too, but I don't have access to running versions of these to be 100% sure. Here are some source code pointers: * macOS https://opensource.apple.com/release/os-x-1012.html https://opensource.apple.com/source/libutil/libutil-47/ * NetBSD http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libutil/?only_with_tag=MAIN * FreeBSD https://svnweb.freebsd.org/base/head/lib/libutil/ Regards, Lewis ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Re: [gmailieer] fast fetch and two-way tag synchronization between notmuch and GMail
That looks really interesting. What is the license? :-) Cheers, Rafael Gaute Hope writes: > Hi, > > 'gmailieer' (or 'gmi') is a small program that can pull email and labels > (and changes to labels) from your GMail account and store them locally in a > maildir with the labels synchronized with a notmuch database. The > changes to tags in the notmuch database may be pushed back remotely to > your GMail account. > > The initial fetch of all emails takes some time, but synchronizing > labels and tags, and checking for new messages, is usually done in 1-2 > seconds. > > It requires the most recent notmuch, the python googleapi bindings and > tqdm. > > Disclaimer: > > This is still experimental, but it does not have access to delete > e-mail on your account - only fetch and change labels, so damage > should be limited. > > > > Instructions and source code can be found here: > > https://github.com/gauteh/gmailieer > > > > > Regards, Gaute > ___ > notmuch mailing list > notmuch@notmuchmail.org > https://notmuchmail.org/mailman/listinfo/notmuch ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Re: [PATCH] test-databases: use wget or curl to download test databases
Tomi Ollila writes: > Often Linux systems are shipped with wget(1) by default (and no curl). > > Many BSDs, macOS, and e.g. some Linux minimal/container images > comes with curl(1) (and no wget). > > Attempting to download with curl if wget is not available increases > the likelihood for this to succeed. the patch is OK for me. What I wondered was if we should switch to committing the test artifact(s) to a git branch (maybe even to master). Originally I was worried about accumulating binary blobs in git history, but it seems we rarely change this blob. Of course using git is problem for people who want to run the upgrade tests without a git checkout; I'm not sure how many of those people there are. The performance test corpus is large enough that I think the seperate download makes sense. I also hope that it will be updated to reflect more real world bottlenecks. d ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Re: Upcoming GMime 3.0 changes
Jeffrey Stedfast writes: > Hello notmuch devs, > > I'm sending this email to inform you guys of some upcoming GMime 3.0 features > and other changes that I've implemented. > Thanks for the heads up. At least the GPGME stuff sounds like good news, we may finally have working S/MIME encryption/decryption d ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
[PATCH] rename libutil.a to libnotmuch_util.a
Apparently some systems (MacOS?) have a system library called libutil and the name conflict causes problems. Since this library is quite notmuch specific, rename it to something less generic. --- Makefile.global | 2 +- Makefile.local | 2 +- lib/Makefile.local | 4 ++-- test/Makefile.local | 6 +++--- util/Makefile.local | 10 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile.global b/Makefile.global index 7a78e9b5..cae4c7d1 100644 --- a/Makefile.global +++ b/Makefile.global @@ -52,7 +52,7 @@ PV_FILE=bindings/python/notmuch/version.py 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 -lnotmuch_util -Llib -lnotmuch ifeq ($(LIBDIR_IN_LDCONFIG),0) FINAL_NOTMUCH_LDFLAGS += $(RPATH_LDFLAGS) endif diff --git a/Makefile.local b/Makefile.local index e75b6eae..03eafaaa 100644 --- a/Makefile.local +++ b/Makefile.local @@ -241,7 +241,7 @@ notmuch_client_modules = $(notmuch_client_srcs:.c=.o) 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/libnotmuch_util.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 --git a/lib/Makefile.local b/lib/Makefile.local index cd92fc79..d36fd5a0 100644 --- a/lib/Makefile.local +++ b/lib/Makefile.local @@ -60,8 +60,8 @@ libnotmuch_modules := $(libnotmuch_c_srcs:.c=.o) $(libnotmuch_cxx_srcs:.cc=.o) $(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/libnotmuch_util.a parse-time-string/libparse-time-string.a + $(call quiet,CXX $(CXXFLAGS)) $(libnotmuch_modules) $(FINAL_LIBNOTMUCH_LDFLAGS) $(LIBRARY_LINK_FLAG) -o $@ util/libnotmuch_util.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 --git a/test/Makefile.local b/test/Makefile.local index 46805972..0df72c92 100644 --- a/test/Makefile.local +++ b/test/Makefile.local @@ -12,15 +12,15 @@ smtp_dummy_srcs = \ smtp_dummy_modules = $(smtp_dummy_srcs:.c=.o) -$(dir)/arg-test: $(dir)/arg-test.o command-line-arguments.o util/libutil.a +$(dir)/arg-test: $(dir)/arg-test.o command-line-arguments.o util/libnotmuch_util.a $(call quiet,CC) $^ -o $@ $(LDFLAGS) -$(dir)/hex-xcode: $(dir)/hex-xcode.o command-line-arguments.o util/libutil.a +$(dir)/hex-xcode: $(dir)/hex-xcode.o command-line-arguments.o util/libnotmuch_util.a $(call quiet,CC) $^ -o $@ $(LDFLAGS) $(TALLOC_LDFLAGS) random_corpus_deps = $(dir)/random-corpus.o $(dir)/database-test.o \ notmuch-config.o status.o command-line-arguments.o \ - lib/libnotmuch.a util/libutil.a \ + lib/libnotmuch.a util/libnotmuch_util.a \ parse-time-string/libparse-time-string.a $(dir)/random-corpus: $(random_corpus_deps) diff --git a/util/Makefile.local b/util/Makefile.local index 905f2376..a6962d49 100644 --- a/util/Makefile.local +++ b/util/Makefile.local @@ -3,14 +3,14 @@ dir := util extra_cflags += -I$(srcdir)/$(dir) -libutil_c_srcs := $(dir)/xutil.c $(dir)/error_util.c $(dir)/hex-escape.c \ +libnotmuch_util_c_srcs := $(dir)/xutil.c $(dir)/error_util.c $(dir)/hex-escape.c \ $(dir)/string-util.c $(dir)/talloc-extra.c $(dir)/zlib-extra.c \ $(dir)/util.c -libutil_modules := $(libutil_c_srcs:.c=.o) +libnotmuch_util_modules := $(libnotmuch_util_c_srcs:.c=.o) -$(dir)/libutil.a: $(libutil_modules) +$(dir)/libnotmuch_util.a: $(libnotmuch_util_modules) $(call quiet,AR) rcs $@ $^ -SRCS := $(SRCS) $(libutil_c_srcs) -CLEAN := $(CLEAN) $(libutil_modules) $(dir)/libutil.a +SRCS := $(SRCS) $(libnotmuch_util_c_srcs) +CLEAN := $(CLEAN) $(libnotmuch_util_modules) $(dir)/libnotmuch_util.a -- 2.11.0 ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch