diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-10 12:30:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-10 12:30:41 +0100 |
commit | add278b9601ff9e4af091c91c851ee46a185be8f (patch) | |
tree | 4b654beae0eec584ae1d1f3227a57607d591a0ea /www-client | |
parent | d8a7472fc6314625f7d16e0427004eb448412908 (diff) |
gentoo auto-resync : 10:09:2024 - 12:30:41
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/Manifest.gz | bin | 6194 -> 6196 bytes | |||
-rw-r--r-- | www-client/chromium/Manifest | 5 | ||||
-rw-r--r-- | www-client/chromium/chromium-129.0.6668.29.ebuild | 1447 | ||||
-rw-r--r-- | www-client/firefox/Manifest | 107 | ||||
-rw-r--r-- | www-client/firefox/firefox-115.15.0.ebuild | 1393 | ||||
-rw-r--r-- | www-client/firefox/firefox-128.2.0.ebuild | 32 | ||||
-rw-r--r-- | www-client/firefox/firefox-130.0.ebuild | 43 | ||||
-rw-r--r-- | www-client/firefox/metadata.xml | 1 | ||||
-rw-r--r-- | www-client/google-chrome-unstable/Manifest | 4 | ||||
-rw-r--r-- | www-client/google-chrome-unstable/google-chrome-unstable-130.0.6699.3.ebuild (renamed from www-client/google-chrome-unstable/google-chrome-unstable-130.0.6683.2.ebuild) | 0 | ||||
-rw-r--r-- | www-client/microsoft-edge-beta/Manifest | 4 | ||||
-rw-r--r-- | www-client/microsoft-edge-beta/microsoft-edge-beta-129.0.2792.31.ebuild (renamed from www-client/microsoft-edge-beta/microsoft-edge-beta-128.0.2739.42.ebuild) | 0 |
12 files changed, 3000 insertions, 36 deletions
diff --git a/www-client/Manifest.gz b/www-client/Manifest.gz Binary files differindex d77618b40999..cfb950bc7192 100644 --- a/www-client/Manifest.gz +++ b/www-client/Manifest.gz diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest index 44876df07481..c9d0fb0663a4 100644 --- a/www-client/chromium/Manifest +++ b/www-client/chromium/Manifest @@ -12,10 +12,15 @@ DIST chromium-128-clang.tar.xz 51489372 BLAKE2B 352a585e3acf0f0685ab2eaeb13e8471 DIST chromium-128-rust.tar.xz 148907072 BLAKE2B 9b28d1eca65d3e62ef142f96d9b3371bb65c6778414e5b64f0ad02c4aace219974f1cb292c9a6d9c443e3ed4f61192248ccaf9b18079cbd5a5f5c3abfe79d485 SHA512 5469490b23656a83d6198a087ddb82dd342fd8a426b32193218f7174395053f2ec7aaced5c464b8b16cdbddc252f80a98ca2a4b88742d2b0c910f2d2bfa7e431 DIST chromium-128.0.6613.113.tar.xz 6711639096 BLAKE2B 1719b97aa30584b1d997d5fa894d23ec5b8063f9fdb53b9a7cd760896634a71a9c547e6a65d1db3c5e6308233c39dcf09db3a78d52ef960313c2c7b4381e6a46 SHA512 57ecf8d5d741a9a3ba9bb1ffd1e75ee83c14a0c552657063fca9bd4e5eec82b5ccafe81e1cea26cbb29992ce418bdcce11794e7ba3f7a860648df270cb2cd2cf DIST chromium-128.0.6613.119.tar.xz 6718742128 BLAKE2B b47eb124c249bae074883cdf1e98eaddd2aae1b5575960fea68632bd4684a1a28f59b41894935b02609f75de60f44b61d418ee0065bf005272a066133dca2946 SHA512 a3a1411b21885ce0c29574355d52a1bfad84299fdc99daf191d70f911f191d482f0e4a3d181faa1a1a7b031727f482fd3d95b6d9e1280167c0610f731356d11f +DIST chromium-129-clang.tar.xz 52250752 BLAKE2B c7223a1f4a9f52eb631b968ecaea528d19aa14ded23e03e530ad6c46e7e1579a7a010cb347489f1b963013b4f26358be94aeff0f98b5eceb7b1f1e49e8acdfd3 SHA512 43681d64d4480e3f69afd3021037af6910e9c64052edefdb72e99b0a85cd94c4a8eb4095188784d7fa7f52fae10a9bd9db53f2bb80e89f709f92af7ce6403976 +DIST chromium-129-rust.tar.xz 152042272 BLAKE2B acde4dc9c0fe232d16f07f3e4b719ea762627e234970866e0de56ec3959c4cd0a7b1b09cf5ccecd50efd1cc35dcf224be3b398c1ea19a79731d6db13c94fa7a9 SHA512 bef8e56cf73de5cefd5fe0bb9836ef65012406ff3d364d36624d30e7b5cdb2634d17ac9e49a60ccb0ac5dd57cf4311b587c5ff0cec26b2fc6e15274abe0dc85b +DIST chromium-129.0.6668.29.tar.xz 6656211664 BLAKE2B 9a6c374195c6a3ad377ee58ddd38a78a299f1b5eddb4b7a6778640b4915f5c718bed7507e271f28839ace9c381a16b5e7a07cea026e1ecaa4fc8461891c14deb SHA512 5457349eb394c16041917c32ac9f3a302852777740982ede02ab1d1f4a2ccc43c88f1b184030c695e07d7046b5b2052cc4ecac3c73dc4075c645a84530361684 DIST chromium-patches-128.tar.bz2 5087 BLAKE2B b0321fb45390a282afeeeb8fb4d6014d6e6b708e6851235e0897ac77d524160b4d33476aa70532df45d0ccf233fee3b4028cd4d845667dc6a2a46ecebfeb6752 SHA512 978908d27dc6fc620209486a9ad7f73babde8710728960f44f2680445276516e59a85c08656af2663d9e197df45874f24a1f19f14a21798fbcf7c5a10bb19371 +DIST chromium-patches-129.tar.bz2 5071 BLAKE2B 080e1af8b0560a3c5365674e7c8d592310bbd2e273311b775b8112e410d91ccd48f170adbcf77cff566ad32de196217410663ac7b9e7e65544b6730fb1890aca SHA512 0a5bbc07dc9085b07332d5c6dd74940a9d55c4d0677f5603e75763ba54156f43664839d438f350bc86f3efc85aae452476e7f7040e06e60727847b156d1f0ab9 DIST chromium-ppc64le-gentoo-patches-1.tar.xz 5636 BLAKE2B 1d898939df023c59285b27bee552470483ea06375d1ee8d6947b89c5927c23cc7bfec6b49f3b376ece931d11a56f8e2a45791e0f92ad61974fc8c34c1082d89c SHA512 8a71cb007e47cda8e5fe5d185729389e65c48bd322c8ee8b3986bee8571427b959628f2666bda646a3f89ae64197c0957d3626845ff03461dbd5dee4c964d07c DIST chromium-profiler-0.2.tar 259952640 BLAKE2B 5e82389fce00b267280d633b26551231c558b80f0c92cd7d60271095a3503365ab673e7a46dc5f74f8a82db1f21262cb24dcc0531d954bab5fb3b175dab3394d SHA512 9fa89a5ab728419683e7495ae676567480987d68a2d589f2aa97bfcbcf123f3c8f97f8bca5f65e5e3f6e41475535add473ded83b9c7a33bb4746a9d05b298a6c DIST chromium_128.0.6613.84-1raptor0~deb12u1.debian.tar.xz 8674292 BLAKE2B 74c8556f578231cd133ce3a11306ce38d32332a3db7b0f32a63df1806201933e69e9ff01e66d7ccef279f2134e0a69c89365d7a08a7a7e7d69816a188ae0b91c SHA512 b1b85bc99493676d466e648c00eb7e337efbcb197e9ed5ae6394133721db828583340df5ebfa45a3dccc72f400ad6ada637d400d8e2fae35c1322ca5e15dc10e EBUILD chromium-128.0.6613.113.ebuild 49239 BLAKE2B fc678b055bfa1eae4528207b9a9c410f20124bab8df43cc953c123f0175fa9176a4ff72326e44cc548aa2beb86dc0f63fb3cfb0a8114b00aa3f654f5dd84d5a1 SHA512 63ba84857f49b18e51c794321dd498d4a4d9eba3595f191ead7412d73d2e3f2e9bce4f2de402228f2f8a8b47b0da729296a1e88fd3964a4b19b650408c65916b EBUILD chromium-128.0.6613.119.ebuild 49240 BLAKE2B 59eed1c5a99309d4a876d9938f8e7a6a417c2ca5f132f21689393c30f4c5e244867c473c7aad28681fbeb4ef68fc83ad73302d53c0891ad85d778ab02a140f22 SHA512 1104f869c5c47d8a42786d9e52076dd2f703eba6a06699d7d3a522d792bf6fd4b8bcaf1b53f14a806080266564b3d67860526974f336e3768c9942c1d35ee098 +EBUILD chromium-129.0.6668.29.ebuild 49057 BLAKE2B 223e7e223975dea74fa216470a8166032cf639237de499c543fa291dea2f0c2ce46836757c43f834b8303a2543fad516b30a3cdee49885cd02cc65dc91755947 SHA512 f9c4114445472c61a7eaa6d388e25ebd83b5b35db749d9cf00bf237b558db8ca669a115b220078218374af66f6f7b5b177fd82f984053da8f28d390ae4d8d8b8 MISC metadata.xml 2083 BLAKE2B e556591b48916e2b26d66b8b3a3f67d8f7c17d7cf2d03bfca4c91e0181604d853b16139583a8364646f5c2db55a2e3281a5b6ee623535452dbc8b0755fac89dc SHA512 b64e3140c1237d45aea47748a259b51685e7aa54c2ba259f6feb60df5a98ec434bd0ecde2e5dc2115d6c6409621ec3111e8b6b2a0fc8be2d9634dc465260dbe2 diff --git a/www-client/chromium/chromium-129.0.6668.29.ebuild b/www-client/chromium/chromium-129.0.6668.29.ebuild new file mode 100644 index 000000000000..9c8ee4f48971 --- /dev/null +++ b/www-client/chromium/chromium-129.0.6668.29.ebuild @@ -0,0 +1,1447 @@ +# Copyright 2009-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# PACKAGING NOTES + +# Google roll their bundled Clang every two weeks, and the bundled Rust +# is rolled regularly and depends on that. While we do our best to build +# with system Clang, we will eventually hit the point where we need to use +# the bundled Clang due to the use of prerelease features. We've been lucky +# enough so far that this hasn't been an issue. +# We use llvm-utils.eclass directly due to chromium's inherent Googliness. + +# GN is bundled with Chromium, but we always use the system version. Remember to +# check for upstream changes to GN and update ebuild (and version below) as required. + +# For binhost users, if USE=bindist is set, we configure Chromium in a way that it is able +# to use proprietary codecs, and so that ffmpeg is an external component (libffmpeg.so), +# then we remove ffmpeg from the image to ensure that the built package is distributable +# (i.e. we don't owe royalties). A suitable libffmpeg.so is symlinked in its place; +# as a result of this, ffmpeg[chromium] or ffmpeg-chromium must be installed on the system. + +# For non-binhost builds, we build the bundled ffmpeg and enable proprietary codecs because there's +# no reason not to. Todo: Re-enable USE=system-ffmpeg. + +GN_MIN_VER=0.2165 +RUST_MIN_VER=1.78.0 +# chromium-tools/get-chromium-toolchain-strings.sh +GOOGLE_CLANG_VER=llvmorg-20-init-1009-g7088a5ed-10 +GOOGLE_RUST_VER=595316b4006932405a63862d8fe65f71a6356293-5 + +: ${CHROMIUM_FORCE_GOOGLE_TOOLCHAIN=no} + +VIRTUALX_REQUIRED="pgo" + +CHROMIUM_LANGS="af am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he + hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr + sv sw ta te th tr uk ur vi zh-CN zh-TW" + +# While prerelease llvm is actually used in the google build, until we have a +# sane way to select 'rust built with this llvm slot' that isn't stable and testing +# subslots we will have to restrict LLVM_COMPAT to stable and testing keywords. +LLVM_COMPAT=( {17..18} ) +PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_REQ_USE="xml(+)" + +inherit check-reqs chromium-2 desktop flag-o-matic llvm-utils ninja-utils pax-utils +inherit python-any-r1 qmake-utils readme.gentoo-r1 systemd toolchain-funcs virtualx xdg-utils + +DESCRIPTION="Open-source version of Google Chrome web browser" +HOMEPAGE="https://www.chromium.org/" +PATCHSET_PPC64="128.0.6613.84-1raptor0~deb12u1" +PATCH_V="${PV%%\.*}" +SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz + system-toolchain? ( + https://gitlab.com/Matt.Jolly/chromium-patches/-/archive/${PATCH_V}/chromium-patches-${PATCH_V}.tar.bz2 + ) + !system-toolchain? ( + https://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/clang-${GOOGLE_CLANG_VER}.tar.xz + -> chromium-${PV%%\.*}-clang.tar.xz + https://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/rust-toolchain-${GOOGLE_RUST_VER}-${GOOGLE_CLANG_VER%???}.tar.xz + -> chromium-${PV%%\.*}-rust.tar.xz + ) + ppc64? ( + https://quickbuild.io/~raptor-engineering-public/+archive/ubuntu/chromium/+files/chromium_${PATCHSET_PPC64}.debian.tar.xz + https://deps.gentoo.zip/chromium-ppc64le-gentoo-patches-1.tar.xz + ) + pgo? ( https://github.com/elkablo/chromium-profiler/releases/download/v0.2/chromium-profiler-0.2.tar )" + +LICENSE="BSD" +SLOT="0/beta" +KEYWORDS="~amd64 ~arm64" +IUSE_SYSTEM_LIBS="+system-harfbuzz +system-icu +system-png +system-zstd" +IUSE="+X ${IUSE_SYSTEM_LIBS} bindist cups debug ffmpeg-chromium gtk4 +hangouts headless kerberos +official pax-kernel pgo +proprietary-codecs pulseaudio" +IUSE+=" qt5 qt6 +screencast selinux +system-toolchain +vaapi +wayland +widevine" +RESTRICT="!bindist? ( bindist )" + +REQUIRED_USE=" + !headless? ( || ( X wayland ) ) + pgo? ( X !wayland ) + qt6? ( qt5 ) + screencast? ( wayland ) + ffmpeg-chromium? ( bindist proprietary-codecs ) +" + +COMMON_X_DEPEND=" + x11-libs/libXcomposite:= + x11-libs/libXcursor:= + x11-libs/libXdamage:= + x11-libs/libXfixes:= + >=x11-libs/libXi-1.6.0:= + x11-libs/libXrandr:= + x11-libs/libXrender:= + x11-libs/libXtst:= + x11-libs/libxshmfence:= +" + +COMMON_SNAPSHOT_DEPEND=" + system-icu? ( >=dev-libs/icu-73.0:= ) + >=dev-libs/libxml2-2.12.4:=[icu] + dev-libs/nspr:= + >=dev-libs/nss-3.26:= + dev-libs/libxslt:= + media-libs/fontconfig:= + >=media-libs/freetype-2.11.0-r1:= + system-harfbuzz? ( >=media-libs/harfbuzz-3:0=[icu(-)] ) + media-libs/libjpeg-turbo:= + system-png? ( media-libs/libpng:=[-apng(-)] ) + system-zstd? ( >=app-arch/zstd-1.5.5:= ) + >=media-libs/libwebp-0.4.0:= + media-libs/mesa:=[gbm(+)] + >=media-libs/openh264-1.6.0:= + sys-libs/zlib:= + x11-libs/libdrm:= + !headless? ( + dev-libs/glib:2 + >=media-libs/alsa-lib-1.0.19:= + pulseaudio? ( media-libs/libpulse:= ) + sys-apps/pciutils:= + kerberos? ( virtual/krb5 ) + vaapi? ( >=media-libs/libva-2.7:=[X?,wayland?] ) + X? ( + x11-base/xorg-proto:= + x11-libs/libX11:= + x11-libs/libxcb:= + x11-libs/libXext:= + ) + x11-libs/libxkbcommon:= + wayland? ( + dev-libs/libffi:= + dev-libs/wayland:= + screencast? ( media-video/pipewire:= ) + ) + ) +" + +COMMON_DEPEND=" + ${COMMON_SNAPSHOT_DEPEND} + app-arch/bzip2:= + dev-libs/expat:= + net-misc/curl[ssl] + sys-apps/dbus:= + media-libs/flac:= + sys-libs/zlib:=[minizip] + !headless? ( + X? ( ${COMMON_X_DEPEND} ) + >=app-accessibility/at-spi2-core-2.46.0:2 + media-libs/mesa:=[X?,wayland?] + cups? ( >=net-print/cups-1.3.11:= ) + virtual/udev + x11-libs/cairo:= + x11-libs/gdk-pixbuf:2 + x11-libs/pango:= + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtwidgets:5 + ) + qt6? ( dev-qt/qtbase:6[gui,widgets] ) + ) +" +RDEPEND="${COMMON_DEPEND} + !headless? ( + || ( + x11-libs/gtk+:3[X?,wayland?] + gui-libs/gtk:4[X?,wayland?] + ) + qt5? ( dev-qt/qtgui:5[X?,wayland?] ) + qt6? ( dev-qt/qtbase:6[X?,wayland?] ) + ) + virtual/ttf-fonts + selinux? ( sec-policy/selinux-chromium ) + bindist? ( + !ffmpeg-chromium? ( >=media-video/ffmpeg-6.1-r1:0/58.60.60[chromium] ) + ffmpeg-chromium? ( media-video/ffmpeg-chromium:${PV%%\.*} ) + ) +" +DEPEND="${COMMON_DEPEND} + !headless? ( + gtk4? ( gui-libs/gtk:4[X?,wayland?] ) + !gtk4? ( x11-libs/gtk+:3[X?,wayland?] ) + ) +" + +depend_clang_llvm_version() { + echo "sys-devel/clang:$1" + echo "sys-devel/llvm:$1" + echo "=sys-devel/lld-$1*" + echo "virtual/rust:0/llvm-${1}[profiler(-)]" + echo "pgo? ( sys-libs/compiler-rt-sanitizers:${1}[profile] )" +} + +# Parse LLVM_COMPAT and generate a usedep for each version +depend_clang_llvm_versions() { + if [[ ${#LLVM_COMPAT[@]} -eq 0 ]]; then + depend_clang_llvm_version ${#LLVM_COMPAT[0]} + else + echo "|| (" + for (( i=${#LLVM_COMPAT[@]}-1 ; i>=0 ; i-- )); do + echo "(" + depend_clang_llvm_version ${LLVM_COMPAT[i]} + echo ")" + done + echo ")" + fi +} + +BDEPEND=" + ${COMMON_SNAPSHOT_DEPEND} + ${PYTHON_DEPS} + $(python_gen_any_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ') + >=app-arch/gzip-1.7 + !headless? ( + qt5? ( dev-qt/qtcore:5 ) + qt6? ( dev-qt/qtbase:6 ) + ) + system-toolchain? ( + $(depend_clang_llvm_versions) + pgo? ( + >=dev-python/selenium-3.141.0 + >=dev-util/web_page_replay_go-20220314 + ) + >=dev-util/bindgen-0.68.0 + ) + >=dev-build/gn-${GN_MIN_VER} + dev-build/ninja + dev-lang/perl + >=dev-util/gperf-3.0.3 + dev-vcs/git + >=net-libs/nodejs-7.6.0[inspector] + >=sys-devel/bison-2.4.3 + sys-devel/flex + virtual/pkgconfig +" + +if ! has chromium_pkg_die ${EBUILD_DEATH_HOOKS}; then + EBUILD_DEATH_HOOKS+=" chromium_pkg_die"; +fi + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +Some web pages may require additional fonts to display properly. +Try installing some of the following packages if some characters +are not displayed properly: +- media-fonts/arphicfonts +- media-fonts/droid +- media-fonts/ipamonafont +- media-fonts/noto +- media-fonts/ja-ipafonts +- media-fonts/takao-fonts +- media-fonts/wqy-microhei +- media-fonts/wqy-zenhei + +To fix broken icons on the Downloads page, you should install an icon +theme that covers the appropriate MIME types, and configure this as your +GTK+ icon theme. + +For native file dialogs in KDE, install kde-apps/kdialog. + +To make password storage work with your desktop environment you may +have install one of the supported credentials management applications: +- app-crypt/libsecret (GNOME) +- kde-frameworks/kwallet (KDE) +If you have one of above packages installed, but don't want to use +them in Chromium, then add --password-store=basic to CHROMIUM_FLAGS +in /etc/chromium/default. +" + +python_check_deps() { + python_has_version "dev-python/setuptools[${PYTHON_USEDEP}]" +} + +pre_build_checks() { + # Check build requirements: bugs #471810, #541816, #914220 + # We're going to start doing maths here on the size of an unpacked source tarball, + # this should make updates easier as chromium continues to balloon in size. + local BASE_DISK=24 + local EXTRA_DISK=1 + local CHECKREQS_MEMORY="4G" + tc-is-cross-compiler && EXTRA_DISK=2 + if tc-is-lto || use pgo; then + CHECKREQS_MEMORY="9G" + tc-is-cross-compiler && EXTRA_DISK=4 + use pgo && EXTRA_DISK=8 + fi + if is-flagq '-g?(gdb)?([1-9])'; then + if use custom-cflags; then + EXTRA_DISK=13 + fi + CHECKREQS_MEMORY="16G" + fi + CHECKREQS_DISK_BUILD="$((BASE_DISK + EXTRA_DISK))G" + check-reqs_${EBUILD_PHASE_FUNC} +} + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]]; then + # The pre_build_checks are all about compilation resources, no need to run it for a binpkg + pre_build_checks + fi + + if use headless; then + local headless_unused_flags=("cups" "kerberos" "pulseaudio" "qt5" "qt6" "vaapi" "wayland") + for myiuse in ${headless_unused_flags[@]}; do + use ${myiuse} && ewarn "Ignoring USE=${myiuse}, USE=headless is set." + done + fi + + if ! use bindist && use ffmpeg-chromium; then + ewarn "Ignoring USE=ffmpeg-chromium, USE=bindist is not set." + fi +} + +# Chromium should build with any version of clang that we support +# but we may need to pick the "best" one for a build (highest installed, +# rust is built against it, etc.) +# Check each slot in LLVM_COMPAT to see if clang/llvm/lld are available +# and output the _highest_ slot that is actually available on a system. +chromium_pick_llvm_slot() { + # LLVM_COMPAT is always going to be oldest to newest (or one value) + # let's flip it and check from newest to oldest and return the first one we find. + local slot + for (( i=${#LLVM_COMPAT[@]}-1 ; i>=0 ; i-- )); do + slot=${LLVM_COMPAT[i]} + if has_version "sys-devel/clang:${slot}" && \ + has_version "sys-devel/llvm:${slot}" && \ + has_version "sys-devel/lld:${slot}" && \ + has_version "virtual/rust:0/llvm-${slot}" && \ + ( ! use pgo || has_version "sys-libs/compiler-rt-sanitizers:${slot}" ) ; then + + echo "${slot}" + return + fi + done + + die_msg=" +No suitable clang/llvm/lld slot found. +Slots checked: ${LLVM_COMPAT[*]}. +" + die "${die_msg}" +} + +# We need the rust version in src_configure and pkg_setup +chromium_extract_rust_version() { + [[ ${MERGE_TYPE} == binary ]] && return + local rustc_version=( $(eselect --brief rust show 2>/dev/null) ) + rustc_version=${rustc_version[0]#rust-bin-} + rustc_version=${rustc_version#rust-} + + [[ -z "${rustc_version}" ]] && die "Failed to determine rust version, check 'eselect rust' output" + + echo $rustc_version +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]]; then + # The pre_build_checks are all about compilation resources, no need to run it for a binpkg + pre_build_checks + + if use system-toolchain; then + # The linux:unbundle toolchain in GN grabs CC, CXX, CPP (etc) from the environment + # We'll set these to clang here then use llvm-utils functions to very explicitly set these + # to a sane value. + # This is effectively the 'force-clang' path if GCC support is re-added. + # TODO: check if the user has already selected a specific impl via make.conf and respect that. + if ! tc-is-lto && use official; then + einfo "USE=official selected and LTO not detected." + einfo "It is _highly_ recommended that LTO be enabled for performance reasons" + einfo "and to be consistent with the upstream \"official\" build optimisations." + fi + + # 936858 + if tc-ld-is-mold; then + eerror "Your toolchain is using the mold linker." + eerror "This is not supported by Chromium." + die "Please switch to a different linker." + fi + + LLVM_SLOT=$(chromium_pick_llvm_slot) + export LLVM_SLOT # used in src_configure for rust-y business + AR=llvm-ar + CPP="${CHOST}-clang++ -E" + NM=llvm-nm + CC=${CHOST}-clang + CXX=${CHOST}-clang++ + + if tc-is-cross-compiler; then + use pgo && die "The pgo USE flag cannot be used when cross-compiling" + CPP="${CBUILD}-clang++ -E" + fi + + # The llvm-r1_pkg_setup we have at home. + # We prepend the path _first_ to explicitly use the selected slot. + llvm_prepend_path "${LLVM_SLOT}" + + llvm_fix_clang_version CC CPP CXX + llvm_fix_tool_path ADDR2LINE AR AS LD NM OBJCOPY OBJDUMP RANLIB + llvm_fix_tool_path READELF STRINGS STRIP + + # Set LLVM_CONFIG to help Meson (bug #907965) but only do it + # for empty ESYSROOT (as a proxy for "are we cross-compiling?"). + if [[ -z ${ESYSROOT} ]] ; then + llvm_fix_tool_path LLVM_CONFIG + fi + + einfo "Using LLVM/Clang slot ${LLVM_SLOT} to build" + + local rustc_ver=$(chromium_extract_rust_version) + if ver_test "${rustc_ver}" -lt "${RUST_MIN_VER}"; then + eerror "Rust >=${RUST_MIN_VER} is required" + eerror "Please run 'eselect rust' and select the correct rust version" + die "Selected rust version is too old" + else + einfo "Using rust ${rustc_ver} to build" + fi + + fi + # Users should never hit this, it's purely a development convenience + if ver_test $(gn --version || die) -lt ${GN_MIN_VER}; then + die "dev-build/gn >= ${GN_MIN_VER} is required to build this Chromium" + fi + fi + + chromium_suid_sandbox_check_kernel_config +} + +src_unpack() { + # In 126 Chromium upstream decided to change the way that the rust toolchain is packaged + # so now we get a fancy src_unpack function to ensure that we don't accidentally unpack + # one toolchain over the other. The addtional control over over unpacking also helps us + # ensure that GN doesn't try and use some bundled tool (like bindgen) instead of the system + # package by just not unpacking it unless we're using the bundled toolchain. + unpack ${P}.tar.xz + if use system-toolchain; then + unpack chromium-patches-${PATCH_V}.tar.bz2 + else + unpack chromium-${PV%%\.*}-clang.tar.xz + local rust_dir="${WORKDIR}/rust-toolchain" + mkdir -p ${rust_dir} || die "Failed to create rust toolchain directory" + tar xf "${DISTDIR}/chromium-${PV%%\.*}-rust.tar.xz" -C ${rust_dir} || die "Failed to unpack rust toolchain" + fi + + use pgo && unpack chromium-profiler-0.2.tar + + if use ppc64; then + unpack chromium_${PATCHSET_PPC64}.debian.tar.xz + unpack chromium-ppc64le-gentoo-patches-1.tar.xz + fi +} + +src_prepare() { + # Calling this here supports resumption via FEATURES=keepwork + python_setup + + # disable global media controls, crashes with libstdc++ + sed -i -e \ + "/\"GlobalMediaControlsCastStartStop\"/,+4{s/ENABLED/DISABLED/;}" \ + "chrome/browser/media/router/media_router_feature.cc" + + local PATCHES=( + "${FILESDIR}/chromium-cross-compile.patch" + "${FILESDIR}/chromium-109-system-zlib.patch" + "${FILESDIR}/chromium-111-InkDropHost-crash.patch" + "${FILESDIR}/chromium-126-oauth2-client-switches.patch" + "${FILESDIR}/chromium-127-bindgen-custom-toolchain.patch" + ) + + if use system-toolchain; then + # The patchset is really only required if we're using the system-toolchain + PATCHES+=( "${WORKDIR}/chromium-patches-${PATCH_V}" ) + # We can't use the bundled compiler builtins with the system toolchain + # `grep` is a development convenience to ensure we fail early when google changes something. + local builtins_match="if (is_clang && !is_nacl && !is_cronet_build) {" + grep -q "${builtins_match}" build/config/compiler/BUILD.gn || die "Failed to disable bundled compiler builtins" + sed -i -e "/${builtins_match}/,+2d" build/config/compiler/BUILD.gn + + else + mkdir -p third_party/llvm-build/Release+Asserts || die "Failed to bundle llvm" + ln -s "${WORKDIR}"/bin third_party/llvm-build/Release+Asserts/bin || die "Failed to symlink llvm bin" + ln -s "${WORKDIR}"/lib third_party/llvm-build/Release+Asserts/lib || die "Failed to symlink llvm lib" + echo "${GOOGLE_CLANG_VER}" > third_party/llvm-build/Release+Asserts/cr_build_revision || \ + die "Failed to set clang version" + ln -s "${WORKDIR}"/rust-toolchain third_party/rust-toolchain || die "Failed to bundle rust" + cp "${WORKDIR}"/rust-toolchain/VERSION \ + "${WORKDIR}"/rust-toolchain/INSTALLED_VERSION || die "Failed to set rust version" + fi + + if use ppc64 ; then + local p + for p in $(grep -v "^#" "${WORKDIR}"/debian/patches/series | grep "^ppc64le" || die); do + if [[ ! $p =~ "fix-breakpad-compile.patch" ]]; then + eapply "${WORKDIR}/debian/patches/${p}" + fi + done + PATCHES+=( "${WORKDIR}/ppc64le" ) + PATCHES+=( "${WORKDIR}/debian/patches/fixes/rust-clanglib.patch" ) + fi + + default + + rm third_party/node/linux/node-linux-x64/bin/node || die + ln -s "${EPREFIX}"/usr/bin/node third_party/node/linux/node-linux-x64/bin/node || die + + # adjust python interpreter version + sed -i -e "s|\(^script_executable = \).*|\1\"${EPYTHON}\"|g" .gn || die + + local keeplibs=( + base/third_party/cityhash + base/third_party/double_conversion + base/third_party/icu + base/third_party/nspr + base/third_party/superfasthash + base/third_party/symbolize + base/third_party/xdg_user_dirs + buildtools/third_party/libc++ + buildtools/third_party/libc++abi + chrome/third_party/mozilla_security_manager + courgette/third_party + net/third_party/mozilla_security_manager + net/third_party/nss + net/third_party/quic + net/third_party/uri_template + third_party/abseil-cpp + third_party/angle + third_party/angle/src/common/third_party/xxhash + third_party/angle/src/third_party/ceval + third_party/angle/src/third_party/libXNVCtrl + third_party/angle/src/third_party/volk + third_party/anonymous_tokens + third_party/apple_apsl + third_party/axe-core + third_party/bidimapper + third_party/blink + third_party/boringssl + third_party/boringssl/src/third_party/fiat + third_party/breakpad + third_party/breakpad/breakpad/src/third_party/curl + third_party/brotli + third_party/catapult + third_party/catapult/common/py_vulcanize/third_party/rcssmin + third_party/catapult/common/py_vulcanize/third_party/rjsmin + third_party/catapult/third_party/beautifulsoup4-4.9.3 + third_party/catapult/third_party/html5lib-1.1 + third_party/catapult/third_party/polymer + third_party/catapult/third_party/six + third_party/catapult/tracing/third_party/d3 + third_party/catapult/tracing/third_party/gl-matrix + third_party/catapult/tracing/third_party/jpeg-js + third_party/catapult/tracing/third_party/jszip + third_party/catapult/tracing/third_party/mannwhitneyu + third_party/catapult/tracing/third_party/oboe + third_party/catapult/tracing/third_party/pako + third_party/ced + third_party/cld_3 + third_party/closure_compiler + third_party/content_analysis_sdk + third_party/cpuinfo + third_party/crabbyavif + third_party/crashpad + third_party/crashpad/crashpad/third_party/lss + third_party/crashpad/crashpad/third_party/zlib + third_party/crc32c + third_party/cros_system_api + third_party/d3 + third_party/dav1d + third_party/dawn + third_party/dawn/third_party/gn/webgpu-cts + third_party/dawn/third_party/khronos + third_party/depot_tools + third_party/devscripts + third_party/devtools-frontend + third_party/devtools-frontend/src/front_end/third_party/acorn + third_party/devtools-frontend/src/front_end/third_party/additional_readme_paths.json + third_party/devtools-frontend/src/front_end/third_party/axe-core + third_party/devtools-frontend/src/front_end/third_party/chromium + third_party/devtools-frontend/src/front_end/third_party/codemirror + third_party/devtools-frontend/src/front_end/third_party/csp_evaluator + third_party/devtools-frontend/src/front_end/third_party/diff + third_party/devtools-frontend/src/front_end/third_party/i18n + third_party/devtools-frontend/src/front_end/third_party/intl-messageformat + third_party/devtools-frontend/src/front_end/third_party/lighthouse + third_party/devtools-frontend/src/front_end/third_party/lit + third_party/devtools-frontend/src/front_end/third_party/lodash-isequal + third_party/devtools-frontend/src/front_end/third_party/marked + third_party/devtools-frontend/src/front_end/third_party/puppeteer + third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/third_party/mitt + third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/third_party/parsel-js + third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/third_party/rxjs + third_party/devtools-frontend/src/front_end/third_party/vscode.web-custom-data + third_party/devtools-frontend/src/front_end/third_party/wasmparser + third_party/devtools-frontend/src/front_end/third_party/web-vitals + third_party/devtools-frontend/src/third_party + third_party/distributed_point_functions + third_party/dom_distiller_js + third_party/eigen3 + third_party/emoji-segmenter + third_party/farmhash + third_party/fdlibm + third_party/ffmpeg + third_party/fft2d + third_party/flatbuffers + third_party/fp16 + third_party/freetype + third_party/fusejs + third_party/fxdiv + third_party/gemmlowp + third_party/google_input_tools + third_party/google_input_tools/third_party/closure_library + third_party/google_input_tools/third_party/closure_library/third_party/closure + third_party/googletest + third_party/highway + third_party/hunspell + third_party/iccjpeg + third_party/inspector_protocol + third_party/ipcz + third_party/jinja2 + third_party/jsoncpp + third_party/jstemplate + third_party/khronos + third_party/lens_server_proto + third_party/leveldatabase + third_party/libaddressinput + third_party/libaom + third_party/libaom/source/libaom/third_party/fastfeat + third_party/libaom/source/libaom/third_party/SVT-AV1 + third_party/libaom/source/libaom/third_party/vector + third_party/libaom/source/libaom/third_party/x86inc + third_party/libavif + third_party/libc++ + third_party/libevent + third_party/libgav1 + third_party/libjingle + third_party/libphonenumber + third_party/libsecret + third_party/libsrtp + third_party/libsync + third_party/liburlpattern + third_party/libva_protected_content + third_party/libvpx + third_party/libvpx/source/libvpx/third_party/x86inc + third_party/libwebm + third_party/libx11 + third_party/libxcb-keysyms + third_party/libxml/chromium + third_party/libyuv + third_party/libzip + third_party/lit + third_party/lottie + third_party/lss + third_party/lzma_sdk + third_party/mako + third_party/markupsafe + third_party/material_color_utilities + third_party/mesa + third_party/metrics_proto + third_party/minigbm + third_party/modp_b64 + third_party/nasm + third_party/nearby + third_party/neon_2_sse + third_party/node + third_party/omnibox_proto + third_party/one_euro_filter + third_party/openscreen + third_party/openscreen/src/third_party/ + third_party/openscreen/src/third_party/tinycbor/src/src + third_party/opus + third_party/ots + third_party/pdfium + third_party/pdfium/third_party/agg23 + third_party/pdfium/third_party/bigint + third_party/pdfium/third_party/freetype + third_party/pdfium/third_party/lcms + third_party/pdfium/third_party/libopenjpeg + third_party/pdfium/third_party/libtiff + third_party/perfetto + third_party/perfetto/protos/third_party/chromium + third_party/perfetto/protos/third_party/simpleperf + third_party/pffft + third_party/ply + third_party/polymer + third_party/private_membership + third_party/private-join-and-compute + third_party/protobuf + third_party/pthreadpool + third_party/puffin + third_party/pyjson5 + third_party/pyyaml + third_party/qcms + third_party/rapidhash + third_party/re2 + third_party/rnnoise + third_party/rust + third_party/ruy + third_party/s2cellid + third_party/securemessage + third_party/selenium-atoms + third_party/sentencepiece + third_party/sentencepiece/src/third_party/darts_clone + third_party/shell-encryption + third_party/simplejson + third_party/six + third_party/skia + third_party/skia/include/third_party/vulkan + third_party/skia/third_party/vulkan + third_party/smhasher + third_party/snappy + third_party/spirv-headers + third_party/spirv-tools + third_party/sqlite + third_party/swiftshader + third_party/swiftshader/third_party/astc-encoder + third_party/swiftshader/third_party/llvm-subzero + third_party/swiftshader/third_party/marl + third_party/swiftshader/third_party/SPIRV-Headers/include/spirv + third_party/swiftshader/third_party/SPIRV-Tools + third_party/swiftshader/third_party/subzero + third_party/tensorflow_models + third_party/tensorflow-text + third_party/tflite + third_party/tflite/src/third_party/eigen3 + third_party/tflite/src/third_party/fft2d + third_party/tflite/src/third_party/xla/third_party/tsl + third_party/tflite/src/third_party/xla/xla/tsl/util + third_party/tflite/src/third_party/xla/xla/tsl/framework + third_party/ukey2 + third_party/unrar + third_party/utf + third_party/vulkan + third_party/wayland + third_party/webdriver + third_party/webgpu-cts + third_party/webrtc + third_party/webrtc/common_audio/third_party/ooura + third_party/webrtc/common_audio/third_party/spl_sqrt_floor + third_party/webrtc/modules/third_party/fft + third_party/webrtc/modules/third_party/g711 + third_party/webrtc/modules/third_party/g722 + third_party/webrtc/rtc_base/third_party/base64 + third_party/webrtc/rtc_base/third_party/sigslot + third_party/widevine + third_party/woff2 + third_party/wuffs + third_party/x11proto + third_party/xcbproto + third_party/xnnpack + third_party/zlib/google + third_party/zxcvbn-cpp + url/third_party/mozilla + v8/src/third_party/siphash + v8/src/third_party/utf8-decoder + v8/src/third_party/valgrind + v8/third_party/glibc + v8/third_party/inspector_protocol + v8/third_party/v8 + + # gyp -> gn leftovers + third_party/speech-dispatcher + third_party/usb_ids + third_party/xdg-utils + ) + + # USE=system-* + if ! use system-harfbuzz; then + keeplibs+=( third_party/harfbuzz-ng ) + fi + + if ! use system-icu; then + keeplibs+=( third_party/icu ) + fi + + if ! use system-png; then + keeplibs+=( third_party/libpng ) + fi + + if ! use system-zstd; then + keeplibs+=( third_party/zstd ) + fi + + if ! use system-toolchain || [[ ${CHROMIUM_FORCE_GOOGLE_TOOLCHAIN} == yes ]]; then + keeplibs+=( third_party/llvm ) + fi + + # Arch-specific + if use arm64 || use ppc64 ; then + keeplibs+=( third_party/swiftshader/third_party/llvm-10.0 ) + fi + # we need to generate ppc64 stuff because upstream does not ship it yet + # it has to be done before unbundling. + if use ppc64; then + pushd third_party/libvpx >/dev/null || die + mkdir -p source/config/linux/ppc64 || die + # requires git and clang, bug #832803 + # Revert https://chromium.googlesource.com/chromium/src/+/b463d0f40b08b4e896e7f458d89ae58ce2a27165%5E%21/third_party/libvpx/generate_gni.sh + # and https://chromium.googlesource.com/chromium/src/+/71ebcbce867dd31da5f8b405a28fcb0de0657d91%5E%21/third_party/libvpx/generate_gni.sh + # since we're not in a git repo + sed -i -e "s|^update_readme||g; s|clang-format|${EPREFIX}/bin/true|g; /^git -C/d; /git cl/d; /cd \$BASE_DIR\/\$LIBVPX_SRC_DIR/ign format --in-place \$BASE_DIR\/BUILD.gn\ngn format --in-place \$BASE_DIR\/libvpx_srcs.gni" \ + generate_gni.sh || die + ./generate_gni.sh || die + popd >/dev/null || die + + pushd third_party/ffmpeg >/dev/null || die + cp libavcodec/ppc/h264dsp.c libavcodec/ppc/h264dsp_ppc.c || die + cp libavcodec/ppc/h264qpel.c libavcodec/ppc/h264qpel_ppc.c || die + popd >/dev/null || die + fi + + einfo "Unbundling third-party libraries ..." + # Remove most bundled libraries. Some are still needed. + build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove || die + + # bundled eu-strip is for amd64 only and we don't want to pre-stripped binaries + mkdir -p buildtools/third_party/eu-strip/bin || die + ln -s "${EPREFIX}"/bin/true buildtools/third_party/eu-strip/bin/eu-strip || die +} + +chromium_configure() { + # Calling this here supports resumption via FEATURES=keepwork + python_setup + + local myconf_gn="" + + # We already forced the "correct" clang via pkg_setup + if use system-toolchain; then + if tc-is-cross-compiler; then + CC="${CC} -target ${CHOST} --sysroot ${ESYSROOT}" + CXX="${CXX} -target ${CHOST} --sysroot ${ESYSROOT}" + BUILD_AR=${AR} + BUILD_CC=${CC} + BUILD_CXX=${CXX} + BUILD_NM=${NM} + fi + + strip-unsupported-flags + + myconf_gn+=" is_clang=true clang_use_chrome_plugins=false" + # https://bugs.gentoo.org/918897#c32 + append-ldflags -Wl,--undefined-version + myconf_gn+=" use_lld=true" + + # Make sure the build system will use the right tools, bug #340795. + tc-export AR CC CXX NM + + myconf_gn+=" custom_toolchain=\"//build/toolchain/linux/unbundle:default\"" + + if tc-is-cross-compiler; then + tc-export BUILD_{AR,CC,CXX,NM} + myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:host\"" + myconf_gn+=" v8_snapshot_toolchain=\"//build/toolchain/linux/unbundle:host\"" + myconf_gn+=" pkg_config=\"$(tc-getPKG_CONFIG)\"" + myconf_gn+=" host_pkg_config=\"$(tc-getBUILD_PKG_CONFIG)\"" + + # setup cups-config, build system only uses --libs option + if use cups; then + mkdir "${T}/cups-config" || die + cp "${ESYSROOT}/usr/bin/${CHOST}-cups-config" "${T}/cups-config/cups-config" || die + export PATH="${PATH}:${T}/cups-config" + fi + + # Don't inherit PKG_CONFIG_PATH from environment + local -x PKG_CONFIG_PATH= + else + myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:default\"" + fi + + # bindgen settings + # From 127, to make bindgen work, we need to provide a location for libclang. + # We patch this in for gentoo - see chromium-*-bindgen-custom-toolchain.patch + # rust_bindgen_root = directory with `bin/bindgen` beneath it. + myconf_gn+=" rust_bindgen_root=\"${EPREFIX}/usr/\"" + + # from get_llvm_prefix + local prefix=${ESYSROOT} + [[ ${1} == -b ]] && prefix=${BROOT} + myconf_gn+=" bindgen_libclang_path=\"${prefix}/usr/lib/llvm/${LLVM_SLOT}/$(get_libdir)\"" + # We don't need to set 'clang_base_bath' for anything in our build + # and it defaults to the google toolchain location. Instead provide a location + # to where system clang lives sot that bindgen can find system headers (e.g. stddef.h) + myconf_gn+=" clang_base_path=\"${EPREFIX}/usr/lib/clang/${LLVM_SLOT}/\"" + + # We need to provide this to GN in both the path to rust _and_ the version + local rustc_ver=$(chromium_extract_rust_version) + if [[ "$(eselect --brief rust show 2>/dev/null)" == *"bin"* ]]; then + myconf_gn+=" rust_sysroot_absolute=\"${EPREFIX}/opt/rust-bin-${rustc_ver}/\"" + else + myconf_gn+=" rust_sysroot_absolute=\"${EPREFIX}/usr/lib/rust/${rustc_ver}/\"" + fi + myconf_gn+=" rustc_version=\"${rustc_ver}\"" + fi + + # GN needs explicit config for Debug/Release as opposed to inferring it from build directory. + myconf_gn+=" is_debug=false" + + # enable DCHECK with USE=debug only, increases chrome binary size by 30%, bug #811138. + # DCHECK is fatal by default, make it configurable at runtime, #bug 807881. + myconf_gn+=" dcheck_always_on=$(usex debug true false)" + myconf_gn+=" dcheck_is_configurable=$(usex debug true false)" + + # Component build isn't generally intended for use by end users. It's mostly useful + # for development and debugging. + myconf_gn+=" is_component_build=false" + + # Disable nacl, we can't build without pnacl (http://crbug.com/269560). + myconf_gn+=" enable_nacl=false" + + # Use system-provided libraries. + # TODO: freetype -- remove sources (https://bugs.chromium.org/p/pdfium/issues/detail?id=733). + # TODO: use_system_hunspell (upstream changes needed). + # TODO: use_system_protobuf (bug #525560). + # TODO: use_system_sqlite (http://crbug.com/22208). + + # libevent: https://bugs.gentoo.org/593458 + local gn_system_libraries=( + flac + fontconfig + freetype + # Need harfbuzz_from_pkgconfig target + #harfbuzz-ng + libdrm + libjpeg + libwebp + libxml + libxslt + openh264 + zlib + ) + if use system-icu; then + gn_system_libraries+=( icu ) + fi + if use system-png; then + gn_system_libraries+=( libpng ) + fi + if use system-zstd; then + gn_system_libraries+=( zstd ) + fi + + build/linux/unbundle/replace_gn_files.py --system-libraries "${gn_system_libraries[@]}" || die + + # See dependency logic in third_party/BUILD.gn + myconf_gn+=" use_system_harfbuzz=$(usex system-harfbuzz true false)" + + # Optional dependencies. + myconf_gn+=" enable_hangout_services_extension=$(usex hangouts true false)" + myconf_gn+=" enable_widevine=$(usex widevine true false)" + + if use headless; then + myconf_gn+=" use_cups=false" + myconf_gn+=" use_kerberos=false" + myconf_gn+=" use_pulseaudio=false" + myconf_gn+=" use_vaapi=false" + myconf_gn+=" rtc_use_pipewire=false" + else + myconf_gn+=" use_cups=$(usex cups true false)" + myconf_gn+=" use_kerberos=$(usex kerberos true false)" + myconf_gn+=" use_pulseaudio=$(usex pulseaudio true false)" + myconf_gn+=" use_vaapi=$(usex vaapi true false)" + myconf_gn+=" rtc_use_pipewire=$(usex screencast true false)" + myconf_gn+=" gtk_version=$(usex gtk4 4 3)" + fi + + # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of + # using dlopen. This helps with automated detection of ABI mismatches and + # prevents silent errors. + if use pulseaudio; then + myconf_gn+=" link_pulseaudio=true" + fi + + # Non-developer builds of Chromium (for example, non-Chrome browsers, or + # Chromium builds provided by Linux distros) should disable the testing config + myconf_gn+=" disable_fieldtrial_testing_config=true" + + # The sysroot is the oldest debian image that chromium supports, we don't need it + myconf_gn+=" use_sysroot=false" + + # Use in-tree libc++ (buildtools/third_party/libc++ and buildtools/third_party/libc++abi) + # instead of the system C++ library for C++ standard library support. + # default: true, but let's be explicit (forced since 120 ; USE removed 127). + myconf_gn+=" use_custom_libcxx=true" + + # Disable pseudolocales, only used for testing + myconf_gn+=" enable_pseudolocales=false" + + # Disable code formating of generated files + myconf_gn+=" blink_enable_generated_code_formatting=false" + + if use bindist ; then + # proprietary_codecs just forces Chromium to say that it can use h264/aac, + # the work is still done by ffmpeg. If this is set to no Chromium + # won't be able to load the codec even if the library can handle it + myconf_gn+=" proprietary_codecs=true" + myconf_gn+=" ffmpeg_branding=\"Chrome\"" + # build ffmpeg as an external component (libffmpeg.so) that we can remove / substitute + myconf_gn+=" is_component_ffmpeg=true" + else + ffmpeg_branding="$(usex proprietary-codecs Chrome Chromium)" + myconf_gn+=" proprietary_codecs=$(usex proprietary-codecs true false)" + myconf_gn+=" ffmpeg_branding=\"${ffmpeg_branding}\"" + fi + + # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys . + # Note: these are for Gentoo use ONLY. For your own distribution, + # please get your own set of keys. Feel free to contact chromium@gentoo.org + # for more info. The OAuth2 credentials, however, have been left out. + # Those OAuth2 credentials have been broken for quite some time anyway. + # Instead we apply a patch to use the --oauth2-client-id= and + # --oauth2-client-secret= switches for setting GOOGLE_DEFAULT_CLIENT_ID and + # GOOGLE_DEFAULT_CLIENT_SECRET at runtime. This allows signing into + # Chromium without baked-in values. + local google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc" + myconf_gn+=" google_api_key=\"${google_api_key}\"" + local myarch="$(tc-arch)" + + # Avoid CFLAGS problems, bug #352457, bug #390147. + if ! use custom-cflags; then + replace-flags "-Os" "-O2" + strip-flags + + # Debug info section overflows without component build + # Prevent linker from running out of address space, bug #471810 . + filter-flags "-g*" + + # Prevent libvpx/xnnpack build failures. Bug 530248, 544702, 546984, 853646. + if [[ ${myarch} == amd64 ]]; then + filter-flags -mno-mmx -mno-sse2 -mno-ssse3 -mno-sse4.1 -mno-avx -mno-avx2 -mno-fma -mno-fma4 -mno-xop -mno-sse4a + fi + fi + + if [[ $myarch = amd64 ]] ; then + myconf_gn+=" target_cpu=\"x64\"" + ffmpeg_target_arch=x64 + elif [[ $myarch = arm64 ]] ; then + myconf_gn+=" target_cpu=\"arm64\"" + ffmpeg_target_arch=arm64 + elif [[ $myarch = ppc64 ]] ; then + myconf_gn+=" target_cpu=\"ppc64\"" + ffmpeg_target_arch=ppc64 + else + die "Failed to determine target arch, got '$myarch'." + fi + + myconf_gn+=" treat_warnings_as_errors=false" + # Disable fatal linker warnings, bug 506268. + myconf_gn+=" fatal_linker_warnings=false" + + # Disable external code space for V8 for ppc64. It is disabled for ppc64 + # by default, but cross-compiling on amd64 enables it again. + if tc-is-cross-compiler; then + if ! use amd64 && ! use arm64; then + myconf_gn+=" v8_enable_external_code_space=false" + fi + fi + + # Only enabled for clang, but gcc has endian macros too + myconf_gn+=" v8_use_libm_trig_functions=true" + + # Bug 491582. + export TMPDIR="${WORKDIR}/temp" + mkdir -p -m 755 "${TMPDIR}" || die + + # https://bugs.gentoo.org/654216 + addpredict /dev/dri/ #nowarn + + # We don't use the same clang version as upstream, and with -Werror + # we need to make sure that we don't get superfluous warnings. + append-flags -Wno-unknown-warning-option + if tc-is-cross-compiler; then + export BUILD_CXXFLAGS+=" -Wno-unknown-warning-option" + export BUILD_CFLAGS+=" -Wno-unknown-warning-option" + fi + + # Explicitly disable ICU data file support for system-icu/headless builds. + if use system-icu || use headless; then + myconf_gn+=" icu_use_data_file=false" + fi + + # Don't need nocompile checks and GN crashes with our config + myconf_gn+=" enable_nocompile_tests=false" + + # Enable ozone wayland and/or headless support + myconf_gn+=" use_ozone=true ozone_auto_platforms=false" + myconf_gn+=" ozone_platform_headless=true" + if use headless; then + myconf_gn+=" ozone_platform=\"headless\"" + myconf_gn+=" use_xkbcommon=false use_gtk=false use_qt=false" + myconf_gn+=" use_glib=false use_gio=false" + myconf_gn+=" use_pangocairo=false use_alsa=false" + myconf_gn+=" use_libpci=false use_udev=false" + myconf_gn+=" enable_print_preview=false" + myconf_gn+=" enable_remoting=false" + else + myconf_gn+=" use_system_libdrm=true" + myconf_gn+=" use_system_minigbm=true" + myconf_gn+=" use_xkbcommon=true" + if use qt5 || use qt6; then + local cbuild_libdir=$(get_libdir) + if tc-is-cross-compiler; then + # Hack to workaround get_libdir not being able to handle CBUILD, bug #794181 + local cbuild_libdir=$($(tc-getBUILD_PKG_CONFIG) --keep-system-libs --libs-only-L libxslt) + cbuild_libdir=${cbuild_libdir:2} + cbuild_libdir=${cbuild_libdir/% } + fi + if use qt5; then + if tc-is-cross-compiler; then + myconf_gn+=" moc_qt5_path=\"${EPREFIX}/${cbuild_libdir}/qt5/bin\"" + else + myconf_gn+=" moc_qt5_path=\"$(qt5_get_bindir)\"" + fi + fi + if use qt6; then + myconf_gn+=" moc_qt6_path=\"${EPREFIX}/usr/${cbuild_libdir}/qt6/libexec\"" + fi + + myconf_gn+=" use_qt=true" + myconf_gn+=" use_qt6=$(usex qt6 true false)" + else + myconf_gn+=" use_qt=false" + fi + myconf_gn+=" ozone_platform_x11=$(usex X true false)" + myconf_gn+=" ozone_platform_wayland=$(usex wayland true false)" + myconf_gn+=" ozone_platform=$(usex wayland \"wayland\" \"x11\")" + use wayland && myconf_gn+=" use_system_libffi=true" + fi + + # Results in undefined references in chrome linking, may require CFI to work + if use arm64; then + myconf_gn+=" arm_control_flow_integrity=\"none\"" + fi + + # 936673: Updater (which we don't use) depends on libsystemd + # This _should_ always be disabled if we're not building a + # "Chrome" branded browser, but obviously this is not always sufficient. + myconf_gn+=" enable_updater=false" + + local use_lto="false" + if tc-is-lto; then + use_lto="true" + fi + myconf_gn+=" use_thin_lto=${use_lto}" + myconf_gn+=" thin_lto_enable_optimizations=${use_lto}" + + # Enable official builds + myconf_gn+=" is_official_build=$(usex official true false)" + if use official; then + # Allow building against system libraries in official builds + sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \ + tools/generate_shim_headers/generate_shim_headers.py || die + # Req's LTO; TODO: not compatible with -fno-split-lto-unit + myconf_gn+=" is_cfi=false" + # Don't add symbols to build + myconf_gn+=" symbol_level=0" + fi + + if use pgo; then + myconf_gn+=" chrome_pgo_phase=${1}" + if [[ "$1" == "2" ]]; then + myconf_gn+=" pgo_data_path=\"${2}\"" + fi + else + # Disable PGO + myconf_gn+=" chrome_pgo_phase=0" + fi + + # skipping typecheck is only supported on amd64, bug #876157 + if ! use amd64; then + myconf_gn+=" devtools_skip_typecheck=false" + fi + + einfo "Configuring Chromium ..." + set -- gn gen --args="${myconf_gn} ${EXTRA_GN}" out/Release + echo "$@" + "$@" || die +} + +src_configure() { + chromium_configure $(usex pgo 1 0) +} + +chromium_compile() { + # Final link uses lots of file descriptors. + ulimit -n 2048 + + # Calling this here supports resumption via FEATURES=keepwork + python_setup + + # Don't inherit PYTHONPATH from environment, bug #789021, #812689 + local -x PYTHONPATH= + + # Build mksnapshot and pax-mark it. + if use pax-kernel; then + local x + for x in mksnapshot v8_context_snapshot_generator; do + if tc-is-cross-compiler; then + eninja -C out/Release "host/${x}" + pax-mark m "out/Release/host/${x}" + else + eninja -C out/Release "${x}" + pax-mark m "out/Release/${x}" + fi + done + fi + + # Even though ninja autodetects number of CPUs, we respect + # user's options, for debugging with -j 1 or any other reason. + eninja -C out/Release chrome chromedriver chrome_sandbox + + pax-mark m out/Release/chrome + + if ! use system-toolchain; then + QA_FLAGS_IGNORED=" + usr/lib64/chromium-browser/chrome + usr/lib64/chromium-browser/chrome-sandbox + usr/lib64/chromium-browser/chromedriver + usr/lib64/chromium-browser/chrome_crashpad_handler + usr/lib64/chromium-browser/libEGL.so + usr/lib64/chromium-browser/libGLESv2.so + usr/lib64/chromium-browser/libVkICD_mock_icd.so + usr/lib64/chromium-browser/libVkLayer_khronos_validation.so + usr/lib64/chromium-browser/libqt5_shim.so + usr/lib64/chromium-browser/libvk_swiftshader.so + usr/lib64/chromium-browser/libvulkan.so.1 + " + fi +} + +# This function is called from virtx, and must always return so that Xvfb +# session isn't left running. If we return 1, virtx will call die(). +chromium_profile() { + einfo "Profiling for PGO" + + pushd "${WORKDIR}/chromium-profiler-"* >/dev/null || return 1 + + # Remove old profdata in case profiling was interrupted. + rm -rf "${1}" || return 1 + + if ! "${EPYTHON}" ./chromium_profiler.py \ + --chrome-executable "${S}/out/Release/chrome" \ + --chromedriver-executable "${S}/out/Release/chromedriver.unstripped" \ + --add-arg no-sandbox --add-arg disable-dev-shm-usage \ + --profile-output "${1}"; then + eerror "Profiling failed" + return 1 + fi + + popd >/dev/null || return 1 +} + +src_compile() { + if use pgo; then + local profdata + + profdata="${WORKDIR}/chromium.profdata" + + if [[ ! -e "${WORKDIR}/.pgo-profiled" ]]; then + chromium_compile + virtx chromium_profile "$profdata" + + touch "${WORKDIR}/.pgo-profiled" || die + fi + + if [[ ! -e "${WORKDIR}/.pgo-phase-2-configured" ]]; then + # Remove phase 1 output + rm -r out/Release || die + + chromium_configure 2 "$profdata" + + touch "${WORKDIR}/.pgo-phase-2-configured" || die + fi + + if [[ ! -e "${WORKDIR}/.pgo-phase-2-compiled" ]]; then + chromium_compile + touch "${WORKDIR}/.pgo-phase-2-compiled" || die + fi + else + chromium_compile + fi + + mv out/Release/chromedriver{.unstripped,} || die + + rm -f out/Release/locales/*.pak.info || die + + # Build manpage; bug #684550 + sed -e 's|@@PACKAGE@@|chromium-browser|g; + s|@@MENUNAME@@|Chromium|g;' \ + chrome/app/resources/manpage.1.in > \ + out/Release/chromium-browser.1 || die + + # Build desktop file; bug #706786 + sed -e 's|@@MENUNAME@@|Chromium|g; + s|@@USR_BIN_SYMLINK_NAME@@|chromium-browser|g; + s|@@PACKAGE@@|chromium-browser|g; + s|\(^Exec=\)/usr/bin/|\1|g;' \ + chrome/installer/linux/common/desktop.template > \ + out/Release/chromium-browser-chromium.desktop || die + + # Build vk_swiftshader_icd.json; bug #827861 + sed -e 's|${ICD_LIBRARY_PATH}|./libvk_swiftshader.so|g' \ + third_party/swiftshader/src/Vulkan/vk_swiftshader_icd.json.tmpl > \ + out/Release/vk_swiftshader_icd.json || die +} + +src_install() { + local CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser" + exeinto "${CHROMIUM_HOME}" + doexe out/Release/chrome + + newexe out/Release/chrome_sandbox chrome-sandbox + fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox" + + doexe out/Release/chromedriver + doexe out/Release/chrome_crashpad_handler + + ozone_auto_session () { + use X && use wayland && ! use headless && echo true || echo false + } + local sedargs=( -e + "s:/usr/lib/:/usr/$(get_libdir)/:g; + s:@@OZONE_AUTO_SESSION@@:$(ozone_auto_session):g" + ) + sed "${sedargs[@]}" "${FILESDIR}/chromium-launcher-r7.sh" > chromium-launcher.sh || die + doexe chromium-launcher.sh + + # It is important that we name the target "chromium-browser", + # xdg-utils expect it; bug #355517. + dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium-browser + # keep the old symlink around for consistency + dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium + + dosym "${CHROMIUM_HOME}/chromedriver" /usr/bin/chromedriver + + # Allow users to override command-line options, bug #357629. + insinto /etc/chromium + newins "${FILESDIR}/chromium.default" "default" + + pushd out/Release/locales > /dev/null || die + chromium_remove_language_paks + popd + + insinto "${CHROMIUM_HOME}" + doins out/Release/*.bin + doins out/Release/*.pak + + if use bindist; then + # We built libffmpeg as a component library, but we can't distribute it + # with proprietary codec support. Remove it and make a symlink to the requested + # system library. + rm -f out/Release/libffmpeg.so \ + || die "Failed to remove bundled libffmpeg.so (with proprietary codecs)" + # symlink the libffmpeg.so from either ffmpeg-chromium or ffmpeg[chromium]. + einfo "Creating symlink to libffmpeg.so from $(usex ffmpeg-chromium ffmpeg-chromium ffmpeg[chromium])..." + dosym ../chromium/libffmpeg.so$(usex ffmpeg-chromium .${PV%%\.*} "") \ + /usr/$(get_libdir)/chromium-browser/libffmpeg.so + fi + + ( + shopt -s nullglob + local files=(out/Release/*.so out/Release/*.so.[0-9]) + [[ ${#files[@]} -gt 0 ]] && doins "${files[@]}" + ) + + # Install bundled xdg-utils, avoids installing X11 libraries with USE="-X wayland" + doins out/Release/xdg-{settings,mime} + + if ! use system-icu && ! use headless; then + doins out/Release/icudtl.dat + fi + + doins -r out/Release/locales + doins -r out/Release/MEIPreload + + # Install vk_swiftshader_icd.json; bug #827861 + doins out/Release/vk_swiftshader_icd.json + + if [[ -d out/Release/swiftshader ]]; then + insinto "${CHROMIUM_HOME}/swiftshader" + doins out/Release/swiftshader/*.so + fi + + # Install icons + local branding size + for size in 16 24 32 48 64 128 256 ; do + case ${size} in + 16|32) branding="chrome/app/theme/default_100_percent/chromium" ;; + *) branding="chrome/app/theme/chromium" ;; + esac + newicon -s ${size} "${branding}/product_logo_${size}.png" \ + chromium-browser.png + done + + # Install desktop entry + domenu out/Release/chromium-browser-chromium.desktop + + # Install GNOME default application entry (bug #303100). + insinto /usr/share/gnome-control-center/default-apps + newins "${FILESDIR}"/chromium-browser.xml chromium-browser.xml + + # Install manpage; bug #684550 + doman out/Release/chromium-browser.1 + dosym chromium-browser.1 /usr/share/man/man1/chromium.1 + + readme.gentoo_create_doc +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + readme.gentoo_print_elog + + if ! use headless; then + if use vaapi; then + elog "VA-API is disabled by default at runtime. You have to enable it" + elog "by adding --enable-features=VaapiVideoDecoder to CHROMIUM_FLAGS" + elog "in /etc/chromium/default." + fi + if use screencast; then + elog "Screencast is disabled by default at runtime. Either enable it" + elog "by navigating to chrome://flags/#enable-webrtc-pipewire-capturer" + elog "inside Chromium or add --enable-features=WebRTCPipeWireCapturer" + elog "to CHROMIUM_FLAGS in /etc/chromium/default." + fi + if use gtk4; then + elog "Chromium prefers GTK3 over GTK4 at runtime. To override this" + elog "behavior you need to pass --gtk-version=4, e.g. by adding it" + elog "to CHROMIUM_FLAGS in /etc/chromium/default." + fi + if use qt5 && use qt6; then + elog "Chromium automatically selects Qt5 or Qt6 based on your desktop" + elog "environment. To override you need to pass --qt-version=5 or" + elog "--qt-version=6, e.g. by adding it to CHROMIUM_FLAGS in" + elog "/etc/chromium/default." + fi + fi + + if systemd_is_booted && ! [[ -f "/etc/machine-id" ]]; then + ewarn "The lack of an '/etc/machine-id' file on this system booted with systemd" + ewarn "indicates that the Gentoo handbook was not followed to completion." + ewarn "" + ewarn "Chromium is known to behave unpredictably with this system configuration;" + ewarn "please complete the configuration of this system before logging any bugs." + fi +} diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest index 6a1c33fb1686..5de398afb01a 100644 --- a/www-client/firefox/Manifest +++ b/www-client/firefox/Manifest @@ -208,6 +208,106 @@ DIST firefox-115.14.0esr-xh.xpi 414958 BLAKE2B 1af9337e005c4e0f41417b5ef8531b538 DIST firefox-115.14.0esr-zh-CN.xpi 657110 BLAKE2B f47b3c47f1cf85113d54ae55ee271d5630aedfdf8ead93a642a183a8c2c3be6a1bfba773041f4bd85196bc0accf86c43933863719e9dbd8cb010692fef9da197 SHA512 c6d950a9f7b47a4e354ace74f3029fd81c2eb22a9fb164fe8516faf3c1d3151881580273c29a6fb3bbdab3ba440eb78a6087e5e7ceae26fc230156def218529f DIST firefox-115.14.0esr-zh-TW.xpi 659310 BLAKE2B 2f552df1a66f7c4f05e598c55d977058fb625aa256f3e252e69a3511a34dcb294737a5ae44f5cb836e595581aa6886e5a37488fdb9cd78915eb152fdc40e9092 SHA512 263a0bf61992005d76570f13c3472fc7ea7d04dfcb3b5dc468577c6be6d95045d7d0ac743fe636650e3dcd056063ed9cd6e25983d8fd8f5078fa68c774d8dde1 DIST firefox-115.14.0esr.source.tar.xz 507310580 BLAKE2B ffca6b7dce6ae6a470c9d5506b4236077b2151732bff811aa0bf0367be80aec5ea4918ee5dcd611b0e19a025156def3e9524a4f5d741343e9fda5a2e693e15fa SHA512 dd40c1fd3cf454dbf33a85d38e47bb0e736ed89b829643653e239f43232441f4e9f3c7876f058ff2e6f19daf2b50a8f2d13274e9a107d8a258a6067d1fc43f54 +DIST firefox-115.15.0esr-ach.xpi 459032 BLAKE2B 13e159c7270e5a220054444107568fd1f91e13abbc16ba00f2bf6acdddf5b8cf138fea437f2f115a2fd47bfdb5b4b461e8d69b0055402f2a2246afd15da165ec SHA512 2dfbd17fe8069ccbcb79bfe4d777cefd99d170aa692776373f3d89d79d97369df04158f338c4dcd1811c87432b10d2d89ab2854840ee4585008e7931ed4090c1 +DIST firefox-115.15.0esr-af.xpi 415184 BLAKE2B 6a6b02bdaed92601de9b04f45fd8b375dcf30719d4a911f03cb56bb75d7a1ee63f8e96955bbd3c24a8c28ee3f67fe138225cd229a7f393888fb4d314d8a7c0d9 SHA512 fcf0974406aadaa7ac26415071c19f413a4cc8617f8db9812ba72d18493e4165f1071918067054b6c8f9bb16709884d1711c964adf6ce8586e7568e074043325 +DIST firefox-115.15.0esr-an.xpi 499567 BLAKE2B bd5f21f0b62d3f27eb9515c90f10ff2455c410661ff7d0cad205dc5fe85bd5ad57a02661e18fab4e843f7021ccb1a1e3e14916eea752ce3445f6d9996ff1fa04 SHA512 239c2a53a27250c28a9719088f166c1d5f265d096bba37f63cada8ad60b33a9aa41fecb57c68b2b6c0805c8d1cdde4dc07babf43f116cd1a0ec0c4eb68b4d3fa +DIST firefox-115.15.0esr-ar.xpi 606286 BLAKE2B 6efb4de8944e9fbcc38917534d6c5cb7d730d16fa0ff4d02d0fc97e2e7dbd21bfc8b3f87450bc393b181feba4e35dab2f928594ee95efe813760597092c07ae0 SHA512 3294354361ae59ecf9bbc668e6e10dfa9d0c1d37579e271341cce02017a9c8fd6a864fa2f0208382719199049537f7b05d6aefe9a71ef952edef15e96b632528 +DIST firefox-115.15.0esr-ast.xpi 491345 BLAKE2B d122be5c30720e63f3e1b304f0e2d439783478353d4a7a02a7f2678a4740eb860467a90c4cb8be92cf644308af0abb3115bb86deec82e5139f37ec03d2f8b5a9 SHA512 d352c7a25bd428a02f6909a3cdab24131ababd12b6e8d0697c2c838b86919123f6e70b4056e7eeed70fe84c5bd604546c86110dd47cb08abebc0a0d198b18b44 +DIST firefox-115.15.0esr-az.xpi 486087 BLAKE2B 4e8970966673b49e81ed8316c1b605a73c6981f0047dfbf252129877c607ab21a57d1e020416e84b5a2dad7063416d3b49d948b9206b09dc87cccbf486714199 SHA512 d4c7ba927cf036e90f6dd5b420a8e1245fa9508c8ad82df438c10b334f13ade77a1b0ff7350b6b0504af0a8a6af5a3b8e141974f20f7a20695026f7c2e57e22e +DIST firefox-115.15.0esr-be.xpi 715649 BLAKE2B 8d88effde67725519870d237865de84a5cd282895e949f68e261068f88e16c8d4c87514df09a7d573bcd5ca7dc896a44e8a824e8924d85c514b37b9f38ca3fa0 SHA512 5fa6e1bd429d6d430fe3feeb79a19c1f60257677f9a1036a31deaa772ddb70b5d09d23d6b88257dcdd68f27c685cfd5741fd252b2e5c13f05073604571a00747 +DIST firefox-115.15.0esr-bg.xpi 600392 BLAKE2B 15c6a5ea2b953a6d2e06754422e773d07177ed6ed9f3985bec6bcb9f40885054b423e50d1bc1371b63f120d5fa6c644cbdf2e32c38c150d6dd1aa67a61c26b24 SHA512 a0de80f4cef8f3b8ae19b5ea47e17433e81b6910ea537bccecbfe18c521c1df0f1ccd4e0cf0fd2c533e0013ac989d9e31e90d7ed7fbabbe22c9c56e20b9fc996 +DIST firefox-115.15.0esr-bn.xpi 576362 BLAKE2B a70a8daf6e486ce2b32b3c00d307dc93ce92c511abfe9088b1124fb9a0f99ad22923a188fc357264c3c2d8bc4ae01cf1e6a7966020a565b2469be41eea09c17a SHA512 3e8770a8bdaca4d12f1534f5436eef77f191aa1275c236c49732f76f4e39e5753ceadbeef25a2658d34446301948469939236bcb10ce59e89ae6ebf104d12174 +DIST firefox-115.15.0esr-br.xpi 585005 BLAKE2B df78592aa869ecba8831a5d323f33a039ab07b6cbc656ca73aa27d00045cb7c8fe82ad23e82e6203d50c2c0f3d413b56dc9d58c2d206ffd9db4a55f9c8eb4c5f SHA512 041b6abec3800a133f99283088569a70beb52daaa31a94912729e44164f6e97089aad5fb9db3f514e5383eb8c6c2e26e2ad39e3024cf9112c68f856f6ad4fcec +DIST firefox-115.15.0esr-bs.xpi 496786 BLAKE2B 523391d255436a8c804a6deb51be0247d2e40cd661f8e4781c90dccaa656020de25588ac943113509e0667f5757687ae05f719c66b104f0d824dc328bdb2d382 SHA512 12b02b42e016b7358af0e7ea21f1ee726d92d072368480d7f425bcdc1adc96e18cdfb350386abd4da2cf7492cc0ab21eb5ff21811d262b4b952ada585fdf3934 +DIST firefox-115.15.0esr-ca-valencia.xpi 539254 BLAKE2B cac2338038d1e7cf25002af7c40eba556ef0c4ca7b7107581974828f2aaf5c2d5bd3230d00daa36586ae831f5b8217d4e75c2aa163e91740f04242c6201e13b6 SHA512 db509d27b7f83f135043afcd1c08f6a5af748a4819c71086e061d357d0116b148ae42de7db8b2060c3e213686a7e18cee11d4d9cfcd601143f8fa07cfcc69a4c +DIST firefox-115.15.0esr-ca.xpi 591046 BLAKE2B cbd35d4419d2b50dda8a4baa5e3abb852e81681d96ed74ae974c20809c2353ac17f88b3662800ff9328188abafafcdd6aa39e9bd41b579cf296d1ae9bfba811b SHA512 8c634dcaece23fdd5db497f5bf9c52afaa34928323d01df8421acb01685f1e1bc845e4f293133cbd3de6cb07697e341d387b7e25c6e04cff34e3e36ed738cda6 +DIST firefox-115.15.0esr-cak.xpi 586723 BLAKE2B 5102347faad6a52de90c457310fa9277ad403ae56f0e23f2e89d1fc32f315bfbaae0baf9d0f1290f930ffda28c0d4acaf14ca04ff13f3af5c4fe1e3cbf272089 SHA512 0cdaeaf8e54b82eb42f300a60609a787a470f2f2205e912fdecd76dbad8e8150c4b95435591db8f528c7bfbfbf238216685ab007d37409ee78a4d9574de24823 +DIST firefox-115.15.0esr-cs.xpi 659583 BLAKE2B ceca94afd0dda46148ecfdee17ef37e8a6dfb50ea133319b835c3f09bea3b2c6c4fa9747df31371d0f7ecc7749e4f89508ead5291e763de761a39c7b08940cea SHA512 569b69f8544596bcf1edd503eb35d5d86d2679c1b43b883a2d2ed2f489505610b27f0f825839a9f956dded11ba036cdcc566388120cdb6c3a3acbb0b3ffec2ad +DIST firefox-115.15.0esr-cy.xpi 622581 BLAKE2B a475ff2b9d7c2661edad4434d9a7d54c684b0be2800609decab9ed1da344abe627132bba450fccc3feb0865959333fbdc2c8162ecd97d1c5fa4c203881ae86d1 SHA512 05072d816323c4618a913ec75d34f4250e1ec01ebe74651abbf8db40e2518ed4b87c8db3b8955ed05c8d95b8280ccd0bbfa7c3435940c105a938bcad581a095a +DIST firefox-115.15.0esr-da.xpi 611176 BLAKE2B 0b688f6dc7fe68bc427594711f6deee99e6340908eed43cf010849aaab8f63d8e5837506885b5cf63fa472853523ffd60d215193d9954af037aaee8806ed8421 SHA512 6414dc38090b94d146577069a46e1e50dee7cdf9ddbc0f3ffa7dd17e7ce4bb29454456335b16018ad1824c404c4373952fd79fe7c83dd1c90cc7f86696905302 +DIST firefox-115.15.0esr-de.xpi 632366 BLAKE2B 4c62439e65195152ada44ac7bf37d7a6a294d262f6e2e0b389355e0e7c16fa435361e1974734a2fb082bc0df9ed827c795c9c98657164385ab0f9d10b828f637 SHA512 fdbcac24c9039d54eae64f1d2e7a2ca935a6f38ac850b542da81c556d56cd3581adb0e750b688af3d02e9b4fd37a449959b1379fe6b44b53ef9952bac4bf0d7b +DIST firefox-115.15.0esr-dsb.xpi 651468 BLAKE2B 21415a574071e180a2070484b1265f8e99979ac6be38ef8c52d7a116030c483be258b7461bafaf11a500b89dc4a61e80bf896b205cc965cb0df7a37908c0d8e2 SHA512 a82e2071c292c0eca7d6fc31846024c1818c5455b6ec943b5b2af02d38e47514032d41fc5b47b9c4d7fe3a7300521594c1892598c64768e24e0c727deb79106f +DIST firefox-115.15.0esr-el.xpi 734619 BLAKE2B d67b2ddf4925a02309322efd492e9c3a8275b381af54bb086c53ee6ba1393746bb6dd841ed46c098dcc785c153f32bace49b65a707ca512fec47deb8ee1fb3fc SHA512 56e9372ac8b197b09cc52ba4b3d9648ef883e3b1e3eb8f9af6350ab54e35a0cc24acde5cc9b86e8aced3504dbd1f20eab8c7ddbe66472a3561faf921a44d21ec +DIST firefox-115.15.0esr-en-CA.xpi 584134 BLAKE2B bccf63a2abf8cb870fe3ece525d147875cb7a1d6ab558588a0e1ae3dadfacc73ae08f2f72505b5843667b01d6d50938a171e2581671f214177608fefefccab0a SHA512 1329e72c56b9682dcbcfa22b792721e73bd0b7a81c03707d22e46d60d4ffedf89ce476684c755f31e41a02ff9d33934e0b65b3f8e83ed034fa55ff0c949f80a9 +DIST firefox-115.15.0esr-en-GB.xpi 585201 BLAKE2B 34b84adbb89734c2a885a425eda97ca7cf76a9ca92a8918b92a737bad5b62d6f2569327c2e0e514eccbac9fc76d429561834240be6bf990adaf443b19c77f35a SHA512 a7d22b9eadec2db2031caf88ee2f7e7d2ad345201abaa5a1258123a933a03ddf8a7eaea264c193d5d35257a73692ccc94a42302eec7197d9ddf8b61b614a0a15 +DIST firefox-115.15.0esr-eo.xpi 613407 BLAKE2B be8a680854b28c13a06da259d37a2d42d86b60fa57f4e34a8e7a635e0e58aef8776fac40499ec11cb9355fb22dda206b391ea960d52d00975c399aa332585abd SHA512 2c41e17c7e92c0f199d3060895e5229c7a56fa9e124fd1ae3ebf1f9ebf520c236deaa326c55660a5a2af2214f7a844e7e71ea8389d1a8e27d813d5c76c5aceb2 +DIST firefox-115.15.0esr-es-AR.xpi 628385 BLAKE2B c0c72aff83e26d4e7692b82907bc489b85247af6a7904c7ed4b24adc2d6914db3e0760574e1d36665a3abb7d3e6521b5844a22bb19dbf3cead9b89f55ade0c76 SHA512 66e342aea251e5a0db36859254079b9924f6dd1471c10c79de7934761b9659bae0c1a46c018d9dce41d6dcb8f9bacced265bd08d04eb07db565111dd7e248652 +DIST firefox-115.15.0esr-es-CL.xpi 627698 BLAKE2B ea4fe1370700c812cfdd7d5098477a125fbde4e04ce5321907e0724257d0056cbe4993fb5253d78396448257d1a5e759ed0a3f4cf79f864ea329961396526ec8 SHA512 6454a73cc45de6ca891c42c11caca2ba961b18f0b1a521f2f0b35c2c9e102c62ae53996f8aca59feda0bb80b12f42d5df917e8b08942c4822853af6b4c54287c +DIST firefox-115.15.0esr-es-ES.xpi 621481 BLAKE2B 7cee3a0980a8fb4c8f439c16935eb465792d3b6171305354bd5f526547e597dc5ecd95e3b25d6b906f81aae8a29b8cd22e3888994b2e51c3507270a3b2fe8ce0 SHA512 54b9db8ffa66a2ce2810ce6d2a93d8ea8b21bdc418e802f66ad4e3e4359fabd89b62bbbeb6dbbbbac89526e051d329453900b0da5def7d881fc444053006457f +DIST firefox-115.15.0esr-es-MX.xpi 597929 BLAKE2B e464dc013dee0e9774d9bf9e206312d1f0b050bb83409e34bd498fd79e0314081a111c5da46b0674a98300372c197cad70d6a4993291e10d911cc1ec29d1f836 SHA512 3d5c3781f224735303e253885ebcf0821b3bf3a59794eb019f9b611af11f8632ded45843a6e8dd66631619e23db1895b45f051166ae42101c6ea6004cb1d19ea +DIST firefox-115.15.0esr-et.xpi 533023 BLAKE2B 18abe9f4a96bf37d17d6274b658890aaa24193a34d0ca2d9b17e81059b6cafa34f72680cd45477d46f3a5aaa3b20c84394e755c9668d8e716381460a83610823 SHA512 f3353090f7e4eb43cf4de7c83c562f501acb92be643e4631053243bfaf8d52945ed9a2cf313a9218b31f1d1c86e62ac2f6be0828009dffb004064269541fc5f2 +DIST firefox-115.15.0esr-eu.xpi 594650 BLAKE2B 5b6ebbb75cb6b297c5d469010f0f4bab7a18bb2dc96c0893535ea4737d98552a59e1b585cdf071749c1d9b4b282e0d9214fe9729a6f1d17e18060faf4952fd16 SHA512 6824bc9601da77016e8df2350c932dfafaf45949a1aaef9517e2e61df0f714ad75a2b84640c5b47803cd39e16dedda5cba0edfd01318ee51204ba1b7fc8fa825 +DIST firefox-115.15.0esr-fa.xpi 584362 BLAKE2B 22f30ddc9a4e0603b6081724d4eb5841b6089be5244ef3ecd22e1b9f36a31bbb08479dac88876ec5bafc32196041e75b641074551f07ab9e5f5e665000066643 SHA512 f53fa0ff18a4251f32fbddb5b518d87378f47398dddbb43ada7aed105ca41a8b76b35ef99e56d76ce4692b0b2ef4db89207ee0f2d69dd6b611d0fb9de4ba160c +DIST firefox-115.15.0esr-ff.xpi 471727 BLAKE2B faa9b69ddd9288255dfb37f0478ab586461941e7815522c24a22721b5231437e81f120b0cc5d8e5507202366e477372c104af41df95235b2bf295599bf6461df SHA512 04014b752a72c00562b1a3c84c78afb9f432d179e0ea64fc6bb2d3d014398ac9ca3f1c8fafec88a68f866e4dee8d367d238b8d7a0cee9f68cae2dc77600d792b +DIST firefox-115.15.0esr-fi.xpi 604629 BLAKE2B 8eff22d2ce866b2fdba1e36db28e100e6bea35cb3f193fc9f35072da50864674f8035984e272c5e67c3778e8acc89b6ba932fd7aef77c5e6a37f6003cb40879b SHA512 999ad990795f496333e59c06e7a6358336cfbd32bd2b484896690a90a44e3ff5484dea392d8224b7eb941a2f2740014038da231131c4cc4807eee04702f5982f +DIST firefox-115.15.0esr-fr.xpi 640836 BLAKE2B d4cb841f4c7215f63fee694cc946e6e9a97f8b062b6c1ce594402d021001e070d084344e7f139b75f8cedfda5deb08a5aef6767bd1d4bbb5dcd61d2ab292a59e SHA512 3baaa8345b7475e257a383f93c661f9e4ba4196e337ccfa26993a016c47e1018e3ab0ae41f6ac007c8e1e066b75d7ee84e5d0932b9dae7a29dcf9a882582cacf +DIST firefox-115.15.0esr-fur.xpi 634495 BLAKE2B b90c96827a4761d49e7dc78b6b4d288b59c77ff4eba92055edf93283c230ee95aab821fee4a7b4b8a2a379223e4a968b5d6f0122f3bbc7cb0d1b0284fd650bed SHA512 6944f57a842d683acffbbb21b23240a2f61fcce61d1081c6192cb175d50882c639dc70ca13040a2cad92909b18cb4b89d61d76e7f8368258dc305d02b7eb57b2 +DIST firefox-115.15.0esr-fy-NL.xpi 624085 BLAKE2B 485e980142784898340b00a4ef66dcb0951d90c2e169c4bcf35973b596a8b7a158aab9594b102364c448a62d1113ea70c94d5c3555908e3b351eb3a36546c3fb SHA512 d5cfcc02ac0e1ab9b0a53f9d982699e2f0824424cc9ac788cd051a8b99019a200e99a772e59b22efb5060ffc6528adde707822c8b8177661eb55415075e8b153 +DIST firefox-115.15.0esr-ga-IE.xpi 467645 BLAKE2B ba664e34687ad47cb3559f9acf2ff04dcb9e27c2d6c7ee98bc643a6acec0272148963dfcddbfce3a448fca5f7b247dc3ed9a38034d8fcdbf59aa343c03fcc6e6 SHA512 4f619ec5e10ad703e4ee588c5fbcc31bc8bf2db3f3b5fedf4c5d7564d26dc03258a6bca5e1bfdd278c553de4e71908849ef0353eab2f54d6687f5b90d0809bce +DIST firefox-115.15.0esr-gd.xpi 589971 BLAKE2B 9647b6a16f7265c6abcf637e94b5b123d395359821e18becadce6b5f7f5ddffaf8c55203036c5867394016a4cad1472b7de8b23308a1359f9577e62f5fedcd4d SHA512 69f87f54034d5c0f9f2426646640dd256f3f247844d475e556832ea3ef4b262643c73c332bd10d17203c8c5664aa6138d1977633d7d7630664f99160a922b087 +DIST firefox-115.15.0esr-gl.xpi 599983 BLAKE2B dce7bbe068b9d38a94eea85b740d7ccc1e0ba1538b48b2a6e8e8cdcf0fc5b51d30df4a6aba816a17319c8e54d092521f8e4bb51136cb7e3362cb776d7f5e2922 SHA512 f2d82b7793025b716088b7136cecdd2defe0c6d2d2917a28bef9906498b0b67334832da44bf5ba53b2ae36daa4ed31da891c6d0af97d8e7ac759afc4d8eab426 +DIST firefox-115.15.0esr-gn.xpi 637897 BLAKE2B 6b31a8777b61374a1450999f7c9340aaf32dcbbe9c1d30a0edfe697acea067bf341e994f3b20a999bbc811d8014c4a9ea7fceefae3792f2ee7c8e3adfab18000 SHA512 095c6b0d4263aebbfe807e9673a38b9e6ce156a94ece2d3a5df6b6499c58dca330c473c74fa5b579933bab25a97786922fecfb44bb0e663ec04494b60d0dac51 +DIST firefox-115.15.0esr-gu-IN.xpi 523385 BLAKE2B 60db6daf819def79516795c658cab7ec3fcb2606f564d604f591526689a6c68aab5f8ba461a728c0fd897a9e9db84334ea0b0f8ab798a256943a37c694af845e SHA512 1b473084986976fdb38621be58eebcfd3dda968b3cbe0954a0ce4a39072353eab3d8a8849ef4b44670c31fb123b2e0467335c09f0ea8d01b4d240fa6eb710891 +DIST firefox-115.15.0esr-he.xpi 629098 BLAKE2B 288312dd1492a5ea47ece438608e551ddc6fd82c2940255dbdb51296650326da2ab5fe0e5471be1a99a25bef138665b6324f47f3f1e759ff35ca407ce48d9814 SHA512 f9d2000b6f2dd94436529403e5ec263c0e15ccbcf203a561798f127cb92a09ebacf66976b22ee5d0e2f6cb1022ba35b0b7d05836947b1100a7766147b2f4a63f +DIST firefox-115.15.0esr-hi-IN.xpi 561258 BLAKE2B f7be2296af26cf47b6c5dd6237251394685df9ccb5b7c1a493792b8d02049dab3b6526ab2c7427f6d6272d6baaf5d2bc6eaa9c359c2709ae5c9e48fad8eecd36 SHA512 0413323503fd8b09fdadf51c81973ad58c6a3ed0169ba20f521be2f02e3a24bcf48315711a4f60166f30c927de515eb660603dadf7e7500436a4b835e2225e91 +DIST firefox-115.15.0esr-hr.xpi 554546 BLAKE2B 334a747409c184e1d1270417f04c18657c48a97eff4ed3c26f213f3783b2e72f97aab6f600327c179da4feb8ef68bdd7bf8bccdd4675246e38aaeeef2eac5eea SHA512 b9e75a8005d4bd5f5d91af647bc46d4f910a70d83c7b03a83f1b5c94ac7918ad85d568f048fc53db5c2b402644c269f6427ed014d9b835fa0243ad24d8c97d86 +DIST firefox-115.15.0esr-hsb.xpi 647509 BLAKE2B 88f530c52e9bf0648cb91b6e3ef1585b839c5fd9782b0445fb0f557167ddbac72121c6ff1d3b043dfd02080b30ee29e7f55b9bd19ffed985e843b243fc89c5b2 SHA512 2aaf10dd94aab86725153024558e83c043c5413fc2ced708e30c8a0a8823fe56b9a862802695b626a3d4a4265dd759e6291e2abe9aca2d89fc83b9a461d70040 +DIST firefox-115.15.0esr-hu.xpi 649863 BLAKE2B 00785799173237656cfeaea8c747c2a3b506f2c2a657073d4eb7da682fc084b2ea8b12cf5f833fbcddc0f4a7c815712128d8858acfec31dd1d218725eb96ef07 SHA512 1e243c6e466d2c68c253006382105c0bebe53b57a1904ce81b0d51b7be5f4b8c388ac7c44932de8f702cae61096361b61c5853dcaa5dc587ebb98d4938d83213 +DIST firefox-115.15.0esr-hy-AM.xpi 647653 BLAKE2B 5eef383a89734b582751d1a690cc1828263d83f0bf3f517204362ead6c30dd5a2f2cbe7bfbd072d70e2be7d9da5d01e1beee76ccad23c46740427ac9f78741dc SHA512 4384dba6db54fc6d03cdaf91b81484cd09a0feeac7f770f85c6df23990493a47608f355640203b22d24731f046e9e7f82a037f7ba3a11a0e873b1fa5ffc4a3c7 +DIST firefox-115.15.0esr-ia.xpi 610846 BLAKE2B 7d3bfa4c9c9365fe8b55f2e958a960ce85351487122d7892e2ed0fdbd3f1bd082274f47f7d92db1437101baae2eca38c8533a1627ca6d669ddb19c39b96959e1 SHA512 5aacbf68d32b127c605461c0e9d5846e7ada85d6232eb91822b0814ebc2141c6d55c5d250d8968a5bc7620fb18e9d5eacd2e278908d17a47e34f4cb0d8145f4e +DIST firefox-115.15.0esr-id.xpi 573434 BLAKE2B 0625ff93599c33ab92bd7bbdfde4d92de3e4c5f0d82b3fa12a75a5c820913b9457312ae416fc3fd30ad10c491ac8d202bebaf414dd04756f8efe64cb91bb931a SHA512 18b0660cdf8662229be776bd61c906cc747f143e83a2b713c9364463e066ce718b995d3bdef9bdc212de5b9e277dcd1bf8c5506c6493448faac8667d7de4435c +DIST firefox-115.15.0esr-is.xpi 611651 BLAKE2B 281f87160d7a72f85ca9ae14b559b634327c9027e40385416a9755d20dcded9ecb26f5fd8d2248af6768bc7c50ddd372f32811f46d4aaff96db3a1c2c6cef3ff SHA512 ae9392dcbb734c2b8ee17a1de03cefb717e236210bdbe0bee299c533df9722cf6b99d1b3bcd0a94743707ab1f5989d4de96e1257d63ee939e20911b50ac1050c +DIST firefox-115.15.0esr-it.xpi 567120 BLAKE2B 58d1d1a0800280a31fdf3b281bce50f38de4525abc378e1aa47d7b913b1fb6207b12c33faad9d89e125637f547a8abc8ac61aa0274364b6fdeec8ed2b60a476b SHA512 4eaecc1c35a58d4b9ef7573c14e8ec23180ad3edc3d2fb8f032f679cdd8d24a2da22a014d12407555e857cc61b66b7bad72cdd2740ab681d8c554be892d4b02a +DIST firefox-115.15.0esr-ja.xpi 676031 BLAKE2B 2776bb279f1091f337d9500971022e0912b5d606c719b5fba1419662c4b92a7a1e59e1bb3d7f80a94ea42f8655d6ce8b695aaf0103c7f4e39518ec72c3e0bb35 SHA512 982b9c727654b364fb744d9f6d993fafb2407f434e0f43a2d1a067885bd4b803e32c1e8a3c72f3e2c05289a0916a5fbcbd7b377d3e04f5c6e67274f93de0798c +DIST firefox-115.15.0esr-ka.xpi 657991 BLAKE2B 53c0cf206d77ea7aa9157a85c50a7657fbe56881e6b20b63193a0f8599273d06e0f6fae4c135b00b9b3ccf3c316fd1d36bcbdb3e5659d0263055d6c218273d90 SHA512 f7f12bc6ac222b78a8606452e1eefe65e2bf77739a6d0b2a6c382d565d68a227881921dc059e568d395120e0e09d419e148056ab3e4090227c20e35b55943409 +DIST firefox-115.15.0esr-kab.xpi 604028 BLAKE2B 6ecad3b0cb351d8c4da3b65ede52f951edb4cfb3167a6e2c24b8baef2900379c03e929b4a312688e4b6646dbbed5ea4d885528ffde131eb509bdc1bc74798793 SHA512 ca42cc9601f6df4f6d8c617372b5b37d2f0c4b8c33f72409b3bc09ccbcd97144ce0eb7c50c4306b64dabe85f6256ffe2c4aa8544e1dcb1ca057e112ac83607af +DIST firefox-115.15.0esr-kk.xpi 709054 BLAKE2B 90bd32cc90d3ed321deb2a8acf79f7fb6ed2072d83716854360e4cab838b90720b3a0ea66aac071d1a3927bb677f7e7ef1bd72f332f80dba17eee5538b836625 SHA512 078b79b3229e3241f24f99a30064b2ccac5f8b0f148dab25f748cdc37fe30ac3a1dd5f578f75147457f3bc18932453ddc4e6b19d40da4bd860de848a293c195b +DIST firefox-115.15.0esr-km.xpi 522330 BLAKE2B 438be3000bd425f081184c998f1c50460aa8e99bf1d8e63a7dd0b22cae39cb4227dffcf85a529f4c586d783cdeef01be139e988b44cc3a29899915aa0198a3ad SHA512 5d889e572b22cc247ae418726ad702d184069a4afa0c59e3653ae243fb89ea489c399b83bcefc9e64ae9c079eb53262e3006984f8a16c224034f3526e1afd368 +DIST firefox-115.15.0esr-kn.xpi 488198 BLAKE2B 3d2704129a3a340bd2fc64018e7984a0a170892f98fb607da22e3680ad016c31f30044e40950ca6f70e86df254ff8c935996fdfce5f2bb5376e22d63eaf7cc19 SHA512 4808474f149d24e13fd8a5bca292087488948ed03d902a39f41fb71205781d1afa10143b80e42e4906dd260084be80349b3a45fe0fe97d463f4c90e623246537 +DIST firefox-115.15.0esr-ko.xpi 662480 BLAKE2B 96b8326b941f134d7bf0ab1a13aa8544f9e3e98ddbb661d04749d34613b3fdcbdd32bbe8157536f796b4fc68dd820d0677db8f77adff151d31cc7fbe4e60d22a SHA512 67376a7067c21c6b331332f2874ab1260643d1c9182410ee4068606bfee714a2f31010d7c7d14bcb7cabd218656cc274d31530d6fd3f0e3123175849e6754de7 +DIST firefox-115.15.0esr-lij.xpi 479126 BLAKE2B ade5a5adf13b7d6e3082bb667680a7845f5859c8e2c6a915002172af46ef3be3b3193107dddfd72cab6fa6798234e0a781e2ff50829ce5958152427754cf9c4a SHA512 e38985f36eb8fc7ff92dfbe923da8ecdf260dae60a568c5df4c1bd43055a670a323fe9d735cff61bc6288b820acfc0f4c74fbaf2365dd04a473d36a0ac942a8c +DIST firefox-115.15.0esr-lt.xpi 566224 BLAKE2B 90fa117a8e4a32d6a467846babc5ce4417706b385b0b3a8d6aabca391acbe0630ef8b2ba268b1271d80b17256c8b8720916a15ab678430a2baa1d6f33adef750 SHA512 821f4ce96289d2eb9c83bcc69cb665047c4c9f85e02490245569d51cbb243739057fb1f0b174299f2730ed843776375f939cf2473f45b07a3c0aadd154293281 +DIST firefox-115.15.0esr-lv.xpi 568810 BLAKE2B fd3d1117bd90141a4b9bb8c7384d687971ace2fe81df02c41014a09fd2853d7029320defb2dd32ae2a1343de7dae760200e2133224afa472a743d0d4448f9001 SHA512 82a6f43723e36f0fde0d633b3693bef268e702cd782a96e0bde541cd940fa795fe0fdf0643f19fe53ead15a790fe243c5ed6a588813ecbee4c6aa23c848488c7 +DIST firefox-115.15.0esr-mk.xpi 490535 BLAKE2B 3a09bfa3217466aacd3462fa9229deac0732c65c684a856e6bc5f51955db8c92911db33006d318bc15171dfcfe5dc3601c5354be25f7d16e0e384fd813f426c5 SHA512 5b00a766c9a16702dff795a6243c430a266f2ab9e7af27fe2d9f57e5951ffb65247f842a9847b1c9ad87df836c68070c3f9dd963b508de297c90cb5dd3fc7545 +DIST firefox-115.15.0esr-mr.xpi 526883 BLAKE2B 09946b06ace5a5dcb09b145e0feeb9ac83468a6cc9cca478819cdd5156549779c32f57879c47ea320dbe5a089c8144bb2fb66ba9c18315b50f4eb131fd142181 SHA512 ddbc1f9b3a2dfa664a8ebb36a841f07a8f7f88823914d4212aef21abee642a4c0ebd95029a0d62b0bdfa476f010a4f4fa245df4bc277da9448de97fec9eb19ea +DIST firefox-115.15.0esr-ms.xpi 445508 BLAKE2B af4a376cec0b6ebb0547e3985ad7521b7a7d3b84e35fb22ce2f49656efae6105eec2f07f6232a328b335c26d566abe63137ab4458dc7d3b030f1ce44d424fc6d SHA512 8adb5028ad31f833adfe4f8dbc87029f124ad42ea40b562a549fe26a6344a24d72d0c3d62f5f0ee93597114f1ae5f7ecd803a82233264306b88c9066983e6b8d +DIST firefox-115.15.0esr-my.xpi 514929 BLAKE2B ad2455bba5fc940a6d82f237d229cdc565bba902ed46935d9787c78fe1129a6433101c79952b8c12b3ef77268c67f8d02f7f4d598c1ab34df6edad9462387969 SHA512 f43a7e34365c2dc278aa8fa3061c2d68c805489d54d9658e8b034aed5c480412b3bb950098bd6c446f0be6fdb6bbad6ef4d66a78cb22b8e1b7802d0b01a9aded +DIST firefox-115.15.0esr-nb-NO.xpi 607316 BLAKE2B fce0b6a75463864e08d1087af58666b184dc7b68572200cca6d02018c60a85330bec4b21f1f4c8d42e85c213a06ab73c9e2b4ca761bbb8a5f1aad4b72ad71b3a SHA512 df402ea7c8156132d69bbc24827efbb302ffd45c094e252ac1bbfcea0636a29d070c6a18f464d898d3a54f028b8571f2e18faf30b7bcefddcb8162fb1d177266 +DIST firefox-115.15.0esr-ne-NP.xpi 506993 BLAKE2B 24ed6ecc00c452d07c2470ef221106c5bf60280272daec88daf86abe8ef1c7d425096cf983ed187c60c5038cfaa1cdb6ba773860f9186ee794d325e17da9d030 SHA512 4274e37a3dd0f509f979a321c04c0da4b27ac33bb02e47945c59d9947c1428159e5ce54070e8c9f26d0702fec6119bab9c859cfd39f7a34d0d6fa0b99d1f4e6f +DIST firefox-115.15.0esr-nl.xpi 617743 BLAKE2B 1652dc4ce9b1521e6f5c2f2a29e225de915619afe3f25f624fa0555dbe3af80cd217e05d6b134b0b608843dcb86a67adf2f9a050cdf345c9ba869057860320d8 SHA512 f7dac94ef771233fea2de1ba31923d9a561cbe10fddc74796177adb0828a3312ae19bd9b128a80e5bc30577767cbb96b42bd8721b3ff17fe9d5f01ca4158e78b +DIST firefox-115.15.0esr-nn-NO.xpi 609739 BLAKE2B f5be55c5932c378b3353340bad592ab2920176d2291763c73b2f3181aa9459c4b475a4d578c8225f730f5451e9466f3b0585cb8d0419612bf2b45bb13d8d119d SHA512 1b7133b5e4fbe8e8a844713d0e3d8fc7d559cf18bb87adcff8ebc37517991053a3a725a0328d22cca4d882344f643cfef7d9eae3d79f5a611dd76a643639734f +DIST firefox-115.15.0esr-oc.xpi 607919 BLAKE2B 2cf1f970ead52332725e05625a809575239b3dc0a013ec2b5996557889338b298cee6d8ce008284aa20edd14d90b0a14d6c6924bcfb53de55675e4a82337a6d2 SHA512 e9f50e126e0f06f9343e5bab2b38b69d983ec1d70822c07226a1148f8d56d42047a83727f21c88b33ebf6c5c57d19116ea19fc42c4712d9e38cf8a2f5cceaa74 +DIST firefox-115.15.0esr-pa-IN.xpi 687719 BLAKE2B 4fbae6886f73e35a4cae817355463fcdfa8397e0ac2c21be48476069111423e4ed75be05edf966103bf51653f55226db56aa15443d03f084c00c7e3a0aff1167 SHA512 5a700d057bcfa5062960e3c6e1d3ff2949e445b1e1e4f5edb1c5e2dd77497e0069a4147fc4ae92c27fde7a6d0de564a461d471a0db85b4e1a579eaedf6074298 +DIST firefox-115.15.0esr-pl.xpi 636472 BLAKE2B 6c24a7d828d8e2159982ea1bb51c352f6282de574e357ae822e50866daab78c8be2f506167cbfb593bf907517e43d194953f5b97136acf4ba5ffa467ab81cc29 SHA512 f28998c96b6fa47f31653e5f49d5dd28cb1480f891a50fd1a33a5c5420f2df4fcbeabb4157d2d419811bb3fd0fc895b473734310e17f4aacaac9aed4731be0dc +DIST firefox-115.15.0esr-pt-BR.xpi 622537 BLAKE2B cac1dd6c177b743f70b1900aa8d27da997d3408db4ab285f6dd896c2c7b3f768c733705414a88196b197f457ed054dcb5ea73dd68d7be5039885c77a66117e2b SHA512 5f34f5b6df8c798d9c825c102f0b9888191280989e5569cf0420dce3356c36e46a7698a829aa007fa28a2e02b46d74c0d6430c9da936451ac838b1a6ed85f0b5 +DIST firefox-115.15.0esr-pt-PT.xpi 626589 BLAKE2B ca43bb0dd4e0da95c3f64d1c41c6bf3139d17fce32883573760097c93e2cf27b353205e84f05aba0adcf4aa87ccee05aa4dbe826eb12312be4d8c82346dc5a18 SHA512 1170ec442afaa68ded871b528b0efe32938ac44dd383251f1e40ff19e2bb61fc9d2e5e9004d163b56e262d4b7113fe6937de535701c5ad0823528023cc90b85c +DIST firefox-115.15.0esr-rm.xpi 617339 BLAKE2B 810e207b10509125b97b1f55159c6f22e154fe83954fcf2ded60b73b9e79c47a6fd6295434d4daad811c2d10387ac6c5f273daa17233d98694e8e08023612080 SHA512 7b52e8331f675c0c615cbc40ecdc6417ed3fc3d1122650eadd2d33877e032385c0b5b979ab621678892dc6f29668d6b3dee691cb37836fd545c0c1932c551dab +DIST firefox-115.15.0esr-ro.xpi 543552 BLAKE2B 5c9861853379c4602aaf6863b43cdbe2a23c4727d535d3681ed43dc2ac901a88dd740fda1d43517f5dfcb586803789d3c7822d1b57525136093cfe6a5dad5011 SHA512 1afa5cd4377b1e7185bfd6d24e40c0b9c03e3940abb58a674eb19b8133851b699fc06e73633d038384fe1b99b4fb033efc7d72921398a34bdd2cf31bc0b4b908 +DIST firefox-115.15.0esr-ru.xpi 721763 BLAKE2B c9e7cbd3c541fb498b3106c45ea8d4dc122e496f92f8670ecf037ea0ff42e12b9798de679ab2d8f030e53f74e3e25c2ec2badf490aa0b4941cb6dbfe9361c12b SHA512 1a50181d7ec0d3d0153466809c985596ff2be21b09a1fefdbf9c9abfe599e476f84eab96a7ecb281ed34f9f78d18e3b9d3f1942a9bf943ea869e04f138b007f6 +DIST firefox-115.15.0esr-sc.xpi 582735 BLAKE2B efaa5f3f53a50cb3d5c835b02a4b9dee04174cc0623566c9c7d63532efc48f4b9e4164b40575d003dd5f3815343c5396142e1f0dfbe9eecea77dc83450e91d4a SHA512 f4fd4b119f65c0d8099423dc967470a55232a5a6393b22e323e1968d199c64326a971957fd58aa64a3c676054bd6a60f44b7b28f482fe2078a6b099ae446c57c +DIST firefox-115.15.0esr-sco.xpi 505680 BLAKE2B 66dfac8c6eb7bcbc0b55fed17aa1984fc83321f275daa07fa2539993ef5c985577b81c8b046293a6b71f311ff9b0d90e35a1253558f7dcdf6f683bb9039eafce SHA512 260424c3a1e0331dd2a086aeeabd8f06e700f5c72f3926a5483ec3ae834924905bf1630448ce26c076152977393048044ff2073d622d8763b76b6e25b34be02b +DIST firefox-115.15.0esr-si.xpi 606451 BLAKE2B f0e35c895ce9f09fd63a753346e89e66b8422e963c11da0cdd57748aed5d1b91128399b97fc31d871cd873c8294d5d96ced02d45cbdaca2a900c5c89fbbfd4b5 SHA512 45a029b29c8140f3f4b3f891d853fea8b02f3c8d91e0e9fdbf264cf2b63c5ad2bd73d947ebd76dea91d99920054b4147d784c0120dad0b09ecf47b4c0c6fbc4c +DIST firefox-115.15.0esr-sk.xpi 652374 BLAKE2B 7a28fd4abbbefd5017c20f9e7ffb3b670e8297f7f9790deabaf516952e6d9839a888de766d6cc1afb804b836f294f4fd6ab5b4d43ff516daa6aafa57fe8f85ad SHA512 b21b2b006b432a05d997d9c592f1e2c4f5a1101c014ad2904417d790381ba95bf95dcae3e66a810f03904d61417704ec0cd545b3d1ece943a2cc08045183b96d +DIST firefox-115.15.0esr-sl.xpi 615203 BLAKE2B 6a3f36cab2bce1f5179a1f164ccae1a4cca40e4ebbc61d11e8077dd96072e1cd6439a96bc01670eba0658ead6674c5657fba20a15841c976dea911da6d577c7f SHA512 e60d61aa1dcc7e74c4450fbe36ac9816ff63ecfe4cbe81d96d9a410a058e7d86b221fc92c4c9423a71ea8c7f3d75468541dbe120d77ccf03b89b85df92b0736a +DIST firefox-115.15.0esr-son.xpi 413679 BLAKE2B b99890be683244f7523b61950eb3dca4b73f8ea9ec2a9257b30bfcfaf46ee45294193a2fd120c62ac77662cf7141a1cd0e2047c9b4bc5a662dd5ca49ccb8ab95 SHA512 fd9669ab4abac40ac04cbbc3369a9ffa84cb918748f8a8493f71557cfbd2de0704a084856de92a2cfc47c4219753b4eb956bce906a4bcbf917b228c50f9c83e7 +DIST firefox-115.15.0esr-sq.xpi 636141 BLAKE2B fa408ab79af3d2cf5dd7ecb24dbe5a938b06d6d6c5588474a6ad6ba6c958b36c5686541b438f3f9dbf361faa423b678d220404359add6f9d83c9113bfea9f8be SHA512 19c6f0de19e6315404bc3cb67534d8753d30954ab747a873b5bdc3e6db90f18513ff6f8a72e506d0b7ae2b8b5b3ae8a4d6f41a89ffcdd6f5d43d41821a028e59 +DIST firefox-115.15.0esr-sr.xpi 633260 BLAKE2B 763687d9acb9ffa59204bb3bbf5ed72cd73f4f2a2b0c4a27ba1ace55dc96990d296e64267e189cca3f0352f3056f19fa749412423906f8de012ced68ff54d7d1 SHA512 7e44d18a448a5fc8a0edd3b48188ed7d3d8748e60ebb455b04929561b002839189a0b35ae9295979930f66134f1c1de3bec58826f2f6379b292860b02ff104d6 +DIST firefox-115.15.0esr-sv-SE.xpi 619433 BLAKE2B 8bd3a3a9f7cbc403a560182fb33914300865145cca750a0bbfafd7dcb179017fe2d074f7d1becffed3195fef931f3f3224f2dee98d1b2ad8a96851ac5ce6ba53 SHA512 8c24b18e62838b8739ea24abe3095f52b6c4dafc7c05389cc3ee63560c331c35966cb57008fe9f72dcc8ad53021472ee3449a2cdf37a668fd3bed1b4f096a3eb +DIST firefox-115.15.0esr-szl.xpi 521048 BLAKE2B 24ca3c2c7bf5848d19d16cc6b77189331ec60999420a8d604e08f56704b899abbb9fc53226b1820ae7812f3b6adc99541f77890c521e7ad5f4e02c4e77867370 SHA512 c13fe1af0d010a74726ce55fa12ea88672848d9f54076a7e5b1a5a0024dc8089ae0a888781106b40ffaea7266826aeed26e3104a5838bcabb45231efb18bbf98 +DIST firefox-115.15.0esr-ta.xpi 503639 BLAKE2B 12e3897ad4db9146baed49d5caf8da5e396c48c92b0f0ade306e4a4dfb56c5134f146d97c0fb320e4d48929580b34d0bcd0d7ec590bcb4b5ddc83299fe7e314a SHA512 de4788d1b8beff9b1ead7612a2cde153783428046ec838c95aa7e2ab4dca7ae2ccdb96528cc138004dd66974117257c87a45a434c1403d1db59bf9f5f164fa6c +DIST firefox-115.15.0esr-te.xpi 556764 BLAKE2B 4f3ab1435b184929d1afdf8127b5fec0d3f78cf2895c8a4a5fa0978e7ac54d98893c25115e59b66439d360652a8b89621e39024ee5181fd440747dc176e68521 SHA512 1325e6b22eac02f8d06020ebfb27f827ed5e9fdead7cf4241b8e1ce8e4c184c994dfd66c068fbef988b84439e495218bb0ec5eb175e9a52e0c2c5161d3c74e37 +DIST firefox-115.15.0esr-th.xpi 693426 BLAKE2B 0cb4abfdd80a7cea1bd365f17205d9139042811d44a297a103258dd208aefb35a9aa0985b75b71e49215f21ef7f83c37bf1db2cb2ecdcc2b7079455042fe54e4 SHA512 bb35ea24063cf9326518d4a5d9da76147d05bb140ee06620c08c941e5134c0eca6db79823a7435c1b7a1dbd793aa396a9747052cfccae30d01df655913c680f6 +DIST firefox-115.15.0esr-tl.xpi 527807 BLAKE2B 3dcf0f738b80573eb4c28a0839bec67f1deef3bd774d495f8f6e6736041e505a47995a585528cf4b507fbf7d2437de94053c331e3b2d368a1cdb0454b20e590a SHA512 dfb4052f585dc8eb026dcbdb07c64ea251cda8fd19afd8c1c4875402aa7cbd33f60872f93b8db69fcf521d49a9742c76bfc292d2b0de22ea440296327f06ff87 +DIST firefox-115.15.0esr-tr.xpi 631874 BLAKE2B b338bbd0396add27a438841eb4150a33c4124bac24f6045c919b0216e3e68227fb287d04903f2912b218b1a9b41f1e51fc292d36c785e1d01b1603d05d7513fe SHA512 62685e561fbca4585844cb7937d1c9c80e7cf84e9dc541e022e41ce0c650213a3efc84abacd347e44391292c0be18267bb80dcda76ec1b559195c763a1c4eda7 +DIST firefox-115.15.0esr-trs.xpi 498682 BLAKE2B 355962c70fc9e68bb39f552414c3d53a6cfe41d8987a93c52a9dfaea29613b21ade959f5f729bfdb4a9feb76cab89f0efd925bc70bd72394f3f864246c6625e0 SHA512 e07f178a9a4df1b8714d070ea58e880f8b34c4b88963bfa4f0c338790e7b7438209449bc26b153b8f25f4a8bb7f18d5310b1ec10e37db4d0913ae9660c5f1505 +DIST firefox-115.15.0esr-uk.xpi 707292 BLAKE2B 8c80608e9e8cb19f19e962deaedb9b3921e70668c007c71f27d0ee789d46aefd1d5ac9a36da3bce7c8687aeeb129dbd1ab64786e532730426f7c4b02544e3f8a SHA512 43a00b956ecba124d127380948c38aceead09efddcdac761a7f1028f06ec14aa49780d89a535ce8a166fb1adf842820e4014f5095a568757b41a2c33a557af2c +DIST firefox-115.15.0esr-ur.xpi 554809 BLAKE2B 8f28e72f52066d83ded968099da261d5b5a5eb62641aefef3ad0c7354437c134500b78767b75f012b495ec2cdfc51e14d1f0c9abcac779b8e53c7c215ce11ed8 SHA512 aa18bb41738f156517672ee8bfb6cc263f3e4a83f602185f7fc405ef77e65b8901c36958a86c083e49d130046fbfb7e95cdb595f9216bb40faa08e19769fc572 +DIST firefox-115.15.0esr-uz.xpi 474685 BLAKE2B db4513fa6747f8731d92a044f383d70e9ca245759f36ea824a0d9fe5247669d5bca93dfe0d0f75953da29a63a44bc5a7b397e59a7d0eec47cb61711d73f9ab38 SHA512 6225f19584e1d3c34ef2f94cbce9d251f3004174623e6cfca951ad62858ce8d6eac7df6df1cfe7b7af450a6e64e71e9d267a02851d232562b92a4a14dbd12bfc +DIST firefox-115.15.0esr-vi.xpi 654024 BLAKE2B 03c1d2214b899cc31385ae2c12e56c492fdf5b298c257127540b5f497cd0a077df68e58b722279ba6fab6ed9b025499fe55e93a5d7504c7202559da0274a9122 SHA512 75e5d401bc6a5c3f42a33390167f02714187bafbcd9b2bfe501608928bb715d33b9b9948b736d7c53aa8b7c9d1eed28557f5448e895ef4fa98bde8ac45a5f730 +DIST firefox-115.15.0esr-xh.xpi 414955 BLAKE2B fcbe5f7b559c90382d4d45b808ba35242f9a17905ccb1a4a8470c4b149710abb41a8185049c73309572408debfcf62df3ebcf1f36af135d746db44e4c0ff974b SHA512 85808966db817088eb89bf516057ac38ac16458d9e0f6da76ad58312d204ad645aed8da683383a35cdb1cce833090d044edfcc16f947e928ce144554232fea2e +DIST firefox-115.15.0esr-zh-CN.xpi 657103 BLAKE2B a7927017d440780ee1ab7a4f2a9075bb071db4ca38f9bd05499606d8a3a28d9daa3bdfa1895bce263e9a81dcf984042e1447bbbd96d4b3e34249045a6567ac28 SHA512 af3399e9eafd53a9644bbc7c8e714e4b497f0ef64f98b3b4e2bd0d28949031aa3f23f78e973baa4286622673ddc5f55c03906bc6059ba6a10448fe0da68f4996 +DIST firefox-115.15.0esr-zh-TW.xpi 659312 BLAKE2B a73185e11f1b6db6def7ebf6ac1bc54aedb459822cb97768c7699a2fcc0ed74ee4dc96c2cc9a7a9952d3dd3c58da9340042e6a75f4fa0f9b52dcf98a88066a46 SHA512 ae7d6d80e645e5a69d8d0fb9a245e7ba0cce82ebcb7a167cf0a4d5a5e306dd58130bd550c66aa814bc0b30a2d57282dcbd44acea47370a6137ff4404eb124034 +DIST firefox-115.15.0esr.source.tar.xz 507920832 BLAKE2B 997a3148b7019fbec95e1e003561a1135c27a769ff92a675debff540b20213a21cf96f9f2e9cb1db4e8c81702b7fcf7e1ba35045dc7dfd705957d099350ea9f3 SHA512 0df4c498c99cce08903004d2e0f9e977a19f7de86240aa82dba179b60f1d67ca3021eb474f56bddc38035e773eeb5d99bb3e1b0756d9f7583dc8e1f747f477ba DIST firefox-115esr-patches-12.tar.xz 50732 BLAKE2B 821ea063bd14085458967e33570bb28a1457672d2c210368507532024db25dfbb7d30d37084a2cc60a4cc34dde453669ad9046c664e7e8459a8c7fab33485068 SHA512 e80b0eb9a4efa8e6a872a875a31e384a5d3ac2f7000a3d12b03cbe2dff43baf8e3e544b7b7baadcb46ae714e3709ecbc53742b9562fcb1b1caf85b037b5ad501 DIST firefox-115esr-patches-13.tar.xz 51360 BLAKE2B a048bfadba989ebbd4c6e3df97d303d6853844e66ed92f5f5f322acf18866218b91d52dbbece63827de283eef855c932d67e329c8d93200aa83f11268a5d1b2f SHA512 186ec72323e621362dcef1bc67c476716aff97dfad701faa9220a7302e798d3cb4ed90d5ea59e3e92f016be29875bb5219787635db99a8848b7c76e4e2e09e90 DIST firefox-128.1.0esr-ach.xpi 464065 BLAKE2B 168762d0890e65d5ef0033a96d0b9b00f1b12df24a2f5debc56ff8010421cf2e2c561cc7d105853338244edcbcbf3a3a2a4f174568740f4b82d4dc11b164bcc1 SHA512 4f4818a789f7da04a71fc257317e9d2341ead3209c815e25326f13be1501aeacd7da77e86e4bbc2560d1b6952f91466ff1fc90efd16f02762c85ab06e461bac8 @@ -620,8 +720,9 @@ DIST firefox-130.0-zh-TW.xpi 669293 BLAKE2B 8743ecdfa6fff21ba6d1c199bb24fca9b753 DIST firefox-130.0.source.tar.xz 568295588 BLAKE2B 9c7dfc43145e442d60f6971806848e4ecd0145713e31105da6bd13a82a50655f5c4095beff4d61505e26e188b60f49b16dc17fb42dc03a9fb9ef509a7010b0ab SHA512 d0d11b38d9e02fa15298ec13336bb086668b4f36b3ce9ced218a265327fd4822b9fea4303402631947ea3c20490c414de87f8df3e7c23d2e02b70f0456b9af40 EBUILD firefox-115.13.0.ebuild 39935 BLAKE2B a5ee41ddf96552edc4a346c5cf261e2f1bace515df4c7ff962ef1a2a95cc65bc20d6b09d368fadd0ca2111c514f310ac91e56d49260ac99e320c6a0707406bf3 SHA512 9d6232a69adf9fda97441dd6e46f5263fff17e25be47f399454972d4d69a895ebd5f14e91109174af196c158019c4b23cafce9600eb6d6301b4aa84a67560ca3 EBUILD firefox-115.14.0.ebuild 39935 BLAKE2B d2634c9a774135b121da45942a0b7a2614695503b13b1f277703dc54f2d8a0dbfaba7e19b1665b0fe503723d61439498c3dd7b352bd1696619de1bf46cd92a7e SHA512 db5f90432d1c6f8c88ba54faed8fe6adbc6ac345bb45976fe1a02056b642dda9495e11695dd5fd04d1c8b8edcab83a0f0f06cdfd9806e3aec605c5ef01fcdbac +EBUILD firefox-115.15.0.ebuild 39939 BLAKE2B 3e553c5dd4131d283259ad4d636e14ef1c6a1c63d56896cef8a422708c926684dd23f9a08fd0e4ba072c066c0c0341c3dfaf6236018e8993d24fd259d0ac1e74 SHA512 031ef1b32b06c41f43ac82bb4045cf9a568993f3199e28692a54e33f290d3367c351f03dd24b19206502ff6911035a2b1486ad0bb10556340f03d35be7943d43 EBUILD firefox-128.1.0.ebuild 41438 BLAKE2B ddac6cf583726dd18d7bae4021a3ac6f6164e220f45f96af4accc604f36a383231523c563ab7fbe0ff1d41f5a7b92be5e3f809d3d7b91ad052321c56c05ce225 SHA512 a102354cbc15e30894fa59d5f4fa966810d5fa492d10c7caf6147ac741230a69c27d72816a1dacb2bc748f7e96de4c7ea6b0418656693e3af415e7cecea0503c -EBUILD firefox-128.2.0.ebuild 41031 BLAKE2B 01e89aab4fcfdbf6b05a05e79ddf6a31c0bd463790edaebb8a833f9860250ba7d0273ceeb69deb87b85e5de750826229b94c974b3d2c0360b9a1b7b246c54d75 SHA512 fea42865df029f090db7a1c793947e59d713dc323ea8c51d6a91c945121fedb6928feb3e9962f1135a786c053d94d09864928048497be910d6d64b9ede0aeffc +EBUILD firefox-128.2.0.ebuild 41692 BLAKE2B 2179e5fb07412134d3891f454e0925e93d262821cbbeb64210ecfa1da610212ebd36257b60621bc13f68bb45709e3751357f0b618c01deb725d9c58bdfd8c103 SHA512 289f4bcd17bf1ba8fc23eab3b2e8d983c7e3470eaf224a8b8fe3c13aa4032ee8682459e98a685a01f5e8b66c67e6f50734a1e0ccafdd5971ae2846c841e46c9c EBUILD firefox-129.0.2.ebuild 41326 BLAKE2B c5abed4860e8542d0afb8d800906495936be3ac1f1cfa9e1de8c4ce970181afe740f02ca6447f2d2486c421a84c7bab18c930a972a01831360e21753da93db95 SHA512 b8500ba34ca68e5dcdd018d89cee27989cb17086f7aface4fac2650671f72de7aa084925bb813e0d8b388b71c365d7298d8f071c7525247d6d00d9f0181af8ca -EBUILD firefox-130.0.ebuild 41307 BLAKE2B 25bd01bff4cd06fa108355cc52aa475b92b92c42365db25ba50563f3fc8445060e8bfc7822f7e8ca091e61de12fcb0f1fa9f8abb11f9b93836f25cab4ef5239e SHA512 63f5df796711941c2430b748894061aa3441c2b7dd1e2594887bc27cade19930add01dc04e90794da4900055112a75171c6d93c962f005752dd5373414e5c332 -MISC metadata.xml 2597 BLAKE2B b449997bc096ed8fb7bde41a5acb8d9f4c1c8cfc9663c06ff603cca756e8868d40049fd292a459a00d80b4e8c3a74e91e29fcb04abe87277640fe65d070f0bda SHA512 703c7f6a2b46748786145b0973a7b8439e530c96fd7c50d773efac7d5d9bf74ccb4f0c252f2701459944f2b3ced22d3e57ddf049b9aed0c8f0e094cabddda251 +EBUILD firefox-130.0.ebuild 41417 BLAKE2B 7441b74f4c1e72160edb524105e3dce1c2ca6981977c593dbd2a5af12e6c400541f796c6b13d5003acda3636432d20f6ef12418f886f9e762dda453545a3e871 SHA512 ffcbdb2a0c61d2c603d2d7c7f434cad559418df891d3192a555290d76cad3984e5af58134b2b19b01e729f30709ab6b3a26561cd013d43d7f5af6709fd0c2112 +MISC metadata.xml 2675 BLAKE2B 57721fdb9b8e0f1ea4a7d96dc284d5bc2f02e486086778bcb56f1a6166e327c4a06766cc4f2a7dd3716eef352c78ae28659971d9c71880d3ab22524ff060f57c SHA512 e0331f26da3dfa53b5f5c3b68e1f19b02dff662bc70bf4275d55edc077a508ac26be031f8693000fc903ea84c637cfc656358aa8f20f42747dd9a6994df6d724 diff --git a/www-client/firefox/firefox-115.15.0.ebuild b/www-client/firefox/firefox-115.15.0.ebuild new file mode 100644 index 000000000000..31b6c0937aff --- /dev/null +++ b/www-client/firefox/firefox-115.15.0.ebuild @@ -0,0 +1,1393 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-115esr-patches-13.tar.xz" + +LLVM_MAX_SLOT=18 + +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="ncurses,sqlite,ssl" + +WANT_AUTOCONF="2.1" + +VIRTUALX_REQUIRED="manual" + +MOZ_ESR=yes + +MOZ_PV=${PV} +MOZ_PV_SUFFIX= +if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then + MOZ_PV_SUFFIX=${BASH_REMATCH[1]} + + # Convert the ebuild version to the upstream Mozilla version + MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI + MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI + MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI +fi + +if [[ -n ${MOZ_ESR} ]] ; then + # ESR releases have slightly different version numbers + MOZ_PV="${MOZ_PV}esr" +fi + +MOZ_PN="${PN%-bin}" +MOZ_P="${MOZ_PN}-${MOZ_PV}" +MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" +MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" + +inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info llvm multiprocessing \ + optfeature pax-utils python-any-r1 readme.gentoo-r1 toolchain-funcs virtualx xdg + +MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" + +if [[ ${PV} == *_rc* ]] ; then + MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" +fi + +PATCH_URIS=( + https://dev.gentoo.org/~juippis/mozilla/patchsets/${FIREFOX_PATCHSET} +) + +DESCRIPTION="Firefox Web Browser" +HOMEPAGE="https://www.mozilla.com/firefox" +SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz + ${PATCH_URIS[@]}" +S="${WORKDIR}/${PN}-${PV%_*}" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +SLOT="esr" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel" +IUSE+=" jack libproxy lto openh264 pgo pulseaudio sndio selinux" +IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp" +IUSE+=" wayland wifi +X" + +# Firefox-only IUSE +IUSE+=" geckodriver +gmp-autoupdate screencast" + +REQUIRED_USE="|| ( X wayland ) + debug? ( !system-av1 ) + pgo? ( lto ) + wifi? ( dbus )" + +FF_ONLY_DEPEND="!www-client/firefox:0 + !www-client/firefox:rapid + screencast? ( media-video/pipewire:= ) + selinux? ( sec-policy/selinux-mozilla )" +BDEPEND="${PYTHON_DEPS} + || ( + ( + sys-devel/clang:18 + sys-devel/llvm:18 + clang? ( + sys-devel/lld:18 + virtual/rust:0/llvm-18 + pgo? ( =sys-libs/compiler-rt-sanitizers-18*[profile] ) + ) + ) + ( + sys-devel/clang:17 + sys-devel/llvm:17 + clang? ( + sys-devel/lld:17 + virtual/rust:0/llvm-17 + pgo? ( =sys-libs/compiler-rt-sanitizers-17*[profile] ) + ) + ) + ( + sys-devel/clang:16 + sys-devel/llvm:16 + clang? ( + sys-devel/lld:16 + virtual/rust:0/llvm-16 + pgo? ( =sys-libs/compiler-rt-sanitizers-16*[profile] ) + ) + ) + ( + sys-devel/clang:15 + sys-devel/llvm:15 + clang? ( + sys-devel/lld:15 + virtual/rust:0/llvm-15 + pgo? ( =sys-libs/compiler-rt-sanitizers-15*[profile] ) + ) + ) + ) + app-alternatives/awk + app-arch/unzip + app-arch/zip + >=dev-util/cbindgen-0.24.3 + net-libs/nodejs + virtual/pkgconfig + !clang? ( virtual/rust ) + !elibc_glibc? ( + || ( + dev-lang/rust + <dev-lang/rust-bin-1.73 + ) + ) + amd64? ( >=dev-lang/nasm-2.14 ) + x86? ( >=dev-lang/nasm-2.14 ) + pgo? ( + X? ( + sys-devel/gettext + x11-base/xorg-server[xvfb] + x11-apps/xhost + ) + !X? ( + || ( + gui-wm/tinywl + <gui-libs/wlroots-0.17.3[tinywl(-)] + ) + x11-misc/xkeyboard-config + ) + )" +COMMON_DEPEND="${FF_ONLY_DEPEND} + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/libffi:= + >=dev-libs/nss-3.90 + >=dev-libs/nspr-4.35 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/mesa + media-video/ffmpeg + sys-libs/zlib + virtual/freedesktop-icon-theme + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/pango + x11-libs/pixman + dbus? ( + dev-libs/dbus-glib + sys-apps/dbus + ) + jack? ( virtual/jack ) + pulseaudio? ( + || ( + media-libs/libpulse + >=media-sound/apulse-0.1.12-r4[sdk] + ) + ) + libproxy? ( net-libs/libproxy ) + selinux? ( sec-policy/selinux-mozilla ) + sndio? ( >=media-sound/sndio-1.8.0-r1 ) + screencast? ( media-video/pipewire:= ) + system-av1? ( + >=media-libs/dav1d-1.0.0:= + >=media-libs/libaom-1.0.0:= + ) + system-harfbuzz? ( + >=media-gfx/graphite2-1.3.13 + >=media-libs/harfbuzz-2.8.1:0= + ) + system-icu? ( >=dev-libs/icu-73.1:= ) + system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) + system-libevent? ( >=dev-libs/libevent-2.1.12:0=[threads(+)] ) + system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] ) + system-png? ( >=media-libs/libpng-1.6.35:0=[apng] ) + system-webp? ( >=media-libs/libwebp-1.1.0:0= ) + wayland? ( + >=media-libs/libepoxy-1.5.10-r1 + x11-libs/gtk+:3[wayland] + x11-libs/libxkbcommon[wayland] + ) + wifi? ( + kernel_linux? ( + dev-libs/dbus-glib + net-misc/networkmanager + sys-apps/dbus + ) + ) + X? ( + virtual/opengl + x11-libs/cairo[X] + x11-libs/gtk+:3[X] + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon[X] + x11-libs/libXrandr + x11-libs/libXtst + x11-libs/libxcb:= + )" +RDEPEND="${COMMON_DEPEND} + hwaccel? ( + media-video/libva-utils + sys-apps/pciutils + ) + jack? ( virtual/jack ) + openh264? ( media-libs/openh264:*[plugin] )" +DEPEND="${COMMON_DEPEND} + X? ( + x11-base/xorg-proto + x11-libs/libICE + x11-libs/libSM + )" + +# Allow MOZ_GMP_PLUGIN_LIST to be set in an eclass or +# overridden in the enviromnent (advanced hackers only) +if [[ -z "${MOZ_GMP_PLUGIN_LIST+set}" ]] ; then + MOZ_GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm ) +fi + +llvm_check_deps() { + if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then + einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use clang && ! tc-ld-is-mold ; then + if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then + einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then + einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use pgo ; then + if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then + einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" + einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + fi + + einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2 +} + +MOZ_LANGS=( + af ar ast be bg br ca cak cs cy da de dsb + el en-CA en-GB en-US es-AR es-ES et eu + fi fr fy-NL ga-IE gd gl he hr hsb hu + id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO + pa-IN pl pt-BR pt-PT rm ro ru + sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW +) + +# Firefox-only LANGS +MOZ_LANGS+=( ach ) +MOZ_LANGS+=( an ) +MOZ_LANGS+=( az ) +MOZ_LANGS+=( bn ) +MOZ_LANGS+=( bs ) +MOZ_LANGS+=( ca-valencia ) +MOZ_LANGS+=( eo ) +MOZ_LANGS+=( es-CL ) +MOZ_LANGS+=( es-MX ) +MOZ_LANGS+=( fa ) +MOZ_LANGS+=( ff ) +MOZ_LANGS+=( fur ) +MOZ_LANGS+=( gn ) +MOZ_LANGS+=( gu-IN ) +MOZ_LANGS+=( hi-IN ) +MOZ_LANGS+=( hy-AM ) +MOZ_LANGS+=( ia ) +MOZ_LANGS+=( km ) +MOZ_LANGS+=( kn ) +MOZ_LANGS+=( lij ) +MOZ_LANGS+=( mk ) +MOZ_LANGS+=( mr ) +MOZ_LANGS+=( my ) +MOZ_LANGS+=( ne-NP ) +MOZ_LANGS+=( oc ) +MOZ_LANGS+=( sc ) +MOZ_LANGS+=( sco ) +MOZ_LANGS+=( si ) +MOZ_LANGS+=( son ) +MOZ_LANGS+=( szl ) +MOZ_LANGS+=( ta ) +MOZ_LANGS+=( te ) +MOZ_LANGS+=( tl ) +MOZ_LANGS+=( trs ) +MOZ_LANGS+=( ur ) +MOZ_LANGS+=( xh ) + +mozilla_set_globals() { + # https://bugs.gentoo.org/587334 + local MOZ_TOO_REGIONALIZED_FOR_L10N=( + fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE + ) + + local lang xflag + for lang in "${MOZ_LANGS[@]}" ; do + # en and en_US are handled internally + if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then + continue + fi + + # strip region subtag if $lang is in the list + if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then + xflag=${lang%%-*} + else + xflag=${lang} + fi + + SRC_URI+=" l10n_${xflag/[_@]/-}? (" + SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi" + SRC_URI+=" )" + IUSE+=" l10n_${xflag/[_@]/-}" + done +} +mozilla_set_globals + +moz_clear_vendor_checksums() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -ne 1 ]] ; then + die "${FUNCNAME} requires exact one argument" + fi + + einfo "Clearing cargo checksums for ${1} ..." + + sed -i \ + -e 's/\("files":{\)[^}]*/\1/' \ + "${S}"/third_party/rust/${1}/.cargo-checksum.json \ + || die +} + +moz_install_xpi() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local DESTDIR=${1} + shift + + insinto "${DESTDIR}" + + local emid xpi_file xpi_tmp_dir + for xpi_file in "${@}" ; do + emid= + xpi_tmp_dir=$(mktemp -d --tmpdir="${T}") + + # Unpack XPI + unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die + + # Determine extension ID + if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then + emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf") + [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf" + elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then + emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json") + [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json" + else + die "failed to determine extension id" + fi + + einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..." + newins "${xpi_file}" "${emid}.xpi" + done +} + +mozconfig_add_options_ac() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_add_options_mk() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_use_enable() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_enable "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +mozconfig_use_with() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_with "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +# This is a straight copypaste from toolchain-funcs.eclass's 'tc-ld-is-lld', and is temporarily +# placed here until toolchain-funcs.eclass gets an official support for mold linker. +# Please see: +# https://github.com/gentoo/gentoo/pull/28366 || +# https://github.com/gentoo/gentoo/pull/28355 +tc-ld-is-mold() { + local out + + # Ensure ld output is in English. + local -x LC_ALL=C + + # First check the linker directly. + out=$($(tc-getLD "$@") --version 2>&1) + if [[ ${out} == *"mold"* ]] ; then + return 0 + fi + + # Then see if they're selecting mold via compiler flags. + # Note: We're assuming they're using LDFLAGS to hold the + # options and not CFLAGS/CXXFLAGS. + local base="${T}/test-tc-linker" + cat <<-EOF > "${base}.c" + int main() { return 0; } + EOF + out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version "${base}.c" -o "${base}" 2>&1) + rm -f "${base}"* + if [[ ${out} == *"mold"* ]] ; then + return 0 + fi + + # No mold here! + return 1 +} + +virtwl() { + debug-print-function ${FUNCNAME} "$@" + + [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument" + [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset" + tinywl -h >/dev/null || die 'tinywl -h failed' + + local VIRTWL VIRTWL_PID + coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; } + local -x WAYLAND_DISPLAY + read WAYLAND_DISPLAY <&${VIRTWL[0]} + + debug-print "${FUNCNAME}: $@" + "$@" + local r=$? + + [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly" + exec {VIRTWL[0]}<&- {VIRTWL[1]}>&- + return $r +} + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has usersandbox $FEATURES ; then + die "You must enable usersandbox as X server can not run as root!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6600M" + fi + + check-reqs_pkg_pretend + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has userpriv ${FEATURES} ; then + eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6400M" + fi + + check-reqs_pkg_setup + + llvm_pkg_setup + + if use clang && use lto && tc-ld-is-lld ; then + local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }') + [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}") + [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!" + + local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }') + [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}") + [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!" + + if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then + eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}." + eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:" + eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version" + eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version" + eerror " - Build ${CATEGORY}/${PN} without USE=lto" + eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole " + eerror " llvm/clang/lld/rust chain depending on your @world updates)" + die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!" + fi + fi + + python-any-r1_pkg_setup + + # Avoid PGO profiling problems due to enviroment leakage + # These should *always* be cleaned up anyway + unset \ + DBUS_SESSION_BUS_ADDRESS \ + DISPLAY \ + ORBIT_SOCKETDIR \ + SESSION_MANAGER \ + XAUTHORITY \ + XDG_CACHE_HOME \ + XDG_SESSION_COOKIE + + # Build system is using /proc/self/oom_score_adj, bug #604394 + addpredict /proc/self/oom_score_adj + + if use pgo ; then + # Update 105.0: "/proc/self/oom_score_adj" isn't enough anymore with pgo, but not sure + # whether that's due to better OOM handling by Firefox (bmo#1771712), or portage + # (PORTAGE_SCHEDULING_POLICY) update... + addpredict /proc + + # Clear tons of conditions, since PGO is hardware-dependant. + addpredict /dev + fi + + if ! mountpoint -q /dev/shm ; then + # If /dev/shm is not available, configure is known to fail with + # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py + ewarn "/dev/shm is not mounted -- expect build failures!" + fi + + # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then + MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc" + fi + + if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then + MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ" + fi + + # Mozilla API keys (see https://location.services.mozilla.com/api) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then + MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005" + fi + + # Ensure we use C locale when building, bug #746215 + export LC_ALL=C + fi + + CONFIG_CHECK="~SECCOMP" + WARNING_SECCOMP="CONFIG_SECCOMP not set! This system will be unable to play DRM-protected content." + linux-info_pkg_setup +} + +src_unpack() { + local _lp_dir="${WORKDIR}/language_packs" + local _src_file + + if [[ ! -d "${_lp_dir}" ]] ; then + mkdir "${_lp_dir}" || die + fi + + for _src_file in ${A} ; do + if [[ ${_src_file} == *.xpi ]]; then + cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!" + else + unpack ${_src_file} + fi + done +} + +src_prepare() { + if use lto; then + rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die + fi + + if ! use ppc64; then + rm -v "${WORKDIR}"/firefox-patches/*ppc64*.patch || die + fi + + if use x86 && use elibc_glibc ; then + rm -v "${WORKDIR}"/firefox-patches/*-musl-non-lfs64-api-on-audio_thread_priority-crate.patch || die + fi + + # Workaround for bgo#917599 + if has_version ">=dev-libs/icu-74.1" && use system-icu ; then + eapply "${WORKDIR}"/firefox-patches/0029-bmo-1862601-system-icu-74.patch + fi + rm -v "${WORKDIR}"/firefox-patches/0029-bmo-1862601-system-icu-74.patch || die + + # Workaround for bgo#915651 on musl + if use elibc_glibc ; then + rm -v "${WORKDIR}"/firefox-patches/*bgo-748849-RUST_TARGET_override.patch || die + fi + + eapply "${WORKDIR}/firefox-patches" + + # Allow user to apply any additional patches without modifing ebuild + eapply_user + + # Make cargo respect MAKEOPTS + export CARGO_BUILD_JOBS="$(makeopts_jobs)" + + # Workaround for bgo#915651 + if ! use elibc_glibc ; then + if use amd64 ; then + export RUST_TARGET="x86_64-unknown-linux-musl" + elif use x86 ; then + export RUST_TARGET="i686-unknown-linux-musl" + elif use arm64 ; then + export RUST_TARGET="aarch64-unknown-linux-musl" + else + die "Unknown musl chost, please post your rustc -vV along with emerge --info on Gentoo's bug #915651" + fi + fi + + # Make LTO respect MAKEOPTS + sed -i \ + -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/build/moz.configure/lto-pgo.configure \ + || die "sed failed to set num_cores" + + # Make ICU respect MAKEOPTS + sed -i \ + -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/intl/icu_sources_data.py \ + || die "sed failed to set num_cores" + + # sed-in toolchain prefix + sed -i \ + -e "s/objdump/${CHOST}-objdump/" \ + "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \ + || die "sed failed to set toolchain prefix" + + sed -i \ + -e 's/ccache_stats = None/return None/' \ + "${S}"/python/mozbuild/mozbuild/controller/building.py \ + || die "sed failed to disable ccache stats call" + + einfo "Removing pre-built binaries ..." + + find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die + + # Clear cargo checksums from crates we have patched + # moz_clear_vendor_checksums crate + moz_clear_vendor_checksums audio_thread_priority + moz_clear_vendor_checksums bindgen + moz_clear_vendor_checksums encoding_rs + moz_clear_vendor_checksums any_all_workaround + moz_clear_vendor_checksums packed_simd + + # Create build dir + BUILD_DIR="${WORKDIR}/${PN}_build" + mkdir -p "${BUILD_DIR}" || die + + # Write API keys to disk + echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die + echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die + echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die + + xdg_environment_reset +} + +src_configure() { + # Show flags set at the beginning + einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + local have_switched_compiler= + if use clang; then + # Force clang + einfo "Enforcing the use of clang due to USE=clang ..." + + local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }') + [[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}") + [[ -z ${version_clang} ]] && die "Failed to read clang version!" + + if tc-is-gcc; then + have_switched_compiler=yes + fi + + AR=llvm-ar + CC=${CHOST}-clang-${version_clang} + CXX=${CHOST}-clang++-${version_clang} + NM=llvm-nm + RANLIB=llvm-ranlib + + elif ! use clang && ! tc-is-gcc ; then + # Force gcc + have_switched_compiler=yes + einfo "Enforcing the use of gcc due to USE=-clang ..." + AR=gcc-ar + CC=${CHOST}-gcc + CXX=${CHOST}-g++ + NM=gcc-nm + RANLIB=gcc-ranlib + fi + + if [[ -n "${have_switched_compiler}" ]] ; then + # Because we switched active compiler we have to ensure + # that no unsupported flags are set + strip-unsupported-flags + fi + + # Ensure we use correct toolchain, + # AS is used in a non-standard way by upstream, #bmo1654031 + export HOST_CC="$(tc-getBUILD_CC)" + export HOST_CXX="$(tc-getBUILD_CXX)" + export AS="$(tc-getCC) -c" + tc-export CC CXX LD AR AS NM OBJDUMP RANLIB PKG_CONFIG + + # Pass the correct toolchain paths through cbindgen + if tc-is-cross-compiler ; then + export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}" + fi + + # Set MOZILLA_FIVE_HOME + export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # python/mach/mach/mixin/process.py fails to detect SHELL + export SHELL="${EPREFIX}/bin/bash" + + # Set state path + export MOZBUILD_STATE_PATH="${BUILD_DIR}" + + # Set MOZCONFIG + export MOZCONFIG="${S}/.mozconfig" + + # Initialize MOZCONFIG + mozconfig_add_options_ac '' --enable-application=browser + mozconfig_add_options_ac '' --enable-project=browser + + # Set Gentoo defaults + mozconfig_add_options_ac 'Gentoo default' \ + --allow-addon-sideload \ + --disable-cargo-incremental \ + --disable-crashreporter \ + --disable-gpsd \ + --disable-install-strip \ + --disable-parental-controls \ + --disable-strip \ + --disable-tests \ + --disable-updater \ + --disable-wmf \ + --enable-legacy-profile-creation \ + --enable-negotiateauth \ + --enable-new-pass-manager \ + --enable-official-branding \ + --enable-release \ + --enable-system-ffi \ + --enable-system-pixman \ + --enable-system-policies \ + --host="${CBUILD:-${CHOST}}" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --prefix="${EPREFIX}/usr" \ + --target="${CHOST}" \ + --without-ccache \ + --without-wasm-sandboxed-libraries \ + --with-intl-api \ + --with-libclang-path="$(llvm-config --libdir)" \ + --with-system-nspr \ + --with-system-nss \ + --with-system-zlib \ + --with-toolchain-prefix="${CHOST}-" \ + --with-unsigned-addon-scopes=app,system \ + --x-includes="${ESYSROOT}/usr/include" \ + --x-libraries="${ESYSROOT}/usr/$(get_libdir)" + + # Set update channel + local update_channel=release + [[ -n ${MOZ_ESR} ]] && update_channel=esr + mozconfig_add_options_ac '' --update-channel=${update_channel} + + if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then + mozconfig_add_options_ac '' --enable-rust-simd + fi + + # For future keywording: This is currently (97.0) only supported on: + # amd64, arm, arm64 & x86. + # Might want to flip the logic around if Firefox is to support more arches. + # bug 833001, bug 903411#c8 + if use ppc64 || use riscv; then + mozconfig_add_options_ac '' --disable-sandbox + else + mozconfig_add_options_ac '' --enable-sandbox + fi + + # Enable JIT on riscv64 explicitly + # Can be removed once upstream enable it by default in the future. + use riscv && mozconfig_add_options_ac 'Enable JIT for RISC-V 64' --enable-jit + + if [[ -s "${S}/api-google.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-safebrowsing-api-keyfile="${S}/api-google.key" + else + einfo "Building without Google API key ..." + fi + + if [[ -s "${S}/api-location.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-location-service-api-keyfile="${S}/api-location.key" + else + einfo "Building without Location API key ..." + fi + + if [[ -s "${S}/api-mozilla.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-mozilla-api-keyfile="${S}/api-mozilla.key" + else + einfo "Building without Mozilla API key ..." + fi + + mozconfig_use_with system-av1 + mozconfig_use_with system-harfbuzz + mozconfig_use_with system-harfbuzz system-graphite2 + mozconfig_use_with system-icu + mozconfig_use_with system-jpeg + mozconfig_use_with system-libevent + mozconfig_use_with system-libvpx + mozconfig_use_with system-png + mozconfig_use_with system-webp + + mozconfig_use_enable dbus + mozconfig_use_enable libproxy + + use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme + + mozconfig_use_enable geckodriver + + if use hardened ; then + mozconfig_add_options_ac "+hardened" --enable-hardening + append-ldflags "-Wl,-z,relro -Wl,-z,now" + fi + + local myaudiobackends="" + use jack && myaudiobackends+="jack," + use sndio && myaudiobackends+="sndio," + use pulseaudio && myaudiobackends+="pulseaudio," + ! use pulseaudio && myaudiobackends+="alsa," + + mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}" + + mozconfig_use_enable wifi necko-wifi + + if use X && use wayland ; then + mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland + elif ! use X && use wayland ; then + mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland-only + else + mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3 + fi + + if use lto ; then + if use clang ; then + # Upstream only supports lld or mold when using clang. + if tc-ld-is-mold ; then + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld + fi + + mozconfig_add_options_ac '+lto' --enable-lto=cross + + else + # ThinLTO is currently broken, see bmo#1644409. + # mold does not support gcc+lto combination. + mozconfig_add_options_ac '+lto' --enable-lto=full + mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd + fi + + if use pgo ; then + mozconfig_add_options_ac '+pgo' MOZ_PGO=1 + + if use clang ; then + # Used in build/pgo/profileserver.py + export LLVM_PROFDATA="llvm-profdata" + fi + fi + else + # Avoid auto-magic on linker + if use clang ; then + # lld is upstream's default + if tc-ld-is-mold ; then + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld + fi + + else + if tc-ld-is-mold ; then + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "linker is set to bfd due to USE=-clang" --enable-linker=bfd + fi + fi + fi + + # LTO flag was handled via configure + filter-lto + + mozconfig_use_enable debug + if use debug ; then + mozconfig_add_options_ac '+debug' --disable-optimize + mozconfig_add_options_ac '+debug' --enable-real-time-tracing + else + mozconfig_add_options_ac 'Gentoo defaults' --disable-real-time-tracing + + if is-flag '-g*' ; then + if use clang ; then + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') + else + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols + fi + else + mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols + fi + + if is-flag '-O0' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0 + elif is-flag '-O4' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4 + elif is-flag '-O3' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3 + elif is-flag '-O1' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1 + elif is-flag '-Os' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os + else + mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2 + fi + fi + + # Debug flag was handled via configure + filter-flags '-g*' + + # Optimization flag was handled via configure + filter-flags '-O*' + + # Modifications to better support ARM, bug #553364 + if use cpu_flags_arm_neon ; then + mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon + + if ! tc-is-clang ; then + # thumb options aren't supported when using clang, bug 666966 + mozconfig_add_options_ac '+cpu_flags_arm_neon' \ + --with-thumb=yes \ + --with-thumb-interwork=no + fi + fi + + if [[ ${CHOST} == armv*h* ]] ; then + mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard + + if ! use system-libvpx ; then + sed -i \ + -e "s|softfp|hard|" \ + "${S}"/media/libvpx/moz.build \ + || die + fi + fi + + # With profile 23.0 elf-hack=legacy is broken with gcc. + # With Firefox-115esr elf-hack=relr isn't available (only in rapid). + # Solution: Disable build system's elf-hack completely, and add "-z,pack-relative-relocs" + # manually with gcc. + # + # elf-hack configure option isn't available on ppc64/riscv, #916259, #929244, #930046. + if use ppc64 || use riscv ; then + :; + else + mozconfig_add_options_ac 'elf-hack disabled' --disable-elf-hack + fi + + if use amd64 || use x86 ; then + ! use clang && append-ldflags "-z,pack-relative-relocs" + fi + + # Additional ARCH support + case "${ARCH}" in + arm) + # Reduce the memory requirements for linking + if use clang ; then + # Nothing to do + :; + elif use lto ; then + append-ldflags -Wl,--no-keep-memory + else + append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads + fi + ;; + esac + + if ! use elibc_glibc; then + mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc + fi + + # Allow elfhack to work in combination with unstripped binaries + # when they would normally be larger than 2GiB. + append-ldflags "-Wl,--compress-debug-sections=zlib" + + # Make revdep-rebuild.sh happy; Also required for musl + append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags + + # Pass $MAKEOPTS to build system + export MOZ_MAKE_FLAGS="${MAKEOPTS}" + + # Use system's Python environment + export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach + + if use system-python-libs; then + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="system" + else + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" + fi + + # Disable notification when build system has finished + export MOZ_NOSPAM=1 + + # Portage sets XARGS environment variable to "xargs -r" by default which + # breaks build system's check_prog() function which doesn't support arguments + mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs" + + # Set build dir + mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}" + + # Show flags we will use + einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + # Handle EXTRA_CONF and show summary + local ac opt hash reason + + # Apply EXTRA_ECONF entries to $MOZCONFIG + if [[ -n ${EXTRA_ECONF} ]] ; then + IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!} + for opt in "${ac[@]}"; do + mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--} + done + fi + + echo + echo "==========================================================" + echo "Building ${PF} with the following configuration" + grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do + [[ -z ${hash} || ${hash} == \# ]] \ + || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}" + printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}" + done + echo "==========================================================" + echo + + ./mach configure || die +} + +src_compile() { + local virtx_cmd= + + if tc-ld-is-mold && use lto; then + # increase ulimit with mold+lto, bugs #892641, #907485 + if ! ulimit -n 16384 1>/dev/null 2>&1 ; then + ewarn "Unable to modify ulimits - building with mold+lto might fail due to low ulimit -n resources." + ewarn "Please see bugs #892641 & #907485." + else + ulimit -n 16384 + fi + fi + + if use pgo; then + # Reset and cleanup environment variables used by GNOME/XDG + gnome2_environment_reset + + addpredict /root + + if ! use X; then + virtx_cmd=virtwl + else + virtx_cmd=virtx + fi + fi + + if ! use X; then + local -x GDK_BACKEND=wayland + else + local -x GDK_BACKEND=x11 + fi + + ${virtx_cmd} ./mach build --verbose || die +} + +src_install() { + # xpcshell is getting called during install + pax-mark m \ + "${BUILD_DIR}"/dist/bin/xpcshell \ + "${BUILD_DIR}"/dist/bin/${PN} \ + "${BUILD_DIR}"/dist/bin/plugin-container + + DESTDIR="${D}" ./mach install || die + + # Upstream cannot ship symlink but we can (bmo#658850) + rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die + dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin + + # Don't install llvm-symbolizer from sys-devel/llvm package + if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then + rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die + fi + + # Install policy (currently only used to disable application updates) + insinto "${MOZILLA_FIVE_HOME}/distribution" + newins "${FILESDIR}"/distribution.ini distribution.ini + newins "${FILESDIR}"/disable-auto-update.policy.json policies.json + + # Install system-wide preferences + local PREFS_DIR="${MOZILLA_FIVE_HOME}/browser/defaults/preferences" + insinto "${PREFS_DIR}" + newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js + + local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js" + + # Set dictionary path to use system hunspell + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref" + pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell"); + EOF + + # Force hwaccel prefs if USE=hwaccel is enabled + if use hwaccel ; then + cat "${FILESDIR}"/gentoo-hwaccel-prefs.js-r2 \ + >>"${GENTOO_PREFS}" \ + || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js" + + if use wayland; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs" + pref("gfx.x11-egl.force-enabled", false); + EOF + else + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs" + pref("gfx.x11-egl.force-enabled", true); + EOF + fi + fi + + if ! use gmp-autoupdate ; then + local plugin + for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do + einfo "Disabling auto-update for ${plugin} plugin ..." + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to disable autoupdate for ${plugin} media plugin" + pref("media.${plugin}.autoupdate", false); + EOF + done + fi + + # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it + if use system-harfbuzz ; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref" + sticky_pref("gfx.font_rendering.graphite.enabled", true); + EOF + fi + + # Install language packs + local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') ) + if [[ -n "${langpacks}" ]] ; then + moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}" + fi + + # Install geckodriver + if use geckodriver ; then + einfo "Installing geckodriver into ${ED}${MOZILLA_FIVE_HOME} ..." + pax-mark m "${BUILD_DIR}"/dist/bin/geckodriver + exeinto "${MOZILLA_FIVE_HOME}" + doexe "${BUILD_DIR}"/dist/bin/geckodriver + + dosym ${MOZILLA_FIVE_HOME}/geckodriver /usr/bin/geckodriver + fi + + # Install icons + local icon_srcdir="${S}/browser/branding/official" + local icon_symbolic_file="${FILESDIR}/icon/firefox-symbolic.svg" + + insinto /usr/share/icons/hicolor/symbolic/apps + newins "${icon_symbolic_file}" ${PN}-symbolic.svg + + local icon size + for icon in "${icon_srcdir}"/default*.png ; do + size=${icon%.png} + size=${size##*/default} + + if [[ ${size} -eq 48 ]] ; then + newicon "${icon}" ${PN}.png + fi + + newicon -s ${size} "${icon}" ${PN}.png + done + + # Install menu + local app_name="Mozilla ${MOZ_PN^}" + local desktop_file="${FILESDIR}/icon/${PN}-r3.desktop" + local desktop_filename="${PN}-esr.desktop" + local exec_command="${PN}" + local icon="${PN}" + local use_wayland="false" + + if use wayland ; then + use_wayland="true" + fi + + cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die + + sed -i \ + -e "s:@NAME@:${app_name}:" \ + -e "s:@EXEC@:${exec_command}:" \ + -e "s:@ICON@:${icon}:" \ + "${WORKDIR}/${PN}.desktop-template" \ + || die + + newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}" + + rm "${WORKDIR}/${PN}.desktop-template" || die + + # Install wrapper script + [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" + newbin "${FILESDIR}/${PN}-r1.sh" ${PN} + + # Update wrapper + sed -i \ + -e "s:@PREFIX@:${EPREFIX}/usr:" \ + -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \ + -e "s:@APULSELIB_DIR@:${apulselib}:" \ + -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${ED}/usr/bin/${PN}" \ + || die + + readme.gentoo_create_doc +} + +pkg_preinst() { + xdg_pkg_preinst + + # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse + # does not need to be forced into the LD_LIBRARY_PATH + if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then + einfo "APULSE found; Generating library symlinks for sound support ..." + local lib + pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die + for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do + # A quickpkg rolled by hand will grab symlinks as part of the package, + # so we need to avoid creating them if they already exist. + if [[ ! -L ${lib##*/} ]] ; then + ln -s "${lib}" ${lib##*/} || die + fi + done + popd &>/dev/null || die + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + if ! use gmp-autoupdate ; then + elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or" + elog "installing into new profiles:" + local plugin + for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do + elog "\t ${plugin}" + done + elog + fi + + if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then + elog "Apulse was detected at merge time on this system and so it will always be" + elog "used for sound. If you wish to use pulseaudio instead please unmerge" + elog "media-sound/apulse." + elog + fi + + # bug 835078 + if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then + ewarn "You have nouveau drivers installed in your system and 'hwaccel' " + ewarn "enabled for Firefox. Nouveau / your GPU might not support the " + ewarn "required EGL, so either disable 'hwaccel' or try the workaround " + ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes." + fi + + readme.gentoo_print_elog + + optfeature_header "Optional programs for extra features:" + optfeature "desktop notifications" x11-libs/libnotify + optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas + + if use hwaccel && has_version "x11-drivers/nvidia-drivers"; then + optfeature "hardware acceleration with NVIDIA cards" media-libs/nvidia-vaapi-driver + fi + + if ! has_version "sys-libs/glibc"; then + elog + elog "glibc not found! You won't be able to play DRM content." + elog "See Gentoo bug #910309 or upstream bug #1843683." + elog + fi + + if use geckodriver ; then + ewarn "You have enabled the 'geckodriver' USE flag. Geckodriver is now" + ewarn "packaged separately as net-misc/geckodriver and the use flag will be" + ewarn "dropped from main Firefox package by Firefox 128.0 release." + fi +} diff --git a/www-client/firefox/firefox-128.2.0.ebuild b/www-client/firefox/firefox-128.2.0.ebuild index a6327fea1b9c..1abb459187c9 100644 --- a/www-client/firefox/firefox-128.2.0.ebuild +++ b/www-client/firefox/firefox-128.2.0.ebuild @@ -67,7 +67,7 @@ IUSE+=" pulseaudio selinux sndio +system-av1 +system-harfbuzz +system-icu +syste IUSE+=" +system-libevent +system-libvpx system-png +system-webp +telemetry wayland wifi +X" # Firefox-only IUSE -IUSE+=" +gmp-autoupdate" +IUSE+=" +gmp-autoupdate gnome-shell" REQUIRED_USE="|| ( X wayland ) debug? ( !system-av1 ) @@ -1261,16 +1261,30 @@ src_install() { rm "${WORKDIR}/${PN}.desktop-template" || die - # Install search provider for Gnome - insinto /usr/share/gnome-shell/search-providers/ - doins browser/components/shell/search-provider-files/org.mozilla.firefox.search-provider.ini + if use gnome-shell ; then + # Install search provider for Gnome + insinto /usr/share/gnome-shell/search-providers/ + doins browser/components/shell/search-provider-files/org.mozilla.firefox.search-provider.ini - insinto /usr/share/dbus-1/services/ - doins browser/components/shell/search-provider-files/org.mozilla.firefox.SearchProvider.service + insinto /usr/share/dbus-1/services/ + doins browser/components/shell/search-provider-files/org.mozilla.firefox.SearchProvider.service - sed -e "s/firefox.desktop/${desktop_filename}/g" \ - -i "${ED}/usr/share/gnome-shell/search-providers/org.mozilla.firefox.search-provider.ini" || - die "Failed to sed search-provider file." + # Toggle between rapid and esr desktop file names + sed -e "s/firefox.desktop/${desktop_filename}/g" \ + -i "${ED}/usr/share/gnome-shell/search-providers/org.mozilla.firefox.search-provider.ini" || + die "Failed to sed search-provider file." + + # Make the dbus service aware of a previous session, bgo#939196 + sed -e \ + "s/Exec=\/usr\/bin\/firefox/Exec=\/usr\/$(get_libdir)\/firefox\/firefox --dbus-service \/usr\/bin\/firefox/g" \ + -i "${ED}/usr/share/dbus-1/services/org.mozilla.firefox.SearchProvider.service" || + die "Failed to sed org.mozilla.firefox.SearchProvider.service dbus file" + + # Update prefs to enable Gnome search provider + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to enable gnome-search-provider via prefs" + pref("browser.gnome-search-provider.enabled", true); + EOF + fi # Install wrapper script [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" diff --git a/www-client/firefox/firefox-130.0.ebuild b/www-client/firefox/firefox-130.0.ebuild index 52a69fea3f84..29c92c0c4720 100644 --- a/www-client/firefox/firefox-130.0.ebuild +++ b/www-client/firefox/firefox-130.0.ebuild @@ -68,7 +68,7 @@ IUSE+=" +system-jpeg +system-libevent +system-libvpx system-png +system-webp +te IUSE+=" wayland wifi +X" # Firefox-only IUSE -IUSE+=" +gmp-autoupdate" +IUSE+=" +gmp-autoupdate gnome-shell" REQUIRED_USE="|| ( X wayland ) debug? ( !system-av1 ) @@ -618,14 +618,6 @@ src_prepare() { sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ "${S}"/build/moz.configure/lto-pgo.configure || die "Failed sedding multiprocessing.cpu_count" - # Make ICU respect MAKEOPTS - sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ - "${S}"/intl/icu_sources_data.py || die "Failed sedding multiprocessing.cpu_count" - - # Respect MAKEOPTS all around (maybe some find+sed is better) - sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ - "${S}"/python/mozbuild/mozbuild/base.py || die "Failed sedding multiprocessing.cpu_count" - sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ "${S}"/third_party/libwebrtc/build/toolchain/get_cpu_count.py || die "Failed sedding multiprocessing.cpu_count" @@ -636,9 +628,6 @@ src_prepare() { sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ "${S}"/third_party/python/gyp/pylib/gyp/input.py || die "Failed sedding multiprocessing.cpu_count" - sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ - "${S}"/python/mozbuild/mozbuild/code_analysis/mach_commands.py || die "Failed sedding multiprocessing.cpu_count" - # sed-in toolchain prefix sed -i \ -e "s/objdump/${CHOST}-objdump/" \ @@ -1272,16 +1261,30 @@ src_install() { rm "${WORKDIR}/${PN}.desktop-template" || die - # Install search provider for Gnome - insinto /usr/share/gnome-shell/search-providers/ - doins browser/components/shell/search-provider-files/org.mozilla.firefox.search-provider.ini + if use gnome-shell ; then + # Install search provider for Gnome + insinto /usr/share/gnome-shell/search-providers/ + doins browser/components/shell/search-provider-files/org.mozilla.firefox.search-provider.ini + + insinto /usr/share/dbus-1/services/ + doins browser/components/shell/search-provider-files/org.mozilla.firefox.SearchProvider.service + + # Toggle between rapid and esr desktop file names + sed -e "s/firefox.desktop/${desktop_filename}/g" \ + -i "${ED}/usr/share/gnome-shell/search-providers/org.mozilla.firefox.search-provider.ini" || + die "Failed to sed org.mozilla.firefox.search-provider.ini file." - insinto /usr/share/dbus-1/services/ - doins browser/components/shell/search-provider-files/org.mozilla.firefox.SearchProvider.service + # Make the dbus service aware of a previous session, bgo#939196 + sed -e \ + "s/Exec=\/usr\/bin\/firefox/Exec=\/usr\/$(get_libdir)\/firefox\/firefox --dbus-service \/usr\/bin\/firefox/g" \ + -i "${ED}/usr/share/dbus-1/services/org.mozilla.firefox.SearchProvider.service" || + die "Failed to sed org.mozilla.firefox.SearchProvider.service dbus file" - sed -e "s/firefox.desktop/${desktop_filename}/g" \ - -i "${ED}/usr/share/gnome-shell/search-providers/org.mozilla.firefox.search-provider.ini" || - die "Failed to sed search-provider file." + # Update prefs to enable Gnome search provider + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to enable gnome-search-provider via prefs" + pref("browser.gnome-search-provider.enabled", true); + EOF + fi # Install wrapper script [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" diff --git a/www-client/firefox/metadata.xml b/www-client/firefox/metadata.xml index b0a1758bd35a..2e477393e06d 100644 --- a/www-client/firefox/metadata.xml +++ b/www-client/firefox/metadata.xml @@ -11,6 +11,7 @@ <flag name="geckodriver">Enable WebDriver support</flag> <flag name="gmp-autoupdate">Allow Gecko Media Plugins (binary blobs) to be automatically downloaded and kept up-to-date in user profiles</flag> + <flag name="gnome-shell">Integrate with gnome-base/gnome-shell search</flag> <flag name="hwaccel">Force-enable hardware-accelerated rendering (Mozilla bug 594876)</flag> <flag name="jumbo-build">Enable unified build - combines source files to speed up build process, but requires more memory</flag> <flag name="libproxy">Enable libproxy support</flag> diff --git a/www-client/google-chrome-unstable/Manifest b/www-client/google-chrome-unstable/Manifest index 7cce5035e24c..c71eca8dc04e 100644 --- a/www-client/google-chrome-unstable/Manifest +++ b/www-client/google-chrome-unstable/Manifest @@ -1,3 +1,3 @@ -DIST google-chrome-unstable_130.0.6683.2-1_amd64.deb 112317960 BLAKE2B 132ddc2f6a6e203203ac41cd81d1d12947ead976424904efb46505287ff1158905cca9e00ba12abe7566b1fe95c743bf15aba0f9c3233e35acb28e1f94e56f7e SHA512 da13b3fed5353fe5f90f8d4c55912789357829eeadda816c7429419e64995b58b110b4a49394a0d078b4f43327b358849f7150baded2bc5f60b254e35fc65c66 -EBUILD google-chrome-unstable-130.0.6683.2.ebuild 2983 BLAKE2B c0683d291bd6459daf64a35c34b4d56824b1c1119afe758af8bc18dc2a3625f16c5e94b4a137a8fd5b7673d36d3b6e559df17269ad3dce405643edb809137e10 SHA512 b00a89fbd7d0d9dd1a999ae2b01b7aec9ad2b6e7b9bde8727e22b9a35769da5ed7fe351fcca6681e02007380662b0688a2990f205b1dfed8effb91d991ab21d4 +DIST google-chrome-unstable_130.0.6699.3-1_amd64.deb 114126496 BLAKE2B d98bcdeacd532fa40dbf3076da7fde055e551dd85560839c789dee3bc7582b8ec86cd593026b233e68fdcd61ee5ab7ad409ab096035648b4808abbc6840f6dfe SHA512 2453fff151b7afcf04d9ec9f9ce978c46da49365502b030bfc05246ff6efc207d47e16dfcf5d6c3a811758613c1afb6cf75ab6fbd044cb4b9bc399fae256325e +EBUILD google-chrome-unstable-130.0.6699.3.ebuild 2983 BLAKE2B c0683d291bd6459daf64a35c34b4d56824b1c1119afe758af8bc18dc2a3625f16c5e94b4a137a8fd5b7673d36d3b6e559df17269ad3dce405643edb809137e10 SHA512 b00a89fbd7d0d9dd1a999ae2b01b7aec9ad2b6e7b9bde8727e22b9a35769da5ed7fe351fcca6681e02007380662b0688a2990f205b1dfed8effb91d991ab21d4 MISC metadata.xml 437 BLAKE2B 35ab5a754d8e65db84e25b08c76bed923c2f9eb1b1d65687dda842313b5f339c90cbb3eb8fe12ecb58f201383955ad8f72a5b34484265194a3fcffcf760122ef SHA512 82e6057b085e849bc5484b53fef974022bb9db33836502e8d54fca3c8f54f47768f9b0ed4591d90a444e82142e727d4e4071236b114705f91c005f170b2a3986 diff --git a/www-client/google-chrome-unstable/google-chrome-unstable-130.0.6683.2.ebuild b/www-client/google-chrome-unstable/google-chrome-unstable-130.0.6699.3.ebuild index dd9e9c497aea..dd9e9c497aea 100644 --- a/www-client/google-chrome-unstable/google-chrome-unstable-130.0.6683.2.ebuild +++ b/www-client/google-chrome-unstable/google-chrome-unstable-130.0.6699.3.ebuild diff --git a/www-client/microsoft-edge-beta/Manifest b/www-client/microsoft-edge-beta/Manifest index 3999a0355148..ef3bf28e6bdc 100644 --- a/www-client/microsoft-edge-beta/Manifest +++ b/www-client/microsoft-edge-beta/Manifest @@ -1,7 +1,7 @@ -DIST microsoft-edge-beta_128.0.2739.42-1_amd64.deb 166716002 BLAKE2B 97f932f732d28d3eceee658e50e0003bd47a586045370d9cfac670374a4dc8173c81d8f5320bdfb1b96a0c1a192a0e6eee4f8a658767332bb415a718179ae753 SHA512 06e7f581ebdfdeaeaad25ad7a7adbad09d28bd84f695b46b26aed849fc99a5a4b7e7ea658c59bf973a65a65535807c162bfbc9f435cd336c92a7f3bc39ff2605 DIST microsoft-edge-beta_129.0.2792.12-1_amd64.deb 166721510 BLAKE2B 8a05caeaac967228ee7f871f637ed4369b1b7c90a058297027d82b08d1eafb60ffbcb50c39cb65aa93c1f2831bbc3850e26e856b849f01c8221257d5f4495e9c SHA512 5a979b069b1f616dd18c1be38602beb6c65d603c93cf65081a7daebf0387834f2c59ce4a5925afdadd14bb343e6399466040ff0162141e4e974409c7e4363ffe DIST microsoft-edge-beta_129.0.2792.21-1_amd64.deb 166634742 BLAKE2B e3b075b67a26d3975d521419934ac6fe7b3e63a88820a08a7f0ee57fd03c5cab21d3bfdbe80376d4538dd255ae2a37d9bf3a388622670f69172b6575351238d2 SHA512 181dfacb96d68ca2ecf6d5d2fd1275b1710531154bcfc64bda31d8167869b0777686f3c9af18d573e2e54e7f86abb7ec374386e8db0439117c76233561f5ca5c -EBUILD microsoft-edge-beta-128.0.2739.42.ebuild 2712 BLAKE2B e4c40954c5106692f7b454e32c79e47cdc99c09b2e1aa02a263951adcafb56ef2179235210e2c1c4a24b7571338c9329d46bf7c5fa8430284be2e1d2eb447148 SHA512 1d1a784a1b19db517d78db66fd8457b5dbfe803f852cf82d7137bd18f624618e91016f38f571e0d848542a17788d01685228863fb005cc8de4bbb96381e3044b +DIST microsoft-edge-beta_129.0.2792.31-1_amd64.deb 166681842 BLAKE2B 0069c61fe70d4f0c3faa970acd317aced034ad0fed6719bc4c969d14121b04878eb82708a8995107add2f4047aff9ddf0641e104b04f93c452918adc0a9f14d4 SHA512 085f99e59cf717ec4cfa02458e28f2adc22142e52ed49cb2c0686fb57ed6fa385fe443812873531766f24f3f205ca732a321105060b69351afa9b0f0cedf5ec4 EBUILD microsoft-edge-beta-129.0.2792.12.ebuild 2712 BLAKE2B e4c40954c5106692f7b454e32c79e47cdc99c09b2e1aa02a263951adcafb56ef2179235210e2c1c4a24b7571338c9329d46bf7c5fa8430284be2e1d2eb447148 SHA512 1d1a784a1b19db517d78db66fd8457b5dbfe803f852cf82d7137bd18f624618e91016f38f571e0d848542a17788d01685228863fb005cc8de4bbb96381e3044b EBUILD microsoft-edge-beta-129.0.2792.21.ebuild 2712 BLAKE2B e4c40954c5106692f7b454e32c79e47cdc99c09b2e1aa02a263951adcafb56ef2179235210e2c1c4a24b7571338c9329d46bf7c5fa8430284be2e1d2eb447148 SHA512 1d1a784a1b19db517d78db66fd8457b5dbfe803f852cf82d7137bd18f624618e91016f38f571e0d848542a17788d01685228863fb005cc8de4bbb96381e3044b +EBUILD microsoft-edge-beta-129.0.2792.31.ebuild 2712 BLAKE2B e4c40954c5106692f7b454e32c79e47cdc99c09b2e1aa02a263951adcafb56ef2179235210e2c1c4a24b7571338c9329d46bf7c5fa8430284be2e1d2eb447148 SHA512 1d1a784a1b19db517d78db66fd8457b5dbfe803f852cf82d7137bd18f624618e91016f38f571e0d848542a17788d01685228863fb005cc8de4bbb96381e3044b MISC metadata.xml 528 BLAKE2B ef09f12e6f9b503cd78a39ece67ab0b21c4760114b052bf105b7c5e426a1df43a5b37ff547338fc7122ac8a029b2ebb85a8793dbd4d192ae990ae71829dcdec6 SHA512 b6ab632cfce365f249a178a261eba3d469cd645cdcb99dd1bc4f1e865fbd6668cfd0f7171843e2b234ff852f8191a8b08b48cf89991cdfc7ca36337a71e5a38d diff --git a/www-client/microsoft-edge-beta/microsoft-edge-beta-128.0.2739.42.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-129.0.2792.31.ebuild index 0ff710cc5ddc..0ff710cc5ddc 100644 --- a/www-client/microsoft-edge-beta/microsoft-edge-beta-128.0.2739.42.ebuild +++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-129.0.2792.31.ebuild |