1 Return-Path: <felipe.contreras@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id B5262431FAF
\r
6 for <notmuch@notmuchmail.org>; Wed, 3 Apr 2013 16:28:57 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id qkhHsHY734hT for <notmuch@notmuchmail.org>;
\r
17 Wed, 3 Apr 2013 16:28:57 -0700 (PDT)
\r
18 Received: from mail-ie0-f173.google.com (mail-ie0-f173.google.com
\r
19 [209.85.223.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 3C562431FAE
\r
22 for <notmuch@notmuchmail.org>; Wed, 3 Apr 2013 16:28:57 -0700 (PDT)
\r
23 Received: by mail-ie0-f173.google.com with SMTP id 9so2398294iec.4
\r
24 for <notmuch@notmuchmail.org>; Wed, 03 Apr 2013 16:28:54 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
26 h=x-received:from:to:cc:subject:date:message-id:x-mailer;
\r
27 bh=DHka+rAlPne4mnJV1NrH2935Y0WIR0hLQ5S3sybxJjU=;
\r
28 b=nAKN8igY/jY2qj+X3sDhfYjzukT7zXDWeHHBqm0kJYcvtsoLgavXJfLKdGpTu5pUKn
\r
29 soaP1xMqPt4e3isfNLzbuF9p6pdHKbBQtYe2YRPWsdNRVQYFqh5HJiFapCHXHiTk7bFD
\r
30 Awatj6rOwx11rNx4MkUyhEfbAl6fBDZPY5DL6N/sxtSDgzSqMZdRPp6nFsOVPjnI9rU0
\r
31 aXguCB6vq+yeGoDxuxiKh1vaDUEoEBnZK49NZfGXijsaDh4C6Po9tx3kjxUAmNaxt1ia
\r
32 x0FPT+uF3H59H7o9C25FY6peW0VHCBdO88b5MQbGLOxnONlu0vAkl7621czFe9XRnsFu
\r
34 X-Received: by 10.50.46.133 with SMTP id v5mr8362075igm.94.1365031734748;
\r
35 Wed, 03 Apr 2013 16:28:54 -0700 (PDT)
\r
36 Received: from localhost (187-163-100-70.static.axtel.net. [187.163.100.70])
\r
37 by mx.google.com with ESMTPS id wn10sm10903633igb.2.2013.04.03.16.28.52
\r
38 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
39 Wed, 03 Apr 2013 16:28:53 -0700 (PDT)
\r
40 From: Felipe Contreras <felipe.contreras@gmail.com>
\r
41 To: notmuch@notmuchmail.org
\r
42 Subject: [PATCH] debian: package ruby bindings
\r
43 Date: Wed, 3 Apr 2013 17:27:58 -0600
\r
44 Message-Id: <1365031678-25188-1-git-send-email-felipe.contreras@gmail.com>
\r
45 X-Mailer: git-send-email 1.8.2
\r
46 Cc: Stefano Zacchiroli <zack@upsilon.cc>, David Bremner <bremner@debian.org>
\r
47 X-BeenThere: notmuch@notmuchmail.org
\r
48 X-Mailman-Version: 2.1.13
\r
50 List-Id: "Use and development of the notmuch mail system."
\r
51 <notmuch.notmuchmail.org>
\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
55 List-Post: <mailto:notmuch@notmuchmail.org>
\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
59 X-List-Received-Date: Wed, 03 Apr 2013 23:28:57 -0000
\r
61 Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
\r
63 debian/control | 14 ++++++++++++++
\r
64 debian/notmuch-ruby.install | 1 +
\r
65 debian/rules | 9 +++++++++
\r
66 3 files changed, 24 insertions(+)
\r
67 create mode 100644 debian/notmuch-ruby.install
\r
69 diff --git a/debian/control b/debian/control
\r
70 index 854a32a..620c5ce 100644
\r
71 --- a/debian/control
\r
72 +++ b/debian/control
\r
73 @@ -15,6 +15,7 @@ Build-Depends:
\r
75 python-all (>= 2.6.6-3~),
\r
76 python3-all (>= 3.1.2-7~),
\r
78 emacs23-nox | emacs23 (>=23~) | emacs23-lucid (>=23~) |
\r
79 emacs24-nox | emacs24 (>=24~) | emacs24-lucid (>=24~),
\r
81 @@ -89,6 +90,19 @@ Description: Python 3 interface to the notmuch mail search and index library
\r
82 This package provides a Python 3 interface to the notmuch
\r
83 functionality, directly interfacing with a shared notmuch library.
\r
85 +Package: notmuch-ruby
\r
88 +Depends: ${shlibs:Depends}, ${misc:Depends}
\r
89 +Description: Ruby interface to the notmuch mail search and index library
\r
90 + Notmuch is a system for indexing, searching, reading, and tagging
\r
91 + large collections of email messages in maildir or mh format. It uses
\r
92 + the Xapian library to provide fast, full-text search with a very
\r
93 + convenient search syntax.
\r
95 + This package provides a Ruby interface to the notmuch
\r
96 + functionality, directly interfacing with a shared notmuch library.
\r
98 Package: notmuch-emacs
\r
101 diff --git a/debian/notmuch-ruby.install b/debian/notmuch-ruby.install
\r
102 new file mode 100644
\r
103 index 0000000..f92f09c
\r
105 +++ b/debian/notmuch-ruby.install
\r
107 +usr/local/lib/site_ruby/*/*/notmuch.so
\r
108 diff --git a/debian/rules b/debian/rules
\r
109 index c4e3930..7c7247a 100755
\r
112 @@ -12,15 +12,24 @@ override_dh_auto_build:
\r
114 dh_auto_build --sourcedirectory bindings/python
\r
115 cd bindings/python && $(python3_all) setup.py build
\r
116 + dh_auto_build --sourcedirectory bindings/ruby
\r
117 + cd bindings/ruby && ruby extconf.rb && make
\r
118 $(MAKE) -C contrib/notmuch-mutt
\r
120 override_dh_auto_clean:
\r
122 dh_auto_clean --sourcedirectory bindings/python
\r
123 cd bindings/python && $(python3_all) setup.py clean -a
\r
124 + dh_auto_build --sourcedirectory bindings/ruby
\r
125 + cd bindings/ruby && test -f Makefile && make clean || true
\r
126 $(MAKE) -C contrib/notmuch-mutt clean
\r
128 override_dh_auto_install:
\r
130 dh_auto_install --sourcedirectory bindings/python
\r
131 cd bindings/python && $(python3_all) setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp
\r
132 + dh_auto_build --sourcedirectory bindings/ruby
\r
133 + cd bindings/ruby && make install DESTDIR=$(CURDIR)/debian/tmp
\r
135 +# ruby's site is configured in /usr/local
\r
136 +override_dh_usrlocal:
\r