1 Return-Path: <pieter@praet.org>
\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 00A6B431FBD
\r
6 for <notmuch@notmuchmail.org>; Fri, 3 Feb 2012 04:14:36 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 lP97+uX47xE7 for <notmuch@notmuchmail.org>;
\r
16 Fri, 3 Feb 2012 04:14:34 -0800 (PST)
\r
17 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com
\r
18 [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 71847431FC2
\r
21 for <notmuch@notmuchmail.org>; Fri, 3 Feb 2012 04:14:34 -0800 (PST)
\r
22 Received: by werb10 with SMTP id b10so3004325wer.26
\r
23 for <notmuch@notmuchmail.org>; Fri, 03 Feb 2012 04:14:31 -0800 (PST)
\r
24 Received: by 10.216.135.169 with SMTP id u41mr2846516wei.13.1328271271841;
\r
25 Fri, 03 Feb 2012 04:14:31 -0800 (PST)
\r
26 Received: from localhost ([109.131.13.166])
\r
27 by mx.google.com with ESMTPS id g6sm11776308wig.9.2012.02.03.04.14.31
\r
28 (version=TLSv1/SSLv3 cipher=OTHER);
\r
29 Fri, 03 Feb 2012 04:14:31 -0800 (PST)
\r
30 From: Pieter Praet <pieter@praet.org>
\r
31 To: datapipe@gmail.com
\r
32 Subject: [PATCH] configure: update explicit check for glib : >= 2.22
\r
33 Date: Fri, 3 Feb 2012 13:12:25 +0100
\r
34 Message-Id: <1328271145-5634-1-git-send-email-pieter@praet.org>
\r
35 X-Mailer: git-send-email 1.7.8.1
\r
37 <alpine.DEB.2.02.1201132130220.21970@ltspubuntu4.int.smq.datapipe.net>
\r
39 <alpine.DEB.2.02.1201132130220.21970@ltspubuntu4.int.smq.datapipe.net>
\r
40 Cc: Notmuch Mail <notmuch@notmuchmail.org>
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.13
\r
44 List-Id: "Use and development of the notmuch mail system."
\r
45 <notmuch.notmuchmail.org>
\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
49 List-Post: <mailto:notmuch@notmuchmail.org>
\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
53 X-List-Received-Date: Fri, 03 Feb 2012 12:14:36 -0000
\r
55 As of commit b3caef1f, we're using g_array_unref() in 'lib/query.cc',
\r
56 which was only introduced in glib 2.22, so update the dependency.
\r
58 Thanks to datapipe@gmail.com for reporting this [1].
\r
60 Also see commit b88e6abc.
\r
62 [1] id:"alpine.DEB.2.02.1201132130220.21970@ltspubuntu4.int.smq.datapipe.net"
\r
64 configure | 8 ++++----
\r
65 1 files changed, 4 insertions(+), 4 deletions(-)
\r
67 diff --git a/configure b/configure
\r
68 index e90b76f..8b85b9d 100755
\r
71 @@ -289,10 +289,10 @@ if [ "$have_gmime" = "0" ]; then
\r
74 # GMime already depends on Glib >= 2.12, but we use at least one Glib
\r
75 -# function that only exists as of 2.14, (g_hash_table_get_keys)
\r
76 -printf "Checking for Glib development files (>= 2.14)... "
\r
77 +# function that only exists as of 2.22, (g_array_unref)
\r
78 +printf "Checking for Glib development files (>= 2.22)... "
\r
80 -if pkg-config --exists 'glib-2.0 >= 2.14'; then
\r
81 +if pkg-config --exists 'glib-2.0 >= 2.22'; then
\r
84 glib_cflags=$(pkg-config --cflags glib-2.0)
\r
85 @@ -416,7 +416,7 @@ EOF
\r
86 echo " http://spruce.sourceforge.net/gmime/"
\r
88 if [ $have_glib -eq 0 ]; then
\r
89 - echo " Glib library >= 2.14 (including development files such as headers)"
\r
90 + echo " Glib library >= 2.22 (including development files such as headers)"
\r
91 echo " http://ftp.gnome.org/pub/gnome/sources/glib/"
\r
93 if [ $have_talloc -eq 0 ]; then
\r