Gentoo Archives: gentoo-commits

From: "Mart Raudsepp (leio)" <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/evolution-exchange/files: evolution-exchange-2.12.3-no-libsoup24.patch
Date: Tue, 01 Apr 2008 22:51:30
Message-Id: E1JgpKB-0008Rg-VP@stork.gentoo.org
1 leio 08/04/01 22:51:27
2
3 Added: evolution-exchange-2.12.3-no-libsoup24.patch
4 Log:
5 Fix broken build with libsoup-2.4 present on the system
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.1 gnome-extra/evolution-exchange/files/evolution-exchange-2.12.3-no-libsoup24.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/evolution-exchange/files/evolution-exchange-2.12.3-no-libsoup24.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/evolution-exchange/files/evolution-exchange-2.12.3-no-libsoup24.patch?rev=1.1&content-type=text/plain
13
14 Index: evolution-exchange-2.12.3-no-libsoup24.patch
15 ===================================================================
16 --- configure.in.orig 2008-04-01 23:56:17.000000000 +0300
17 +++ configure.in 2008-04-01 23:59:32.000000000 +0300
18 @@ -182,15 +182,9 @@
19 PKG_CHECK_MODULES(MAIL, libecal-$EDS_API_VERSION)
20 AC_SUBST(MAIL_CFLAGS)
21
22 -dnl Adding a manual detection check for libsoup, since evolution still has not
23 -dnl yet decided to use which version of libsoup it would be using. This check
24 -dnl needs to be removed once evolution is fixed to use one version of libsoup
25 -PKG_CHECK_MODULES(SOUP, libsoup-2.4, have_libsoup_24="yes", have_libsoup_24="no")
26 -if test $have_libsoup_24 = yes; then
27 - LIBSOUP_VERSION=2.4
28 -else
29 - LIBSOUP_VERSION=2.2
30 -fi
31 +AC_ARG_VAR(SOUP_CFLAGS, dummy)
32 +AC_ARG_VAR(SOUP_LIBS, dummy)
33 +LIBSOUP_VERSION=2.2
34
35 PKG_CHECK_MODULES(EXCHANGE_STORAGE, evolution-shell evolution-plugin libedataserverui-$EDS_API_VERSION libedata-book-$EDS_API_VERSION libedata-cal-$EDS_API_VERSION libsoup-$LIBSOUP_VERSION libglade-2.0 camel-provider-$EDS_API_VERSION)
36 AC_SUBST(EXCHANGE_STORAGE_CFLAGS)
37 --- configure.orig 2008-04-01 23:56:14.000000000 +0300
38 +++ configure 2008-04-01 23:59:37.000000000 +0300
39 @@ -1659,8 +1659,8 @@
40 CAMEL_LIBS linker flags for CAMEL, overriding pkg-config
41 MAIL_CFLAGS C compiler flags for MAIL, overriding pkg-config
42 MAIL_LIBS linker flags for MAIL, overriding pkg-config
43 - SOUP_CFLAGS C compiler flags for SOUP, overriding pkg-config
44 - SOUP_LIBS linker flags for SOUP, overriding pkg-config
45 + SOUP_CFLAGS dummy
46 + SOUP_LIBS dummy
47 EXCHANGE_STORAGE_CFLAGS
48 C compiler flags for EXCHANGE_STORAGE, overriding pkg-config
49 EXCHANGE_STORAGE_LIBS
50 @@ -24306,79 +24306,8 @@
51
52
53
54 -pkg_failed=no
55 -{ echo "$as_me:$LINENO: checking for SOUP" >&5
56 -echo $ECHO_N "checking for SOUP... $ECHO_C" >&6; }
57
58 -if test -n "$PKG_CONFIG"; then
59 - if test -n "$SOUP_CFLAGS"; then
60 - pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
61 - else
62 - if test -n "$PKG_CONFIG" && \
63 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
64 - ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
65 - ac_status=$?
66 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
67 - (exit $ac_status); }; then
68 - pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
69 -else
70 - pkg_failed=yes
71 -fi
72 - fi
73 -else
74 - pkg_failed=untried
75 -fi
76 -if test -n "$PKG_CONFIG"; then
77 - if test -n "$SOUP_LIBS"; then
78 - pkg_cv_SOUP_LIBS="$SOUP_LIBS"
79 - else
80 - if test -n "$PKG_CONFIG" && \
81 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
82 - ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
83 - ac_status=$?
84 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
85 - (exit $ac_status); }; then
86 - pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
87 -else
88 - pkg_failed=yes
89 -fi
90 - fi
91 -else
92 - pkg_failed=untried
93 -fi
94 -
95 -
96 -
97 -if test $pkg_failed = yes; then
98 -
99 -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
100 - _pkg_short_errors_supported=yes
101 -else
102 - _pkg_short_errors_supported=no
103 -fi
104 - if test $_pkg_short_errors_supported = yes; then
105 - SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4"`
106 - else
107 - SOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4"`
108 - fi
109 - # Put the nasty error message in config.log where it belongs
110 - echo "$SOUP_PKG_ERRORS" >&5
111 -
112 - have_libsoup_24="no"
113 -elif test $pkg_failed = untried; then
114 - have_libsoup_24="no"
115 -else
116 - SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
117 - SOUP_LIBS=$pkg_cv_SOUP_LIBS
118 - { echo "$as_me:$LINENO: result: yes" >&5
119 -echo "${ECHO_T}yes" >&6; }
120 - have_libsoup_24="yes"
121 -fi
122 -if test $have_libsoup_24 = yes; then
123 - LIBSOUP_VERSION=2.4
124 -else
125 - LIBSOUP_VERSION=2.2
126 -fi
127 +LIBSOUP_VERSION=2.2
128
129
130 pkg_failed=no
131
132
133
134 --
135 gentoo-commits@l.g.o mailing list