[PATCH 0/3] Build and test Ruby bindings
authorFelipe Contreras <felipe.contreras@gmail.com>
Fri, 23 May 2014 10:34:24 +0000 (05:34 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:02:57 +0000 (10:02 -0800)
f9/33a60724693c29b1deb1c97b27856865f2266d [new file with mode: 0644]

diff --git a/f9/33a60724693c29b1deb1c97b27856865f2266d b/f9/33a60724693c29b1deb1c97b27856865f2266d
new file mode 100644 (file)
index 0000000..0044640
--- /dev/null
@@ -0,0 +1,88 @@
+Return-Path: <felipe.contreras@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 1C118431FC7\r
+       for <notmuch@notmuchmail.org>; Fri, 23 May 2014 03:45:51 -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 nH2erfIOJY7P for <notmuch@notmuchmail.org>;\r
+       Fri, 23 May 2014 03:45:47 -0700 (PDT)\r
+Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com\r
+       [209.85.214.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 47671431FAE\r
+       for <notmuch@notmuchmail.org>; Fri, 23 May 2014 03:45:47 -0700 (PDT)\r
+Received: by mail-ob0-f174.google.com with SMTP id uz6so5167239obc.5\r
+       for <notmuch@notmuchmail.org>; Fri, 23 May 2014 03:45:45 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id;\r
+       bh=b0ByPJJF0IFa8ZTOrQ9VUIaC7K/bUHC/PrkEJt81DAo=;\r
+       b=UphEQjXUd08gEeThJZkSdkCOl5oItf5wbQKfVNl8gYhxC6nwTyHBNcVrHJVgk+cw5p\r
+       4mOwYG6QVNn03g+s4n++4fZk7jExR3L1HVQjIOiFMRvRvMa3uNVn39mssSllNkCo7ma7\r
+       YrQzyRcjWAPXibLV0Z2NvbLjvi9zmpkYwcAFrDXujlrNvOYSp2CP1/ZgkvSBRev/8Y/s\r
+       rilZ833BrwNTWZaZrBxDi2BiSGHmdyeWMOYsPhqvnnQIkBPbPFOu9x9sFtZSqkb65ORr\r
+       s0yxbTvcQpQ0CHfHD1+xoj1T5J7ABwPgr3wbU6Jjfr3YMM2rQwPlzeNKYQ4GlIL/vPzl\r
+       0wyg==\r
+X-Received: by 10.182.29.8 with SMTP id f8mr3765851obh.43.1400841945784;\r
+       Fri, 23 May 2014 03:45:45 -0700 (PDT)\r
+Received: from localhost (189-211-224-40.static.axtel.net. [189.211.224.40])\r
+       by mx.google.com with ESMTPSA id e16sm4859837obs.26.2014.05.23.03.45.44\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+       Fri, 23 May 2014 03:45:45 -0700 (PDT)\r
+From: Felipe Contreras <felipe.contreras@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/3] Build and test Ruby bindings\r
+Date: Fri, 23 May 2014 05:34:24 -0500\r
+Message-Id: <1400841267-12807-1-git-send-email-felipe.contreras@gmail.com>\r
+X-Mailer: git-send-email 1.9.3+fc1~5~gfaddd51\r
+Cc: Ali Polatel <alip@exherbo.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: Fri, 23 May 2014 10:45:51 -0000\r
+\r
+This patch series adds simple tests for the Ruby bindings, which don't really\r
+make sense to add unless we build the bindings by default, so I added support for that.\r
+\r
+Unfortunately the pkg-config files for Ruby are specific to each major version,\r
+so we have to check for Ruby 2.1, 2.0, 1.9, etc. For now I'm checking only for\r
+Ruby 2.1, but more versions can be added later if demanded. Since this support\r
+wasn't there before nothing will be broken if we don't build on say, Ruby 2.0.\r
+\r
+\r
+Felipe Contreras (3):\r
+  build: don't add sub Makefiles to the global deps\r
+  build: add support to build Ruby bindings\r
+  test: add tests for Ruby bindings\r
+\r
+ Makefile                     |  2 +-\r
+ bindings/ruby/Makefile.local | 21 ++++++++++\r
+ bindings/ruby/extconf.rb     | 14 +------\r
+ configure                    | 21 ++++++++++\r
+ test/T540-ruby.sh            | 98 ++++++++++++++++++++++++++++++++++++++++++++\r
+ test/test-lib.sh             |  1 +\r
+ 6 files changed, 144 insertions(+), 13 deletions(-)\r
+ create mode 100644 bindings/ruby/Makefile.local\r
+ create mode 100755 test/T540-ruby.sh\r
+\r
+-- \r
+1.9.3+fc1~5~gfaddd51\r
+\r