1 |
ticho 07/12/28 11:47:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: claws-mail-3.2.0.ebuild |
5 |
Log: |
6 |
Version bump. Bug #202634 by Joe <joacher at gmx.de>. |
7 |
(Portage version: 2.1.4_rc9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.63 mail-client/claws-mail/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/ChangeLog?rev=1.63&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/ChangeLog?rev=1.63&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/ChangeLog?r1=1.62&r2=1.63 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v |
19 |
retrieving revision 1.62 |
20 |
retrieving revision 1.63 |
21 |
diff -u -r1.62 -r1.63 |
22 |
--- ChangeLog 7 Dec 2007 16:56:25 -0000 1.62 |
23 |
+++ ChangeLog 28 Dec 2007 11:47:50 -0000 1.63 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for mail-client/claws-mail |
26 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.62 2007/12/07 16:56:25 dertobi123 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.63 2007/12/28 11:47:50 ticho Exp $ |
29 |
+ |
30 |
+*claws-mail-3.2.0 (28 Dec 2007) |
31 |
+ |
32 |
+ 28 Dec 2007; Andrej Kacian <ticho@g.o> +claws-mail-3.2.0.ebuild: |
33 |
+ Version bump. Bug #202634 by Joe <joacher at gmx.de>. |
34 |
|
35 |
07 Dec 2007; Tobias Scherbaum <dertobi123@g.o> |
36 |
claws-mail-3.0.2-r1.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 mail-client/claws-mail/claws-mail-3.2.0.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/claws-mail-3.2.0.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/claws-mail-3.2.0.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: claws-mail-3.2.0.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2007 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.2.0.ebuild,v 1.1 2007/12/28 11:47:50 ticho Exp $ |
50 |
|
51 |
IUSE="bogofilter clamav crypt dillo doc gnome gnutls imap ipv6 kde ldap nntp pda session spamassassin spell ssl startup-notification xface" |
52 |
|
53 |
inherit eutils multilib |
54 |
|
55 |
DESCRIPTION="Claws-Mail is an email client (and news reader) based on GTK+" |
56 |
HOMEPAGE="http://www.claws-mail.org" |
57 |
|
58 |
if [ -n "${P/*_rc*/}" ]; then |
59 |
SRC_URI="mirror://sourceforge/sylpheed-claws/${P}.tar.bz2" |
60 |
else |
61 |
MY_P="${P/_/-}" |
62 |
S="${WORKDIR}/${MY_P}" |
63 |
SRC_URI="http://www.claws-mail.org/snapshots/${MY_P}.tar.bz2" |
64 |
fi |
65 |
|
66 |
SLOT="0" |
67 |
LICENSE="GPL-3" |
68 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
69 |
|
70 |
COMMONDEPEND=">=x11-libs/gtk+-2.6 |
71 |
pda? ( >=app-pda/jpilot-0.99 ) |
72 |
ssl? ( >=dev-libs/openssl-0.9.7 ) |
73 |
ldap? ( >=net-nds/openldap-2.0.7 ) |
74 |
crypt? ( >=app-crypt/gpgme-1.1.1 ) |
75 |
dillo? ( www-client/dillo ) |
76 |
spell? ( virtual/aspell-dict ) |
77 |
clamav? ( app-antivirus/clamav ) |
78 |
kde? ( kde-base/kdelibs ) |
79 |
imap? ( >=net-libs/libetpan-0.49 ) |
80 |
nntp? ( >=net-libs/libetpan-0.49 ) |
81 |
gnome? ( >=gnome-base/libgnomeprintui-2.2 ) |
82 |
gnutls? ( net-libs/gnutls ) |
83 |
startup-notification? ( x11-libs/startup-notification ) |
84 |
bogofilter? ( mail-filter/bogofilter ) |
85 |
session? ( x11-libs/libSM |
86 |
x11-libs/libICE )" |
87 |
|
88 |
DEPEND="${COMMONDEPEND} |
89 |
xface? ( >=media-libs/compface-1.4 ) |
90 |
>=sys-apps/sed-4 |
91 |
dev-util/pkgconfig" |
92 |
|
93 |
RDEPEND="${COMMONDEPEND} |
94 |
app-misc/mime-types |
95 |
x11-misc/shared-mime-info" |
96 |
|
97 |
PLUGIN_NAMES="acpi-notifier att-remover attachwarner cachesaver etpan-privacy fetchinfo gtkhtml maildir mailmbox newmail notification pdf-viewer perl rssyl smime synce vcalendar" |
98 |
|
99 |
src_unpack() { |
100 |
unpack ${A} |
101 |
cd "${S}" |
102 |
} |
103 |
|
104 |
src_compile() { |
105 |
local myconf="--disable-libetpan" |
106 |
|
107 |
# libetpan is needed if user wants nntp or imap functionality |
108 |
# TODO: Perhaps change it into a single "libetpan" USE flag? |
109 |
use imap && myconf="--enable-libetpan" |
110 |
use nntp && myconf="--enable-libetpan" |
111 |
|
112 |
# Optional features |
113 |
myconf="${myconf} `use_enable gnome gnomeprint`" |
114 |
myconf="${myconf} `use_enable ipv6`" |
115 |
myconf="${myconf} `use_enable ldap`" |
116 |
myconf="${myconf} `use_enable pda jpilot`" |
117 |
myconf="${myconf} `use_enable spell aspell`" |
118 |
myconf="${myconf} `use_enable gnutls`" |
119 |
myconf="${myconf} `use_enable ssl openssl`" |
120 |
myconf="${myconf} `use_enable xface compface`" |
121 |
myconf="${myconf} `use_enable doc manual`" |
122 |
myconf="${myconf} `use_enable startup-notification`" |
123 |
myconf="${myconf} `use_enable session libsm`" |
124 |
|
125 |
# Optional plugins |
126 |
myconf="${myconf} `use_enable clamav clamav-plugin`" |
127 |
myconf="${myconf} `use_enable crypt pgpmime-plugin`" |
128 |
myconf="${myconf} `use_enable crypt pgpinline-plugin`" |
129 |
myconf="${myconf} `use_enable crypt pgpcore-plugin`" |
130 |
myconf="${myconf} `use_enable dillo dillo-viewer-plugin`" |
131 |
myconf="${myconf} `use_enable spamassassin spamassassin-plugin`" |
132 |
myconf="${myconf} `use_enable bogofilter bogofilter-plugin`" |
133 |
|
134 |
econf \ |
135 |
--enable-trayicon-plugin \ |
136 |
--disable-maemo \ |
137 |
${myconf} || die "./configure failed" |
138 |
|
139 |
emake || die |
140 |
} |
141 |
|
142 |
src_install() { |
143 |
emake DESTDIR="${D}" install || die |
144 |
|
145 |
# Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps |
146 |
# => also install it in /usr/share/pixmaps for other desktop envs |
147 |
# => also install higher resolution icons in /usr/share/icons/hicolor/... |
148 |
insinto /usr/share/pixmaps |
149 |
doins ${PN}.png || die |
150 |
local res resdir |
151 |
for res in 64x64 128x128 ; do |
152 |
resdir="/usr/share/icons/hicolor/${res}/apps" |
153 |
insinto ${resdir} |
154 |
newins ${PN}-${res}.png ${PN}.png || die |
155 |
done |
156 |
|
157 |
dodoc AUTHORS ChangeLog* INSTALL* NEWS README* TODO* |
158 |
docinto tools |
159 |
dodoc tools/README* |
160 |
|
161 |
insinto /usr/share/applications |
162 |
doins ${PN}.desktop |
163 |
|
164 |
einfo "Installing extra tools" |
165 |
cd "${S}"/tools |
166 |
exeinto /usr/$(get_libdir)/${PN}/tools |
167 |
doexe *.pl *.py *.conf *.sh || die |
168 |
doexe tb2claws-mail update-po uudec uuooffice || die |
169 |
|
170 |
if use kde; then |
171 |
einfo "Installing kde service scripts" |
172 |
local kdeprefix="$(kde-config --prefix)" |
173 |
local servicescript="${PN}-kdeservicemenu.pl" |
174 |
local desktopfile="${PN}-attach-files.desktop" |
175 |
cd "${S}"/tools/kdeservicemenu |
176 |
sed -i -e "s:SCRIPT_PATH:${kdeprefix}/bin/${servicescript}:g" \ |
177 |
${desktopfile}.template |
178 |
dodir /usr/share/apps/konqueror/servicemenus |
179 |
insopts -m 0644 |
180 |
insinto /usr/share/apps/konqueror/servicemenus |
181 |
newins ${desktopfile}.template ${desktopfile} || die |
182 |
dodir ${kdeprefix}/bin |
183 |
insopts -m 755 |
184 |
exeinto ${kdeprefix}/bin |
185 |
doexe ${servicescript} || die |
186 |
fi |
187 |
|
188 |
# kill useless plugin files |
189 |
rm -f "${D}"/usr/lib*/${PN}/plugins/*.{la,a} |
190 |
} |
191 |
|
192 |
pkg_postinst() { |
193 |
gtk-update-icon-cache -f -t "${ROOT}"/usr/share/icons/hicolor |
194 |
|
195 |
UPDATE_PLUGINS="" |
196 |
RENAME_PLUGINS="" |
197 |
for x in ${PLUGIN_NAMES}; do |
198 |
has_version mail-client/${PN}-$x && UPDATE_PLUGINS="${UPDATE_PLUGINS} $x" |
199 |
has_version mail-client/sylpheed-claws-$x && RENAME_PLUGINS="${RENAME_PLUGINS} $x" |
200 |
done |
201 |
if [ -n "${RENAME_PLUGINS}" ]; then |
202 |
elog |
203 |
elog "The following sylpheed-claws plugins were found on your system:" |
204 |
elog |
205 |
for x in ${RENAME_PLUGINS}; do |
206 |
elog " mail-client/sylpheed-claws-$x" |
207 |
done |
208 |
elog |
209 |
elog "If you want to continue using those you need to merge their " |
210 |
elog "renamed counterparts:" |
211 |
elog |
212 |
for x in ${RENAME_PLUGINS}; do |
213 |
elog " mail-client/${PN}-$x" |
214 |
done |
215 |
elog |
216 |
fi |
217 |
if [ -n "${UPDATE_PLUGINS}" ]; then |
218 |
elog |
219 |
elog "You have to re-emerge or update the following plugins:" |
220 |
elog |
221 |
for x in ${UPDATE_PLUGINS}; do |
222 |
elog " mail-client/${PN}-$x" |
223 |
done |
224 |
elog |
225 |
fi |
226 |
if [ -n "${RENAME_PLUGINS}${UPDATE_PLUGINS}" ]; then |
227 |
elog |
228 |
elog "You can use" |
229 |
elog " /bin/bash ${FILESDIR}/plugins-rebuild.sh" |
230 |
elog "to automatically handle this." |
231 |
elog |
232 |
epause 5 |
233 |
ebeep 3 |
234 |
fi |
235 |
} |
236 |
|
237 |
pkg_postrm() { |
238 |
gtk-update-icon-cache -f -t "${ROOT}"/usr/share/icons/hicolor |
239 |
} |
240 |
|
241 |
|
242 |
|
243 |
-- |
244 |
gentoo-commits@g.o mailing list |