1 |
polynomial-c 10/04/02 20:06:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: seamonkey-2.0.4.ebuild |
5 |
Removed: seamonkey-2.0.1.ebuild seamonkey-2.0.2.ebuild |
6 |
seamonkey-2.0.3.ebuild |
7 |
Log: |
8 |
seamonkey-2.0.4 version bump. Removed old 2.0.x versions. |
9 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.213 www-client/seamonkey/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/seamonkey/ChangeLog?rev=1.213&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/seamonkey/ChangeLog?rev=1.213&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/seamonkey/ChangeLog?r1=1.212&r2=1.213 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/www-client/seamonkey/ChangeLog,v |
21 |
retrieving revision 1.212 |
22 |
retrieving revision 1.213 |
23 |
diff -u -r1.212 -r1.213 |
24 |
--- ChangeLog 4 Mar 2010 14:51:31 -0000 1.212 |
25 |
+++ ChangeLog 2 Apr 2010 20:06:09 -0000 1.213 |
26 |
@@ -1,6 +1,15 @@ |
27 |
# ChangeLog for www-client/seamonkey |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/ChangeLog,v 1.212 2010/03/04 14:51:31 nirbheek Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/ChangeLog,v 1.213 2010/04/02 20:06:09 polynomial-c Exp $ |
31 |
+ |
32 |
+ 02 Apr 2010; <lars@g.o> -seamonkey-2.0.1.ebuild, |
33 |
+ -seamonkey-2.0.2.ebuild, -seamonkey-2.0.3.ebuild, +seamonkey-2.0.4.ebuild: |
34 |
+ removed old versions |
35 |
+ |
36 |
+*seamonkey-2.0.4 (02 Apr 2010) |
37 |
+ |
38 |
+ 02 Apr 2010; <lars@g.o> +seamonkey-2.0.4.ebuild: |
39 |
+ version bump |
40 |
|
41 |
*seamonkey-2.0.3 (04 Mar 2010) |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
1.1 www-client/seamonkey/seamonkey-2.0.4.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/seamonkey/seamonkey-2.0.4.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/seamonkey/seamonkey-2.0.4.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: seamonkey-2.0.4.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2010 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/seamonkey-2.0.4.ebuild,v 1.1 2010/04/02 20:06:09 polynomial-c Exp $ |
56 |
|
57 |
EAPI="2" |
58 |
WANT_AUTOCONF="2.1" |
59 |
|
60 |
inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib fdo-mime autotools mozextension java-pkg-opt-2 |
61 |
|
62 |
PATCH="${PN}-2.0.3-patches-0.1" |
63 |
EMVER="1.0.1" |
64 |
|
65 |
LANGS="be ca cs de en-US es-AR es-ES fr gl hu it ja ka lt nb-NO nl pl pt-PT ru sk sv-SE tr" |
66 |
NOSHORTLANGS="es-AR es-ES nb-NO pt-PT sv-SE" |
67 |
|
68 |
MY_PV="${PV/_rc/rc}" |
69 |
MY_P="${PN}-${MY_PV}" |
70 |
|
71 |
DESCRIPTION="Seamonkey Web Browser" |
72 |
HOMEPAGE="http://www.seamonkey-project.org" |
73 |
|
74 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
75 |
SLOT="0" |
76 |
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" |
77 |
IUSE="+alsa +chatzilla +composer +crypt java ldap +mailclient +roaming system-sqlite" |
78 |
|
79 |
REL_URI="http://releases.mozilla.org/pub/mozilla.org/${PN}/releases" |
80 |
SRC_URI="${REL_URI}/${MY_PV}/source/${MY_P}.source.tar.bz2 |
81 |
http://dev.gentoo.org/~polynomial-c/${PATCH}.tar.bz2 |
82 |
crypt? ( mailclient? ( http://www.mozilla-enigmail.org/download/source/enigmail-${EMVER}.tar.gz ) )" |
83 |
|
84 |
for X in ${LANGS} ; do |
85 |
if [ "${X}" != "en" ] && [ "${X}" != "en-US" ]; then |
86 |
SRC_URI="${SRC_URI} |
87 |
linguas_${X/-/_}? ( ${REL_URI}/${MY_PV}/langpack/${MY_P}.${X}.langpack.xpi -> ${MY_P}-${X}.xpi )" |
88 |
fi |
89 |
IUSE="${IUSE} linguas_${X/-/_}" |
90 |
# english is handled internally |
91 |
if [ "${#X}" == 5 ] && ! has ${X} ${NOSHORTLANGS}; then |
92 |
if [ "${X}" != "en-US" ]; then |
93 |
SRC_URI="${SRC_URI} |
94 |
linguas_${X%%-*}? ( ${REL_URI}/${MY_PV}/langpack/${MY_P}.${X}.langpack.xpi -> ${MY_P}-${X}.xpi )" |
95 |
fi |
96 |
IUSE="${IUSE} linguas_${X%%-*}" |
97 |
fi |
98 |
done |
99 |
|
100 |
RDEPEND="java? ( virtual/jre ) |
101 |
>=sys-devel/binutils-2.16.1 |
102 |
>=dev-libs/nss-3.12.2 |
103 |
>=dev-libs/nspr-4.8 |
104 |
alsa? ( media-libs/alsa-lib ) |
105 |
system-sqlite? ( >=dev-db/sqlite-3.6.22-r2[fts3,secure-delete] ) |
106 |
>=app-text/hunspell-1.2 |
107 |
>=x11-libs/gtk+-2.10.0 |
108 |
>=x11-libs/cairo-1.8.8[X] |
109 |
>=x11-libs/pango-1.14.0[X] |
110 |
crypt? ( mailclient? ( >=app-crypt/gnupg-1.4 ) )" |
111 |
|
112 |
DEPEND="${RDEPEND} |
113 |
dev-util/pkgconfig |
114 |
java? ( >=virtual/jdk-1.4 )" |
115 |
|
116 |
S="${WORKDIR}/comm-1.9.1" |
117 |
|
118 |
linguas() { |
119 |
local LANG SLANG |
120 |
for LANG in ${LINGUAS}; do |
121 |
if has ${LANG} en en_US; then |
122 |
has en ${linguas} || linguas="${linguas:+"${linguas} "}en" |
123 |
continue |
124 |
elif has ${LANG} ${LANGS//-/_}; then |
125 |
has ${LANG//_/-} ${linguas} || linguas="${linguas:+"${linguas} "}${LANG//_/-}" |
126 |
continue |
127 |
elif [[ " ${LANGS} " == *" ${LANG}-"* ]]; then |
128 |
for X in ${LANGS}; do |
129 |
if [[ "${X}" == "${LANG}-"* ]] && \ |
130 |
[[ " ${NOSHORTLANGS} " != *" ${X} "* ]]; then |
131 |
has ${X} ${linguas} || linguas="${linguas:+"${linguas} "}${X}" |
132 |
continue 2 |
133 |
fi |
134 |
done |
135 |
fi |
136 |
ewarn "Sorry, but ${PN} does not support the ${LANG} LINGUA" |
137 |
done |
138 |
} |
139 |
|
140 |
src_unpack() { |
141 |
unpack ${A} |
142 |
|
143 |
linguas |
144 |
for X in ${linguas}; do |
145 |
# FIXME: Add support for unpacking xpis to portage |
146 |
[[ ${X} != "en" ]] && xpi_unpack "${MY_P}-${X}.xpi" |
147 |
done |
148 |
if [[ ${linguas} != "" && ${linguas} != "en" ]]; then |
149 |
einfo "Selected language packs (first will be default): ${linguas}" |
150 |
fi |
151 |
} |
152 |
|
153 |
pkg_setup() { |
154 |
export BUILD_OFFICIAL=1 |
155 |
export MOZILLA_OFFICIAL=1 |
156 |
|
157 |
java-pkg-opt-2_pkg_setup |
158 |
} |
159 |
|
160 |
src_prepare() { |
161 |
java-pkg-opt-2_src_prepare |
162 |
|
163 |
# Apply our patches |
164 |
EPATCH_SUFFIX="patch" \ |
165 |
EPATCH_FORCE="yes" \ |
166 |
epatch "${WORKDIR}" |
167 |
|
168 |
if use crypt && use mailclient ; then |
169 |
mv "${WORKDIR}"/enigmail "${S}"/mailnews/extensions/enigmail |
170 |
cd "${S}"/mailnews/extensions/enigmail || die |
171 |
epatch "${FILESDIR}"/enigmail/70_enigmail-fix.patch |
172 |
makemake2 |
173 |
cd "${S}" |
174 |
fi |
175 |
|
176 |
eautoreconf |
177 |
} |
178 |
|
179 |
src_configure() { |
180 |
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" |
181 |
MEXTENSIONS="" |
182 |
|
183 |
#################################### |
184 |
# |
185 |
# mozconfig, CFLAGS and CXXFLAGS setup |
186 |
# |
187 |
#################################### |
188 |
|
189 |
mozconfig_init |
190 |
mozconfig_config |
191 |
|
192 |
# It doesn't compile on alpha without this LDFLAGS |
193 |
use alpha && append-ldflags "-Wl,--no-relax" |
194 |
|
195 |
if ! use chatzilla ; then |
196 |
MEXTENSIONS="${MEXTENSIONS},-irc" |
197 |
fi |
198 |
if ! use roaming ; then |
199 |
MEXTENSIONS="${MEXTENSIONS},-sroaming" |
200 |
fi |
201 |
|
202 |
if ! use gnome ; then |
203 |
MEXTENSIONS="${MEXTENSIONS},-gnomevfs" |
204 |
fi |
205 |
|
206 |
if ! use composer ; then |
207 |
if ! use chatzilla && ! use mailclient ; then |
208 |
mozconfig_annotate '-composer' --disable-composer |
209 |
fi |
210 |
fi |
211 |
|
212 |
mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" |
213 |
mozconfig_annotate '' --enable-application=suite |
214 |
mozconfig_annotate 'broken' --disable-mochitest |
215 |
mozconfig_annotate 'broken' --disable-crashreporter |
216 |
mozconfig_annotate '' --enable-system-hunspell |
217 |
mozconfig_annotate '' --enable-jsd |
218 |
mozconfig_annotate '' --enable-image-encoder=all |
219 |
mozconfig_annotate '' --enable-canvas |
220 |
mozconfig_annotate '' --with-system-nspr |
221 |
mozconfig_annotate '' --with-system-nss |
222 |
mozconfig_annotate '' --enable-system-lcms |
223 |
mozconfig_annotate '' --with-system-bz2 |
224 |
mozconfig_annotate '' --enable-oji --enable-mathml |
225 |
mozconfig_annotate 'places' --enable-storage --enable-places --enable-places_bookmarks |
226 |
mozconfig_annotate '' --disable-installer |
227 |
mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} |
228 |
|
229 |
# Enable/Disable based on USE flags |
230 |
mozconfig_use_enable alsa ogg |
231 |
mozconfig_use_enable alsa wave |
232 |
mozconfig_use_enable java javaxpcom |
233 |
mozconfig_use_enable ldap |
234 |
mozconfig_use_enable ldap ldap-experimental |
235 |
mozconfig_use_enable mailclient mailnews |
236 |
mozconfig_use_enable system-sqlite |
237 |
|
238 |
# Finalize and report settings |
239 |
mozconfig_final |
240 |
|
241 |
if [[ $(gcc-major-version) -lt 4 ]]; then |
242 |
append-cxxflags -fno-stack-protector |
243 |
fi |
244 |
|
245 |
#################################### |
246 |
# |
247 |
# Configure and build |
248 |
# |
249 |
#################################### |
250 |
|
251 |
# Work around breakage in makeopts with --no-print-directory |
252 |
MAKEOPTS="${MAKEOPTS/--no-print-directory/}" |
253 |
|
254 |
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" econf |
255 |
} |
256 |
|
257 |
src_compile() { |
258 |
# Should the build use multiprocessing? Not enabled by default, as it tends to break. |
259 |
[ "${WANT_MP}" = "true" ] && jobs=${MAKEOPTS} || jobs="-j1" |
260 |
emake ${jobs} || die |
261 |
|
262 |
# Only build enigmail extension if conditions are met. |
263 |
if use crypt && use mailclient ; then |
264 |
emake -C "${S}"/mailnews/extensions/enigmail || die "make enigmail failed" |
265 |
emake -j1 -C "${S}"/mailnews/extensions/enigmail xpi || die "make enigmail xpi failed" |
266 |
fi |
267 |
} |
268 |
|
269 |
src_install() { |
270 |
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" |
271 |
declare emid |
272 |
|
273 |
emake DESTDIR="${D}" install || die "emake install failed" |
274 |
|
275 |
if use crypt && use mailclient ; then |
276 |
cd "${T}" |
277 |
unzip "${S}"/mozilla/dist/bin/enigmail*.xpi install.rdf |
278 |
emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf) |
279 |
|
280 |
dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} |
281 |
cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid} |
282 |
unzip "${S}"/mozilla/dist/bin/enigmail*.xpi |
283 |
fi |
284 |
|
285 |
linguas |
286 |
for X in ${linguas}; do |
287 |
[[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${MY_P}-${X}" |
288 |
done |
289 |
|
290 |
# Install icon and .desktop for menu entry |
291 |
newicon "${S}"/suite/branding/content/icon64.png seamonkey.png |
292 |
domenu "${FILESDIR}"/icon/seamonkey.desktop |
293 |
|
294 |
# Add StartupNotify=true bug 290401 |
295 |
if use startup-notification ; then |
296 |
echo "StartupNotify=true" >> "${D}"/usr/share/applications/seamonkey.desktop |
297 |
fi |
298 |
|
299 |
# Add our default prefs |
300 |
sed "s|SEAMONKEY_PVR|${PVR}|" "${FILESDIR}"/all-gentoo.js \ |
301 |
> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js |
302 |
|
303 |
# Plugins dir |
304 |
rm -rf "${D}"${MOZILLA_FIVE_HOME}/plugins || die "failed to remove existing plugins dir" |
305 |
dosym ../nsbrowser/plugins "${MOZILLA_FIVE_HOME}"/plugins |
306 |
|
307 |
# shiny new man page |
308 |
doman "${S}"/suite/app/${PN}.1 |
309 |
} |
310 |
|
311 |
pkg_preinst() { |
312 |
declare MOZILLA_FIVE_HOME="${ROOT}/usr/$(get_libdir)/${PN}" |
313 |
|
314 |
if [ -d ${MOZILLA_FIVE_HOME}/plugins ] ; then |
315 |
rm ${MOZILLA_FIVE_HOME}/plugins -rf |
316 |
fi |
317 |
} |
318 |
|
319 |
pkg_postinst() { |
320 |
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" |
321 |
|
322 |
# Update mimedb for the new .desktop file |
323 |
fdo-mime_desktop_database_update |
324 |
|
325 |
if use chatzilla ; then |
326 |
elog "chatzilla is now an extension which can be en-/disabled and configured via" |
327 |
elog "the Add-on manager." |
328 |
fi |
329 |
} |