[RFC PATCH 3/4] Add NOTMUCH_MESSAGE_FLAG_EXCLUDED flag
[notmuch-archives.git] / 4c / cb2742aed626ab94e03f97efb59c1a9a0dabe3
1 Return-Path: <tgray@protozoic.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 6BD94431FB6\r
6         for <notmuch@notmuchmail.org>; Sun,  3 Apr 2011 00:03:42 -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: 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 RIdqx9elk-nW for <notmuch@notmuchmail.org>;\r
16         Sun,  3 Apr 2011 00:03:41 -0700 (PDT)\r
17 Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183])\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 6CF96431FB5\r
21         for <notmuch@notmuchmail.org>; Sun,  3 Apr 2011 00:03:41 -0700 (PDT)\r
22 Received: from selenium.local (unknown [72.94.160.21])\r
23         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
24         (No client certificate requested)\r
25         by smtp.mxes.net (Postfix) with ESMTPSA id 694C4509ED\r
26         for <notmuch@notmuchmail.org>; Sun,  3 Apr 2011 03:03:36 -0400 (EDT)\r
27 Date: Sun, 3 Apr 2011 03:03:33 -0400\r
28 From: Tim Gray <tgray@protozoic.com>\r
29 To: notmuch@notmuchmail.org\r
30 Subject: [PATCH] Fix OS X linking issue.\r
31 Message-ID: <20110403070333.GA71620@selenium.125px.com>\r
32 Mail-Followup-To: notmuch@notmuchmail.org\r
33 MIME-Version: 1.0\r
34 Content-Type: text/plain; charset=us-ascii; format=flowed\r
35 Content-Disposition: inline\r
36 User-Agent: Mutt/1.5.21+23 (f7160c94ff70) (2010-12-30)\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Sun, 03 Apr 2011 07:03:42 -0000\r
50 \r
51 The libnotmuch file was given an installed_name using a relative path.  I \r
52 don't think OS X can follow up on this, so I changed the installed_name to the \r
53 actual installed path.\r
54 ---\r
55   \r
56 I can't claim that I actually know what I'm doing, but it doesn't seem like \r
57 many on the list are using OS X, so I'll do my best.  notmuch is building \r
58 without errors and notmuch-shared is able to be run from the build directory.  \r
59 However, once it's moved, it loses track of libnotmuch.1.dylib since it is \r
60 linked against the library with a relative path.  All I did was add the rest \r
61 of the installed path in the makefile for linking.  I think.\r
62   \r
63   lib/Makefile.local |    2 +-\r
64   1 files changed, 1 insertions(+), 1 deletions(-)\r
65 \r
66 diff --git a/lib/Makefile.local b/lib/Makefile.local\r
67 index d02a515..28b842f 100644\r
68 --- a/lib/Makefile.local\r
69 +++ b/lib/Makefile.local\r
70 @@ -30,7 +30,7 @@ LIBRARY_SUFFIX = dylib\r
71   LINKER_NAME = libnotmuch.$(LIBRARY_SUFFIX)\r
72   SONAME = libnotmuch.$(LIBNOTMUCH_VERSION_MAJOR).$(LIBRARY_SUFFIX)\r
73   LIBNAME = libnotmuch.$(LIBNOTMUCH_VERSION_MAJOR).$(LIBNOTMUCH_VERSION_MINOR).$(LIBNOTMUCH_VERSION_RELEASE).$(LIBRARY_SUFFIX)\r
74 -LIBRARY_LINK_FLAG = -dynamiclib -install_name $(SONAME) -compatibility_version $(LIBNOTMUCH_VERSION_MAJOR).$(LIBNOTMUCH_VERSION_MINOR) -current_version $(LIBNOTMUCH_VERSION_MAJOR).$(LIBNOTMUCH_VERSION_MINOR).$(LIBNOTMUCH_VERSION_RELEASE)\r
75 +LIBRARY_LINK_FLAG = -dynamiclib -install_name $(libdir)/$(SONAME) -compatibility_version $(LIBNOTMUCH_VERSION_MAJOR).$(LIBNOTMUCH_VERSION_MINOR) -current_version $(LIBNOTMUCH_VERSION_MAJOR).$(LIBNOTMUCH_VERSION_MINOR).$(LIBNOTMUCH_VERSION_RELEASE)\r
76   else\r
77   LIBRARY_SUFFIX = so\r
78   LINKER_NAME = libnotmuch.$(LIBRARY_SUFFIX)\r
79 -- \r
80 1.7.4.2\r
81 \r