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