From f4c4aab1503dde0b3df57a6a5b921fbbc470676a Mon Sep 17 00:00:00 2001 From: Ethan Glasser-Camp Date: Tue, 6 Nov 2012 23:01:36 +1900 Subject: [PATCH] Re: [PATCH] fix notmuch_database_open call in addrlookup --- 74/e9eb471489e82eb1f902e349615132c968b59b | 84 +++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 74/e9eb471489e82eb1f902e349615132c968b59b diff --git a/74/e9eb471489e82eb1f902e349615132c968b59b b/74/e9eb471489e82eb1f902e349615132c968b59b new file mode 100644 index 000000000..4d78a6400 --- /dev/null +++ b/74/e9eb471489e82eb1f902e349615132c968b59b @@ -0,0 +1,84 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 63EB5431FB6 + for ; Mon, 5 Nov 2012 20:01:42 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id Zkta4dSRSZlo for ; + Mon, 5 Nov 2012 20:01:42 -0800 (PST) +Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com + [209.85.220.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id DA6EA431FAE + for ; Mon, 5 Nov 2012 20:01:41 -0800 (PST) +Received: by mail-vc0-f181.google.com with SMTP id n11so7366vch.26 + for ; Mon, 05 Nov 2012 20:01:41 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:subject:in-reply-to:references:user-agent:date:message-id + :mime-version:content-type; + bh=MLZ6IsSHHBHVBdiUHIy0D3zrTB8WXRwGui471HopJMg=; + b=fDeeXryXGtdPhein2Rqd7FwVh2hag4V7gCwtuf7VGirnjEaifgl0U/Uf7/aMCf3zYh + YXXjwAYHoqNByCH5nLGgfsTRDW82Wt6hrtKkSaDDCcp0MvGDs6WLBMrtAESes5a1iXeT + GMcI3X0GH0Y6uHWdV4sTEfedGKe66skWxLe4JEWEaBRMN20DPQG/LfVCqJQbVOhB5CtH + p3scSZuYa+Z5APE4UmzBjm9uTIYUSSysyu0BNqoiJx9YP3nHRz+7uZ9fepXkthgDA+Lp + 4JuraIbpXy4Rt3LrSQcHh0BzUYZT4RJI+KR7KK8kDo6ziPEoeprYQkILZYGGghB2GdeL + PM6Q== +Received: by 10.52.76.40 with SMTP id h8mr10007856vdw.123.1352174501214; + Mon, 05 Nov 2012 20:01:41 -0800 (PST) +Received: from smtp.gmail.com (p70-80.acedsl.com. [66.114.70.80]) + by mx.google.com with ESMTPS id g5sm9351512vez.6.2012.11.05.20.01.40 + (version=TLSv1/SSLv3 cipher=OTHER); + Mon, 05 Nov 2012 20:01:40 -0800 (PST) +From: Ethan Glasser-Camp +To: James Vasile , + notmuch mailing list +Subject: Re: [PATCH] fix notmuch_database_open call in addrlookup +In-Reply-To: <87ip9q4moj.fsf@hackervisions.org> +References: <87ip9q4moj.fsf@hackervisions.org> +User-Agent: Notmuch/0.14+45~g6ea9330 (http://notmuchmail.org) Emacs/23.4.1 + (x86_64-pc-linux-gnu) +Date: Mon, 05 Nov 2012 23:01:36 -0500 +Message-ID: <87625jidlr.fsf@betacantrips.com> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Tue, 06 Nov 2012 04:01:42 -0000 + +James Vasile writes: + +> What's the best way to submit changes to addrlookup? Right now, it is +> out of date vs the latest libnotmuch. The addrlookup repo is vala code +> but the wiki [1] points to a generated c file [2]. +> +> [1] http://github.com/spaetz/vala-notmuch/raw/static-sources/src/addrlookup.c +> [2] http://notmuchmail.org/emacstips/ +> +> At any rate, a patch to that c file is below. If you upgraded notmuch +> and now addrlookup gives errors about not finding libnotmuch.so.2, this +> patch might be what you need. + +I'd try to contact the author of the code, perhaps by submitting an +issue or pull request on the github page for the project. I'm sure he'd +prefer a patch to the Vala source. + +Ethan -- 2.26.2