Re: [PATCH] NEWS, python: add --libnotmuch-dir option to "setup.py install"
authorDavid Bremner <david@tethera.net>
Fri, 1 Jul 2016 16:31:15 +0000 (18:31 +0200)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:22:10 +0000 (16:22 -0700)
3b/a0b03ad249f53d3e794196fbe46310ecaf61ca [new file with mode: 0644]

diff --git a/3b/a0b03ad249f53d3e794196fbe46310ecaf61ca b/3b/a0b03ad249f53d3e794196fbe46310ecaf61ca
new file mode 100644 (file)
index 0000000..310577e
--- /dev/null
@@ -0,0 +1,78 @@
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 0E0846DE0130\r
+ for <notmuch@notmuchmail.org>; Fri,  1 Jul 2016 09:31:30 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.011\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.011 tagged_above=-999 required=5 tests=[AWL=0.000,\r
+  SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id Is6Bw1l2xRTT for <notmuch@notmuchmail.org>;\r
+ Fri,  1 Jul 2016 09:31:22 -0700 (PDT)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id DFE5F6DE00E8\r
+ for <notmuch@notmuchmail.org>; Fri,  1 Jul 2016 09:31:21 -0700 (PDT)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1bJ1LI-0005dB-2U; Fri, 01 Jul 2016 12:31:00 -0400\r
+Received: (nullmailer pid 13093 invoked by uid 1000);\r
+ Fri, 01 Jul 2016 16:31:15 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Daniel Lee Harple <dlh@harple.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] NEWS,\r
+ python: add --libnotmuch-dir option to "setup.py install"\r
+In-Reply-To:\r
+ <CA+7LD1FBuvM8UM1WX-QgKg4haK_iy11MuFZpW3A6oTc8x+9roQ@mail.gmail.com>\r
+References:\r
+ <CA+7LD1FBuvM8UM1WX-QgKg4haK_iy11MuFZpW3A6oTc8x+9roQ@mail.gmail.com>\r
+User-Agent: Notmuch/0.22.1~rc0 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Fri, 01 Jul 2016 18:31:15 +0200\r
+Message-ID: <87furtgw18.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 01 Jul 2016 16:31:30 -0000\r
+\r
+Daniel Lee Harple <dlh@harple.com> writes:\r
+\r
+> This change fixes the python bindings on OS X 10.11, which introduced a\r
+> feature called System Integrity Protection. The /usr/bin/python\r
+> executable has the "restricted" flag set, which means dlopen() requires\r
+> an absolute path to the library that is to be loaded.\r
+\r
+Thanks for the patch. I'll let Justus (in copy) decide what the best way\r
+to deal with this issue is.\r
+\r
+I just wanted to point both of you (as an example) to commit\r
+\r
+  233b5528cd4\r
+\r
+Which avoids re-computing the name of the shared library in the ruby\r
+bindings build system since it is already computed by the notmuch\r
+configure script. If possibly, I'd like to centralize these\r
+computations, so that we don't have to litter the entire source with\r
+various "if Darwin then blah" choices. And obviously it's better not to\r
+have update many places every time MacOS changes it's mind.\r
+\r
+I guess some people might like to build the bindings outside the notmuch\r
+source tree (via pypi or whatever). That's not a case I personally want\r
+to support, but I defer to Justus.\r
+\r
+d\r