Re: notmuch and "mute" -- useful to anyone?
[notmuch-archives.git] / 62 / 534eb2b55ca15ebcbf6a704471d8460cd27e9a
1 Return-Path: <teythoon@jade-hamburg.de>\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 9B127431FAF\r
6         for <notmuch@notmuchmail.org>; Sat,  3 Mar 2012 08:40:33 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id I42yXF8j0IaB for <notmuch@notmuchmail.org>;\r
16         Sat,  3 Mar 2012 08:40:33 -0800 (PST)\r
17 Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68])\r
18         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 0C99C431FAE\r
21         for <notmuch@notmuchmail.org>; Sat,  3 Mar 2012 08:40:33 -0800 (PST)\r
22 Received: from mail.jade-hamburg.de (unknown [85.183.11.228])\r
23         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
24         (No client certificate requested)\r
25         by mail.cryptobitch.de (Postfix) with ESMTPSA id 81B2A418213\r
26         for <notmuch@notmuchmail.org>; Sat,  3 Mar 2012 17:40:31 +0100 (CET)\r
27 Received: by mail.jade-hamburg.de (Postfix, from userid 401)\r
28         id 6E3BFDF2A3; Sat,  3 Mar 2012 17:40:30 +0100 (CET)\r
29 Received: from thinkbox.jade-hamburg.de (unknown [85.183.11.228])\r
30         (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
31         (No client certificate requested) (Authenticated sender: teythoon)\r
32         by mail.jade-hamburg.de (Postfix) with ESMTPSA id ADC03DF2A1\r
33         for <notmuch@notmuchmail.org>; Sat,  3 Mar 2012 17:40:29 +0100 (CET)\r
34 Received: from teythoon by thinkbox.jade-hamburg.de with local (Exim 4.77)\r
35         (envelope-from <teythoon@thinkbox.jade-hamburg.de>)\r
36         id 1S3s0S-0007X5-Dg\r
37         for notmuch@notmuchmail.org; Sat, 03 Mar 2012 17:40:28 +0100\r
38 From: Justus Winter <4winter@informatik.uni-hamburg.de>\r
39 To: notmuch@notmuchmail.org\r
40 Subject: [rfc] autotools compatibility and Hurd as platform\r
41 Date: Sat,  3 Mar 2012 17:40:21 +0100\r
42 Message-Id:\r
43  <1330792823-6049-1-git-send-email-4winter@informatik.uni-hamburg.de>\r
44 X-Mailer: git-send-email 1.7.9.1\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Sat, 03 Mar 2012 16:40:33 -0000\r
58 \r
59 I made two tiny patches to enable notmuch to be built on the Hurd, the\r
60 first one is straight forward, it just adds GNU as a platform and\r
61 reuses the settings for Linux.\r
62 \r
63 The second one deals with the problem that the value passed as an\r
64 argument to --build is not a triple but a tuple:\r
65 \r
66 % dpkg-architecture -qDEB_HOST_GNU_TYPE\r
67 i486-gnu\r
68 \r
69 notmuchs configure script expects the arguments for --host and --build\r
70 to be triple but autotools is much more forgiving here. It does so by\r
71 canonicalizing the values using some serious voodoo in\r
72 /usr/share/misc/config.sub.\r
73 \r
74 The patch reuses config.sub to canonicalize the arguments, but this\r
75 introduces a build dependency on autotools and probably worse, it uses\r
76 autotools internals and the path to config.sub has to be hardcoded.\r
77 \r
78 Since this might be not desirable we might also just drop the code\r
79 that parses the --host and --build options since we're not using them\r
80 anyway.\r
81 \r
82 With these two patches notmuch builds fine and works on the Hurd, the\r
83 testsuite is running fine (modulo one test, but that might be broken,\r
84 haven't checked on linux) and the python bindings are fine too (I've\r
85 been successfully running afew to tag some mails).\r
86 \r
87 Cheers,\r
88 Justus\r