1 |
jdhore 12/11/22 06:57:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: thunderbird-bin-10.0.11.ebuild |
5 |
thunderbird-bin-17.0.ebuild |
6 |
Log: |
7 |
Version bump on ESR and mainline branches. |
8 |
|
9 |
(Portage version: 2.2.0_alpha142/cvs/Linux i686, signed Manifest commit with key 23E9E900) |
10 |
|
11 |
Revision Changes Path |
12 |
1.93 mail-client/thunderbird-bin/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird-bin/ChangeLog?rev=1.93&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird-bin/ChangeLog?rev=1.93&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird-bin/ChangeLog?r1=1.92&r2=1.93 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/mail-client/thunderbird-bin/ChangeLog,v |
21 |
retrieving revision 1.92 |
22 |
retrieving revision 1.93 |
23 |
diff -u -r1.92 -r1.93 |
24 |
--- ChangeLog 3 Nov 2012 12:31:43 -0000 1.92 |
25 |
+++ ChangeLog 22 Nov 2012 06:57:09 -0000 1.93 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for mail-client/thunderbird-bin |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird-bin/ChangeLog,v 1.92 2012/11/03 12:31:43 ago Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird-bin/ChangeLog,v 1.93 2012/11/22 06:57:09 jdhore Exp $ |
31 |
+ |
32 |
+*thunderbird-bin-17.0 (22 Nov 2012) |
33 |
+*thunderbird-bin-10.0.11 (22 Nov 2012) |
34 |
+ |
35 |
+ 22 Nov 2012; Jeff Horelick <jdhore@g.o> |
36 |
+ +thunderbird-bin-10.0.11.ebuild, +thunderbird-bin-17.0.ebuild: |
37 |
+ Version bump on ESR and mainline branches. |
38 |
|
39 |
03 Nov 2012; <ago@g.o> thunderbird-bin-10.0.10.ebuild: |
40 |
Stable for amd64, wrt bug #439960 |
41 |
|
42 |
|
43 |
|
44 |
1.1 mail-client/thunderbird-bin/thunderbird-bin-10.0.11.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird-bin/thunderbird-bin-10.0.11.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird-bin/thunderbird-bin-10.0.11.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: thunderbird-bin-10.0.11.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2012 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird-bin/thunderbird-bin-10.0.11.ebuild,v 1.1 2012/11/22 06:57:09 jdhore Exp $ |
54 |
|
55 |
EAPI="4" |
56 |
MOZ_ESR="1" |
57 |
|
58 |
# Can be updated using scripts/get_langs.sh from mozilla overlay |
59 |
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 |
60 |
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 |
61 |
pt-PT rm ro ru si sk sl sq sr sv-SE ta-LK tr uk vi zh-CN zh-TW) |
62 |
|
63 |
# Convert the ebuild version to the upstream mozilla version, used by |
64 |
MOZ_PN="${PN/-bin}" |
65 |
MOZ_PV="${PV/_beta/b}" |
66 |
MOZ_PV="${MOZ_PV/_rc/rc}" |
67 |
|
68 |
if [[ ${MOZ_ESR} == 1 ]]; then |
69 |
# ESR releases have slightly version numbers |
70 |
MOZ_PV="${MOZ_PV}esr" |
71 |
fi |
72 |
|
73 |
MOZ_P="${MOZ_PN}-${MOZ_PV}" |
74 |
|
75 |
# Upstream ftp release URI that's used by mozlinguas.eclass |
76 |
# We don't use the http mirror because it deletes old tarballs. |
77 |
MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/mozilla.org/${MOZ_PN}/releases/" |
78 |
|
79 |
inherit eutils multilib pax-utils fdo-mime gnome2-utils mozlinguas nsplugins |
80 |
|
81 |
DESCRIPTION="Thunderbird Mail Client" |
82 |
SRC_URI="${SRC_URI} |
83 |
amd64? ( ${MOZ_FTP_URI}/${MOZ_PV}/linux-x86_64/en-US/${MOZ_P}.tar.bz2 -> ${PN}_x86_64-${PV}.tar.bz2 ) |
84 |
x86? ( ${MOZ_FTP_URI}/${MOZ_PV}/linux-i686/en-US/${MOZ_P}.tar.bz2 -> ${PN}_i686-${PV}.tar.bz2 )" |
85 |
HOMEPAGE="http://www.mozilla.com/thunderbird" |
86 |
RESTRICT="strip mirror binchecks" |
87 |
|
88 |
KEYWORDS="-* ~amd64 ~x86" |
89 |
SLOT="0" |
90 |
LICENSE="MPL-1.1 GPL-2 LGPL-2.1" |
91 |
IUSE="+crashreporter" |
92 |
|
93 |
DEPEND="app-arch/unzip" |
94 |
RDEPEND="virtual/freedesktop-icon-theme |
95 |
x11-libs/libXrender |
96 |
x11-libs/libXt |
97 |
x11-libs/libXmu |
98 |
>=x11-libs/gtk+-2.2:2 |
99 |
>=media-libs/alsa-lib-1.0.16 |
100 |
crashreporter? ( net-misc/curl ) " |
101 |
|
102 |
S="${WORKDIR}/${MOZ_PN}" |
103 |
|
104 |
src_unpack() { |
105 |
unpack ${A} |
106 |
|
107 |
# Unpack language packs |
108 |
mozlinguas_src_unpack |
109 |
} |
110 |
|
111 |
src_install() { |
112 |
declare MOZILLA_FIVE_HOME="/opt/${MOZ_PN}" |
113 |
|
114 |
# Install thunderbird in /opt |
115 |
dodir ${MOZILLA_FIVE_HOME%/*} |
116 |
mv "${S}" "${D}"${MOZILLA_FIVE_HOME} |
117 |
|
118 |
# Install language packs |
119 |
mozlinguas_src_install |
120 |
|
121 |
# Create /usr/bin/thunderbird-bin |
122 |
dodir /usr/bin/ |
123 |
cat <<EOF >"${D}"/usr/bin/${PN} |
124 |
#!/bin/sh |
125 |
unset LD_PRELOAD |
126 |
LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" |
127 |
exec ${MOZILLA_FIVE_HOME}/thunderbird "\$@" |
128 |
EOF |
129 |
fperms 0755 /usr/bin/${PN} |
130 |
|
131 |
# Install icon and .desktop for menu entry |
132 |
doicon "${FILESDIR}"/icon/${PN}-icon.png |
133 |
domenu "${FILESDIR}"/icon/${PN}.desktop |
134 |
|
135 |
# revdep-rebuild entry |
136 |
insinto /etc/revdep-rebuild |
137 |
doins "${FILESDIR}"/10${PN} |
138 |
|
139 |
# Enable very specific settings for thunderbird-3 |
140 |
cp "${FILESDIR}"/thunderbird-gentoo-default-prefs.js \ |
141 |
"${D}/${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js" || \ |
142 |
die "failed to cp thunderbird-gentoo-default-prefs.js" |
143 |
|
144 |
# Plugins dir |
145 |
share_plugins_dir |
146 |
|
147 |
pax-mark mr "${ED}"/${MOZILLA_FIVE_HOME}/{thunderbird-bin,thunderbird,plugin-container} |
148 |
} |
149 |
|
150 |
pkg_preinst() { |
151 |
gnome2_icon_savelist |
152 |
} |
153 |
|
154 |
pkg_postinst() { |
155 |
fdo-mime_desktop_database_update |
156 |
gnome2_icon_cache_update |
157 |
} |
158 |
|
159 |
pkg_postrm() { |
160 |
gnome2_icon_cache_update |
161 |
} |
162 |
|
163 |
|
164 |
|
165 |
1.1 mail-client/thunderbird-bin/thunderbird-bin-17.0.ebuild |
166 |
|
167 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird-bin/thunderbird-bin-17.0.ebuild?rev=1.1&view=markup |
168 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird-bin/thunderbird-bin-17.0.ebuild?rev=1.1&content-type=text/plain |
169 |
|
170 |
Index: thunderbird-bin-17.0.ebuild |
171 |
=================================================================== |
172 |
# Copyright 1999-2012 Gentoo Foundation |
173 |
# Distributed under the terms of the GNU General Public License v2 |
174 |
# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird-bin/thunderbird-bin-17.0.ebuild,v 1.1 2012/11/22 06:57:09 jdhore Exp $ |
175 |
|
176 |
EAPI="4" |
177 |
|
178 |
# Can be updated using scripts/get_langs.sh from mozilla overlay |
179 |
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 |
180 |
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 |
181 |
pt-PT rm ro ru si sk sl sq sr sv-SE ta-LK tr uk vi zh-CN zh-TW) |
182 |
|
183 |
# Convert the ebuild version to the upstream mozilla version, used by |
184 |
MOZ_PN="${PN/-bin}" |
185 |
MOZ_PV="${PV/_beta/b}" |
186 |
MOZ_PV="${MOZ_PV/_rc/rc}" |
187 |
MOZ_P="${MOZ_PN}-${MOZ_PV}" |
188 |
|
189 |
# Upstream ftp release URI that's used by mozlinguas.eclass |
190 |
# We don't use the http mirror because it deletes old tarballs. |
191 |
MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/mozilla.org/${MOZ_PN}/releases/" |
192 |
|
193 |
inherit eutils multilib pax-utils fdo-mime gnome2-utils mozlinguas nsplugins |
194 |
|
195 |
DESCRIPTION="Thunderbird Mail Client" |
196 |
SRC_URI="${SRC_URI} |
197 |
amd64? ( ${MOZ_FTP_URI}/${MOZ_PV}/linux-x86_64/en-US/${MOZ_P}.tar.bz2 -> ${PN}_x86_64-${PV}.tar.bz2 ) |
198 |
x86? ( ${MOZ_FTP_URI}/${MOZ_PV}/linux-i686/en-US/${MOZ_P}.tar.bz2 -> ${PN}_i686-${PV}.tar.bz2 )" |
199 |
HOMEPAGE="http://www.mozilla.com/thunderbird" |
200 |
RESTRICT="strip mirror binchecks" |
201 |
|
202 |
KEYWORDS="-* ~amd64 ~x86" |
203 |
SLOT="0" |
204 |
LICENSE="MPL-2.0 GPL-2 LGPL-2.1" |
205 |
IUSE="+crashreporter" |
206 |
|
207 |
DEPEND="app-arch/unzip" |
208 |
RDEPEND="virtual/freedesktop-icon-theme |
209 |
x11-libs/libXrender |
210 |
x11-libs/libXt |
211 |
x11-libs/libXmu |
212 |
>=x11-libs/gtk+-2.2:2 |
213 |
>=media-libs/alsa-lib-1.0.16 |
214 |
crashreporter? ( net-misc/curl ) |
215 |
|
216 |
!net-libs/libproxy[spidermonkey] |
217 |
" |
218 |
|
219 |
S="${WORKDIR}/${MOZ_PN}" |
220 |
|
221 |
src_unpack() { |
222 |
unpack ${A} |
223 |
|
224 |
# Unpack language packs |
225 |
mozlinguas_src_unpack |
226 |
} |
227 |
|
228 |
src_install() { |
229 |
declare MOZILLA_FIVE_HOME="/opt/${MOZ_PN}" |
230 |
|
231 |
# Install thunderbird in /opt |
232 |
dodir ${MOZILLA_FIVE_HOME%/*} |
233 |
mv "${S}" "${D}"${MOZILLA_FIVE_HOME} |
234 |
|
235 |
# Install language packs |
236 |
mozlinguas_src_install |
237 |
|
238 |
# Create /usr/bin/thunderbird-bin |
239 |
dodir /usr/bin/ |
240 |
cat <<EOF >"${D}"/usr/bin/${PN} |
241 |
#!/bin/sh |
242 |
unset LD_PRELOAD |
243 |
LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" |
244 |
exec ${MOZILLA_FIVE_HOME}/thunderbird "\$@" |
245 |
EOF |
246 |
fperms 0755 /usr/bin/${PN} |
247 |
|
248 |
# Install icon and .desktop for menu entry |
249 |
doicon "${FILESDIR}"/icon/${PN}-icon.png |
250 |
domenu "${FILESDIR}"/icon/${PN}.desktop |
251 |
|
252 |
# revdep-rebuild entry |
253 |
insinto /etc/revdep-rebuild |
254 |
doins "${FILESDIR}"/10${PN} |
255 |
|
256 |
# Enable very specific settings for thunderbird-3 |
257 |
cp "${FILESDIR}"/thunderbird-gentoo-default-prefs.js \ |
258 |
"${D}/${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js" || \ |
259 |
die "failed to cp thunderbird-gentoo-default-prefs.js" |
260 |
|
261 |
# Plugins dir |
262 |
share_plugins_dir |
263 |
|
264 |
pax-mark mr "${ED}"/${MOZILLA_FIVE_HOME}/{thunderbird-bin,thunderbird,plugin-container} |
265 |
} |
266 |
|
267 |
pkg_preinst() { |
268 |
gnome2_icon_savelist |
269 |
} |
270 |
|
271 |
pkg_postinst() { |
272 |
fdo-mime_desktop_database_update |
273 |
gnome2_icon_cache_update |
274 |
} |
275 |
|
276 |
pkg_postrm() { |
277 |
gnome2_icon_cache_update |
278 |
} |