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