1 |
armin76 08/02/27 11:13:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mozilla-thunderbird-bin-2.0.0.12.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.101 mail-client/mozilla-thunderbird-bin/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog?rev=1.101&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog?rev=1.101&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog?r1=1.100&r2=1.101 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog,v |
19 |
retrieving revision 1.100 |
20 |
retrieving revision 1.101 |
21 |
diff -u -r1.100 -r1.101 |
22 |
--- ChangeLog 31 Dec 2007 14:18:36 -0000 1.100 |
23 |
+++ ChangeLog 27 Feb 2008 11:13:32 -0000 1.101 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for mail-client/mozilla-thunderbird-bin |
26 |
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog,v 1.100 2007/12/31 14:18:36 armin76 Exp $ |
28 |
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog,v 1.101 2008/02/27 11:13:32 armin76 Exp $ |
30 |
+ |
31 |
+*mozilla-thunderbird-bin-2.0.0.12 (27 Feb 2008) |
32 |
+ |
33 |
+ 27 Feb 2008; Raúl Porcel <armin76@g.o> |
34 |
+ +mozilla-thunderbird-bin-2.0.0.12.ebuild: |
35 |
+ Version bump |
36 |
|
37 |
31 Dec 2007; Raúl Porcel <armin76@g.o> |
38 |
-mozilla-thunderbird-bin-1.5.0.13.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.12.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.12.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.12.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: mozilla-thunderbird-bin-2.0.0.12.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 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-2.0.0.12.ebuild,v 1.1 2008/02/27 11:13:32 armin76 Exp $ |
52 |
|
53 |
inherit eutils mozilla-launcher multilib mozextension |
54 |
|
55 |
LANGS="af be bg ca cs da de el en-GB es-AR es-ES eu fi fr ga-IE he hu it ja ko lt mk nb-NO nl nn-NO pa-IN pl pt-BR pt-PT ru sk sl sv-SE tr zh-CN zh-TW" |
56 |
NOSHORTLANGS="en-GB es-AR pt-BR zh-TW" |
57 |
|
58 |
DESCRIPTION="Thunderbird Mail Client" |
59 |
SRC_URI="http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${PV}/linux-i686/en-US/thunderbird-${PV}.tar.gz" |
60 |
HOMEPAGE="http://www.mozilla.com/thunderbird" |
61 |
RESTRICT="strip" |
62 |
|
63 |
KEYWORDS="-* ~amd64 ~x86" |
64 |
SLOT="0" |
65 |
LICENSE="MPL-1.1 GPL-2 LGPL-2.1" |
66 |
IUSE="" |
67 |
|
68 |
for X in ${LANGS} ; do |
69 |
SRC_URI="${SRC_URI} |
70 |
linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )" |
71 |
IUSE="${IUSE} linguas_${X/-/_}" |
72 |
# english is handled internally |
73 |
if [ "${#X}" == 5 ] && ! has ${X} ${NOSHORTLANGS}; then |
74 |
SRC_URI="${SRC_URI} |
75 |
linguas_${X%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )" |
76 |
IUSE="${IUSE} linguas_${X%%-*}" |
77 |
fi |
78 |
done |
79 |
|
80 |
DEPEND="app-arch/unzip" |
81 |
RDEPEND="x11-libs/libXrender |
82 |
x11-libs/libXt |
83 |
x11-libs/libXmu |
84 |
x86? ( |
85 |
>=x11-libs/gtk+-2.2 |
86 |
=virtual/libstdc++-3.3 |
87 |
) |
88 |
amd64? ( |
89 |
>=app-emulation/emul-linux-x86-baselibs-1.0 |
90 |
>=app-emulation/emul-linux-x86-gtklibs-1.0 |
91 |
app-emulation/emul-linux-x86-compat |
92 |
) |
93 |
>=www-client/mozilla-launcher-1.41" |
94 |
|
95 |
S="${WORKDIR}/thunderbird" |
96 |
|
97 |
pkg_setup() { |
98 |
# This is a binary x86 package => ABI=x86 |
99 |
# Please keep this in future versions |
100 |
# Danny van Dyk <kugelfang@g.o> 2005/03/26 |
101 |
has_multilib_profile && ABI="x86" |
102 |
} |
103 |
|
104 |
linguas() { |
105 |
local LANG SLANG |
106 |
for LANG in ${LINGUAS}; do |
107 |
if has ${LANG} en en_US; then |
108 |
has en ${linguas} || linguas="${linguas:+"${linguas} "}en" |
109 |
continue |
110 |
elif has ${LANG} ${LANGS//-/_}; then |
111 |
has ${LANG//_/-} ${linguas} || linguas="${linguas:+"${linguas} "}${LANG//_/-}" |
112 |
continue |
113 |
elif [[ " ${LANGS} " == *" ${LANG}-"* ]]; then |
114 |
for X in ${LANGS}; do |
115 |
if [[ "${X}" == "${LANG}-"* ]] && \ |
116 |
[[ " ${NOSHORTLANGS} " != *" ${X} "* ]]; then |
117 |
has ${X} ${linguas} || linguas="${linguas:+"${linguas} "}${X}" |
118 |
continue 2 |
119 |
fi |
120 |
done |
121 |
fi |
122 |
ewarn "Sorry, but ${PN} does not support the ${LANG} LINGUA" |
123 |
done |
124 |
} |
125 |
|
126 |
src_unpack() { |
127 |
unpack thunderbird-${PV}.tar.gz |
128 |
|
129 |
linguas |
130 |
for X in ${linguas}; do |
131 |
[[ ${X} != en ]] && xpi_unpack ${P/-bin}-${X}.xpi |
132 |
done |
133 |
if [[ ${linguas} != "" ]]; then |
134 |
einfo "Selected language packs (first will be default): ${linguas}" |
135 |
fi |
136 |
} |
137 |
|
138 |
src_install() { |
139 |
declare MOZILLA_FIVE_HOME="/opt/thunderbird" |
140 |
|
141 |
# Install thunderbird in /opt |
142 |
dodir ${MOZILLA_FIVE_HOME%/*} |
143 |
mv "${S}" "${D}"${MOZILLA_FIVE_HOME} |
144 |
|
145 |
linguas |
146 |
for X in ${linguas}; do |
147 |
[[ ${X} != en ]] && xpi_install ${WORKDIR}/${P/-bin}-${X} |
148 |
done |
149 |
|
150 |
local LANG=${linguas%% *} |
151 |
if [[ ${LANG} != "" && ${LANG} != "en" ]]; then |
152 |
ebegin "Setting default locale to ${LANG}" |
153 |
sed -i "s:pref(\"general.useragent.locale\", \"en-US\"):pref(\"general.useragent.locale\", \"${LANG}\"):" \ |
154 |
"${D}"${MOZILLA_FIVE_HOME}/defaults/pref/all-thunderbird.js \ |
155 |
"${D}"${MOZILLA_FIVE_HOME}/defaults/pref/all-l10n.js |
156 |
eend $? || die "sed failed to change locale" |
157 |
fi |
158 |
|
159 |
# Install /usr/bin/thunderbird-bin |
160 |
install_mozilla_launcher_stub thunderbird-bin ${MOZILLA_FIVE_HOME} |
161 |
|
162 |
# Install icon and .desktop for menu entry |
163 |
doicon "${FILESDIR}"/icon/${PN}-icon.png |
164 |
domenu "${FILESDIR}"/icon/${PN}.desktop |
165 |
|
166 |
# revdep-rebuild entry |
167 |
insinto /etc/revdep-rebuild |
168 |
doins "${FILESDIR}"/10thunderbird-bin |
169 |
|
170 |
# install ldpath env.d |
171 |
doenvd "${FILESDIR}"/71thunderbird-bin |
172 |
} |
173 |
|
174 |
pkg_preinst() { |
175 |
declare MOZILLA_FIVE_HOME="/opt/thunderbird" |
176 |
|
177 |
# Remove entire installed instance to solve various |
178 |
# problems, for example see bug 27719 |
179 |
rm -rf "${ROOT}"${MOZILLA_FIVE_HOME} |
180 |
} |
181 |
|
182 |
pkg_postinst() { |
183 |
elog "For enigmail, please see instructions at" |
184 |
elog " http://enigmail.mozdev.org/" |
185 |
|
186 |
use amd64 && einfo "NB: You just installed a 32-bit thunderbird" |
187 |
update_mozilla_launcher_symlinks |
188 |
} |
189 |
|
190 |
pkg_postrm() { |
191 |
update_mozilla_launcher_symlinks |
192 |
} |
193 |
|
194 |
|
195 |
|
196 |
-- |
197 |
gentoo-commits@l.g.o mailing list |