1 |
polynomial-c 14/02/07 14:11:22 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: thunderbird-bin-24.3.0.ebuild |
5 |
Log: |
6 |
Security bump (bug #500320). |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) |
9 |
|
10 |
Revision Changes Path |
11 |
1.136 mail-client/thunderbird-bin/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird-bin/ChangeLog?rev=1.136&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird-bin/ChangeLog?rev=1.136&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird-bin/ChangeLog?r1=1.135&r2=1.136 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/mail-client/thunderbird-bin/ChangeLog,v |
20 |
retrieving revision 1.135 |
21 |
retrieving revision 1.136 |
22 |
diff -u -r1.135 -r1.136 |
23 |
--- ChangeLog 27 Nov 2013 18:18:52 -0000 1.135 |
24 |
+++ ChangeLog 7 Feb 2014 14:11:22 -0000 1.136 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for mail-client/thunderbird-bin |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird-bin/ChangeLog,v 1.135 2013/11/27 18:18:52 ago Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird-bin/ChangeLog,v 1.136 2014/02/07 14:11:22 polynomial-c Exp $ |
31 |
+ |
32 |
+*thunderbird-bin-24.3.0 (07 Feb 2014) |
33 |
+ |
34 |
+ 07 Feb 2014; Lars Wendler <polynomial-c@g.o> |
35 |
+ +thunderbird-bin-24.3.0.ebuild: |
36 |
+ Security bump (bug #500320). |
37 |
|
38 |
27 Nov 2013; Agostino Sarubbo <ago@g.o> thunderbird-bin-24.1.1.ebuild: |
39 |
Stable for x86, wrt bug #491234 |
40 |
|
41 |
|
42 |
|
43 |
1.1 mail-client/thunderbird-bin/thunderbird-bin-24.3.0.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird-bin/thunderbird-bin-24.3.0.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird-bin/thunderbird-bin-24.3.0.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: thunderbird-bin-24.3.0.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird-bin/thunderbird-bin-24.3.0.ebuild,v 1.1 2014/02/07 14:11:22 polynomial-c Exp $ |
53 |
|
54 |
EAPI="5" |
55 |
MOZ_ESR="0" |
56 |
|
57 |
# Can be updated using scripts/get_langs.sh from mozilla overlay |
58 |
MOZ_LANGS=(ar ast be bg bn-BD br ca cs da de el en en-GB en-US es-AR es-ES et eu |
59 |
fi fr fy-NL ga-IE gd gl he hu id is it ja ko lt nb-NO nl nn-NO pa-IN pl pt-BR |
60 |
pt-PT rm ro ru si sk sl sq sr sv-SE ta-LK tr uk vi zh-CN zh-TW) |
61 |
|
62 |
# Convert the ebuild version to the upstream mozilla version, used by |
63 |
MOZ_PN="${PN/-bin}" |
64 |
MOZ_PV="${PV/_beta/b}" |
65 |
MOZ_PV="${MOZ_PV/_rc/rc}" |
66 |
|
67 |
if [[ ${MOZ_ESR} == 1 ]]; then |
68 |
# ESR releases have slightly version numbers |
69 |
MOZ_PV="${MOZ_PV}esr" |
70 |
fi |
71 |
|
72 |
MOZ_P="${MOZ_PN}-${MOZ_PV}" |
73 |
|
74 |
# Upstream ftp release URI that's used by mozlinguas.eclass |
75 |
# We don't use the http mirror because it deletes old tarballs. |
76 |
MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/mozilla.org/${MOZ_PN}/releases/" |
77 |
|
78 |
inherit eutils multilib pax-utils fdo-mime gnome2-utils mozlinguas nsplugins |
79 |
|
80 |
DESCRIPTION="Thunderbird Mail Client" |
81 |
SRC_URI="${SRC_URI} |
82 |
amd64? ( ${MOZ_FTP_URI}/${MOZ_PV}/linux-x86_64/en-US/${MOZ_P}.tar.bz2 -> ${PN}_x86_64-${PV}.tar.bz2 ) |
83 |
x86? ( ${MOZ_FTP_URI}/${MOZ_PV}/linux-i686/en-US/${MOZ_P}.tar.bz2 -> ${PN}_i686-${PV}.tar.bz2 )" |
84 |
HOMEPAGE="http://www.mozilla.com/thunderbird" |
85 |
RESTRICT="strip mirror" |
86 |
|
87 |
KEYWORDS="-* ~amd64 ~x86" |
88 |
SLOT="0" |
89 |
LICENSE="MPL-2.0 GPL-2 LGPL-2.1" |
90 |
IUSE="+crashreporter" |
91 |
|
92 |
DEPEND="app-arch/unzip" |
93 |
RDEPEND="virtual/freedesktop-icon-theme |
94 |
dev-libs/dbus-glib |
95 |
=media-libs/libpng-1.5* |
96 |
x11-libs/libXrender |
97 |
x11-libs/libXt |
98 |
x11-libs/libXmu |
99 |
>=x11-libs/gtk+-2.2:2 |
100 |
>=media-libs/alsa-lib-1.0.16 |
101 |
crashreporter? ( net-misc/curl ) |
102 |
|
103 |
!net-libs/libproxy[spidermonkey] |
104 |
" |
105 |
|
106 |
QA_PREBUILT=" |
107 |
opt/${MOZ_PN}/*.so |
108 |
opt/${MOZ_PN}/${MOZ_PN} |
109 |
opt/${MOZ_PN}/${PN} |
110 |
opt/${MOZ_PN}/crashreporter |
111 |
opt/${MOZ_PN}/plugin-container |
112 |
opt/${MOZ_PN}/mozilla-xremote-client |
113 |
opt/${MOZ_PN}/updater |
114 |
" |
115 |
|
116 |
S="${WORKDIR}/${MOZ_PN}" |
117 |
|
118 |
src_unpack() { |
119 |
unpack ${A} |
120 |
|
121 |
# Unpack language packs |
122 |
mozlinguas_src_unpack |
123 |
} |
124 |
|
125 |
src_install() { |
126 |
declare MOZILLA_FIVE_HOME="/opt/${MOZ_PN}" |
127 |
|
128 |
local size sizes icon_path icon name |
129 |
sizes="16 22 24 32 48 256" |
130 |
icon_path="${S}/chrome/icons/default" |
131 |
icon="${PN}-icon" |
132 |
name="Thunderbird" |
133 |
|
134 |
# Install icons and .desktop for menu entry |
135 |
for size in ${sizes}; do |
136 |
insinto "/usr/share/icons/hicolor/${size}x${size}/apps" |
137 |
newins "${icon_path}/default${size}.png" "${icon}.png" |
138 |
done |
139 |
# Install a 48x48 icon into /usr/share/pixmaps for legacy DEs |
140 |
newicon "${S}"/chrome/icons/default/default48.png "${icon}.png" |
141 |
domenu "${FILESDIR}"/icon/${PN}.desktop |
142 |
|
143 |
# Install thunderbird in /opt |
144 |
dodir ${MOZILLA_FIVE_HOME%/*} |
145 |
mv "${S}" "${D}"${MOZILLA_FIVE_HOME} |
146 |
|
147 |
# Install language packs |
148 |
mozlinguas_src_install |
149 |
|
150 |
# Create /usr/bin/thunderbird-bin |
151 |
dodir /usr/bin/ |
152 |
cat <<EOF >"${D}"/usr/bin/${PN} |
153 |
#!/bin/sh |
154 |
unset LD_PRELOAD |
155 |
LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" |
156 |
exec ${MOZILLA_FIVE_HOME}/thunderbird "\$@" |
157 |
EOF |
158 |
fperms 0755 /usr/bin/${PN} |
159 |
|
160 |
# revdep-rebuild entry |
161 |
insinto /etc/revdep-rebuild |
162 |
doins "${FILESDIR}"/10${PN} |
163 |
|
164 |
# Enable very specific settings for thunderbird-3 |
165 |
cp "${FILESDIR}"/thunderbird-gentoo-default-prefs.js \ |
166 |
"${D}/${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js" || \ |
167 |
die "failed to cp thunderbird-gentoo-default-prefs.js" |
168 |
|
169 |
# Plugins dir |
170 |
share_plugins_dir |
171 |
|
172 |
pax-mark mr "${ED}"/${MOZILLA_FIVE_HOME}/{thunderbird-bin,thunderbird,plugin-container} |
173 |
} |
174 |
|
175 |
pkg_preinst() { |
176 |
gnome2_icon_savelist |
177 |
} |
178 |
|
179 |
pkg_postinst() { |
180 |
fdo-mime_desktop_database_update |
181 |
gnome2_icon_cache_update |
182 |
} |
183 |
|
184 |
pkg_postrm() { |
185 |
gnome2_icon_cache_update |
186 |
} |