[PATCH v2 04/14] cli/reply: unify reply format functions
[notmuch-archives.git] / 88 / b79e4a9de88edf46896e10ef4f5fc7ad8e5c84
1 Return-Path: <sojkam1@fel.cvut.cz>\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 5DEF24196F2\r
6         for <notmuch@notmuchmail.org>; Thu,  1 Apr 2010 04:10:11 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9] autolearn=ham\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 jf1dcqolCMQK for <notmuch@notmuchmail.org>;\r
16         Thu,  1 Apr 2010 04:10:10 -0700 (PDT)\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
18         by olra.theworths.org (Postfix) with ESMTP id 4A4124196F0\r
19         for <notmuch@notmuchmail.org>; Thu,  1 Apr 2010 04:10:10 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 3236A19F3601;\r
22         Thu,  1 Apr 2010 13:10:09 +0200 (CEST)\r
23 X-Virus-Scanned: IMAP AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
26         port 10044)\r
27         with ESMTP id elGhLkDL+yeX; Thu,  1 Apr 2010 13:10:08 +0200 (CEST)\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
29         by max.feld.cvut.cz (Postfix) with ESMTP id D0A4B19F33C7;\r
30         Thu,  1 Apr 2010 13:10:07 +0200 (CEST)\r
31 Received: from steelpick.2x.cz (k335-30.felk.cvut.cz [147.32.86.30])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id 5D5C9FA003;\r
34         Thu,  1 Apr 2010 13:10:07 +0200 (CEST)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.71)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1NxIHn-0002QD-34; Thu, 01 Apr 2010 13:10:07 +0200\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: Carl Worth <cworth@cworth.org>, Ingmar Vanhassel <ingmar@exherbo.org>,\r
40         notmuch@notmuchmail.org\r
41 In-Reply-To: <8739zfip5j.fsf@yoom.home.cworth.org>\r
42 References: <1268347072-2050-1-git-send-email-bgamari.foss@gmail.com>\r
43         <1268401656-12827-1-git-send-email-ingmar@exherbo.org>\r
44         <8739zfip5j.fsf@yoom.home.cworth.org>\r
45 Date: Thu, 01 Apr 2010 13:10:07 +0200\r
46 Message-ID: <87aatn8m40.fsf@steelpick.2x.cz>\r
47 MIME-Version: 1.0\r
48 Content-Type: text/plain; charset=us-ascii\r
49 Subject: Re: [notmuch] Notmuch shared library\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Thu, 01 Apr 2010 11:10:11 -0000\r
63 \r
64 On Thu, 01 Apr 2010, Carl Worth wrote:\r
65 > Finally, I'm a tiny bit annoyed that now after a fresh checkout of\r
66 > notmuch and "make" that one can't easily run ./notmuch without either\r
67 > installing the library (or fiddling with LD_LIBRARY_PATH). I've got some\r
68 > ideas on how to simplify that, but I'm not sure if any are good or worth\r
69 > it.\r
70 \r
71 Hi,\r
72 \r
73 this can be solved by the following patch, but I don't know how portable\r
74 it is. You can see the efect of this by\r
75 \r
76 $ objdump -x notmuch|grep RPATH\r
77 \r
78 diff --git a/Makefile.local b/Makefile.local\r
79 index 32b8f4a..2a1b55d 100644\r
80 --- a/Makefile.local\r
81 +++ b/Makefile.local\r
82 @@ -20,7 +20,7 @@ extra_cxxflags :=\r
83  # Smash together user's values with our extra values\r
84  FINAL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(CONFIGURE_CFLAGS) $(extra_cflags)\r
85  FINAL_CXXFLAGS = $(CXXFLAGS) $(WARN_CXXFLAGS) $(CONFIGURE_CXXFLAGS) $(extra_cflags) $(extra_cxxflags)\r
86 -FINAL_LDFLAGS = $(LDFLAGS) $(CONFIGURE_LDFLAGS)\r
87 +FINAL_LDFLAGS = $(LDFLAGS) $(CONFIGURE_LDFLAGS) -Wl,-rpath,\$$ORIGIN/lib -z origin --enable-new-dtags\r
88  \r
89  all: notmuch notmuch.1.gz\r
90  ifeq ($(MAKECMDGOALS),)\r
91 \r
92 --Michal\r