Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-client/evolution: ChangeLog evolution-2.32.1-r1.ebuild
Date: Sat, 01 Jan 2011 18:07:06
Message-Id: 20110101180657.1FA6420054@flycatcher.gentoo.org
1 pacho 11/01/01 18:06:57
2
3 Modified: ChangeLog
4 Added: evolution-2.32.1-r1.ebuild
5 Log:
6 Revision bump including all bugfixes committed to gnome-2.32 branch. Requires evolution-2.32.1-r1 because of some bugs that need both updated packages to be present to get them fixed.
7
8 (Portage version: 2.1.9.27/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.315 mail-client/evolution/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/evolution/ChangeLog?rev=1.315&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/evolution/ChangeLog?rev=1.315&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/evolution/ChangeLog?r1=1.314&r2=1.315
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/mail-client/evolution/ChangeLog,v
20 retrieving revision 1.314
21 retrieving revision 1.315
22 diff -u -r1.314 -r1.315
23 --- ChangeLog 21 Dec 2010 22:06:14 -0000 1.314
24 +++ ChangeLog 1 Jan 2011 18:06:57 -0000 1.315
25 @@ -1,6 +1,13 @@
26 # ChangeLog for mail-client/evolution
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/ChangeLog,v 1.314 2010/12/21 22:06:14 eva Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/ChangeLog,v 1.315 2011/01/01 18:06:57 pacho Exp $
31 +
32 +*evolution-2.32.1-r1 (01 Jan 2011)
33 +
34 + 01 Jan 2011; Pacho Ramos <pacho@g.o> +evolution-2.32.1-r1.ebuild:
35 + Revision bump including all bugfixes committed to gnome-2.32 branch. Requires
36 + evolution-2.32.1-r1 because of some bugs that need both updated packages to
37 + be present to get them fixed.
38
39 21 Dec 2010; Gilles Dartiguelongue <eva@g.o> evolution-2.30.3.ebuild,
40 evolution-2.32.1.ebuild:
41
42
43
44 1.1 mail-client/evolution/evolution-2.32.1-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/evolution/evolution-2.32.1-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/evolution/evolution-2.32.1-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: evolution-2.32.1-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2011 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.32.1-r1.ebuild,v 1.1 2011/01/01 18:06:57 pacho Exp $
54
55 EAPI="3"
56 GCONF_DEBUG="no"
57 PYTHON_DEPEND="python? 2:2.4"
58
59 inherit autotools flag-o-matic gnome2 python versionator
60
61 MY_MAJORV=$(get_version_component_range 1-2)
62
63 DESCRIPTION="Integrated mail, addressbook and calendaring functionality"
64 HOMEPAGE="http://www.gnome.org/projects/evolution/"
65
66 SRC_URI="${SRC_URI} mirror://gentoo/${P}-patches.tar.bz2"
67
68 LICENSE="GPL-2 LGPL-2 OPENLDAP"
69 SLOT="2.0"
70 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
71 IUSE="clutter connman crypt doc gstreamer kerberos ldap networkmanager python ssl"
72
73 # We need a graphical pinentry frontend to be able to ask for the GPG
74 # password from inside evolution, bug 160302
75 PINENTRY_DEPEND="|| ( app-crypt/pinentry[gtk] app-crypt/pinentry-qt app-crypt/pinentry[qt4] )"
76
77 # contacts-map plugin requires libchaimplain and geoclue
78 # glade-3 support is for maintainers only per configure.ac
79 # mono plugin disabled as it's incompatible with 2.8 and lacks maintainance (see bgo#634571)
80 # pst is not mature enough and changes API/ABI frequently
81 RDEPEND=">=dev-libs/glib-2.25.12:2
82 >=x11-libs/gtk+-2.20.0:2
83 >=dev-libs/libunique-1.1.2
84 >=gnome-base/gnome-desktop-2.26:2
85 >=dev-libs/libgweather-2.25.3
86 media-libs/libcanberra[gtk]
87 >=x11-libs/libnotify-0.3
88 >=gnome-extra/evolution-data-server-${PV}-r1[weather]
89 >=gnome-extra/gtkhtml-3.31.90:3.14
90 >=gnome-base/gconf-2
91 >=gnome-base/libgnomecanvas-2
92 dev-libs/atk
93 >=dev-libs/libxml2-2.7.3
94 >=net-libs/libsoup-2.4:2.4
95 >=media-gfx/gtkimageview-1.6
96 >=x11-misc/shared-mime-info-0.22
97 >=x11-themes/gnome-icon-theme-2.30.2.1
98 >=dev-libs/libgdata-0.4
99
100 clutter? ( media-libs/clutter:1.0[gtk] )
101 connman? ( net-misc/connman )
102 crypt? ( || (
103 ( >=app-crypt/gnupg-2.0.1-r2
104 ${PINENTRY_DEPEND} )
105 =app-crypt/gnupg-1.4* ) )
106 gstreamer? (
107 >=media-libs/gstreamer-0.10
108 >=media-libs/gst-plugins-base-0.10 )
109 kerberos? ( virtual/krb5 )
110 ldap? ( >=net-nds/openldap-2 )
111 networkmanager? ( >=net-misc/networkmanager-0.7 )
112 ssl? (
113 >=dev-libs/nspr-4.6.1
114 >=dev-libs/nss-3.11 )
115
116 !<gnome-extra/evolution-exchange-2.32"
117
118 DEPEND="${RDEPEND}
119 >=dev-util/pkgconfig-0.16
120 >=dev-util/intltool-0.35.5
121 sys-devel/gettext
122 sys-devel/bison
123 app-text/scrollkeeper
124 >=app-text/gnome-doc-utils-0.9.1
125 app-text/docbook-xml-dtd:4.1.2
126 >=gnome-base/gnome-common-2.12
127 >=dev-util/gtk-doc-am-1.9
128 doc? ( >=dev-util/gtk-doc-1.9 )"
129 # eautoreconf needs:
130 # >=gnome-base/gnome-common-2.12
131 # >=dev-util/gtk-doc-am-1.9
132
133 pkg_setup() {
134 ELTCONF="--reverse-deps"
135 DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS* README"
136 G2CONF="${G2CONF}
137 --without-kde-applnk-path
138 --enable-plugins=experimental
139 --enable-image-inline
140 --enable-canberra
141 --enable-weather
142 $(use_enable ssl nss)
143 $(use_enable ssl smime)
144 $(use_enable networkmanager nm)
145 $(use_enable connman)
146 $(use_enable gstreamer audio-inline)
147 --disable-profiling
148 --disable-pst-import
149 $(use_enable python)
150 $(use_with clutter)
151 $(use_with ldap openldap)
152 $(use_with kerberos krb5 /usr)
153 --disable-contacts-map
154 --without-glade-catalog
155 --disable-mono
156 --disable-gtk3"
157
158 # dang - I've changed this to do --enable-plugins=experimental. This will
159 # autodetect new-mail-notify and exchange, but that cannot be helped for the
160 # moment. They should be changed to depend on a --enable-<foo> like mono
161 # is. This cleans up a ton of crap from this ebuild.
162
163 # Use NSS/NSPR only if 'ssl' is enabled.
164 if use ssl ; then
165 G2CONF="${G2CONF} --enable-nss=yes"
166 else
167 G2CONF="${G2CONF}
168 --without-nspr-libs
169 --without-nspr-includes
170 --without-nss-libs
171 --without-nss-includes"
172 fi
173
174 # NM and connman support cannot coexist
175 if use networkmanager && use connman ; then
176 ewarn "It is not possible to enable both ConnMan and NetworkManager, disabling connman..."
177 G2CONF="${G2CONF} --disable-connman"
178 fi
179
180 python_set_active_version 2
181 }
182
183 src_prepare() {
184 gnome2_src_prepare
185
186 # Fix invalid use of la file in contact-editor, upstream bug #635002
187 epatch "${FILESDIR}/${PN}-2.32.0-wrong-lafile-usage.patch"
188
189 # Apply upstream patches committed to gnome-2.32 branch
190 epatch "${WORKDIR}"/${P}-patches/*.patch
191
192 # Use NSS/NSPR only if 'ssl' is enabled.
193 if use ssl ; then
194 sed -e 's|mozilla-nss|nss|' \
195 -e 's|mozilla-nspr|nspr|' \
196 -i configure.ac configure || die "sed 2 failed"
197 fi
198
199 # Fix compilation flags crazyness
200 sed -e 's/CFLAGS="$CFLAGS $WARNING_FLAGS"//' \
201 -i configure.ac configure || die "sed 1 failed"
202
203 intltoolize --force --copy --automake || die "intltoolize failed"
204 eautoreconf
205 }
206
207 src_install() {
208 gnome2_src_install
209
210 find "${ED}"/usr/$(get_libdir)/evolution/${MY_MAJORV}/plugins \
211 -name "*.la" -delete || die "la files removal failed 1"
212 find "${ED}"/usr/$(get_libdir)/evolution/${MY_MAJORV}/modules \
213 -name "*.la" -delete || die "la files removal failed 2"
214 }
215
216 pkg_postinst() {
217 gnome2_pkg_postinst
218
219 elog "To change the default browser if you are not using GNOME, do:"
220 elog "gconftool-2 --set /desktop/gnome/url-handlers/http/command -t string 'firefox %s'"
221 elog "gconftool-2 --set /desktop/gnome/url-handlers/https/command -t string 'firefox %s'"
222 elog ""
223 elog "Replace 'firefox %s' with which ever browser you use."
224 elog ""
225 elog "Junk filters are now a run-time choice. You will get a choice of"
226 elog "bogofilter or spamassassin based on which you have installed"
227 elog ""
228 elog "You have to install one of these for the spam filtering to actually work"
229 }