a73718a096495606a66bc0532c6ac7877b665424
[notmuch-archives.git] / 4a / 137bd568f33d12933d306fc67ad6a8915e9d0b
1 Return-Path: <tomi.ollila@iki.fi>\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 18CFC431FB6\r
6         for <notmuch@notmuchmail.org>; Mon, 28 Oct 2013 08:32:04 -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 NahT4mCvb1oT for <notmuch@notmuchmail.org>;\r
16         Mon, 28 Oct 2013 08:31:55 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id A33BE431FAF\r
19         for <notmuch@notmuchmail.org>; Mon, 28 Oct 2013 08:31:55 -0700 (PDT)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id 988581000B2;\r
22         Mon, 28 Oct 2013 17:31:44 +0200 (EET)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
25 Subject: Re: [PATCH] lib: fix build on !HAVE_XAPIAN_COMPACT\r
26 In-Reply-To: <1382969359-8457-1-git-send-email-jani@nikula.org>\r
27 References: <1382969359-8457-1-git-send-email-jani@nikula.org>\r
28 User-Agent: Notmuch/0.16+119~g219c55f (http://notmuchmail.org) Emacs/24.3.1\r
29         (x86_64-unknown-linux-gnu)\r
30 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
31         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
32         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
33 Date: Mon, 28 Oct 2013 17:31:44 +0200\r
34 Message-ID: <m2sivls97j.fsf@guru.guru-group.fi>\r
35 MIME-Version: 1.0\r
36 Content-Type: text/plain\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: Mon, 28 Oct 2013 15:32:04 -0000\r
50 \r
51 On Mon, Oct 28 2013, Jani Nikula <jani@nikula.org> wrote:\r
52 \r
53 > Minimal change to build notmuch against xapian that doesn't have\r
54 > compaction support.\r
55 > ---\r
56 \r
57 LGTM.\r
58 \r
59 Tomi\r
60 \r
61 \r
62 >  lib/database.cc |    4 +++-\r
63 >  1 files changed, 3 insertions(+), 1 deletions(-)\r
64 >\r
65 > diff --git a/lib/database.cc b/lib/database.cc\r
66 > index 06f1c0a..20e5ec2 100644\r
67 > --- a/lib/database.cc\r
68 > +++ b/lib/database.cc\r
69 > @@ -944,7 +944,9 @@ DONE:\r
70 >  }\r
71 >  #else\r
72 >  notmuch_status_t\r
73 > -notmuch_database_compact_close (unused (notmuch_database_t *notmuch))\r
74 > +notmuch_database_compact (unused (const char* path),\r
75 > +                       unused (const char* backup_path),\r
76 > +                       unused (notmuch_compact_status_cb_t status_cb))\r
77 >  {\r
78 >      fprintf (stderr, "notmuch was compiled against a xapian version lacking compaction support.\n");\r
79 >      return NOTMUCH_STATUS_UNSUPPORTED_OPERATION;\r
80 > -- \r
81 > 1.7.2.5\r
82 >\r
83 > _______________________________________________\r
84 > notmuch mailing list\r
85 > notmuch@notmuchmail.org\r
86 > http://notmuchmail.org/mailman/listinfo/notmuch\r