1 |
anarchy 10/01/31 01:37:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mozilla-thunderbird-bin-3.0.1.ebuild |
5 |
Removed: mozilla-thunderbird-bin-3.0.ebuild |
6 |
Log: |
7 |
version bump |
8 |
(Portage version: 2.1.7.17/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.139 mail-client/mozilla-thunderbird-bin/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog?rev=1.139&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog?rev=1.139&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog?r1=1.138&r2=1.139 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog,v |
20 |
retrieving revision 1.138 |
21 |
retrieving revision 1.139 |
22 |
diff -u -r1.138 -r1.139 |
23 |
--- ChangeLog 2 Jan 2010 09:57:49 -0000 1.138 |
24 |
+++ ChangeLog 31 Jan 2010 01:37:42 -0000 1.139 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for mail-client/mozilla-thunderbird-bin |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog,v 1.138 2010/01/02 09:57:49 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog,v 1.139 2010/01/31 01:37:42 anarchy Exp $ |
30 |
+ |
31 |
+*mozilla-thunderbird-bin-3.0.1 (31 Jan 2010) |
32 |
+ |
33 |
+ 31 Jan 2010; <anarchy@g.o> -mozilla-thunderbird-bin-3.0.ebuild, |
34 |
+ +mozilla-thunderbird-bin-3.0.1.ebuild: |
35 |
+ version bump |
36 |
|
37 |
02 Jan 2010; Samuli Suominen <ssuominen@g.o> |
38 |
mozilla-thunderbird-bin-3.0.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-3.0.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-3.0.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-3.0.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: mozilla-thunderbird-bin-3.0.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-3.0.1.ebuild,v 1.1 2010/01/31 01:37:42 anarchy Exp $ |
52 |
EAPI="2" |
53 |
|
54 |
inherit eutils multilib mozextension |
55 |
|
56 |
LANGS="af ar be ca cs de el en-US es-AR es-ES et eu fi fr fy-NL ga-IE hu id is it ja ko lt nb-NO nl nn-NO pa-IN pl pt-BR ro ru si sk sv-SE uk" |
57 |
NOSHORTLANGS="es-AR" |
58 |
|
59 |
MY_PV="${PV/_beta/b}" |
60 |
MY_P="${PN}-${MY_PV}" |
61 |
|
62 |
DESCRIPTION="Thunderbird Mail Client" |
63 |
REL_URI="http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/" |
64 |
SRC_URI="${REL_URI}/${MY_PV}/linux-i686/en-US/thunderbird-${MY_PV}.tar.bz2" |
65 |
HOMEPAGE="http://www.mozilla.com/thunderbird" |
66 |
RESTRICT="strip" |
67 |
|
68 |
KEYWORDS="-* ~amd64 ~x86" |
69 |
SLOT="0" |
70 |
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" |
71 |
IUSE="" |
72 |
|
73 |
for X in ${LANGS} ; do |
74 |
if [ "${X}" != "en" ] && [ "${X}" != "en-US" ]; then |
75 |
SRC_URI="${SRC_URI} |
76 |
linguas_${X/-/_}? ( ${REL_URI}/${MY_PV}/linux-i686/xpi/${X}.xpi -> ${P/-bin/}-${X}.xpi )" |
77 |
fi |
78 |
IUSE="${IUSE} linguas_${X/-/_}" |
79 |
# english is handled internally |
80 |
if [ "${#X}" == 5 ] && ! has ${X} ${NOSHORTLANGS}; then |
81 |
if [ "${X}" != "en-US" ]; then |
82 |
SRC_URI="${SRC_URI} |
83 |
linguas_${X%%-*}? ( ${REL_URI}/${MY_PV}/linux-i686/xpi/${X}.xpi -> ${P/-bin/}-${X}.xpi )" |
84 |
fi |
85 |
IUSE="${IUSE} linguas_${X%%-*}" |
86 |
fi |
87 |
done |
88 |
|
89 |
DEPEND="app-arch/unzip" |
90 |
RDEPEND="x11-libs/libXrender |
91 |
x11-libs/libXt |
92 |
x11-libs/libXmu |
93 |
x86? ( |
94 |
>=x11-libs/gtk+-2.2 |
95 |
net-misc/curl[nss] |
96 |
) |
97 |
amd64? ( |
98 |
app-emulation/emul-linux-x86-baselibs |
99 |
app-emulation/emul-linux-x86-gtklibs |
100 |
)" |
101 |
|
102 |
S="${WORKDIR}/thunderbird" |
103 |
|
104 |
pkg_setup() { |
105 |
# This is a binary x86 package => ABI=x86 |
106 |
# Please keep this in future versions |
107 |
# Danny van Dyk <kugelfang@g.o> 2005/03/26 |
108 |
has_multilib_profile && ABI="x86" |
109 |
} |
110 |
|
111 |
linguas() { |
112 |
local LANG SLANG |
113 |
for LANG in ${LINGUAS}; do |
114 |
if has ${LANG} en en_US; then |
115 |
has en ${linguas} || linguas="${linguas:+"${linguas} "}en" |
116 |
continue |
117 |
elif has ${LANG} ${LANGS//-/_}; then |
118 |
has ${LANG//_/-} ${linguas} || linguas="${linguas:+"${linguas} "}${LANG//_/-}" |
119 |
continue |
120 |
elif [[ " ${LANGS} " == *" ${LANG}-"* ]]; then |
121 |
for X in ${LANGS}; do |
122 |
if [[ "${X}" == "${LANG}-"* ]] && \ |
123 |
[[ " ${NOSHORTLANGS} " != *" ${X} "* ]]; then |
124 |
has ${X} ${linguas} || linguas="${linguas:+"${linguas} "}${X}" |
125 |
continue 2 |
126 |
fi |
127 |
done |
128 |
fi |
129 |
ewarn "Sorry, but ${PN} does not support the ${LANG} LINGUA" |
130 |
done |
131 |
} |
132 |
|
133 |
src_unpack() { |
134 |
unpack ${A} |
135 |
|
136 |
linguas |
137 |
for X in ${linguas}; do |
138 |
[[ ${X} != en ]] && xpi_unpack "${P/-bin}-${X}.xpi" |
139 |
done |
140 |
} |
141 |
|
142 |
src_install() { |
143 |
declare MOZILLA_FIVE_HOME="/opt/thunderbird" |
144 |
|
145 |
# Install thunderbird in /opt |
146 |
dodir ${MOZILLA_FIVE_HOME%/*} |
147 |
mv "${S}" "${D}"${MOZILLA_FIVE_HOME} |
148 |
|
149 |
linguas |
150 |
for X in ${linguas}; do |
151 |
[[ ${X} != en ]] && xpi_install ${WORKDIR}/${P/-bin}-${X} |
152 |
done |
153 |
|
154 |
# Create symbolic link /usr/bin/thunderbird-bin |
155 |
dodir /usr/bin |
156 |
dosym "${MOZILLA_FIVE_HOME}/thunderbird" /usr/bin/thunderbird-bin |
157 |
|
158 |
# Install icon and .desktop for menu entry |
159 |
doicon "${FILESDIR}"/icon/${PN}-icon.png |
160 |
domenu "${FILESDIR}"/icon/${PN}.desktop |
161 |
|
162 |
# revdep-rebuild entry |
163 |
insinto /etc/revdep-rebuild |
164 |
doins "${FILESDIR}"/10thunderbird-bin |
165 |
|
166 |
# install ldpath env.d |
167 |
doenvd "${FILESDIR}"/71thunderbird-bin |
168 |
|
169 |
# Enable very specific settings for thunderbird-3 |
170 |
cp "${FILESDIR}"/thunderbird-gentoo-default-prefs.js \ |
171 |
"${D}/${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js" || \ |
172 |
die "failed to cp thunderbird-gentoo-default-prefs.js" |
173 |
} |
174 |
|
175 |
pkg_postinst() { |
176 |
#elog "For enigmail, please see instructions at" |
177 |
#elog " http://enigmail.mozdev.org/" |
178 |
|
179 |
if use x86; then |
180 |
if ! has_version 'gnome-base/gconf' || ! has_version 'gnome-base/orbit' ; then |
181 |
einfo |
182 |
einfo "For using the crashreporter, you need gnome-base/gconf," |
183 |
einfo "gnome-base/orbit and net-misc/curl emerged." |
184 |
einfo |
185 |
fi |
186 |
else |
187 |
einfo |
188 |
einfo "NB: You just installed a 32-bit thunderbird" |
189 |
einfo |
190 |
einfo "Crashreporter won't work on amd64" |
191 |
einfo |
192 |
fi |
193 |
|
194 |
einfo |
195 |
elog 'We have moved away from mozilla-launcher, as it has major design flaws.' |
196 |
elog 'You will need to update your symlinks to use thunderbird-bin as the executable' |
197 |
elog 'to launch thunderbird-bin. If you are used to just typing thunderbird to start, you' |
198 |
elog 'can create an alias in your ${HOME}/.bashrc. Example: alias thunderbird="thunderbird-bin"' |
199 |
} |