Gentoo Archives: gentoo-commits

From: "Mart Raudsepp (leio)" <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-client/evolution/files: evolution-2.12.3-no-libsoup24.patch
Date: Tue, 01 Apr 2008 20:16:54
Message-Id: E1JgmuZ-0006rc-8k@stork.gentoo.org
1 leio 08/04/01 20:16:51
2
3 Added: evolution-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 mail-client/evolution/files/evolution-2.12.3-no-libsoup24.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/evolution/files/evolution-2.12.3-no-libsoup24.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/evolution/files/evolution-2.12.3-no-libsoup24.patch?rev=1.1&content-type=text/plain
13
14 Index: evolution-2.12.3-no-libsoup24.patch
15 ===================================================================
16 Don't check for libsoup-2.4, as using its headers leads to broken compilation.
17 It tried it only because the 2.2.10x series for a short time was installed as a new 2.4 in development.
18 The real final libsoup-2.4 has API changes that don't work with the usage in this version (2.12.x) of evolution.
19
20 --- configure.in.orig 2008-04-01 21:18:44.000000000 +0300
21 +++ configure.in 2008-04-01 21:28:09.000000000 +0300
22 @@ -1518,14 +1518,11 @@
23 AC_SUBST(LIBNOTIFY_LIBS)
24
25 dnl --- evolution-calendar flags
26 -PKG_CHECK_MODULES(SOUPTEMP, libsoup-2.4, have_libsoup_24="yes", have_libsoup_24="no")
27 -if test $have_libsoup_24 = yes; then
28 - LIBSOUP_REQUIRED=2.3.0
29 - LIBSOUP=libsoup-2.4
30 -else
31 - LIBSOUP_REQUIRED=2.2.2
32 - LIBSOUP=libsoup-2.2
33 -fi
34 +dnl AC_ARG_VAR is used for keeping the diff against configure small
35 +AC_ARG_VAR(SOUPTEMP_CFLAGS)
36 +AC_ARG_VAR(SOUPTEMP_LIBS)
37 +LIBSOUP_REQUIRED=2.2.2
38 +LIBSOUP=libsoup-2.2
39
40 EVO_SET_COMPILE_FLAGS(LIBSOUP, $LIBSOUP >= $LIBSOUP_REQUIRED)
41 AC_SUBST(LIBSOUP_CFLAGS)
42 --- configure.orig 2008-04-01 21:18:47.000000000 +0300
43 +++ configure 2008-04-01 21:28:38.000000000 +0300
44 @@ -1989,9 +1989,9 @@
45 LIBNOTIFY_LIBS
46 linker flags for LIBNOTIFY, overriding pkg-config
47 SOUPTEMP_CFLAGS
48 - C compiler flags for SOUPTEMP, overriding pkg-config
49 +
50 SOUPTEMP_LIBS
51 - linker flags for SOUPTEMP, overriding pkg-config
52 +
53 LIBSOUP_CFLAGS
54 C compiler flags for LIBSOUP, overriding pkg-config
55 LIBSOUP_LIBS
56 @@ -37358,81 +37358,9 @@
57
58
59
60 -pkg_failed=no
61 -{ echo "$as_me:$LINENO: checking for SOUPTEMP" >&5
62 -echo $ECHO_N "checking for SOUPTEMP... $ECHO_C" >&6; }
63
64 -if test -n "$PKG_CONFIG"; then
65 - if test -n "$SOUPTEMP_CFLAGS"; then
66 - pkg_cv_SOUPTEMP_CFLAGS="$SOUPTEMP_CFLAGS"
67 - else
68 - if test -n "$PKG_CONFIG" && \
69 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
70 - ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
71 - ac_status=$?
72 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
73 - (exit $ac_status); }; then
74 - pkg_cv_SOUPTEMP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
75 -else
76 - pkg_failed=yes
77 -fi
78 - fi
79 -else
80 - pkg_failed=untried
81 -fi
82 -if test -n "$PKG_CONFIG"; then
83 - if test -n "$SOUPTEMP_LIBS"; then
84 - pkg_cv_SOUPTEMP_LIBS="$SOUPTEMP_LIBS"
85 - else
86 - if test -n "$PKG_CONFIG" && \
87 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
88 - ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
89 - ac_status=$?
90 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
91 - (exit $ac_status); }; then
92 - pkg_cv_SOUPTEMP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
93 -else
94 - pkg_failed=yes
95 -fi
96 - fi
97 -else
98 - pkg_failed=untried
99 -fi
100 -
101 -
102 -
103 -if test $pkg_failed = yes; then
104 -
105 -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
106 - _pkg_short_errors_supported=yes
107 -else
108 - _pkg_short_errors_supported=no
109 -fi
110 - if test $_pkg_short_errors_supported = yes; then
111 - SOUPTEMP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4"`
112 - else
113 - SOUPTEMP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4"`
114 - fi
115 - # Put the nasty error message in config.log where it belongs
116 - echo "$SOUPTEMP_PKG_ERRORS" >&5
117 -
118 - have_libsoup_24="no"
119 -elif test $pkg_failed = untried; then
120 - have_libsoup_24="no"
121 -else
122 - SOUPTEMP_CFLAGS=$pkg_cv_SOUPTEMP_CFLAGS
123 - SOUPTEMP_LIBS=$pkg_cv_SOUPTEMP_LIBS
124 - { echo "$as_me:$LINENO: result: yes" >&5
125 -echo "${ECHO_T}yes" >&6; }
126 - have_libsoup_24="yes"
127 -fi
128 -if test $have_libsoup_24 = yes; then
129 - LIBSOUP_REQUIRED=2.3.0
130 - LIBSOUP=libsoup-2.4
131 -else
132 - LIBSOUP_REQUIRED=2.2.2
133 - LIBSOUP=libsoup-2.2
134 -fi
135 +LIBSOUP_REQUIRED=2.2.2
136 +LIBSOUP=libsoup-2.2
137
138
139
140
141
142
143 --
144 gentoo-commits@l.g.o mailing list