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