3 |
3 |
|
4 |
4 |
EAPI=8
|
5 |
5 |
|
6 |
|
FIREFOX_PATCHSET="firefox-117-patches-04.tar.xz"
|
|
6 |
FIREFOX_PATCHSET="firefox-118-patches-02.tar.xz"
|
7 |
7 |
|
8 |
8 |
LLVM_MAX_SLOT=16
|
9 |
9 |
|
... | ... | |
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 |
|
... | ... | |
125 |
124 |
dev-libs/expat
|
126 |
125 |
dev-libs/glib:2
|
127 |
126 |
dev-libs/libffi:=
|
128 |
|
>=dev-libs/nss-3.92
|
|
127 |
>=dev-libs/nss-3.93
|
129 |
128 |
>=dev-libs/nspr-4.35
|
130 |
129 |
media-libs/alsa-lib
|
131 |
130 |
media-libs/fontconfig
|
... | ... | |
802 |
801 |
--allow-addon-sideload \
|
803 |
802 |
--disable-cargo-incremental \
|
804 |
803 |
--disable-crashreporter \
|
|
804 |
--disable-disk-remnant-avoidance \
|
805 |
805 |
--disable-gpsd \
|
806 |
806 |
--disable-install-strip \
|
807 |
807 |
--disable-legacy-profile-creation \
|
... | ... | |
1358 |
1358 |
-e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \
|
1359 |
1359 |
"${ED}/usr/bin/${PN}" \
|
1360 |
1360 |
|| die
|
|
1361 |
|
|
1362 |
readme.gentoo_create_doc
|
1361 |
1363 |
}
|
1362 |
1364 |
|
1363 |
1365 |
pkg_preinst() {
|
... | ... | |
1400 |
1402 |
elog
|
1401 |
1403 |
fi
|
1402 |
1404 |
|
1403 |
|
local show_doh_information
|
1404 |
|
local show_normandy_information
|
1405 |
|
local show_shortcut_information
|
1406 |
|
|
1407 |
|
if [[ -z "${REPLACING_VERSIONS}" ]] ; then
|
1408 |
|
# New install; Tell user that DoH is disabled by default
|
1409 |
|
show_doh_information=yes
|
1410 |
|
show_normandy_information=yes
|
1411 |
|
show_shortcut_information=no
|
1412 |
|
else
|
1413 |
|
local replacing_version
|
1414 |
|
for replacing_version in ${REPLACING_VERSIONS} ; do
|
1415 |
|
if ver_test "${replacing_version}" -lt 91.0 ; then
|
1416 |
|
# Tell user that we no longer install a shortcut
|
1417 |
|
# per supported display protocol
|
1418 |
|
show_shortcut_information=yes
|
1419 |
|
fi
|
1420 |
|
done
|
1421 |
|
fi
|
1422 |
|
|
1423 |
|
if [[ -n "${show_doh_information}" ]] ; then
|
1424 |
|
elog
|
1425 |
|
elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):"
|
1426 |
|
elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all"
|
1427 |
|
elog "DNS traffic to Cloudflare by default is not a good idea and applications"
|
1428 |
|
elog "should respect OS configured settings), \"network.trr.mode\" was set to 5"
|
1429 |
|
elog "(\"Off by choice\") by default."
|
1430 |
|
elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences."
|
1431 |
|
fi
|
1432 |
|
|
1433 |
|
# bug 713782
|
1434 |
|
if [[ -n "${show_normandy_information}" ]] ; then
|
1435 |
|
elog
|
1436 |
|
elog "Upstream operates a service named Normandy which allows Mozilla to"
|
1437 |
|
elog "push changes for default settings or even install new add-ons remotely."
|
1438 |
|
elog "While this can be useful to address problems like 'Armagadd-on 2.0' or"
|
1439 |
|
elog "revert previous decisions to disable TLS 1.0/1.1, privacy and security"
|
1440 |
|
elog "concerns prevail, which is why we have switched off the use of this"
|
1441 |
|
elog "service by default."
|
1442 |
|
elog
|
1443 |
|
elog "To re-enable this service set"
|
1444 |
|
elog
|
1445 |
|
elog " app.normandy.enabled=true"
|
1446 |
|
elog
|
1447 |
|
elog "in about:config."
|
1448 |
|
fi
|
1449 |
|
|
1450 |
|
if [[ -n "${show_shortcut_information}" ]] ; then
|
1451 |
|
elog
|
1452 |
|
elog "Since ${PN}-91.0 we no longer install multiple shortcuts for"
|
1453 |
|
elog "each supported display protocol. Instead we will only install"
|
1454 |
|
elog "one generic Mozilla ${PN^} shortcut."
|
1455 |
|
elog "If you still want to be able to select between running Mozilla ${PN^}"
|
1456 |
|
elog "on X11 or Wayland, you have to re-create these shortcuts on your own."
|
1457 |
|
fi
|
1458 |
|
|
1459 |
1405 |
# bug 835078
|
1460 |
1406 |
if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then
|
1461 |
1407 |
ewarn "You have nouveau drivers installed in your system and 'hwaccel' "
|
... | ... | |
1464 |
1410 |
ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes."
|
1465 |
1411 |
fi
|
1466 |
1412 |
|
1467 |
|
elog
|
1468 |
|
elog "Unfortunately Firefox-100.0 breaks compatibility with some sites using "
|
1469 |
|
elog "useragent checks. To temporarily fix this, enter about:config and modify "
|
1470 |
|
elog "network.http.useragent.forceVersion preference to \"99\"."
|
1471 |
|
elog "Or install an addon to change your useragent."
|
1472 |
|
elog "See: https://support.mozilla.org/en-US/kb/difficulties-opening-or-using-website-firefox-100"
|
|
1413 |
readme.gentoo_print_elog
|
|
1414 |
|
1473 |
1415 |
elog
|
1474 |
1416 |
|
1475 |
1417 |
optfeature_header "Optional programs for extra features:"
|