37 |
37 |
MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
|
38 |
38 |
MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
|
39 |
39 |
|
40 |
|
inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info \
|
41 |
|
llvm multiprocessing optfeature pax-utils python-any-r1 toolchain-funcs \
|
42 |
|
virtualx xdg
|
|
40 |
inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info llvm multiprocessing \
|
|
41 |
optfeature pax-utils python-any-r1 readme.gentoo-r1 toolchain-funcs virtualx xdg
|
43 |
42 |
|
44 |
43 |
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
|
45 |
44 |
|
... | ... | |
57 |
56 |
DESCRIPTION="Firefox Web Browser"
|
58 |
57 |
HOMEPAGE="https://www.mozilla.com/firefox"
|
59 |
58 |
|
60 |
|
KEYWORDS="amd64 arm64 ~ppc64 ~riscv ~x86"
|
|
59 |
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86"
|
61 |
60 |
|
62 |
61 |
SLOT="esr"
|
63 |
62 |
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
|
... | ... | |
1296 |
1295 |
-e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \
|
1297 |
1296 |
"${ED}/usr/bin/${PN}" \
|
1298 |
1297 |
|| die
|
|
1298 |
|
|
1299 |
readme.gentoo_create_doc
|
1299 |
1300 |
}
|
1300 |
1301 |
|
1301 |
1302 |
pkg_preinst() {
|
... | ... | |
1338 |
1339 |
elog
|
1339 |
1340 |
fi
|
1340 |
1341 |
|
1341 |
|
local show_doh_information
|
1342 |
|
local show_normandy_information
|
1343 |
|
|
1344 |
|
if [[ -z "${REPLACING_VERSIONS}" ]] ; then
|
1345 |
|
# New install; Tell user that DoH is disabled by default
|
1346 |
|
show_doh_information=yes
|
1347 |
|
show_normandy_information=yes
|
1348 |
|
fi
|
1349 |
|
|
1350 |
|
if [[ -n "${show_doh_information}" ]] ; then
|
1351 |
|
elog
|
1352 |
|
elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):"
|
1353 |
|
elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all"
|
1354 |
|
elog "DNS traffic to Cloudflare by default is not a good idea and applications"
|
1355 |
|
elog "should respect OS configured settings), \"network.trr.mode\" was set to 5"
|
1356 |
|
elog "(\"Off by choice\") by default."
|
1357 |
|
elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences."
|
1358 |
|
fi
|
1359 |
|
|
1360 |
|
# bug 713782
|
1361 |
|
if [[ -n "${show_normandy_information}" ]] ; then
|
1362 |
|
elog
|
1363 |
|
elog "Upstream operates a service named Normandy which allows Mozilla to"
|
1364 |
|
elog "push changes for default settings or even install new add-ons remotely."
|
1365 |
|
elog "While this can be useful to address problems like 'Armagadd-on 2.0' or"
|
1366 |
|
elog "revert previous decisions to disable TLS 1.0/1.1, privacy and security"
|
1367 |
|
elog "concerns prevail, which is why we have switched off the use of this"
|
1368 |
|
elog "service by default."
|
1369 |
|
elog
|
1370 |
|
elog "To re-enable this service set"
|
1371 |
|
elog
|
1372 |
|
elog " app.normandy.enabled=true"
|
1373 |
|
elog
|
1374 |
|
elog "in about:config."
|
1375 |
|
fi
|
1376 |
|
|
1377 |
1342 |
# bug 835078
|
1378 |
1343 |
if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then
|
1379 |
1344 |
ewarn "You have nouveau drivers installed in your system and 'hwaccel' "
|
... | ... | |
1382 |
1347 |
ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes."
|
1383 |
1348 |
fi
|
1384 |
1349 |
|
1385 |
|
elog
|
1386 |
|
elog "Unfortunately Firefox-100.0 breaks compatibility with some sites using "
|
1387 |
|
elog "useragent checks. To temporarily fix this, enter about:config and modify "
|
1388 |
|
elog "network.http.useragent.forceVersion preference to \"99\"."
|
1389 |
|
elog "Or install an addon to change your useragent."
|
1390 |
|
elog "See: https://support.mozilla.org/en-US/kb/difficulties-opening-or-using-website-firefox-100"
|
|
1350 |
readme.gentoo_print_elog
|
|
1351 |
|
1391 |
1352 |
elog
|
1392 |
1353 |
|
1393 |
1354 |
optfeature_header "Optional programs for extra features:"
|