diff options
Diffstat (limited to 'meta/recipes-sato/eds/evolution-data-server/optional_imapx_provider.patch')
-rw-r--r-- | meta/recipes-sato/eds/evolution-data-server/optional_imapx_provider.patch | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/meta/recipes-sato/eds/evolution-data-server/optional_imapx_provider.patch b/meta/recipes-sato/eds/evolution-data-server/optional_imapx_provider.patch new file mode 100644 index 0000000000..d9b094082c --- /dev/null +++ b/meta/recipes-sato/eds/evolution-data-server/optional_imapx_provider.patch | |||
@@ -0,0 +1,64 @@ | |||
1 | Upstream-Status: Inappropriate [disable feature] | ||
2 | |||
3 | Index: git/camel/providers/Makefile.am | ||
4 | =================================================================== | ||
5 | --- git.orig/camel/providers/Makefile.am 2010-07-06 18:49:34.000000000 +0800 | ||
6 | +++ git/camel/providers/Makefile.am 2010-07-08 17:23:56.000000000 +0800 | ||
7 | @@ -6,6 +6,10 @@ | ||
8 | IMAP4_DIR=imap4 | ||
9 | endif | ||
10 | |||
11 | +if ENABLE_IMAPX | ||
12 | +IMAPX_DIR=imapx | ||
13 | +endif | ||
14 | + | ||
15 | if ENABLE_HULA | ||
16 | HULA_DIR=hula | ||
17 | endif | ||
18 | @@ -15,6 +19,6 @@ | ||
19 | SENDMAIL_DIR=sendmail | ||
20 | endif | ||
21 | |||
22 | -SUBDIRS = pop3 $(SENDMAIL_DIR) smtp imap imapx $(IMAP4_DIR) $(NNTP_DIR) local groupwise $(HULA_DIR) | ||
23 | +SUBDIRS = pop3 $(SENDMAIL_DIR) smtp imap $(IMAPX_DIR) $(IMAP4_DIR) $(NNTP_DIR) local groupwise $(HULA_DIR) | ||
24 | |||
25 | -include $(top_srcdir)/git.mk | ||
26 | Index: git/configure.ac | ||
27 | =================================================================== | ||
28 | --- git.orig/configure.ac 2010-07-08 17:24:36.000000000 +0800 | ||
29 | +++ git/configure.ac 2010-07-08 17:32:06.000000000 +0800 | ||
30 | @@ -1002,6 +1002,26 @@ | ||
31 | AM_CONDITIONAL(ENABLE_IMAP4, [test x$enable_imap4 = xyes]) | ||
32 | |||
33 | dnl ****************************** | ||
34 | +dnl IMAPX code support. | ||
35 | +dnl ****************************** | ||
36 | +AC_ARG_ENABLE(imapx, | ||
37 | + AS_HELP_STRING([--enable-imapx=no/yes], | ||
38 | + [Attempt to compile yet another, incomplete, very unsupported IMAPv4r1 implementation]), | ||
39 | + [],[enable_imapx=no]) | ||
40 | + | ||
41 | +if test "x$enable_imapx" = "xyes"; then | ||
42 | + AC_DEFINE(ENABLE_IMAPX,1,[Really don't try this at home]) | ||
43 | + AC_PATH_PROG(GPERF, gperf) | ||
44 | + if test -z "$GPERF" ; then | ||
45 | + AC_MSG_ERROR([You need gperf to compile imapx provider]) | ||
46 | + fi | ||
47 | + msg_imapx=yes | ||
48 | +else | ||
49 | + msg_imapx=no | ||
50 | +fi | ||
51 | +AM_CONDITIONAL(ENABLE_IMAPX, [test x$enable_imapx = xyes]) | ||
52 | + | ||
53 | +dnl ****************************** | ||
54 | dnl Hula support | ||
55 | dnl ****************************** | ||
56 | AC_ARG_ENABLE([hula], | ||
57 | @@ -1541,3 +1561,7 @@ | ||
58 | if test "x$msg_hula" = "xyes"; then | ||
59 | echo "Hula support: $msg_hula" | ||
60 | fi | ||
61 | + | ||
62 | +if test "x$msg_imapx" = "xyes"; then | ||
63 | + echo "IMAPX support: $msg_imapx" | ||
64 | +fi | ||