From 18bc8fbc4a5ccbaa199d8ffc0cfa898133c40f7c Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Wed, 17 Apr 2013 14:08:39 +1900 Subject: [PATCH] [PATCH v2] debian: package ruby bindings --- db/447b267a10e955470670551783a039d74129ea | 133 ++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 db/447b267a10e955470670551783a039d74129ea diff --git a/db/447b267a10e955470670551783a039d74129ea b/db/447b267a10e955470670551783a039d74129ea new file mode 100644 index 000000000..bd575efc5 --- /dev/null +++ b/db/447b267a10e955470670551783a039d74129ea @@ -0,0 +1,133 @@ +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 B0301431FB6 + for ; Tue, 16 Apr 2013 12:09:55 -0700 (PDT) +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 0B70Z2YNErQ1 for ; + Tue, 16 Apr 2013 12:09:55 -0700 (PDT) +Received: from mail-qa0-f50.google.com (mail-qa0-f50.google.com + [209.85.216.50]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 3B05E431FAF + for ; Tue, 16 Apr 2013 12:09:55 -0700 (PDT) +Received: by mail-qa0-f50.google.com with SMTP id dx4so487665qab.9 + for ; Tue, 16 Apr 2013 12:09:54 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=x-received:from:to:cc:subject:date:message-id:x-mailer; + bh=MNP6uzyYEW0Lolvas+64zXXAIjspcCAmMCekAN5cRLU=; + b=x5qxdPbTEuXldKMvSsBv8wRLIcCHbD2To/O0jO4Sd1nXd7rEH2kDLOm3kYfCZMKeY9 + nW95PI/qIMypOWxxzWhGqb7wMn70H1tP/s+jwWTuHMtON5+lbP4QlvchddbbmbdHtSao + 6h93+EY7uOxBfA1eB2oLXLZ0OzgNeFC/xe/caLYVY8vx16Nozz6vXl8yqbD+q6M7DsSr + gMr+8hwyn2Fru65tRcDNKuTF1y4Fp/pIwdWPnKCJNfy2hKSwgj1mFgzma4OmNBIkfqFw + 08I115Qr/gdDLCMGb9kad6Upk7E4cy7kClQPQaXf+fG5wszzyCptE8XAAPHp/LWVLNwQ + vF7A== +X-Received: by 10.49.107.193 with SMTP id he1mr4506068qeb.2.1366139392641; + Tue, 16 Apr 2013 12:09:52 -0700 (PDT) +Received: from localhost (187-163-100-70.static.axtel.net. [187.163.100.70]) + by mx.google.com with ESMTPS id ei3sm4909623qab.10.2013.04.16.12.09.49 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Tue, 16 Apr 2013 12:09:51 -0700 (PDT) +From: Felipe Contreras +To: notmuch@notmuchmail.org +Subject: [PATCH v2] debian: package ruby bindings +Date: Tue, 16 Apr 2013 14:08:39 -0500 +Message-Id: <1366139319-6985-1-git-send-email-felipe.contreras@gmail.com> +X-Mailer: git-send-email 1.8.2.1.679.g509521a +Cc: David Bremner +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, 16 Apr 2013 19:09:55 -0000 + +Signed-off-by: Felipe Contreras +--- + debian/control | 14 ++++++++++++++ + debian/notmuch-ruby.install | 1 + + debian/rules | 3 +++ + 3 files changed, 18 insertions(+) + create mode 100644 debian/notmuch-ruby.install + +diff --git a/debian/control b/debian/control +index 854a32a..c59d3ea 100644 +--- a/debian/control ++++ b/debian/control +@@ -15,6 +15,7 @@ Build-Depends: + libz-dev, + python-all (>= 2.6.6-3~), + python3-all (>= 3.1.2-7~), ++ ruby, ruby-dev, + emacs23-nox | emacs23 (>=23~) | emacs23-lucid (>=23~) | + emacs24-nox | emacs24 (>=24~) | emacs24-lucid (>=24~), + gdb, +@@ -89,6 +90,19 @@ Description: Python 3 interface to the notmuch mail search and index library + This package provides a Python 3 interface to the notmuch + functionality, directly interfacing with a shared notmuch library. + ++Package: notmuch-ruby ++Architecture: any ++Section: ruby ++Depends: ${shlibs:Depends}, ${misc:Depends} ++Description: Ruby interface to the notmuch mail search and index library ++ Notmuch is a system for indexing, searching, reading, and tagging ++ large collections of email messages in maildir or mh format. It uses ++ the Xapian library to provide fast, full-text search with a very ++ convenient search syntax. ++ . ++ This package provides a Ruby interface to the notmuch ++ functionality, directly interfacing with a shared notmuch library. ++ + Package: notmuch-emacs + Architecture: all + Section: mail +diff --git a/debian/notmuch-ruby.install b/debian/notmuch-ruby.install +new file mode 100644 +index 0000000..98e7050 +--- /dev/null ++++ b/debian/notmuch-ruby.install +@@ -0,0 +1 @@ ++usr/lib/ruby/vendor_ruby/*/*/notmuch.so +diff --git a/debian/rules b/debian/rules +index c4e3930..71a5602 100755 +--- a/debian/rules ++++ b/debian/rules +@@ -12,15 +12,18 @@ override_dh_auto_build: + dh_auto_build + dh_auto_build --sourcedirectory bindings/python + cd bindings/python && $(python3_all) setup.py build ++ cd bindings/ruby && ruby extconf.rb --vendor && make + $(MAKE) -C contrib/notmuch-mutt + + override_dh_auto_clean: + dh_auto_clean + dh_auto_clean --sourcedirectory bindings/python + cd bindings/python && $(python3_all) setup.py clean -a ++ dh_auto_clean --sourcedirectory bindings/ruby + $(MAKE) -C contrib/notmuch-mutt clean + + override_dh_auto_install: + dh_auto_install + dh_auto_install --sourcedirectory bindings/python + cd bindings/python && $(python3_all) setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp ++ dh_auto_install --sourcedirectory bindings/ruby +-- +1.8.2.1.679.g509521a + -- 2.26.2