1 |
commit: a242d5663e10089566a69d098d7fed70aa1c7ee9 |
2 |
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 29 19:16:40 2016 +0000 |
4 |
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 21:07:19 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=a242d566 |
7 |
|
8 |
mozlinguas-v2.eclass: support LINGUAS -> L10N |
9 |
|
10 |
Also adjusted various ebuilds to use the new eclass |
11 |
|
12 |
Bug: http://bugs.gentoo.org/587334 |
13 |
|
14 |
eclass/mozlinguas-v2.eclass | 370 +++++++++++++++++++++ |
15 |
www-client/firefox/firefox-45.2.0.ebuild | 2 +- |
16 |
www-client/firefox/firefox-47.0.ebuild | 6 +- |
17 |
.../seamonkey/seamonkey-2.42_pre20160507.ebuild | 2 +- |
18 |
4 files changed, 376 insertions(+), 4 deletions(-) |
19 |
|
20 |
diff --git a/eclass/mozlinguas-v2.eclass b/eclass/mozlinguas-v2.eclass |
21 |
new file mode 100644 |
22 |
index 0000000..9f76d31 |
23 |
--- /dev/null |
24 |
+++ b/eclass/mozlinguas-v2.eclass |
25 |
@@ -0,0 +1,370 @@ |
26 |
+# Copyright 1999-2015 Gentoo Foundation |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+# $Id$ |
29 |
+ |
30 |
+# @ECLASS: mozlinguas.eclass |
31 |
+# @MAINTAINER: |
32 |
+# mozilla@g.o |
33 |
+# @AUTHOR: |
34 |
+# Nirbheek Chauhan <nirbheek@g.o> |
35 |
+# Ian Stakenvicius <axs@g.o> |
36 |
+# @BLURB: Handle language packs for mozilla products |
37 |
+# @DESCRIPTION: |
38 |
+# Sets IUSE according to MOZ_LANGS (language packs available). Also exports |
39 |
+# src_unpack, src_compile and src_install for use in ebuilds, and provides |
40 |
+# supporting functions for langpack generation and installation. |
41 |
+ |
42 |
+inherit mozextension |
43 |
+ |
44 |
+case "${EAPI:-0}" in |
45 |
+ 0|1) |
46 |
+ die "EAPI ${EAPI:-0} does not support the '->' SRC_URI operator";; |
47 |
+ 2|3|4|5|6) |
48 |
+ EXPORT_FUNCTIONS src_unpack src_compile src_install;; |
49 |
+ *) |
50 |
+ die "EAPI ${EAPI} is not supported, contact eclass maintainers";; |
51 |
+esac |
52 |
+ |
53 |
+# @ECLASS-VARIABLE: MOZ_LANGS |
54 |
+# @DESCRIPTION: |
55 |
+# Array containing the list of language pack xpis available for |
56 |
+# this release. The list can be updated with scripts/get_langs.sh from the |
57 |
+# mozilla overlay. |
58 |
+: ${MOZ_LANGS:=()} |
59 |
+ |
60 |
+# @ECLASS-VARIABLE: MOZ_PV |
61 |
+# @DESCRIPTION: |
62 |
+# Ebuild package version converted to equivalent upstream version. |
63 |
+# Defaults to ${PV}, and should be overridden for alphas, betas, and RCs |
64 |
+: ${MOZ_PV:="${PV}"} |
65 |
+ |
66 |
+# @ECLASS-VARIABLE: MOZ_PN |
67 |
+# @DESCRIPTION: |
68 |
+# Ebuild package name converted to equivalent upstream name. |
69 |
+# Defaults to ${PN}, and should be overridden for binary ebuilds. |
70 |
+: ${MOZ_PN:="${PN}"} |
71 |
+ |
72 |
+# @ECLASS-VARIABLE: MOZ_P |
73 |
+# @DESCRIPTION: |
74 |
+# Ebuild package name + version converted to upstream equivalent. |
75 |
+# Defaults to ${MOZ_PN}-${MOZ_PV} |
76 |
+: ${MOZ_P:="${MOZ_PN}-${MOZ_PV}"} |
77 |
+ |
78 |
+# @ECLASS-VARIABLE: MOZ_FTP_URI |
79 |
+# @DESCRIPTION: |
80 |
+# The ftp URI prefix for the release tarballs and language packs. |
81 |
+: ${MOZ_FTP_URI:=""} |
82 |
+ |
83 |
+# @ECLASS-VARIABLE: MOZ_HTTP_URI |
84 |
+# @DESCRIPTION: |
85 |
+# The http URI prefix for the release tarballs and language packs. |
86 |
+: ${MOZ_HTTP_URI:=""} |
87 |
+ |
88 |
+# @ECLASS-VARIABLE: MOZ_LANGPACK_PREFIX |
89 |
+# @DESCRIPTION: |
90 |
+# The relative path till the lang code in the langpack file URI. |
91 |
+# Defaults to ${MOZ_PV}/linux-i686/xpi/ |
92 |
+: ${MOZ_LANGPACK_PREFIX:="${MOZ_PV}/linux-i686/xpi/"} |
93 |
+ |
94 |
+# @ECLASS-VARIABLE: MOZ_LANGPACK_SUFFIX |
95 |
+# @DESCRIPTION: |
96 |
+# The suffix after the lang code in the langpack file URI. |
97 |
+# Defaults to '.xpi' |
98 |
+: ${MOZ_LANGPACK_SUFFIX:=".xpi"} |
99 |
+ |
100 |
+# @ECLASS-VARIABLE: MOZ_LANGPACK_UNOFFICIAL |
101 |
+# @DESCRIPTION: |
102 |
+# The status of the langpack, used to differentiate within |
103 |
+# Manifests and on Gentoo mirrors as to when the langpacks are |
104 |
+# generated officially by Mozilla or if they were generated |
105 |
+# unofficially by others (ie the Gentoo mozilla team). When |
106 |
+# this var is set, the distfile will have a .unofficial.xpi |
107 |
+# suffix. |
108 |
+: ${MOZ_LANGPACK_UNOFFICIAL:=""} |
109 |
+ |
110 |
+# @ECLASS-VARIABLE: MOZ_GENERATE_LANGPACKS |
111 |
+# @DESCRIPTION: |
112 |
+# This flag specifies whether or not the langpacks should be |
113 |
+# generated directly during the build process, rather than |
114 |
+# being downloaded and installed from upstream pre-built |
115 |
+# extensions. Primarily it supports pre-release builds. |
116 |
+# Defaults to empty. |
117 |
+: ${MOZ_GENERATE_LANGPACKS:=""} |
118 |
+ |
119 |
+# @ECLASS-VARIABLE: MOZ_L10N_SOURCEDIR |
120 |
+# @DESCRIPTION: |
121 |
+# The path that l10n sources can be found at, once unpacked. |
122 |
+# Defaults to ${WORKDIR}/l10n-sources |
123 |
+: ${MOZ_L10N_SOURCEDIR:="${WORKDIR}/l10n-sources"} |
124 |
+ |
125 |
+# @ECLASS-VARIABLE: MOZ_L10N_URI_PREFIX |
126 |
+# @DESCRIPTION: |
127 |
+# The full URI prefix of the distfile for each l10n locale. The |
128 |
+# AB_CD and MOZ_L10N_URI_SUFFIX will be appended to this to complete the |
129 |
+# SRC_URI when MOZ_GENERATE_LANGPACKS is set. If empty, nothing will |
130 |
+# be added to SRC_URI. |
131 |
+# Defaults to empty. |
132 |
+: ${MOZ_L10N_URI_PREFIX:=""} |
133 |
+ |
134 |
+# @ECLASS-VARIABLE: MOZ_L10N_URI_SUFFIX |
135 |
+# @DESCRIPTION: |
136 |
+# The suffix of l10n source distfiles. |
137 |
+# Defaults to '.tar.xz' |
138 |
+: ${MOZ_L10N_URI_SUFFIX:=".tar.xz"} |
139 |
+ |
140 |
+# @ECLASS-VARIABLE: MOZ_FORCE_UPSTREAM_L10N |
141 |
+# @DESCRIPTION: |
142 |
+# Set this to use upstream langpaks even if the package normally |
143 |
+# shouldn't (ie it is an alpha or beta package) |
144 |
+: ${MOZ_FORCE_UPSTREAM_L10N:=""} |
145 |
+ |
146 |
+ |
147 |
+# @ECLASS-VARIABLE: MOZ_TOO_REGIONALIZED_FOR_L10N |
148 |
+# @INTERNAL |
149 |
+# @DESCRIPTION: |
150 |
+# Upstream identifiers that should not contain region subtags in L10N |
151 |
+MOZ_TOO_REGIONALIZED_FOR_L10N=( fy-NL ga-IE hi-IN hy-AM nb-NO nn-NO pa-IN sv-SE ) |
152 |
+ |
153 |
+# Add l10n_* to IUSE according to available language packs |
154 |
+# No language packs for alphas and betas |
155 |
+if ! [[ -n ${MOZ_GENERATE_LANGPACKS} ]] ; then |
156 |
+ if ! [[ ${PV} =~ alpha|beta ]] || { [[ ${PN} == seamonkey ]] && ! [[ ${PV} =~ alpha ]] ; } || [[ -n ${MOZ_FORCE_UPSTREAM_L10N} ]] ; then |
157 |
+ [[ -z ${MOZ_FTP_URI} ]] && [[ -z ${MOZ_HTTP_URI} ]] && die "No URI set to download langpacks, please set one of MOZ_{FTP,HTTP}_URI" |
158 |
+ for x in "${MOZ_LANGS[@]}" ; do |
159 |
+ # en and en_US are handled internally |
160 |
+ if [[ ${x} == en ]] || [[ ${x} == en-US ]]; then |
161 |
+ continue |
162 |
+ fi |
163 |
+ # strip region subtag if $x is in the list |
164 |
+ if has ${x} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then |
165 |
+ xflag=${x%%-*} |
166 |
+ else |
167 |
+ xflag=${x} |
168 |
+ fi |
169 |
+ SRC_URI+=" l10n_${xflag/[_@]/-}? (" |
170 |
+ [[ -n ${MOZ_FTP_URI} ]] && SRC_URI+=" |
171 |
+ ${MOZ_FTP_URI}/${MOZ_LANGPACK_PREFIX}${x}${MOZ_LANGPACK_SUFFIX} -> ${MOZ_P}-${x}${MOZ_LANGPACK_UNOFFICIAL:+.unofficial}.xpi" |
172 |
+ [[ -n ${MOZ_HTTP_URI} ]] && SRC_URI+=" |
173 |
+ ${MOZ_HTTP_URI}/${MOZ_LANGPACK_PREFIX}${x}${MOZ_LANGPACK_SUFFIX} -> ${MOZ_P}-${x}${MOZ_LANGPACK_UNOFFICIAL:+.unofficial}.xpi" |
174 |
+ SRC_URI+=" )" |
175 |
+ IUSE+=" l10n_${xflag/[_@]/-}" |
176 |
+ # We used to do some magic if specific/generic locales were missing, but |
177 |
+ # we stopped doing that due to bug 325195. |
178 |
+ done |
179 |
+ fi |
180 |
+else |
181 |
+ for x in "${MOZ_LANGS[@]}" ; do |
182 |
+ # en and en_US are handled internally |
183 |
+ if [[ ${x} == en ]] || [[ ${x} == en-US ]]; then |
184 |
+ continue |
185 |
+ fi |
186 |
+ # strip region subtag if $x is in the list |
187 |
+ if has ${x} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then |
188 |
+ xflag=${x%%-*} |
189 |
+ else |
190 |
+ xflag=${x} |
191 |
+ fi |
192 |
+# Do NOT grab l10n sources from hg tip at this time, since it is a moving target |
193 |
+# if [[ ${PV} =~ alpha ]]; then |
194 |
+# # Please note that this URI is not deterministic - digest breakage could occur |
195 |
+# SRC_URI+=" l10n_${xflag/[_@]/-}? ( http://hg.mozilla.org/releases/l10n/mozilla-aurora/ach/archive/tip.tar.bz2 -> ${MOZ_P}-l10n-${x}.tar.bz2 )" |
196 |
+# elif [[ ${PV} =~ beta ]] && ! [[ ${PN} == seamonkey ]]; then |
197 |
+# # Please note that this URI is not deterministic - digest breakage could occur |
198 |
+# SRC_URI+=" l10n_${xflag/[_@]/-}? ( http://hg.mozilla.org/releases/l10n/mozilla-beta/ach/archive/tip.tar.bz2 -> ${MOZ_P}-l10n-${x}.tar.bz2 )" |
199 |
+# elif [[ -n ${MOZ_L10N_URI_PREFIX} ]]; then |
200 |
+ if [[ -n ${MOZ_L10N_URI_PREFIX} ]]; then |
201 |
+ SRC_URI+=" l10n_${xflag/[_@]/-}? ( ${MOZ_L10N_URI_PREFIX}${x}${MOZ_L10N_URI_SUFFIX} )" |
202 |
+ fi |
203 |
+ IUSE+=" l10n_${x/[_@]/-}" |
204 |
+ done |
205 |
+fi |
206 |
+unset x xflag |
207 |
+ |
208 |
+# @FUNCTION: mozlinguas_export |
209 |
+# @INTERNAL |
210 |
+# @DESCRIPTION: |
211 |
+# Generate the list of language packs called "mozlinguas" |
212 |
+# This list is used to unpack and install the xpi language packs |
213 |
+mozlinguas_export() { |
214 |
+ if [[ ${PN} == seamonkey ]] ; then |
215 |
+ [[ ${PV} =~ alpha ]] && ! [[ -n ${MOZ_GENERATE_LANGPACKS} ]] && return |
216 |
+ else |
217 |
+ [[ ${PV} =~ alpha|beta ]] && ! [[ -n ${MOZ_GENERATE_LANGPACKS} ]] && return |
218 |
+ fi |
219 |
+ local lingua lflag |
220 |
+ mozlinguas=() |
221 |
+ # Set mozlinguas based on the enabled l10n_* USE flags. |
222 |
+ for lingua in "${MOZ_LANGS[@]}"; do |
223 |
+ # strip region subtag if $x is in the list |
224 |
+ if has ${lingua} en en-US; then |
225 |
+ # For mozilla products, en and en_US are handled internally |
226 |
+ continue |
227 |
+ elif has ${lingua} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then |
228 |
+ lflag=${lingua%%-*} |
229 |
+ else |
230 |
+ lflag=${lingua} |
231 |
+ fi |
232 |
+ use l10n_${lflag/[_@]/-} && mozlinguas+=( ${lingua} ) |
233 |
+ done |
234 |
+ # Compatibility code - Check LINGUAS and warn if anything set there isn't enabled via l10n |
235 |
+ for lingua in ${LINGUAS}; do |
236 |
+ if has ${lingua//[_@]/-} en en-US; then |
237 |
+ # For mozilla products, en and en_US are handled internally |
238 |
+ continue |
239 |
+ # If this language is supported by ${P}, |
240 |
+ elif has ${lingua} "${MOZ_LANGS[@]//-/_}"; then |
241 |
+ # Warn the language is missing, if it isn't already there |
242 |
+ has ${lingua//[_@]/-} "${mozlinguas[@]//[_@]/-}" || \ |
243 |
+ ewarn "LINGUAS value ${lingua} is not enabled using L10N use flags" |
244 |
+ continue |
245 |
+ # For each short lingua that isn't in MOZ_LANGS, |
246 |
+ # We used to add *all* long MOZ_LANGS to the mozlinguas list, |
247 |
+ # but we stopped doing that due to bug 325195. |
248 |
+ else |
249 |
+ : |
250 |
+ fi |
251 |
+ ewarn "Sorry, but ${P} does not support the ${lingua} locale" |
252 |
+ done |
253 |
+} |
254 |
+ |
255 |
+# @FUNCTION: mozlinguas_src_unpack |
256 |
+# @DESCRIPTION: |
257 |
+# Unpack xpi language packs according to the user's LINGUAS settings |
258 |
+mozlinguas_src_unpack() { |
259 |
+ local x |
260 |
+ if ! [[ -n ${MOZ_GENERATE_LANGPACKS} ]]; then |
261 |
+ mozlinguas_export |
262 |
+ for x in "${mozlinguas[@]}"; do |
263 |
+ # FIXME: Add support for unpacking xpis to portage |
264 |
+ xpi_unpack "${MOZ_P}-${x}${MOZ_LANGPACK_UNOFFICIAL:+.unofficial}.xpi" |
265 |
+ done |
266 |
+ if [[ "${mozlinguas[*]}" != "" && "${mozlinguas[*]}" != "en" ]]; then |
267 |
+ einfo "Selected language packs (first will be default): ${mozlinguas[*]}" |
268 |
+ fi |
269 |
+ fi |
270 |
+} |
271 |
+# For the phase function export |
272 |
+mozlinguas-v2_src_unpack() { |
273 |
+ mozlinguas_src_unpack |
274 |
+} |
275 |
+ |
276 |
+ |
277 |
+# @FUNCTION: mozlinguas_mozconfig |
278 |
+# @DESCRIPTION: |
279 |
+# if applicable, add the necessary flag to .mozconfig to support |
280 |
+# the generation of locales. Note that this function requires |
281 |
+# mozconfig_annontate to already be declared via an inherit of |
282 |
+# mozconfig or mozcoreconf. |
283 |
+mozlinguas_mozconfig() { |
284 |
+ if [[ -n ${MOZ_GENERATE_LANGPACKS} ]]; then |
285 |
+ if declare -f mozconfig_annotate >/dev/null ; then |
286 |
+ mozconfig_annotate 'for building locales' --with-l10n-base=${MOZ_L10N_SOURCEDIR} |
287 |
+ else |
288 |
+ die "Could not configure l10n-base, mozconfig_annotate not declared -- missing inherit?" |
289 |
+ fi |
290 |
+ fi |
291 |
+} |
292 |
+ |
293 |
+# @FUNCTION: mozlinguas_src_compile |
294 |
+# @DESCRIPTION: |
295 |
+# if applicable, build the selected locales. |
296 |
+mozlinguas_src_compile() { |
297 |
+ if [[ -n ${MOZ_GENERATE_LANGPACKS} ]]; then |
298 |
+ # leverage BUILD_OBJ_DIR if set otherwise assume PWD. |
299 |
+ local x y targets=( "langpack" ) localedir="${BUILD_OBJ_DIR:-.}" |
300 |
+ case ${PN} in |
301 |
+ *firefox) |
302 |
+ localedir+="/browser/locales" |
303 |
+ ;; |
304 |
+ seamonkey) |
305 |
+ localedir+="/suite/locales" |
306 |
+ ;; |
307 |
+ *thunderbird) |
308 |
+ localedir+="/mail/locales" |
309 |
+ targets+=( "calendar-langpack" ) |
310 |
+ ;; |
311 |
+ *) die "Building locales for ${PN} is not supported." |
312 |
+ esac |
313 |
+ pushd "${localedir}" > /dev/null || die |
314 |
+ mozlinguas_export |
315 |
+ for x in "${mozlinguas[@]}"; do for y in "${targets[@]}"; do |
316 |
+ emake ${y}-${x} LOCALE_MERGEDIR="./${y}-${x}" |
317 |
+ done; done |
318 |
+ popd > /dev/null || die |
319 |
+ fi |
320 |
+} |
321 |
+ |
322 |
+# For the phase function export |
323 |
+mozlinguas-v2_src_compile() { |
324 |
+ mozlinguas_src_compile |
325 |
+} |
326 |
+ |
327 |
+# @FUNCTION: mozlinguas_xpistage_langpacks |
328 |
+# @DESCRIPTION: |
329 |
+# Add extra langpacks to the xpi-stage dir for prebuilt plugins |
330 |
+# |
331 |
+# First argument is the path to the extension |
332 |
+# Second argument is the prefix of the source (same as first if unspecified) |
333 |
+# Remaining arguments are the modules in the extension that are localized |
334 |
+# (basename of first if unspecified) |
335 |
+# |
336 |
+# Example - installing extra langpacks for lightning: |
337 |
+# src_install() { |
338 |
+# ... # general installation steps |
339 |
+# mozlinguas_xpistage_langpacks \ |
340 |
+# "${BUILD_OBJ_DIR}"/dist/xpi-stage/lightning \ |
341 |
+# "${WORKDIR}"/lightning \ |
342 |
+# lightning calendar |
343 |
+# ... # proceed with installation from the xpi-stage dir |
344 |
+# } |
345 |
+ |
346 |
+mozlinguas_xpistage_langpacks() { |
347 |
+ local l c modpath="${1}" srcprefix="${1}" modules=( "${1##*/}" ) |
348 |
+ shift |
349 |
+ if [[ -n ${1} ]] ; then srcprefix="${1}" ; shift ; fi |
350 |
+ if [[ -n ${1} ]] ; then modules=( $@ ) ; fi |
351 |
+ |
352 |
+ mozlinguas_export |
353 |
+ mkdir -p "${modpath}/chrome" || die |
354 |
+ for l in "${mozlinguas[@]}"; do for c in "${modules[@]}" ; do |
355 |
+ if [[ -e "${srcprefix}-${l}/chrome/${c}-${l}" ]]; then |
356 |
+ cp -RLp -t "${modpath}/chrome" "${srcprefix}-${l}/chrome/${c}-${l}" || die |
357 |
+ grep "locale ${c} ${l} chrome/" "${srcprefix}-${l}/chrome.manifest" \ |
358 |
+ >>"${modpath}/chrome.manifest" || die |
359 |
+ elif [[ -e "${srcprefix}/chrome/${c}-${l}" ]]; then |
360 |
+ cp -RLp -t "${modpath}/chrome" "${srcprefix}/chrome/${c}-${l}" || die |
361 |
+ grep "locale ${c} ${l} chrome/" "${srcprefix}/chrome.manifest" \ |
362 |
+ >>"${modpath}/chrome.manifest" || die |
363 |
+ else |
364 |
+ ewarn "Locale ${l} was not found for ${c}, skipping." |
365 |
+ fi |
366 |
+ done; done |
367 |
+} |
368 |
+ |
369 |
+# @FUNCTION: mozlinguas-v2_src_install |
370 |
+# @DESCRIPTION: |
371 |
+# Install xpi language packs according to the user's L10N settings |
372 |
+# NOTE - uses ${BUILD_OBJ_DIR} or PWD if unset, for source-generated langpacks |
373 |
+mozlinguas_src_install() { |
374 |
+ local x |
375 |
+ mozlinguas_export |
376 |
+ if [[ -n ${MOZ_GENERATE_LANGPACKS} ]]; then |
377 |
+ local repopath="${WORKDIR}/${PN}-generated-langpacks" |
378 |
+ mkdir -p "${repopath}" |
379 |
+ pushd "${BUILD_OBJ_DIR:-.}"/dist/*/xpi > /dev/null || die |
380 |
+ for x in "${mozlinguas[@]}"; do |
381 |
+ cp "${MOZ_P}.${x}.langpack.xpi" \ |
382 |
+ "${repopath}/${MOZ_P}-${x}${MOZ_LANGPACK_UNOFFICIAL:+.unofficial}.xpi" || die |
383 |
+ xpi_unpack "${repopath}/${MOZ_P}-${x}${MOZ_LANGPACK_UNOFFICIAL:+.unofficial}.xpi" |
384 |
+ done |
385 |
+ popd > /dev/null || die |
386 |
+ fi |
387 |
+ for x in "${mozlinguas[@]}"; do |
388 |
+ xpi_install "${WORKDIR}/${MOZ_P}-${x}${MOZ_LANGPACK_UNOFFICIAL:+.unofficial}" |
389 |
+ done |
390 |
+} |
391 |
+ |
392 |
+# For the phase function export |
393 |
+mozlinguas-v2_src_install() { |
394 |
+ mozlinguas_src_install |
395 |
+} |
396 |
|
397 |
diff --git a/www-client/firefox/firefox-45.2.0.ebuild b/www-client/firefox/firefox-45.2.0.ebuild |
398 |
index 76fa889..ab73eaf 100644 |
399 |
--- a/www-client/firefox/firefox-45.2.0.ebuild |
400 |
+++ b/www-client/firefox/firefox-45.2.0.ebuild |
401 |
@@ -33,7 +33,7 @@ MOZCONFIG_OPTIONAL_QT5=1 |
402 |
MOZCONFIG_OPTIONAL_WIFI=1 |
403 |
MOZCONFIG_OPTIONAL_JIT="enabled" |
404 |
|
405 |
-inherit check-reqs flag-o-matic toolchain-funcs eutils gnome2-utils mozconfig-v6.45 pax-utils fdo-mime autotools virtualx mozlinguas |
406 |
+inherit check-reqs flag-o-matic toolchain-funcs eutils gnome2-utils mozconfig-v6.45 pax-utils fdo-mime autotools virtualx mozlinguas-v2 |
407 |
|
408 |
DESCRIPTION="Firefox Web Browser" |
409 |
HOMEPAGE="http://www.mozilla.com/firefox" |
410 |
|
411 |
diff --git a/www-client/firefox/firefox-47.0.ebuild b/www-client/firefox/firefox-47.0.ebuild |
412 |
index 56e27f6..979e523 100644 |
413 |
--- a/www-client/firefox/firefox-47.0.ebuild |
414 |
+++ b/www-client/firefox/firefox-47.0.ebuild |
415 |
@@ -33,7 +33,7 @@ MOZCONFIG_OPTIONAL_GTK2ONLY=1 |
416 |
MOZCONFIG_OPTIONAL_WIFI=1 |
417 |
MOZCONFIG_OPTIONAL_JIT="enabled" |
418 |
|
419 |
-inherit check-reqs flag-o-matic toolchain-funcs eutils gnome2-utils mozconfig-v6.47 pax-utils fdo-mime autotools virtualx mozlinguas |
420 |
+inherit check-reqs flag-o-matic toolchain-funcs eutils gnome2-utils mozconfig-v6.47 pax-utils fdo-mime autotools virtualx mozlinguas-v2 |
421 |
|
422 |
DESCRIPTION="Firefox Web Browser" |
423 |
HOMEPAGE="http://www.mozilla.com/firefox" |
424 |
@@ -114,7 +114,9 @@ src_unpack() { |
425 |
|
426 |
src_prepare() { |
427 |
# Apply our patches |
428 |
- eapply "${WORKDIR}/firefox" |
429 |
+ eapply "${WORKDIR}/firefox" \ |
430 |
+ "${FILESDIR}"/firefox-47.0-crashreporter.patch \ |
431 |
+ "${FILESDIR}"/firefox-47.0-define-HUNSPELL_STATIC-conditionally.patch |
432 |
# "${FILESDIR}"/${PN}-45-qt-widget-fix.patch |
433 |
|
434 |
# Enable gnomebreakpad |
435 |
|
436 |
diff --git a/www-client/seamonkey/seamonkey-2.42_pre20160507.ebuild b/www-client/seamonkey/seamonkey-2.42_pre20160507.ebuild |
437 |
index 667975e..ba07257 100644 |
438 |
--- a/www-client/seamonkey/seamonkey-2.42_pre20160507.ebuild |
439 |
+++ b/www-client/seamonkey/seamonkey-2.42_pre20160507.ebuild |
440 |
@@ -34,7 +34,7 @@ fi |
441 |
|
442 |
MOZCONFIG_OPTIONAL_WIFI=1 |
443 |
MOZCONFIG_OPTIONAL_JIT="enabled" |
444 |
-inherit check-reqs flag-o-matic toolchain-funcs eutils mozconfig-v6.45 multilib pax-utils fdo-mime autotools mozextension nsplugins mozlinguas |
445 |
+inherit check-reqs flag-o-matic toolchain-funcs eutils mozconfig-v6.45 multilib pax-utils fdo-mime autotools mozextension nsplugins mozlinguas-v2 |
446 |
|
447 |
PATCHFF="firefox-45.0-patches-04" |
448 |
PATCH="${PN}-2.42-patches-01" |