Gentoo Archives: gentoo-commits

From: "Christian Faulhammer (fauli)" <fauli@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-client/claws-mail: claws-mail-3.7.9-r1.ebuild ChangeLog
Date: Sat, 30 Apr 2011 18:38:40
Message-Id: 20110430183824.805DA20054@flycatcher.gentoo.org
1 fauli 11/04/30 18:38:24
2
3 Modified: ChangeLog
4 Added: claws-mail-3.7.9-r1.ebuild
5 Log:
6 revision bump to fix bug 362297, which is a crash on start-up
7
8 (Portage version: 2.1.9.42/cvs/Linux i686)
9
10 Revision Changes Path
11 1.175 mail-client/claws-mail/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/ChangeLog?rev=1.175&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/ChangeLog?rev=1.175&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/ChangeLog?r1=1.174&r2=1.175
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v
20 retrieving revision 1.174
21 retrieving revision 1.175
22 diff -u -r1.174 -r1.175
23 --- ChangeLog 26 Apr 2011 18:26:48 -0000 1.174
24 +++ ChangeLog 30 Apr 2011 18:38:24 -0000 1.175
25 @@ -1,6 +1,12 @@
26 # ChangeLog for mail-client/claws-mail
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.174 2011/04/26 18:26:48 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.175 2011/04/30 18:38:24 fauli Exp $
30 +
31 +*claws-mail-3.7.9-r1 (30 Apr 2011)
32 +
33 + 30 Apr 2011; Christian Faulhammer <fauli@g.o>
34 + +claws-mail-3.7.9-r1.ebuild, +files/claws-mail-3.7.9_notify_crash.patch:
35 + revision bump to fix bug 362297, which is a crash on start-up
36
37 26 Apr 2011; Samuli Suominen <ssuominen@g.o> claws-mail-3.7.9.ebuild:
38 Use gnome2-utils.eclass to update the cache instead of calling
39
40
41
42 1.1 mail-client/claws-mail/claws-mail-3.7.9-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/claws-mail-3.7.9-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/claws-mail-3.7.9-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: claws-mail-3.7.9-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.7.9-r1.ebuild,v 1.1 2011/04/30 18:38:24 fauli Exp $
52
53 EAPI="2"
54
55 inherit eutils multilib gnome2-utils
56
57 DESCRIPTION="An email client (and news reader) based on GTK+"
58 HOMEPAGE="http://www.claws-mail.org/"
59
60 SRC_URI="mirror://sourceforge/sylpheed-claws/${P}.tar.bz2"
61
62 SLOT="0"
63 LICENSE="GPL-3"
64 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
65 IUSE="bogofilter crypt dbus dillo doc +gnutls +imap ipv6 ldap nntp pda session smime spamassassin spell ssl startup-notification xface"
66
67 COMMONDEPEND=">=x11-libs/gtk+-2.6:2
68 pda? ( >=app-pda/jpilot-0.99 )
69 ssl? ( >=net-libs/gnutls-2.0.3 )
70 ldap? ( >=net-nds/openldap-2.0.7 )
71 crypt? ( >=app-crypt/gpgme-0.4.5 )
72 dbus? ( >=dev-libs/dbus-glib-0.60 )
73 dillo? ( www-client/dillo )
74 spell? ( >=app-text/enchant-1.0.0 )
75 imap? ( >=net-libs/libetpan-0.57 )
76 nntp? ( >=net-libs/libetpan-0.57 )
77 gnutls? ( >=net-libs/gnutls-2.0.3 )
78 startup-notification? ( x11-libs/startup-notification )
79 bogofilter? ( mail-filter/bogofilter )
80 session? ( x11-libs/libSM
81 x11-libs/libICE )
82 smime? ( >=app-crypt/gpgme-0.4.5 )"
83
84 DEPEND="${COMMONDEPEND}
85 xface? ( >=media-libs/compface-1.4 )
86 dev-util/pkgconfig"
87
88 RDEPEND="${COMMONDEPEND}
89 app-misc/mime-types
90 x11-misc/shared-mime-info"
91
92 PLUGIN_NAMES="acpi-notifier address_keeper archive att-remover attachwarner clamd fancy fetchinfo gtkhtml mailmbox newmail notification perl python rssyl spam_report tnef_parse vcalendar"
93
94 src_prepare() {
95 epatch "${FILESDIR}"/${P}_notify_crash.patch
96 }
97
98 src_configure() {
99 local myconf
100 # libetpan is needed if user wants nntp or imap functionality
101 if use imap || use nntp; then
102 myconf="--enable-libetpan"
103 else
104 myconf="--disable-libetpan"
105 fi
106
107 # The usage of openssl was discarded once and USE=ssl is mapped to
108 # USE=gnutls now. Maybe USE=ssl can fade out sometime
109 if use ssl || use gnutls; then
110 myconf="${myconf} --enable-gnutls"
111 else
112 myconf="${myconf} --disable-gnutls"
113 fi
114
115 econf \
116 $(use_enable ipv6) \
117 $(use_enable ldap) \
118 $(use_enable dbus) \
119 $(use_enable pda jpilot) \
120 $(use_enable spell enchant) \
121 $(use_enable xface compface) \
122 $(use_enable doc manual) \
123 $(use_enable startup-notification) \
124 $(use_enable session libsm) \
125 $(use_enable crypt pgpmime-plugin) \
126 $(use_enable crypt pgpinline-plugin) \
127 $(use_enable crypt pgpcore-plugin) \
128 $(use_enable dillo dillo-viewer-plugin) \
129 $(use_enable spamassassin spamassassin-plugin) \
130 $(use_enable bogofilter bogofilter-plugin) \
131 $(use_enable smime smime-plugin) \
132 --docdir=/usr/share/doc/${PF} \
133 --enable-trayicon-plugin \
134 --disable-maemo ${myconf}
135 }
136
137 src_install() {
138 emake DESTDIR="${D}" install || die
139
140 # Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
141 # => also install it in /usr/share/pixmaps for other desktop envs
142 # => also install higher resolution icons in /usr/share/icons/hicolor/...
143 insinto /usr/share/pixmaps
144 doins ${PN}.png || die
145 local res resdir
146 for res in 64x64 128x128 ; do
147 resdir="/usr/share/icons/hicolor/${res}/apps"
148 insinto ${resdir}
149 newins ${PN}-${res}.png ${PN}.png || die
150 done
151
152 dodoc AUTHORS ChangeLog* INSTALL* NEWS README* TODO*
153 docinto tools
154 dodoc tools/README*
155
156 insinto /usr/share/applications
157 doins ${PN}.desktop
158
159 einfo "Installing extra tools"
160 cd "${S}"/tools
161 exeinto /usr/$(get_libdir)/${PN}/tools
162 doexe *.pl *.py *.conf *.sh || die
163 doexe tb2claws-mail update-po uudec uuooffice || die
164
165 # kill useless plugin files
166 rm -f "${D}"/usr/lib*/${PN}/plugins/*.{la,a}
167 }
168
169 pkg_preinst() {
170 gnome2_icon_savelist
171 }
172
173 pkg_postinst() {
174 gnome2_icon_cache_update
175
176 UPDATE_PLUGINS=""
177 for x in ${PLUGIN_NAMES}; do
178 has_version mail-client/${PN}-$x && UPDATE_PLUGINS="${UPDATE_PLUGINS} $x"
179 done
180 if [ -n "${UPDATE_PLUGINS}" ]; then
181 elog
182 elog "You have to re-emerge or update the following plugins:"
183 elog
184 for x in ${UPDATE_PLUGINS}; do
185 elog " mail-client/${PN}-$x"
186 done
187 elog
188 fi
189 }
190
191 pkg_postrm() {
192 gnome2_icon_cache_update
193 }