Re: [PATCH] fix notmuch_database_open call in addrlookup
authorJames Vasile <james@hackervisions.org>
Thu, 8 Nov 2012 01:45:29 +0000 (20:45 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:50:26 +0000 (09:50 -0800)
9c/366675c7c23c999412b623773db4128260bec2 [new file with mode: 0644]

diff --git a/9c/366675c7c23c999412b623773db4128260bec2 b/9c/366675c7c23c999412b623773db4128260bec2
new file mode 100644 (file)
index 0000000..09ac83e
--- /dev/null
@@ -0,0 +1,105 @@
+Return-Path: <james@openitp.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id ADF23431FB6\r
+       for <notmuch@notmuchmail.org>; Wed,  7 Nov 2012 17:45:45 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.01\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.01 tagged_above=-999 required=5\r
+       tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id aayckuG9ZXo9 for <notmuch@notmuchmail.org>;\r
+       Wed,  7 Nov 2012 17:45:44 -0800 (PST)\r
+Received: from mail.sflc.info (mail.sflc.info [207.86.247.70])\r
+       (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id F07CC431FAE\r
+       for <notmuch@notmuchmail.org>; Wed,  7 Nov 2012 17:45:43 -0800 (PST)\r
+Received: from localhost (ool-457af02d.dyn.optonline.net [69.122.240.45])\r
+       by mail.sflc.info (Postfix) with ESMTPSA id 8A2B7B4C018;\r
+       Thu,  8 Nov 2012 01:45:38 +0000 (UTC)\r
+From: James Vasile <james@hackervisions.org>\r
+To: Ethan Glasser-Camp <ethan.glasser.camp@gmail.com>,\r
+       notmuch mailing list <notmuch@notmuchmail.org>\r
+Subject: Re: [PATCH] fix notmuch_database_open call in addrlookup\r
+In-Reply-To: <87y5idijfx.fsf@jamesvasile.com>\r
+References: <87ip9q4moj.fsf@hackervisions.org>\r
+       <87625jidlr.fsf@betacantrips.com> <87y5idijfx.fsf@jamesvasile.com>\r
+User-Agent: Notmuch/0.14+96~gb732e1b (http://notmuchmail.org) Emacs/23.4.1\r
+       (i486-pc-linux-gnu)\r
+Date: Wed, 07 Nov 2012 20:45:29 -0500\r
+Message-ID: <87mwyseukm.fsf@jamesvasile.com>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 08 Nov 2012 01:45:45 -0000\r
+\r
+--=-=-=\r
+\r
+James Vasile <james@hackervisions.org> writes:\r
+> Ethan Glasser-Camp <ethan.glasser.camp@gmail.com> writes:\r
+>\r
+>> James Vasile <james@hackervisions.org> writes:\r
+>>\r
+>>> What's the best way to submit changes to addrlookup?  Right now, it is\r
+>>> out of date vs the latest libnotmuch.  The addrlookup repo is vala code\r
+>>> but the wiki [1] points to a generated c file [2].\r
+>>>\r
+>>> [1] http://github.com/spaetz/vala-notmuch/raw/static-sources/src/addrlookup.c\r
+>>> [2] http://notmuchmail.org/emacstips/\r
+>>>\r
+>>> At any rate, a patch to that c file is below.  If you upgraded notmuch\r
+>>> and now addrlookup gives errors about not finding libnotmuch.so.2, this\r
+>>> patch might be what you need.\r
+>>\r
+>> I'd try to contact the author of the code, perhaps by submitting an\r
+>> issue or pull request on the github page for the project. I'm sure he'd\r
+>> prefer a patch to the Vala source.\r
+>>\r
+>> Ethan\r
+>\r
+> Thanks, will do.  My vala is weak, so a patch to the vala source is\r
+> unlikely to make it to the front of my queue this year.  I'll ping\r
+> Sebastian Spaeth directly and via github.\r
+>\r
+> -J\r
+\r
+Just to close the loop: I contacted Sebastian and he applied my patch.\r
+I tested the instructions on the wiki and confirmed they are currently\r
+correct against his tree.  He notes that he doesn't currently have time\r
+to monitor the list closely.\r
+\r
+Thanks,\r
+-J\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+\r
+iQEcBAEBAgAGBQJQmw65AAoJECaDklOuuidY5ycH/0wRP9OnA/v67CC5NHMHT+YF\r
+dhvnXcpSrF7Kyu2opbf73VsRLsmjvNCQupg7SAwH0X1QS2BQfykE2UKk5BJDNPOj\r
+29ID7ENUU1TuiBPBryO6VOa6u7w6qkYtub0/1+svl/Y4/VNUjNlUAGFrKj7105xe\r
+8/qzIpuuXi+RU6Z799TazsemZWrAWJ1TOP6iWPM0OFTPZDQhs0CfHhnwXmc80jvD\r
+dV5GGB3cULMIaPVrj3UZNMzCunRljIEC4Xiz8ZQbyjDayWtXz8G+TXn46SR99qkA\r
+BEaht7eQeomrmFOV9LbMPTUke3teMAOoTXgMxBnJyt4cPEZIL90JGSY7TYByWgs=\r
+=UYCx\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r