Re: [PATCH v2] debian: package ruby bindings
authorAli Polatel <polatel@gmail.com>
Thu, 16 May 2013 14:49:05 +0000 (17:49 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:54:47 +0000 (09:54 -0800)
d3/f4f1cdd28a072b6902966b68a4d02cd0ba8a3d [new file with mode: 0644]

diff --git a/d3/f4f1cdd28a072b6902966b68a4d02cd0ba8a3d b/d3/f4f1cdd28a072b6902966b68a4d02cd0ba8a3d
new file mode 100644 (file)
index 0000000..f8b2534
--- /dev/null
@@ -0,0 +1,99 @@
+Return-Path: <polatel@gmail.com>\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 1D23D431FD5\r
+       for <notmuch@notmuchmail.org>; Thu, 16 May 2013 07:49:34 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 iFKagUwJ+Krd for <notmuch@notmuchmail.org>;\r
+       Thu, 16 May 2013 07:49:28 -0700 (PDT)\r
+Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com\r
+       [209.85.217.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id A44F4431FC3\r
+       for <notmuch@notmuchmail.org>; Thu, 16 May 2013 07:49:27 -0700 (PDT)\r
+Received: by mail-lb0-f171.google.com with SMTP id v20so3234281lbc.16\r
+       for <notmuch@notmuchmail.org>; Thu, 16 May 2013 07:49:26 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=x-received:mime-version:in-reply-to:references:from:date:message-id\r
+       :subject:to:cc:content-type;\r
+       bh=nNbCk3pwlopnjjvWIUHfcAoyy3Je+LUe0FukVLFDgAA=;\r
+       b=gyVMVJcRHHl1NAMqT6x0AgrZLaRq+NmxmNEeQTtyvW2l9944fvHBaspWpSigUPOKf8\r
+       3MS/MO2VsHECP6CJxFCBZ+nes2jPMZF8qnDW7F1VDjmCnFXDf/snlFhOQnuC8/s2lnIr\r
+       osABBFXCL1aAfu0VjC9KnXtw9khqL5ZK1iltfQwgG1htnsj+NHzs/JDwV8diGQSkAeOT\r
+       yGZPKcPQqYPH2y/iPUydwl1xcYqf5yo0G8A6Bvy4UMaTSRIY6baPUvbgY/Q1OvSUNYYG\r
+       jbOFKNMqqnDiHwrr29H2D4nWSl0odaD2nsKYauG3iY7/CcU4XpUurZCX8P3RUApAr+kA\r
+       KtLQ==\r
+X-Received: by 10.112.89.168 with SMTP id bp8mr3408728lbb.50.1368715766084;\r
+       Thu, 16 May 2013 07:49:26 -0700 (PDT)\r
+MIME-Version: 1.0\r
+Received: by 10.112.130.39 with HTTP; Thu, 16 May 2013 07:49:05 -0700 (PDT)\r
+In-Reply-To: <878v3fc7xn.fsf@convex-new.cs.unb.ca>\r
+References: <1366139319-6985-1-git-send-email-felipe.contreras@gmail.com>\r
+       <87ehd7c9sk.fsf@convex-new.cs.unb.ca>\r
+       <CAMP44s0EsZ9bVWCB0KEM3TPk92wXUrrBGAQyDYHqCOwCzMB_Kw@mail.gmail.com>\r
+       <878v3fc7xn.fsf@convex-new.cs.unb.ca>\r
+From: Ali Polatel <polatel@gmail.com>\r
+Date: Thu, 16 May 2013 17:49:05 +0300\r
+Message-ID:\r
+ <CADv3eyy22dJqOkvmGe4xRxQB7AqK_a-UGjATV8GCHxvvO2W+Bg@mail.gmail.com>\r
+Subject: Re: [PATCH v2] debian: package ruby bindings\r
+To: David Bremner <bremner@debian.org>\r
+Content-Type: text/plain; charset=ISO-8859-1\r
+Cc: notmuch@notmuchmail.org\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, 16 May 2013 14:49:34 -0000\r
+\r
+2013/5/16 David Bremner <bremner@debian.org>:\r
+> Felipe Contreras <felipe.contreras@gmail.com> writes:\r
+>>\r
+>> Yes. Do you have an old version of notmuch installed?\r
+>>\r
+>\r
+> Yes I do. Hmm. It still seems like a bug to me; shouldn't the include\r
+> paths be ordered to find the right include files first?\r
+>\r
+> d\r
+\r
+Well I must accept I haven't spent much time on thinking how to make\r
+extconf.rb perfect.\r
+Excerpt from extconf.rb from bindings/ruby:\r
+\r
+find_header('notmuch.h', '../../lib')\r
+find_library('notmuch', 'notmuch_database_create', '../../lib')\r
+\r
+Two problems here:\r
+1. The library must be built before the bindings are built otherwise\r
+the installed version is used.\r
+    However the installed version should never be used (or must be\r
+made a non-default option somehow)\r
+2. The library must be built in the source tree. Out-of-source tree\r
+builds will cause extconf.rb to look for the installed version too.\r
+    Not sure whether this is a major concern because I don't know\r
+whether out-of-tree builds are supported by the build system.\r
+\r
+Having said that, I will try to have a look at solving these issues\r
+this weekend.\r
+Unfortunately I can't make promises because real-life is killing all\r
+my time lately.\r
+\r
+        -alip\r