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 71559431FBD
\r
6 for <notmuch@notmuchmail.org>; Tue, 16 Apr 2013 11:39:01 -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 fvDQTwEJyPy8 for <notmuch@notmuchmail.org>;
\r
17 Tue, 16 Apr 2013 11:39:00 -0700 (PDT)
\r
18 Received: from mail-la0-f52.google.com (mail-la0-f52.google.com
\r
19 [209.85.215.52]) (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 C99E2431FAF
\r
22 for <notmuch@notmuchmail.org>; Tue, 16 Apr 2013 11:38:59 -0700 (PDT)
\r
23 Received: by mail-la0-f52.google.com with SMTP id ek20so752692lab.11
\r
24 for <notmuch@notmuchmail.org>; Tue, 16 Apr 2013 11:38:58 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
26 h=mime-version:x-received:in-reply-to:references:date:message-id
\r
27 :subject:from:to:cc:content-type;
\r
28 bh=SDOdvLWwYcRQGulMFu+NKGVBSvAcFvSoKp1zMAPQSdY=;
\r
29 b=Gd4ZGDsTSFd1OHaMCTqUxaqpbsuRqtVgIvwfda6+gG2qtyb/vufi1TyvWzdx29Be1U
\r
30 b+tYwCghi/fUOAdImevQwCf7m2Mr29WGwtjFkiMWkA4wgJ/okkSzZ9Bs9TrpIM5Q6qgl
\r
31 gl3zWDwWPxMbSn1V5dfuVrZKsvSQ1UeOCCAyvxfFJJa/ECltC9RxCCS6iIhsIRw5fiR3
\r
32 hjo2HeTB3h/lyL+6Upc+o2u40v7ECC7JeERXzS65ufr43tNH5A1bLSaQ3Spgn2+kt/A/
\r
33 kaW5Wc22TwvO5ObTNFp82vOLMuuZQXcqcWVe3p1aiQUIaPm2qqid11UT003VDBQedV2z
\r
36 X-Received: by 10.152.3.137 with SMTP id c9mr1847991lac.5.1366137538243; Tue,
\r
37 16 Apr 2013 11:38:58 -0700 (PDT)
\r
38 Received: by 10.114.59.210 with HTTP; Tue, 16 Apr 2013 11:38:57 -0700 (PDT)
\r
39 In-Reply-To: <871uact7kb.fsf@zancas.localnet>
\r
40 References: <1365031678-25188-1-git-send-email-felipe.contreras@gmail.com>
\r
41 <87y5clte1j.fsf@zancas.localnet>
\r
42 <CAMP44s07KeL4uAChs3KFiqwcsCwWTvni6MzFGzXNeO7=sd6U6Q@mail.gmail.com>
\r
43 <871uact7kb.fsf@zancas.localnet>
\r
44 Date: Tue, 16 Apr 2013 13:38:57 -0500
\r
46 <CAMP44s2=1g+MdtrwfwjvHLQp+=9L-nNauFAKJ86atX1mucWGHg@mail.gmail.com>
\r
47 Subject: Re: [PATCH] debian: package ruby bindings
\r
48 From: Felipe Contreras <felipe.contreras@gmail.com>
\r
49 To: David Bremner <bremner@debian.org>
\r
50 Content-Type: text/plain; charset=UTF-8
\r
51 Cc: notmuch@notmuchmail.org
\r
52 X-BeenThere: notmuch@notmuchmail.org
\r
53 X-Mailman-Version: 2.1.13
\r
55 List-Id: "Use and development of the notmuch mail system."
\r
56 <notmuch.notmuchmail.org>
\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
60 List-Post: <mailto:notmuch@notmuchmail.org>
\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
64 X-List-Received-Date: Tue, 16 Apr 2013 18:39:01 -0000
\r
66 On Mon, Apr 15, 2013 at 5:24 AM, David Bremner <bremner@debian.org> wrote:
\r
67 > Felipe Contreras <felipe.contreras@gmail.com> writes:
\r
68 >>> The package is still installing files into /usr/local, which is a
\r
69 >>> violation of debian policy 9.1.2
\r
71 >>> It's a good idea to run "lintian" on the resulting debian packages;
\r
72 >>> that's how I caught the problem with /usr/local.
\r
74 >> Tell that to debian maintainers who configure ruby that way:
\r
76 > [ ruby config deleted ]
\r
78 > I don't know if there is a bug in the Debian ruby package or not, but
\r
79 > that does not change whether our package is allowed to install into
\r
80 > /usr/local. I suspect the argument is that those defaults are sensible
\r
81 > for admins installing ruby packages on their own systems without using
\r
82 > the debian package system.
\r
84 I asked the debian ruby packages and looked everywhere, but there was
\r
85 no guidance at all. Nonetheless I think this does the trick:
\r
87 --- a/debian/notmuch-ruby.install
\r
88 +++ b/debian/notmuch-ruby.install
\r
90 -usr/local/lib/site_ruby/*/*/notmuch.so
\r
91 +usr/lib/ruby/vendor_ruby/*/*/notmuch.so
\r
92 diff --git a/debian/rules b/debian/rules
\r
93 index 1dd59d2..fed680b 100755
\r
96 @@ -12,7 +12,7 @@ override_dh_auto_build:
\r
98 dh_auto_build --sourcedirectory bindings/python
\r
99 cd bindings/python && $(python3_all) setup.py build
\r
100 - cd bindings/ruby && ruby extconf.rb && make
\r
101 + cd bindings/ruby && ruby extconf.rb --vendor && make
\r
102 $(MAKE) -C contrib/notmuch-mutt
\r
104 override_dh_auto_clean:
\r