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