Gentoo Archives: gentoo-commits

From: "Arun Raghavan (ford_prefect)" <ford_prefect@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-client/evolution: evolution-2.24.2-r2.ebuild ChangeLog
Date: Sat, 27 Dec 2008 19:22:54
Message-Id: E1LGekO-00072X-0V@stork.gentoo.org
1 ford_prefect 08/12/27 19:22:52
2
3 Modified: ChangeLog
4 Added: evolution-2.24.2-r2.ebuild
5 Log:
6 Update the mail-config.c patch to fix some more leaks (especially w.r.t. Exchange). Thanks to Derek Dolney <nospam@××××××.com> for finding the cause. Bug #251060
7 (Portage version: 2.2_rc17/cvs/Linux 2.6.27.5 i686)
8
9 Revision Changes Path
10 1.254 mail-client/evolution/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/evolution/ChangeLog?rev=1.254&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/evolution/ChangeLog?rev=1.254&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/evolution/ChangeLog?r1=1.253&r2=1.254
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/mail-client/evolution/ChangeLog,v
19 retrieving revision 1.253
20 retrieving revision 1.254
21 diff -u -r1.253 -r1.254
22 --- ChangeLog 10 Dec 2008 18:58:44 -0000 1.253
23 +++ ChangeLog 27 Dec 2008 19:22:51 -0000 1.254
24 @@ -1,6 +1,15 @@
25 # ChangeLog for mail-client/evolution
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/ChangeLog,v 1.253 2008/12/10 18:58:44 ford_prefect Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/ChangeLog,v 1.254 2008/12/27 19:22:51 ford_prefect Exp $
29 +
30 +*evolution-2.24.2-r2 (27 Dec 2008)
31 +
32 + 27 Dec 2008; Arun Raghavan <ford_prefect@g.o>
33 + +files/evolution-2.24.2-r2-mail-config-crash-fix.patch,
34 + +evolution-2.24.2-r2.ebuild:
35 + Update the mail-config.c patch to fix some more leaks (especially w.r.t.
36 + Exchange). Thanks to Derek Dolney <nospam@××××××.com> for finding the
37 + cause. Bug #251060
38
39 10 Dec 2008; Arun Raghavan <ford_prefect@g.o>
40 evolution-2.24.2-r1.ebuild:
41
42
43
44 1.1 mail-client/evolution/evolution-2.24.2-r2.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/evolution/evolution-2.24.2-r2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/evolution/evolution-2.24.2-r2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: evolution-2.24.2-r2.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/evolution-2.24.2-r2.ebuild,v 1.1 2008/12/27 19:22:51 ford_prefect Exp $
54
55 inherit gnome2 flag-o-matic libtool
56
57 DESCRIPTION="Integrated mail, addressbook and calendaring functionality"
58 HOMEPAGE="http://www.gnome.org/projects/evolution/"
59 SRC_URI="${SRC_URI}
60 mirror://gentoo/${P}-libtool-hack.patch.bz2"
61
62 LICENSE="GPL-2 FDL-1.1"
63 SLOT="2.0"
64 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
65 IUSE="crypt dbus hal kerberos krb4 ldap mono networkmanager nntp pda profile ssl"
66
67 # Pango dependency required to avoid font rendering problems
68 RDEPEND=">=dev-libs/glib-2.16
69 >=x11-libs/gtk+-2.12
70 >=gnome-extra/evolution-data-server-2.23.91
71 >=x11-themes/gnome-icon-theme-2.20
72 >=gnome-base/libbonobo-2.20.3
73 >=gnome-base/libbonoboui-2.4.2
74 >=gnome-extra/gtkhtml-3.23.5
75 >=gnome-base/gconf-2
76 >=gnome-base/libglade-2
77 >=gnome-base/libgnomecanvas-2
78 >=gnome-base/libgnomeui-2
79 >=dev-libs/libxml2-2
80 >=x11-misc/shared-mime-info-0.22
81 dbus? ( dev-libs/dbus-glib )
82 hal? ( >=sys-apps/hal-0.5.4 )
83 x11-libs/libnotify
84 pda? (
85 >=app-pda/gnome-pilot-2.0.15
86 >=app-pda/gnome-pilot-conduits-2 )
87 dev-libs/atk
88 ssl? (
89 >=dev-libs/nspr-4.6.1
90 >=dev-libs/nss-3.11 )
91 networkmanager? ( net-misc/networkmanager )
92 >=net-libs/libsoup-2.4
93 kerberos? ( virtual/krb5 )
94 krb4? ( virtual/krb5 )
95 >=gnome-base/orbit-2.9.8
96 crypt? ( || ( >=app-crypt/gnupg-2.0.1-r2 =app-crypt/gnupg-1.4* ) )
97 ldap? ( >=net-nds/openldap-2 )
98 mono? ( >=dev-lang/mono-1 )"
99 # gstreamer? (
100 # >=media-libs/gstreamer-0.10
101 # >=media-libs/gst-plugins-base-0.10 )
102
103 DEPEND="${RDEPEND}
104 >=dev-util/pkgconfig-0.16
105 >=dev-util/intltool-0.35.5
106 sys-devel/gettext
107 sys-devel/bison
108 app-text/scrollkeeper
109 >=gnome-base/gnome-common-2.12.0
110 >=app-text/gnome-doc-utils-0.9.1"
111
112 DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS* README"
113 ELTCONF="--reverse-deps"
114 GCONF_DEBUG="no"
115
116 pkg_setup() {
117 G2CONF="--without-kde-applnk-path
118 --enable-plugins=experimental
119 $(use_enable ssl nss)
120 $(use_enable ssl smime)
121 $(use_enable mono)
122 $(use_enable nntp)
123 $(use_enable pda pilot-conduits)
124 $(use_enable profile profiling)
125 $(use_with ldap openldap)
126 $(use_with kerberos krb5 /usr)"
127
128 # We need a graphical pinentry frontend to be able to ask for the GPG
129 # password from inside evolution, bug 160302
130 if use crypt && has_version '>=app-crypt/gnupg-2.0.1-r2'; then
131 if ! built_with_use -o app-crypt/pinentry gtk qt3; then
132 die "You must build app-crypt/pinentry with GTK or QT3 support"
133 fi
134 fi
135
136 if use krb4 && ! built_with_use virtual/krb5 krb4; then
137 ewarn
138 ewarn "In order to add kerberos 4 support, you have to emerge"
139 ewarn "virtual/krb5 with the 'krb4' USE flag enabled as well."
140 ewarn
141 ewarn "Skipping for now."
142 ewarn
143 G2CONF="${G2CONF} --without-krb4"
144 else
145 G2CONF="${G2CONF} $(use_with krb4 krb4 /usr)"
146 fi
147
148 # dang - I've changed this to do --enable-plugins=experimental. This will
149 # autodetect new-mail-notify and exchange, but that cannot be helped for the
150 # moment. They should be changed to depend on a --enable-<foo> like mono
151 # is. This cleans up a ton of crap from this ebuild.
152 }
153
154 src_unpack() {
155 gnome2_src_unpack
156
157 # Fix timezone offsets on fbsd. bug #183708
158 epatch "${FILESDIR}"/${PN}-2.21.3-fbsd.patch
159
160 # Fix delete keyboard shortcut
161 epatch "${FILESDIR}"/${PN}-2.23.3.1-delete-key.patch
162
163 # Ugly hack, bug #235154
164 epatch "${WORKDIR}/${P}-libtool-hack.patch"
165
166 # Fix crasher in prefs, filtering bug and then some, from GNOME bug #552583
167 epatch "${FILESDIR}"/${PF}-mail-config-crash-fix.patch
168
169 # Fix SpamAssassing plugin return value checking
170 epatch "${FILESDIR}"/${P}-spamassassin-plugin-fix.patch
171 }
172
173 src_compile() {
174 # Use NSS/NSPR only if 'ssl' is enabled.
175 if use ssl ; then
176 sed -i -e "s|mozilla-nss|nss|
177 s|mozilla-nspr|nspr|" "${S}"/configure
178 G2CONF="${G2CONF} --enable-nss=yes"
179 else
180 G2CONF="${G2CONF} --without-nspr-libs --without-nspr-includes \
181 --without-nss-libs --without-nss-includes"
182 fi
183
184 # problems with -O3 on gcc-3.3.1
185 replace-flags -O3 -O2
186
187 # Bug #?
188 if [ "${ARCH}" = "hppa" ]; then
189 append-flags "-fPIC -ffunction-sections"
190 export LDFLAGS="-ffunction-sections -Wl,--stub-group-size=25000"
191 fi
192
193 gnome2_src_compile
194 }
195
196 pkg_postinst() {
197 gnome2_pkg_postinst
198
199 elog "To change the default browser if you are not using GNOME, do:"
200 elog "gconftool-2 --set /desktop/gnome/url-handlers/http/command -t string 'mozilla %s'"
201 elog "gconftool-2 --set /desktop/gnome/url-handlers/https/command -t string 'mozilla %s'"
202 elog ""
203 elog "Replace 'mozilla %s' with which ever browser you use."
204 elog ""
205 elog "Junk filters are now a run-time choice. You will get a choice of"
206 elog "bogofilter or spamassassin based on which you have installed"
207 elog ""
208 elog "You have to install one of these for the spam filtering to actually work"
209 }