Gentoo Archives: gentoo-commits

From: "Andrej Kacian (ticho)" <ticho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-client/claws-mail: ChangeLog claws-mail-3.0.0.ebuild claws-mail-3.0.2.ebuild claws-mail-3.1.0.ebuild claws-mail-2.9.2.ebuild claws-mail-2.9.1.ebuild claws-mail-3.0.0-r1.ebuild claws-mail-2.10.0.ebuild claws-mail-3.0.1.ebuild
Date: Thu, 29 Nov 2007 22:31:36
Message-Id: E1Ixrup-00059F-IA@stork.gentoo.org
1 ticho 07/11/29 22:31:27
2
3 Modified: ChangeLog claws-mail-3.0.0.ebuild
4 claws-mail-3.0.2.ebuild
5 Added: claws-mail-3.1.0.ebuild
6 Removed: claws-mail-2.9.2.ebuild claws-mail-2.9.1.ebuild
7 claws-mail-3.0.0-r1.ebuild claws-mail-2.10.0.ebuild
8 claws-mail-3.0.1.ebuild
9 Log:
10 Version bump.
11 (Portage version: 2.1.3.18)
12
13 Revision Changes Path
14 1.49 mail-client/claws-mail/ChangeLog
15
16 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/ChangeLog?rev=1.49&view=markup
17 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/ChangeLog?rev=1.49&content-type=text/plain
18 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/ChangeLog?r1=1.48&r2=1.49
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v
23 retrieving revision 1.48
24 retrieving revision 1.49
25 diff -u -r1.48 -r1.49
26 --- ChangeLog 2 Oct 2007 16:37:03 -0000 1.48
27 +++ ChangeLog 29 Nov 2007 22:31:26 -0000 1.49
28 @@ -1,6 +1,11 @@
29 # ChangeLog for mail-client/claws-mail
30 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.48 2007/10/02 16:37:03 ticho Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.49 2007/11/29 22:31:26 ticho Exp $
33 +
34 +*claws-mail-3.1.0 (29 Nov 2007)
35 +
36 + 29 Nov 2007; Andrej Kacian <ticho@g.o> +claws-mail-3.1.0.ebuild:
37 + Version bump.
38
39 *claws-mail-3.0.2 (02 Oct 2007)
40
41
42
43
44 1.9 mail-client/claws-mail/claws-mail-3.0.0.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.0.ebuild?rev=1.9&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.0.ebuild?rev=1.9&content-type=text/plain
48 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.0.ebuild?r1=1.8&r2=1.9
49
50 Index: claws-mail-3.0.0.ebuild
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.0.ebuild,v
53 retrieving revision 1.8
54 retrieving revision 1.9
55 diff -u -r1.8 -r1.9
56 --- claws-mail-3.0.0.ebuild 16 Sep 2007 16:27:05 -0000 1.8
57 +++ claws-mail-3.0.0.ebuild 29 Nov 2007 22:31:26 -0000 1.9
58 @@ -1,6 +1,6 @@
59 # Copyright 1999-2007 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 -# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.0.ebuild,v 1.8 2007/09/16 16:27:05 angelos Exp $
62 +# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.0.ebuild,v 1.9 2007/11/29 22:31:26 ticho Exp $
63
64 IUSE="gnome dillo crypt spell ssl ldap ipv6 pda clamav xface kde imap spamassassin doc startup-notification bogofilter"
65
66 @@ -80,7 +80,7 @@
67 }
68
69 src_install() {
70 - make DESTDIR=${D} install || die
71 + make DESTDIR="${D}" install || die
72
73 # Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
74 # => also install it in /usr/share/pixmaps for other desktop envs
75 @@ -102,7 +102,7 @@
76 doins ${PN}.desktop
77
78 einfo "Installing extra tools"
79 - cd ${S}/tools
80 + cd "${S}"/tools
81 exeinto /usr/lib/${PN}/tools
82 doexe *.pl *.py *.rc *.conf *.sh || die
83 doexe tb2claws-mail update-po uudec uuooffice || die
84 @@ -112,7 +112,7 @@
85 local kdeprefix="$(kde-config --prefix)"
86 local servicescript="${PN}-kdeservicemenu.pl"
87 local desktopfile="${PN}-attach-files.desktop"
88 - cd ${S}/tools/kdeservicemenu
89 + cd "${S}"/tools/kdeservicemenu
90 sed -i -e "s:SCRIPT_PATH:${kdeprefix}/bin/${servicescript}:g" \
91 template_${desktopfile}
92 dodir /usr/share/apps/konqueror/servicemenus
93 @@ -126,11 +126,11 @@
94 fi
95
96 # kill useless plugin files
97 - rm -f ${D}/usr/lib*/${PN}/plugins/*.{la,a}
98 + rm -f "${D}"/usr/lib*/${PN}/plugins/*.{la,a}
99 }
100
101 pkg_postinst() {
102 - gtk-update-icon-cache -f -t ${ROOT}/usr/share/icons/hicolor
103 + gtk-update-icon-cache -f -t "${ROOT}"/usr/share/icons/hicolor
104
105 UPDATE_PLUGINS=""
106 RENAME_PLUGINS=""
107
108
109
110 1.3 mail-client/claws-mail/claws-mail-3.0.2.ebuild
111
112 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.2.ebuild?rev=1.3&view=markup
113 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.2.ebuild?rev=1.3&content-type=text/plain
114 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.2.ebuild?r1=1.2&r2=1.3
115
116 Index: claws-mail-3.0.2.ebuild
117 ===================================================================
118 RCS file: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.2.ebuild,v
119 retrieving revision 1.2
120 retrieving revision 1.3
121 diff -u -r1.2 -r1.3
122 --- claws-mail-3.0.2.ebuild 3 Oct 2007 13:49:23 -0000 1.2
123 +++ claws-mail-3.0.2.ebuild 29 Nov 2007 22:31:26 -0000 1.3
124 @@ -1,6 +1,6 @@
125 # Copyright 1999-2007 Gentoo Foundation
126 # Distributed under the terms of the GNU General Public License v2
127 -# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.2.ebuild,v 1.2 2007/10/03 13:49:23 ticho Exp $
128 +# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.2.ebuild,v 1.3 2007/11/29 22:31:26 ticho Exp $
129
130 IUSE="bogofilter clamav crypt dillo doc gnome imap ipv6 kde ldap pda session spell ssl startup-notification xface"
131
132 @@ -133,7 +133,7 @@
133 }
134
135 pkg_postinst() {
136 - gtk-update-icon-cache -f -t ${ROOT}/usr/share/icons/hicolor
137 + gtk-update-icon-cache -f -t "${ROOT}"/usr/share/icons/hicolor
138
139 UPDATE_PLUGINS=""
140 RENAME_PLUGINS=""
141 @@ -178,5 +178,5 @@
142 }
143
144 pkg_postrm() {
145 - gtk-update-icon-cache -f -t ${ROOT}/usr/share/icons/hicolor
146 + gtk-update-icon-cache -f -t "${ROOT}"/usr/share/icons/hicolor
147 }
148
149
150
151 1.1 mail-client/claws-mail/claws-mail-3.1.0.ebuild
152
153 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/claws-mail-3.1.0.ebuild?rev=1.1&view=markup
154 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/claws-mail-3.1.0.ebuild?rev=1.1&content-type=text/plain
155
156 Index: claws-mail-3.1.0.ebuild
157 ===================================================================
158 # Copyright 1999-2007 Gentoo Foundation
159 # Distributed under the terms of the GNU General Public License v2
160 # $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.1.0.ebuild,v 1.1 2007/11/29 22:31:26 ticho Exp $
161
162 IUSE="bogofilter clamav crypt dillo doc gnome imap ipv6 kde ldap nntp pda session spell ssl startup-notification xface"
163
164 inherit eutils multilib
165
166 DESCRIPTION="Claws-Mail is an email client (and news reader) based on GTK+"
167 HOMEPAGE="http://www.claws-mail.org"
168
169 if [ -n "${P/*_rc*/}" ]; then
170 SRC_URI="mirror://sourceforge/sylpheed-claws/${P}.tar.bz2"
171 else
172 MY_P="${P/_/-}"
173 S="${WORKDIR}/${MY_P}"
174 SRC_URI="http://www.claws-mail.org/snapshots/${MY_P}.tar.bz2"
175 fi
176
177 SLOT="0"
178 LICENSE="GPL-3"
179 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
180
181 COMMONDEPEND=">=x11-libs/gtk+-2.6
182 pda? ( >=app-pda/jpilot-0.99 )
183 ssl? ( >=dev-libs/openssl-0.9.7 )
184 ldap? ( >=net-nds/openldap-2.0.7 )
185 crypt? ( >=app-crypt/gpgme-1.1.1 )
186 dillo? ( www-client/dillo )
187 spell? ( virtual/aspell-dict )
188 clamav? ( app-antivirus/clamav )
189 kde? ( kde-base/kdelibs )
190 imap? ( >=net-libs/libetpan-0.49 )
191 nntp? ( >=net-libs/libetpan-0.49 )
192 gnome? ( >=gnome-base/libgnomeprintui-2.2 )
193 startup-notification? ( x11-libs/startup-notification )
194 bogofilter? ( mail-filter/bogofilter )
195 session? ( x11-libs/libSM
196 x11-libs/libICE )
197 !<mail-client/sylpheed-claws-2.6.1" # old name, block as user hint and due to some file collision
198
199 DEPEND="${COMMONDEPEND}
200 xface? ( >=media-libs/compface-1.4 )
201 >=sys-apps/sed-4
202 dev-util/pkgconfig"
203
204 RDEPEND="${COMMONDEPEND}
205 app-misc/mime-types
206 x11-misc/shared-mime-info"
207
208 PLUGIN_NAMES="acpi-notifier att-remover attachwarner cachesaver etpan-privacy fetchinfo gtkhtml maildir mailmbox newmail notification pdf-viewer perl rssyl smime synce vcalendar"
209
210 src_compile() {
211 local myconf="--disable-libetpan"
212
213 # libetpan is needed if user wants nntp or imap functionality
214 # TODO: Perhaps change it into a single "libetpan" USE flag?
215 use imap && myconf="--enable-libetpan"
216 use nntp && myconf="--enable-libetpan"
217
218 # Optional features
219 myconf="${myconf} `use_enable gnome gnomeprint`"
220 myconf="${myconf} `use_enable ipv6`"
221 myconf="${myconf} `use_enable ldap`"
222 myconf="${myconf} `use_enable pda jpilot`"
223 myconf="${myconf} `use_enable spell aspell`"
224 myconf="${myconf} `use_enable ssl openssl`"
225 myconf="${myconf} `use_enable xface compface`"
226 myconf="${myconf} `use_enable doc manual`"
227 myconf="${myconf} `use_enable startup-notification`"
228 myconf="${myconf} `use_enable session libsm`"
229
230 # Optional plugins
231 myconf="${myconf} `use_enable clamav clamav-plugin`"
232 myconf="${myconf} `use_enable crypt pgpmime-plugin`"
233 myconf="${myconf} `use_enable crypt pgpinline-plugin`"
234 myconf="${myconf} `use_enable crypt pgpcore-plugin`"
235 myconf="${myconf} `use_enable dillo dillo-viewer-plugin`"
236 myconf="${myconf} `use_enable spamassassin spamassassin-plugin`"
237 myconf="${myconf} `use_enable bogofilter bogofilter-plugin`"
238
239 econf \
240 --enable-trayicon-plugin \
241 --disable-maemo \
242 ${myconf} || die "./configure failed"
243
244 emake || die
245 }
246
247 src_install() {
248 emake DESTDIR="${D}" install || die
249
250 # Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
251 # => also install it in /usr/share/pixmaps for other desktop envs
252 # => also install higher resolution icons in /usr/share/icons/hicolor/...
253 insinto /usr/share/pixmaps
254 doins ${PN}.png || die
255 local res resdir
256 for res in 64x64 128x128 ; do
257 resdir="/usr/share/icons/hicolor/${res}/apps"
258 insinto ${resdir}
259 newins ${PN}-${res}.png ${PN}.png || die
260 done
261
262 dodoc AUTHORS ChangeLog* INSTALL* NEWS README* TODO*
263 docinto tools
264 dodoc tools/README*
265
266 insinto /usr/share/applications
267 doins ${PN}.desktop
268
269 einfo "Installing extra tools"
270 cd "${S}"/tools
271 exeinto /usr/$(get_libdir)/${PN}/tools
272 doexe *.pl *.py *.rc *.conf *.sh || die
273 doexe tb2claws-mail update-po uudec uuooffice || die
274
275 if use kde; then
276 einfo "Installing kde service scripts"
277 local kdeprefix="$(kde-config --prefix)"
278 local servicescript="${PN}-kdeservicemenu.pl"
279 local desktopfile="${PN}-attach-files.desktop"
280 cd "${S}"/tools/kdeservicemenu
281 sed -i -e "s:SCRIPT_PATH:${kdeprefix}/bin/${servicescript}:g" \
282 template_${desktopfile}
283 dodir /usr/share/apps/konqueror/servicemenus
284 insopts -m 0644
285 insinto /usr/share/apps/konqueror/servicemenus
286 newins template_${desktopfile} ${desktopfile} || die
287 dodir ${kdeprefix}/bin
288 insopts -m 755
289 exeinto ${kdeprefix}/bin
290 doexe ${servicescript} || die
291 fi
292
293 # kill useless plugin files
294 rm -f "${D}"/usr/lib*/${PN}/plugins/*.{la,a}
295 }
296
297 pkg_postinst() {
298 gtk-update-icon-cache -f -t "${ROOT}"/usr/share/icons/hicolor
299
300 UPDATE_PLUGINS=""
301 RENAME_PLUGINS=""
302 for x in ${PLUGIN_NAMES}; do
303 has_version mail-client/${PN}-$x && UPDATE_PLUGINS="${UPDATE_PLUGINS} $x"
304 has_version mail-client/sylpheed-claws-$x && RENAME_PLUGINS="${RENAME_PLUGINS} $x"
305 done
306 if [ -n "${RENAME_PLUGINS}" ]; then
307 elog
308 elog "The following sylpheed-claws plugins were found on your system:"
309 elog
310 for x in ${RENAME_PLUGINS}; do
311 elog " mail-client/sylpheed-claws-$x"
312 done
313 elog
314 elog "If you want to continue using those you need to merge their "
315 elog "renamed counterparts:"
316 elog
317 for x in ${RENAME_PLUGINS}; do
318 elog " mail-client/${PN}-$x"
319 done
320 elog
321 fi
322 if [ -n "${UPDATE_PLUGINS}" ]; then
323 elog
324 elog "You have to re-emerge or update the following plugins:"
325 elog
326 for x in ${UPDATE_PLUGINS}; do
327 elog " mail-client/${PN}-$x"
328 done
329 elog
330 fi
331 if [ -n "${RENAME_PLUGINS}${UPDATE_PLUGINS}" ]; then
332 elog
333 elog "You can use"
334 elog " /bin/bash ${FILESDIR}/plugins-rebuild.sh"
335 elog "to automatically handle this."
336 elog
337 epause 5
338 ebeep 3
339 fi
340 }
341
342 pkg_postrm() {
343 gtk-update-icon-cache -f -t "${ROOT}"/usr/share/icons/hicolor
344 }
345
346
347
348 --
349 gentoo-commits@g.o mailing list