From 77d1bb6f8d47023aa21aaee830bf3229837233d1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 5 Mar 2025 01:46:50 +0000 Subject: gentoo auto-resync : 05:03:2025 - 01:46:50 --- www-client/Manifest.gz | Bin 6213 -> 6210 bytes www-client/chromium/Manifest | 8 +- www-client/chromium/chromium-135.0.7023.0.ebuild | 1536 -------------------- www-client/chromium/chromium-135.0.7039.0.ebuild | 1534 +++++++++++++++++++ .../files/chromium-135-fix-non-wayland-build.patch | 45 - .../chromium-135-oauth2-client-switches.patch | 41 + www-client/firefox-bin/Manifest | 103 +- www-client/firefox-bin/firefox-bin-128.8.0.ebuild | 359 +++++ www-client/firefox-bin/firefox-bin-136.0.ebuild | 3 +- www-client/firefox/Manifest | 107 +- www-client/firefox/files/gentoo-telemetry-prefs.js | 18 + www-client/firefox/firefox-128.8.0.ebuild | 1380 ++++++++++++++++++ www-client/firefox/firefox-136.0.ebuild | 12 +- www-client/vivaldi-snapshot/Manifest | 8 +- .../vivaldi-snapshot-7.2.3597.3.ebuild | 220 --- .../vivaldi-snapshot-7.2.3620.3.ebuild | 220 +++ www-client/vivaldi/Manifest | 10 +- www-client/vivaldi/vivaldi-7.1.3570.50.ebuild | 220 --- www-client/vivaldi/vivaldi-7.1.3570.54.ebuild | 2 +- www-client/vivaldi/vivaldi-7.1.3570.58.ebuild | 220 +++ 20 files changed, 3999 insertions(+), 2047 deletions(-) delete mode 100644 www-client/chromium/chromium-135.0.7023.0.ebuild create mode 100644 www-client/chromium/chromium-135.0.7039.0.ebuild delete mode 100644 www-client/chromium/files/chromium-135-fix-non-wayland-build.patch create mode 100644 www-client/chromium/files/chromium-135-oauth2-client-switches.patch create mode 100644 www-client/firefox-bin/firefox-bin-128.8.0.ebuild create mode 100644 www-client/firefox/files/gentoo-telemetry-prefs.js create mode 100644 www-client/firefox/firefox-128.8.0.ebuild delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-7.2.3597.3.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-7.2.3620.3.ebuild delete mode 100644 www-client/vivaldi/vivaldi-7.1.3570.50.ebuild create mode 100644 www-client/vivaldi/vivaldi-7.1.3570.58.ebuild (limited to 'www-client') diff --git a/www-client/Manifest.gz b/www-client/Manifest.gz index 14c577267244..f48ea4d7a4dd 100644 Binary files a/www-client/Manifest.gz and b/www-client/Manifest.gz differ diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest index 13ffc5079097..a400d424f735 100644 --- a/www-client/chromium/Manifest +++ b/www-client/chromium/Manifest @@ -7,8 +7,8 @@ AUX chromium-134-bindgen-custom-toolchain.patch 4838 BLAKE2B 196c183b5d23243310b AUX chromium-134-map_droppable-glibc.patch 1554 BLAKE2B 4f9ee69b74e5689abfd493287a0e4b7e3d38092ad9925344dd23cb8efd2873f43366bd2a59f49954dd1c604400f40d0fe3a8a1378b58d7d705d52128a47cc944 SHA512 1dff0c72cc1fed1dc553c304274209b3bac14b23e18649d800319c2beeae7360cf6f56b3c1d06c74129a25869edf09fc9fe3bbcba54e31747fb2b6a9cd7b1f88 AUX chromium-134-oauth2-client-switches.patch 1867 BLAKE2B e5266308b7c1506f82b811e865b482886530c4c26d062d6e15155e5ef4031d7c8d680730e5fc8ab1df899d9ffacd8be01db3b43c2817a756a1cfc5d54296a9c7 SHA512 a8d95d5c10b2561fa30bf593aaf177507666cc46dd966ea048e6ee99db6dfd3a7b11962203374770ec2d508198ba14fceeb93dd5795276794a2e7adb58a363fe AUX chromium-134-qt5-optional.patch 4140 BLAKE2B 2a5879384a95fa0a9edf2e6506b2f374f6366ef0bd5f248b14333cbe721c5ad85d04101cf7a15a207c476525a8ba22645d8446c684363b3fa8b9c642c89b8fbf SHA512 b9fba4b3d33430a9565a6605f8d525618e6691622095bfe17f781e030e4395cb5ed25242625761ca16b19da8014e4afa1335fc6719cae78c8b3594c9e9092978 -AUX chromium-135-fix-non-wayland-build.patch 1274 BLAKE2B 9171ae97a91844bf4777dc8106ff2bbe75af1bfadba03ea4902d5884b0d09bb739c00250f6cf373e4c006a54031f4b5104360a83ab2a7edec7730d492dc82a49 SHA512 b11778f41371d19d8dd40f0eb9c0a023a7b9bb2e8d177ddee0345ae7c9d99dc99c05e017f5625d0edf34a2e1ccf524ea4c810e47977bd70f240f7016fd31d769 AUX chromium-135-map_droppable-glibc.patch 1395 BLAKE2B a099ecaccd2cdefc3f4f7f4dbd8f0d1cf2bcc0d97230aabeb0a89d7f45a34b05926b39515965356fbb6e6fb97f8d3171c587e455abb7ffe534cce996c4bc35bc SHA512 fa741270a22a87cee56baef38fa44276543de3bcac495695550dbeada38dec655076f758c8dc0a3a1e290b49fa4c5c8dc4f2541f1574adf441d8d3fd6a5c902e +AUX chromium-135-oauth2-client-switches.patch 2086 BLAKE2B 630dd4d14264b5ef204afed9fe1548e559b2d9319f49e1eae0ccdfb254035212f58f507b68a0365dfcc6972856652a44f29a64be22b5930180ae4e314d7ea448 SHA512 23735898a5ebbb952f775b50251e1bcef6ca865fcdbb5559bd5f79d1ce7d394b52382ed0a0125b8e0db1c3ad6eb3aba50616dbdac6d79786dea91ea1f663d58b AUX chromium-browser.xml 407 BLAKE2B 168d78b0855546ca559cfb51aff0bc85d5e6ae974c25eb76e4a02f6d11659489c6e40397a0b2f7bc1fda336fd2c6dd8c863fccc3340719210b41c7fef51927f4 SHA512 b767fb4fd1925029d95560fc14cb7ab12ae43b2fe923e92d75e733b9723cbe1dcdf6df041a2b62554e98b79b47ef3f6028c773e72e6fd53166a021d49657aeca AUX chromium-cross-compile.patch 323 BLAKE2B 8d5091ce5287422c9688ede2563360a96b8bd34b9750dc1c8f0b6ca9aeff2c066fac2da169396baa131d971c087c78f9af53999df0e102d1f57176f5e8d3dd57 SHA512 06d3afc1aa19e57daac0e4bad37e1f365a68408240430e5e818e5a4f12e3b7519214eafa463633e447e7029f4ae13ea864ca347ad1fac117702a0be88718a954 AUX chromium-launcher-r7.sh 1631 BLAKE2B ae28d758264446511fd2b64ba69fe920144b351e8833e0e98f43d00633e850094c288b5d97d1a84801ea13aceb294623692c86c1b9be5811b7b97fa8a07a1ecd SHA512 1e97f8394bd8bb4b29570b1b85176efe6258314a596f079bee1c4018113e0023aa54a93690ba8de2a00d127af10dbe2cc3fb3127b72b841c6f28f9e7bed820e0 @@ -19,8 +19,8 @@ DIST chromium-133.0.6943.141-linux-testdata.tar.xz 650974680 BLAKE2B 00028e5b942 DIST chromium-133.0.6943.141-linux.tar.xz 1454239916 BLAKE2B 28379a87137d8162d1981d3a318da5cad1bfd2dd6461a29a049f20babf3a64fe7518057f7af5f33424d0ae4a655fb4b892ba6a82f0a39440e3487570767ae50d SHA512 04ca888078ab3ce4775d0dff9c9d46b342be5bda2fe41493dcf8695fa9b52ed749455275cfc4bba234a10fbe6df0eeac3d8bb2f8d73ca1250a142c58944ff6d9 DIST chromium-134.0.6998.35-linux-testdata.tar.xz 653357556 BLAKE2B 0e34c31210e1bfc6aa2cc6d79d9cf1e9fcdb9d1693be867438cfc639a8461203d96cdf159624d81020611eb9dc3a51958af4d7ab8d30c46f2b98a9eb2a1a303b SHA512 ab36342b045ff796f4b200d25e2a259b2a65e93d6bc32dc30f001e0c5709047bc937023abcfbe748f9a567d0df18bc188c7bbfd24d142d9f6e63c26b350647f6 DIST chromium-134.0.6998.35-linux.tar.xz 1463053644 BLAKE2B 28af05a5b650495174b2240a42b5f0073a30da7094170b80a8ea1d000b306d408e0b58772e8928b6dd110f815430a6725fddf7e1e7ee8073c6b343bee189e556 SHA512 f9da9256ef4518e53c139c6c074b6b4fe10f028e37ebee488a95ed84d6ed47acf802a9316eb215d9f2b3ebb8f1bc70ef837334256272e9f13fc3674ec36f1336 -DIST chromium-135.0.7023.0-linux-testdata.tar.xz 652006392 BLAKE2B 2d86eccec49675124e6a1ac9256ba91f389651e83a199e3c47820ae1ce845e808a09e5e9e43a2b38645f0e50d6df1fdd5ab2871e7199451f18ccf04585132613 SHA512 e153bb2cd783866de8c9630626df574da3a624d00a6d58a89eb90ac043a86de5d8a856b21fcfc179c98324fedac65cb7ec727954af3959e014111080d164cf83 -DIST chromium-135.0.7023.0-linux.tar.xz 1481618840 BLAKE2B a85cf8df8249b541a35ddb06e0715edc194db9b60e6d070cdbf1f2491827e677cb89834c95ac17978c6168330808d010ac0605bac67ba5074808132416c68163 SHA512 96aa56a4ac36c0eb5417f5080c7edecb19c24a0c83b3fb318c8c0b8ebe850b3236c264e4e6dbe472bbc726f4030d3310defb1dde2c7b304d2b36094fbf54b2fe +DIST chromium-135.0.7039.0-linux-testdata.tar.xz 645768244 BLAKE2B e584a0bc22c944f01bdc5158ee4286991bb5d6762cffba0a0d218850b795bd9167c4bea0eb6a320aaf3f71f1d96fcd4db1c28cd45ab9e2d653b258289cfe4c04 SHA512 09b08ebe7e66e16fa03f5191c42429dfbeca0dae84cf34e2c50ef6dc661957b4c5aa13ff55fd6750bea2e1de96f7bc2b46e49b24b7a5639279f35393a3a50e4b +DIST chromium-135.0.7039.0-linux.tar.xz 1443336152 BLAKE2B 20b747a4d2cb4e2acea3bb976b82be7f1b47a281ce9082956de64f5620a93897a47ee24750455ee45545aa76cc23b6aeacbe1ae5c2c8e746c02f07e85bde5e64 SHA512 454bd4f41f713ad786e9d6c62f0844e5fac4475c9167f2b9e1a049533909cbace52305b6e3f5c66dc1fa0250c3b4847d8e151cecc93d4a044bed4b2c25522585 DIST chromium-clang-llvmorg-20-init-17108-g29ed6000-3.tar.xz 54170388 BLAKE2B 1383726ef2977ddb6ca9cef7eb7f5730e9635c570c1e20c3103922242e012579b87cf7ada668a6dedec375fa821115e5c79c32b12ab486a9e427f2e00344cfdc SHA512 a2aee165ee5581f442af222b23182370349a3b0b5412d05600c2d2258f31449e986bb7e88601b26049b4a926b15938238bfe8abd01ff6eaf2df84a64812007a1 DIST chromium-openpower-a85b64f07b.tar.bz2 387899 BLAKE2B b01fda2d64ce73068d1536a10cc0896f07a4b714cdb25698b1df8b3252baa0c21c4209b307cf1cb554854f6d0bfe3cd35e06aaa8d02ac5d409a119335084c324 SHA512 05eee81677e8766808441c939bee68e2e6c58ec91f471d88a40181d2eda78614a0a6d27d92ff8f9dda564d12f3451bace4ff2727594748c5c238a3533038019b DIST chromium-openpower-deefc994ce.tar.bz2 394232 BLAKE2B 421b956493d964543c153ad6fb01798a8fa7331638ce9a2f414be1b77c029634e84a72c069a41b88f176f66611df0deb30a3af4061882d9ebf4ae8dc997a4cb9 SHA512 1f0a9c98dfe7441af14e14d8c2ddc0c7d393a56f392eef0782bec6c80d0742c1761fff3d3f6e3248cd8a3f3da0c10e675a7552ce240399088721f86b275b1d16 @@ -33,5 +33,5 @@ DIST chromium-testfonts-f26f29c9d3.tar.gz 32750602 BLAKE2B 498f8b2e0811c98dc3d4a EBUILD chromium-133.0.6943.126.ebuild 49290 BLAKE2B 6dfe1bdba4736032cce2d183ffe1193ef9de8cf3246608b74d0e003f9aa34243748e5b3a3ef283af7aed2241b93623375fc3741ad3109637fceda0363a72dce8 SHA512 2185d8d910a294cb5a1f6cdadb1eafb6ec35ff1b648f3431bf34966100fd6df72782162d263c0d6b20b73098ed95b0afc19390db1a3eddb1b3e18b9deda443d3 EBUILD chromium-133.0.6943.141.ebuild 49648 BLAKE2B c7bcccd4c8f71dcb8c34ba7ea00081ab3d7b304eea03db9fda5cb0fd6bb4df538f42c4d8fc71659a3c519b30ac764dd1383baca6ea41e556625d1eb9751f5a16 SHA512 6e7fc054060753d6aa1fd4ab01e946af73edee86f53368e923753eea862bea9a43f92a617fa3519c819ad7e74a1fb85e2aa8c30e7abbb258ac6021d427ca3497 EBUILD chromium-134.0.6998.35.ebuild 54441 BLAKE2B b26231892ab28c51bf37523e60863947225dba2a95320df31ee121cf96cd845f83675ebaa178308aa2d89ce4569e9cb775849cfef09e590727e8165f67ab1003 SHA512 3a983b3e6f40a420827d61aecc3641b4043794e05414212af463eea45675180d951d244c6d2ec49b7a6ef4352077010d943c77f1115b2085a60a396720652b9a -EBUILD chromium-135.0.7023.0.ebuild 54482 BLAKE2B b2e6ec357e86ac6728d8b10c3fb21a4d7f7389b7321f6e4778d6f2f01fd7771924522c892806168b714fe1e76e0f4067cde7c03abf685903efa6c30d7c0ffe16 SHA512 7e84ee58435bcde4bd55898d2c6c848d86d867d706d158e24c3a7c09d7da58361834fd64fba4506858e5d4462f0cb4c22206afa24b0ca34054ca9866487c7c40 +EBUILD chromium-135.0.7039.0.ebuild 54403 BLAKE2B 26b6e5d3c6d4b92b9bf48348ae89e3d3584ca8c6247e5d3a57b51ead0ef65a1cee8e5abad2d66a78ab7f25de1a004ebb180ab083d5814b96ce96ccc7df1354ac SHA512 ab3b714cbe0d5c11c2035145d38b53fe5d318b42445296d6c4eeff645c6edb0654f2a5af2e464279413594878bf5966ea41e2667e7befc865ab2ed74991b5393 MISC metadata.xml 2090 BLAKE2B 1dc2cb3c8aad13022f4ec8ccae5f87635a5a7846f5a06c797e816322ab33d9ef2629a3409612020e42f981391d41bb501297360d9f777afc81c9fe65078ef059 SHA512 d543d25b779ea63edc5f94e564c2e2c40760b76b933e6e090a6c8c70f71720cf2f764a1fdba3c75efabff8cb0119348665c06657fc38fae615bd20882a06e2e9 diff --git a/www-client/chromium/chromium-135.0.7023.0.ebuild b/www-client/chromium/chromium-135.0.7023.0.ebuild deleted file mode 100644 index d53305f0080c..000000000000 --- a/www-client/chromium/chromium-135.0.7023.0.ebuild +++ /dev/null @@ -1,1536 +0,0 @@ -# Copyright 2009-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# PACKAGING NOTES - -# Upstream 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 may eventually hit the point where we need to use -# the bundled Clang due to the use of prerelease features. - -# USE=bundled-toolchain is intended for users who want to use the same toolchain -# as the upstream releases. It's also a good fallback in case we fall behind -# and need to get a release out quickly (less likely with `dev` in-tree). - -# Since m133 we are using CI-generated tarballs from -# https://github.com/chromium-linux-tarballs/chromium-tarballs/ (uploaded to S3 -# and made available via https://chromium-tarballs.distfiles.gentoo.org/). - -# We do this because upstream tarballs weigh in at about 3.5x the size of our -# new "Distro tarballs" and include binaries (etc) that are not useful for -# downstream consumers (like distributions). - -GN_MIN_VER=0.2207 -# chromium-tools/get-chromium-toolchain-strings.py -TEST_FONT=f26f29c9d3bfae588207bbc9762de8d142e58935c62a86f67332819b15203b35 -BUNDLED_CLANG_VER=llvmorg-20-init-17108-g29ed6000-3 -BUNDLED_RUST_VER=ad211ced81509462cdfe4c29ed10f97279a0acae-1 -RUST_SHORT_HASH=${BUNDLED_RUST_VER:0:10}-${BUNDLED_RUST_VER##*-} - -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" - -LLVM_COMPAT=( 19 20 ) -PYTHON_COMPAT=( python3_{11..13} ) -PYTHON_REQ_USE="xml(+)" -RUST_MIN_VER=1.78.0 -RUST_NEEDS_LLVM="yes please" -RUST_OPTIONAL="yes" # Not actually optional, but we don't need system Rust (or LLVM) with USE=bundled-toolchain - -inherit check-reqs chromium-2 desktop flag-o-matic llvm-r1 multiprocessing ninja-utils pax-utils -inherit python-any-r1 readme.gentoo-r1 rust systemd toolchain-funcs virtualx xdg-utils - -DESCRIPTION="Open-source version of Google Chrome web browser" -HOMEPAGE="https://www.chromium.org/" -PPC64_HASH="a85b64f07b489b8c6fdb13ecf79c16c56c560fc6" -PATCH_V="${PV%%\.*}" -SRC_URI="https://chromium-tarballs.distfiles.gentoo.org/${P}-linux.tar.xz - !bundled-toolchain? ( - https://gitlab.com/Matt.Jolly/chromium-patches/-/archive/${PATCH_V}/chromium-patches-${PATCH_V}.tar.bz2 - ) - bundled-toolchain? ( - https://gsdview.appspot.com/chromium-browser-clang/Linux_x64/clang-${BUNDLED_CLANG_VER}.tar.xz - -> chromium-clang-${BUNDLED_CLANG_VER}.tar.xz - https://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/rust-toolchain-${BUNDLED_RUST_VER}-${BUNDLED_CLANG_VER%-*}.tar.xz - -> chromium-rust-toolchain-${RUST_SHORT_HASH}-${BUNDLED_CLANG_VER%-*}.tar.xz - ) - test? ( - https://chromium-tarballs.distfiles.gentoo.org/${P}-linux-testdata.tar.xz - https://chromium-fonts.storage.googleapis.com/${TEST_FONT} -> chromium-testfonts-${TEST_FONT:0:10}.tar.gz - ) - ppc64? ( - https://gitlab.raptorengineering.com/raptor-engineering-public/chromium/openpower-patches/-/archive/${PPC64_HASH}/openpower-patches-${PPC64_HASH}.tar.bz2 -> chromium-openpower-${PPC64_HASH:0:10}.tar.bz2 - ) - pgo? ( https://github.com/elkablo/chromium-profiler/releases/download/v0.2/chromium-profiler-0.2.tar )" - -LICENSE="BSD" -SLOT="0/dev" -# Dev exists mostly to give devs some breathing room for beta/stable releases; -# it shouldn't be keyworded but adventurous users can select it. -if [[ ${SLOT} != "0/dev" ]]; then - KEYWORDS="~amd64 ~arm64" -fi - -IUSE_SYSTEM_LIBS="+system-harfbuzz +system-icu +system-png +system-zstd" -IUSE="+X ${IUSE_SYSTEM_LIBS} bindist bundled-toolchain cups debug ffmpeg-chromium gtk4 +hangouts headless kerberos +official pax-kernel pgo" -IUSE+=" +proprietary-codecs pulseaudio qt6 +screencast selinux test +vaapi +wayland +widevine cpu_flags_ppc_vsx3" -RESTRICT=" - !bindist? ( bindist ) - !test? ( test ) -" - -REQUIRED_USE=" - !headless? ( || ( X wayland ) ) - pgo? ( X !wayland ) - 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:= - !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? ( - >=app-accessibility/at-spi2-core-2.46.0:2 - media-libs/mesa:=[X?,wayland?] - virtual/udev - x11-libs/cairo:= - x11-libs/gdk-pixbuf:2 - x11-libs/pango:= - cups? ( >=net-print/cups-1.3.11:= ) - qt6? ( dev-qt/qtbase:6[gui,widgets] ) - X? ( ${COMMON_X_DEPEND} ) - ) -" -RDEPEND="${COMMON_DEPEND} - !headless? ( - || ( - x11-libs/gtk+:3[X?,wayland?] - gui-libs/gtk:4[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?] ) - ) -" - -BDEPEND=" - ${COMMON_SNAPSHOT_DEPEND} - ${PYTHON_DEPS} - $(python_gen_any_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ') - >=app-arch/gzip-1.7 - !headless? ( - qt6? ( dev-qt/qtbase:6 ) - ) - !bundled-toolchain? ( $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT} - llvm-core/llvm:${LLVM_SLOT} - llvm-core/lld:${LLVM_SLOT} - official? ( - !ppc64? ( llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[cfi] ) - ) ') - ${RUST_DEPEND} - ) - 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} - app-alternatives/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" "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 -} - -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 - - # 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. - use_lto="false" - if tc-is-lto; then - use_lto="true" - # We can rely on GN to do this for us; anecdotally without this builds - # take significantly longer with LTO enabled and it doesn't hurt anything. - filter-lto - fi - - if [ "$use_lto" = "false" ] && 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 - - if [ "$use_lto" = "false" ] && use test; then - die "Tests require CFI which requires LTO" - fi - - export use_lto - - # 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 - - if use !bundled-toolchain; then - llvm-r1_pkg_setup - rust_pkg_setup - fi - - # Forcing clang; respect llvm_slot_x to enable selection of impl from LLVM_COMPAT - AR=llvm-ar - CPP="${CHOST}-clang++-${LLVM_SLOT} -E" - NM=llvm-nm - CC="${CHOST}-clang-${LLVM_SLOT}" - CXX="${CHOST}-clang++-${LLVM_SLOT}" - - if tc-is-cross-compiler; then - use pgo && die "The pgo USE flag cannot be used when cross-compiling" - CPP="${CBUILD}-clang++-${LLVM_SLOT} -E" - fi - - # I hate doing this but upstream Rust have yet to come up with a better solution for - # us poor packagers. Required for Split LTO units, which are required for CFI. - export RUSTC_BOOTSTRAP=1 - - # 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() { - unpack ${P}-linux.tar.xz - # These should only be required when we're not using the official toolchain - use !bundled-toolchain && unpack chromium-patches-${PATCH_V}.tar.bz2 - - use pgo && unpack chromium-profiler-0.2.tar - - if use test; then - # A new testdata tarball is available for each release; but testfonts tend to remain stable - # for the duration of a release. - # This unpacks directly into/over ${WORKDIR}/${P} so we can just use `unpack`. - unpack ${P}-linux-testdata.tar.xz - # This just contains a bunch of font files that need to be unpacked (or moved) to the correct location. - local testfonts_dir="${WORKDIR}/${P}/third_party/test_fonts" - local testfonts_tar="${DISTDIR}/chromium-testfonts-${TEST_FONT:0:10}.tar.gz" - tar xf "${testfonts_tar}" -C "${testfonts_dir}" || die "Failed to unpack testfonts" - fi - - # We need to manually unpack this since M126 else we'd unpack one toolchain over the other. - # Since we're doing that anyway let's unpack to sensible locations to make symlink creation easier. - if use bundled-toolchain; then - einfo "Unpacking bundled Clang ..." - mkdir -p "${WORKDIR}"/clang || die "Failed to create clang directory" - tar xf "${DISTDIR}/chromium-clang-${BUNDLED_CLANG_VER}.tar.xz" -C "${WORKDIR}/clang" || die "Failed to unpack Clang" - einfo "Unpacking bundled Rust ..." - local rust_dir="${WORKDIR}/rust-toolchain" - mkdir -p "${rust_dir}" || die "Failed to create rust toolchain directory" - tar xf "${DISTDIR}/chromium-rust-toolchain-${RUST_SHORT_HASH}-${BUNDLED_CLANG_VER%-*}.tar.xz" -C "${rust_dir}" || - die "Failed to unpack Rust" - fi - - if use ppc64; then - unpack chromium-openpower-${PPC64_HASH:0:10}.tar.bz2 - fi -} - -src_prepare() { - # Calling this here supports resumption via FEATURES=keepwork - python_setup - - local PATCHES=( - "${FILESDIR}/chromium-cross-compile.patch" - "${FILESDIR}/chromium-109-system-zlib.patch" - "${FILESDIR}/chromium-111-InkDropHost-crash.patch" - "${FILESDIR}/chromium-131-unbundle-icu-target.patch" - "${FILESDIR}/chromium-134-oauth2-client-switches.patch" - "${FILESDIR}/chromium-134-bindgen-custom-toolchain.patch" - "${FILESDIR}/chromium-135-fix-non-wayland-build.patch" - "${FILESDIR}/chromium-135-map_droppable-glibc.patch" - ) - - if use bundled-toolchain; then - # We need to symlink the toolchain into the expected location - einfo "Symlinking Clang toolchain to expected location ..." - mkdir -p third_party/llvm-build/ || die "Failed to create llvm-build directory" - # the 'Chromium Linux Tarballs' seem to already have 'Release+Asserts/{lib,bin}'; not sure if this is an - # upstream change - we're using the same scripts to build, theoretically. We'll still attempt to create - # llvm-build, but we'll rm Release+Asserts and symlink directly. - if [[ -d third_party/llvm-build/Release+Asserts ]]; then - rm -r third_party/llvm-build/Release+Asserts || die "Failed to remove third_party/llvm-build/Release+Asserts" - fi - ln -s "${WORKDIR}"/clang third_party/llvm-build/Release+Asserts || die "Failed to bundle Clang" - einfo "Symlinking Rust toolchain to expected location ..." - # As above, so below - if [[ -d third_party/rust-toolchain ]]; then - rm -r third_party/rust-toolchain || die "Failed to remove third_party/rust-toolchain" - fi - 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" - else - # We don't need our toolchain patches if we're using the official toolchain - shopt -s globstar nullglob - # 130: moved the PPC64 patches into the chromium-patches repo - local patch - for patch in "${WORKDIR}/chromium-patches-${PATCH_V}"/**/*.patch; do - if [[ ${patch} == *"ppc64le"* ]]; then - use ppc64 && PATCHES+=( "${patch}" ) - else - PATCHES+=( "${patch}" ) - fi - done - - shopt -u globstar nullglob - - # 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 - - # Strictly speaking this doesn't need to be gated (no bundled toolchain for ppc64); it keeps the logic together - if use ppc64; then - local patchset_dir="${WORKDIR}/openpower-patches-${PPC64_HASH}/patches" - # patch causes build errors on 4K page systems (https://bugs.gentoo.org/show_bug.cgi?id=940304) - local page_size_patch="ppc64le/third_party/use-sysconf-page-size-on-ppc64.patch" - local isa_3_patch="ppc64le/core/baseline-isa-3-0.patch" - # Apply the OpenPOWER patches (check for page size and isa 3.0) - openpower_patches=( $(grep -E "^ppc64le|^upstream" "${patchset_dir}/series" | grep -v "${page_size_patch}" | - grep -v "${isa_3_patch}" || die) ) - for patch in "${openpower_patches[@]}"; do - PATCHES+=( "${patchset_dir}/${patch}" ) - done - if [[ $(getconf PAGESIZE) == 65536 ]]; then - PATCHES+=( "${patchset_dir}/${page_size_patch}" ) - fi - # We use vsx3 as a proxy for 'want isa3.0' (POWER9) - if use cpu_flags_ppc_vsx3 ; then - PATCHES+=( "${patchset_dir}/${isa_3_patch}" ) - fi - fi - - # Oxidised hacks, let's keep 'em all in one place - # This is a nightly option that does not exist in older releases - # https://github.com/rust-lang/rust/commit/389a399a501a626ebf891ae0bb076c25e325ae64 - if ver_test ${RUST_SLOT} -lt "1.83.0"; then - sed '/rustflags = \[ "-Zdefault-visibility=hidden" \]/d' -i build/config/gcc/BUILD.gn || - die "Failed to remove default visibility nightly option" - fi - - # Upstream Rust replaced adler with adler2, for older versions of Rust we still need - # to tell GN that we have the older lib when it tries to copy the Rust sysroot - # into the bulid directory. - if ver_test ${RUST_SLOT} -lt "1.86.0"; then - sed -i 's/adler2/adler/' build/rust/std/BUILD.gn || - die "Failed to tell GN that we have adler and not adler2" - fi - fi - - default - - # Not included in -lite tarballs, but we should check for it anyway. - if [[ -f third_party/node/linux/node-linux-x64/bin/node ]]; then - rm third_party/node/linux/node-linux-x64/bin/node || die - else - mkdir -p third_party/node/linux/node-linux-x64/bin || die - fi - 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 - - # remove_bundled_libraries.py walks the source tree and looks for paths containing the substring 'third_party' - # whitelist matches use the right-most matching path component, so we need to whitelist from that point down. - 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 - 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/json5 - 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/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/third-party-web - 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/fast_float - 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/ink_stroke_modeler/src/ink_stroke_modeler - third_party/ink_stroke_modeler/src/ink_stroke_modeler/internal - third_party/ink/src/ink/brush - third_party/ink/src/ink/color - third_party/ink/src/ink/geometry - third_party/ink/src/ink/rendering - third_party/ink/src/ink/rendering/skia/common_internal - third_party/ink/src/ink/rendering/skia/native - third_party/ink/src/ink/rendering/skia/native/internal - third_party/ink/src/ink/strokes - third_party/ink/src/ink/types - third_party/inspector_protocol - third_party/ipcz - third_party/jinja2 - third_party/jsoncpp - 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/libc++ - third_party/libdrm - third_party/libgav1 - third_party/libjingle - third_party/libphonenumber - third_party/libsecret - third_party/libsrtp - third_party/libsync - third_party/libtess2/libtess2 - third_party/libtess2/src/Include - third_party/libtess2/src/Source - 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/llvm-libc - third_party/llvm-libc/src/shared/ - 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/protobuf/third_party/utf8_range - third_party/pthreadpool - third_party/puffin - third_party/pyjson5 - third_party/pyyaml - third_party/rapidhash - third_party/re2 - third_party/rnnoise - third_party/rust - third_party/ruy - third_party/s2cellid - third_party/search_engines_data - third_party/securemessage - third_party/selenium-atoms - third_party/sentencepiece - third_party/sentencepiece/src/third_party/darts_clone - third_party/shell-encryption - third_party/simdutf - 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/framework - third_party/tflite/src/third_party/xla/xla/tsl/lib/random - third_party/tflite/src/third_party/xla/xla/tsl/protobuf - third_party/tflite/src/third_party/xla/xla/tsl/util - third_party/ukey2 - third_party/unrar - third_party/utf - third_party/vulkan - third_party/wasm_tts_engine - 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/third_party/siphash - v8/third_party/utf8-decoder - v8/third_party/glibc - v8/third_party/inspector_protocol - v8/third_party/rapidhash-v8 - v8/third_party/v8 - v8/third_party/valgrind - - # gyp -> gn leftovers - third_party/speech-dispatcher - third_party/usb_ids - third_party/xdg-utils - ) - - if use test; then - # tar tvf /var/cache/distfiles/${P}-testdata.tar.xz | grep '^d' | grep 'third_party' | awk '{print $NF}' - keeplibs+=( - third_party/breakpad/breakpad/src/processor - third_party/fuzztest - third_party/google_benchmark/src/include/benchmark - third_party/google_benchmark/src/src - third_party/perfetto/protos/third_party/pprof - third_party/test_fonts - third_party/test_fonts/fontconfig - ) - fi - - # 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 - - # 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 - - # Sanity check keeplibs, on major version bumps it is often necessary to update this list - # and this enables us to hit them all at once. - # There are some entries that need to be whitelisted (TODO: Why? The file is understandable, the rest seem odd) - whitelist_libs=( - net/third_party/quic - third_party/devtools-frontend/src/front_end/third_party/additional_readme_paths.json - third_party/libjingle - third_party/mesa - third_party/skia/third_party/vulkan - third_party/vulkan - ) - local not_found_libs=() - for lib in "${keeplibs[@]}"; do - if [[ ! -d "${lib}" ]] && ! has "${lib}" "${whitelist_libs[@]}"; then - not_found_libs+=( "${lib}" ) - fi - done - - if [[ ${#not_found_libs[@]} -gt 0 ]]; then - eerror "The following \`keeplibs\` directories were not found in the source tree:" - for lib in "${not_found_libs[@]}"; do - eerror " ${lib}" - done - die "Please update the ebuild." - fi - - # Remove most bundled libraries. Some are still needed. - einfo "Unbundling third-party libraries ..." - 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="" - - if use !bundled-toolchain; then - # We already forced the "correct" clang via pkg_setup - - 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/\"" - - myconf_gn+=" bindgen_libclang_path=\"$(get_llvm_prefix)/$(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}/\"" - - myconf_gn+=" rust_sysroot_absolute=\"$(get_rust_prefix)\"" - myconf_gn+=" rustc_version=\"${RUST_SLOT}\"" - 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 - 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 - - # TODO 131: The above call clobbers `enable_freetype = true` in the freetype gni file - # drop the last line, then append the freetype line and a new curly brace to end the block - local freetype_gni="build/config/freetype/freetype.gni" - sed -i -e '$d' ${freetype_gni} || die - echo " enable_freetype = true" >> ${freetype_gni} || die - echo "}" >> ${freetype_gni} || 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" - - # 131 began laying the groundwork for replacing freetype with - # "Rust-based Fontations set of libraries plus Skia path rendering" - # We now need to opt-in - myconf_gn+=" enable_freetype=true" - - # 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_minigbm=true" - myconf_gn+=" use_xkbcommon=true" - myconf_gn+=" use_qt5=false" - if use qt6; then - myconf_gn+=" use_qt6=true" - 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 - myconf_gn+=" moc_qt6_path=\"${EPREFIX}/usr/${cbuild_libdir}/qt6/libexec\"" - else - myconf_gn+=" use_qt6=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 - - 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 - if use ppc64; then - myconf_gn+=" is_cfi=false" # requires llvm-runtimes/compiler-rt-sanitizers[cfi] - else - myconf_gn+=" is_cfi=${use_lto}" - fi - # 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 $(use test && echo "base_unittests") - - pax-mark m out/Release/chrome - - # This codepath does minimal patching, so we're at the mercy of upstream - # CFLAGS. This is fine - we're not intending to force this on users - # and we do a lot of flag 'management' anyway. - if use bundled-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/libqt6_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_test() { - # Initial list of tests to skip pulled from Alpine. Thanks Lauren! - # https://issues.chromium.org/issues/40939315 - local skip_tests=( - 'MessagePumpLibeventTest.NestedNotification*' - ClampTest.Death - OptionalTest.DereferencingNoValueCrashes - PlatformThreadTest.SetCurrentThreadTypeTest - RawPtrTest.TrivialRelocability - SafeNumerics.IntMaxOperations - StackTraceTest.TraceStackFramePointersFromBuffer - StringPieceTest.InvalidLengthDeath - StringPieceTest.OutOfBoundsDeath - ThreadPoolEnvironmentConfig.CanUseBackgroundPriorityForWorker - ValuesUtilTest.FilePath - # Gentoo-specific - AlternateTestParams/PartitionAllocDeathTest.RepeatedAllocReturnNullDirect/0 - AlternateTestParams/PartitionAllocDeathTest.RepeatedAllocReturnNullDirect/1 - AlternateTestParams/PartitionAllocDeathTest.RepeatedAllocReturnNullDirect/2 - AlternateTestParams/PartitionAllocDeathTest.RepeatedAllocReturnNullDirect/3 - AlternateTestParams/PartitionAllocDeathTest.RepeatedReallocReturnNullDirect/0 - AlternateTestParams/PartitionAllocDeathTest.RepeatedReallocReturnNullDirect/1 - AlternateTestParams/PartitionAllocDeathTest.RepeatedReallocReturnNullDirect/2 - AlternateTestParams/PartitionAllocDeathTest.RepeatedReallocReturnNullDirect/3 - CharacterEncodingTest.GetCanonicalEncodingNameByAliasName - CheckExitCodeAfterSignalHandlerDeathTest.CheckSIGFPE - CheckExitCodeAfterSignalHandlerDeathTest.CheckSIGILL - CheckExitCodeAfterSignalHandlerDeathTest.CheckSIGSEGV - CheckExitCodeAfterSignalHandlerDeathTest.CheckSIGSEGVNonCanonicalAddress - FilePathTest.FromUTF8Unsafe_And_AsUTF8Unsafe - FileTest.GetInfoForCreationTime - ICUStringConversionsTest.ConvertToUtf8AndNormalize - NumberFormattingTest.FormatPercent - PathServiceTest.CheckedGetFailure - PlatformThreadTest.CanChangeThreadType - RustLogIntegrationTest.CheckAllSeverity - StackCanary.ChangingStackCanaryCrashesOnReturn - StackTraceDeathTest.StackDumpSignalHandlerIsMallocFree - SysStrings.SysNativeMBAndWide - SysStrings.SysNativeMBToWide - SysStrings.SysWideToNativeMB - TestLauncherTools.TruncateSnippetFocusedMatchesFatalMessagesTest - ToolsSanityTest.BadVirtualCallNull - ToolsSanityTest.BadVirtualCallWrongType - CancelableEventTest.BothCancelFailureAndSucceedOccurUnderContention #new m133: TODO investigate - ) - local test_filter="-$(IFS=:; printf '%s' "${skip_tests[*]}")" - # test-launcher-bot-mode enables parallelism and plain output - ./out/Release/base_unittests --test-launcher-bot-mode \ - --test-launcher-jobs="$(makeopts_jobs)" \ - --gtest_filter="${test_filter}" || die "Tests failed!" -} - -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 - 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/chromium/chromium-135.0.7039.0.ebuild b/www-client/chromium/chromium-135.0.7039.0.ebuild new file mode 100644 index 000000000000..5c429e58d034 --- /dev/null +++ b/www-client/chromium/chromium-135.0.7039.0.ebuild @@ -0,0 +1,1534 @@ +# Copyright 2009-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# PACKAGING NOTES + +# Upstream 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 may eventually hit the point where we need to use +# the bundled Clang due to the use of prerelease features. + +# USE=bundled-toolchain is intended for users who want to use the same toolchain +# as the upstream releases. It's also a good fallback in case we fall behind +# and need to get a release out quickly (less likely with `dev` in-tree). + +# Since m133 we are using CI-generated tarballs from +# https://github.com/chromium-linux-tarballs/chromium-tarballs/ (uploaded to S3 +# and made available via https://chromium-tarballs.distfiles.gentoo.org/). + +# We do this because upstream tarballs weigh in at about 3.5x the size of our +# new "Distro tarballs" and include binaries (etc) that are not useful for +# downstream consumers (like distributions). + +GN_MIN_VER=0.2207 +# chromium-tools/get-chromium-toolchain-strings.py +TEST_FONT=f26f29c9d3bfae588207bbc9762de8d142e58935c62a86f67332819b15203b35 +BUNDLED_CLANG_VER=llvmorg-20-init-17108-g29ed6000-3 +BUNDLED_RUST_VER=ad211ced81509462cdfe4c29ed10f97279a0acae-1 +RUST_SHORT_HASH=${BUNDLED_RUST_VER:0:10}-${BUNDLED_RUST_VER##*-} + +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" + +LLVM_COMPAT=( 19 20 ) +PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_REQ_USE="xml(+)" +RUST_MIN_VER=1.78.0 +RUST_NEEDS_LLVM="yes please" +RUST_OPTIONAL="yes" # Not actually optional, but we don't need system Rust (or LLVM) with USE=bundled-toolchain + +inherit check-reqs chromium-2 desktop flag-o-matic llvm-r1 multiprocessing ninja-utils pax-utils +inherit python-any-r1 readme.gentoo-r1 rust systemd toolchain-funcs virtualx xdg-utils + +DESCRIPTION="Open-source version of Google Chrome web browser" +HOMEPAGE="https://www.chromium.org/" +PPC64_HASH="a85b64f07b489b8c6fdb13ecf79c16c56c560fc6" +PATCH_V="${PV%%\.*}" +SRC_URI="https://chromium-tarballs.distfiles.gentoo.org/${P}-linux.tar.xz + !bundled-toolchain? ( + https://gitlab.com/Matt.Jolly/chromium-patches/-/archive/${PATCH_V}/chromium-patches-${PATCH_V}.tar.bz2 + ) + bundled-toolchain? ( + https://gsdview.appspot.com/chromium-browser-clang/Linux_x64/clang-${BUNDLED_CLANG_VER}.tar.xz + -> chromium-clang-${BUNDLED_CLANG_VER}.tar.xz + https://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/rust-toolchain-${BUNDLED_RUST_VER}-${BUNDLED_CLANG_VER%-*}.tar.xz + -> chromium-rust-toolchain-${RUST_SHORT_HASH}-${BUNDLED_CLANG_VER%-*}.tar.xz + ) + test? ( + https://chromium-tarballs.distfiles.gentoo.org/${P}-linux-testdata.tar.xz + https://chromium-fonts.storage.googleapis.com/${TEST_FONT} -> chromium-testfonts-${TEST_FONT:0:10}.tar.gz + ) + ppc64? ( + https://gitlab.raptorengineering.com/raptor-engineering-public/chromium/openpower-patches/-/archive/${PPC64_HASH}/openpower-patches-${PPC64_HASH}.tar.bz2 -> chromium-openpower-${PPC64_HASH:0:10}.tar.bz2 + ) + pgo? ( https://github.com/elkablo/chromium-profiler/releases/download/v0.2/chromium-profiler-0.2.tar )" + +LICENSE="BSD" +SLOT="0/dev" +# Dev exists mostly to give devs some breathing room for beta/stable releases; +# it shouldn't be keyworded but adventurous users can select it. +if [[ ${SLOT} != "0/dev" ]]; then + KEYWORDS="~amd64 ~arm64" +fi + +IUSE_SYSTEM_LIBS="+system-harfbuzz +system-icu +system-png +system-zstd" +IUSE="+X ${IUSE_SYSTEM_LIBS} bindist bundled-toolchain cups debug ffmpeg-chromium gtk4 +hangouts headless kerberos +official pax-kernel pgo" +IUSE+=" +proprietary-codecs pulseaudio qt6 +screencast selinux test +vaapi +wayland +widevine cpu_flags_ppc_vsx3" +RESTRICT=" + !bindist? ( bindist ) + !test? ( test ) +" + +REQUIRED_USE=" + !headless? ( || ( X wayland ) ) + pgo? ( X !wayland ) + 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:= + !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? ( + >=app-accessibility/at-spi2-core-2.46.0:2 + media-libs/mesa:=[X?,wayland?] + virtual/udev + x11-libs/cairo:= + x11-libs/gdk-pixbuf:2 + x11-libs/pango:= + cups? ( >=net-print/cups-1.3.11:= ) + qt6? ( dev-qt/qtbase:6[gui,widgets] ) + X? ( ${COMMON_X_DEPEND} ) + ) +" +RDEPEND="${COMMON_DEPEND} + !headless? ( + || ( + x11-libs/gtk+:3[X?,wayland?] + gui-libs/gtk:4[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?] ) + ) +" + +BDEPEND=" + ${COMMON_SNAPSHOT_DEPEND} + ${PYTHON_DEPS} + $(python_gen_any_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ') + >=app-arch/gzip-1.7 + !headless? ( + qt6? ( dev-qt/qtbase:6 ) + ) + !bundled-toolchain? ( $(llvm_gen_dep ' + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} + llvm-core/lld:${LLVM_SLOT} + official? ( + !ppc64? ( llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[cfi] ) + ) ') + ${RUST_DEPEND} + ) + 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} + app-alternatives/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" "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 +} + +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 + + # 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. + use_lto="false" + if tc-is-lto; then + use_lto="true" + # We can rely on GN to do this for us; anecdotally without this builds + # take significantly longer with LTO enabled and it doesn't hurt anything. + filter-lto + fi + + if [ "$use_lto" = "false" ] && 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 + + if [ "$use_lto" = "false" ] && use test; then + die "Tests require CFI which requires LTO" + fi + + export use_lto + + # 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 + + if use !bundled-toolchain; then + llvm-r1_pkg_setup + rust_pkg_setup + fi + + # Forcing clang; respect llvm_slot_x to enable selection of impl from LLVM_COMPAT + AR=llvm-ar + CPP="${CHOST}-clang++-${LLVM_SLOT} -E" + NM=llvm-nm + CC="${CHOST}-clang-${LLVM_SLOT}" + CXX="${CHOST}-clang++-${LLVM_SLOT}" + + if tc-is-cross-compiler; then + use pgo && die "The pgo USE flag cannot be used when cross-compiling" + CPP="${CBUILD}-clang++-${LLVM_SLOT} -E" + fi + + # I hate doing this but upstream Rust have yet to come up with a better solution for + # us poor packagers. Required for Split LTO units, which are required for CFI. + export RUSTC_BOOTSTRAP=1 + + # 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() { + unpack ${P}-linux.tar.xz + # These should only be required when we're not using the official toolchain + use !bundled-toolchain && unpack chromium-patches-${PATCH_V}.tar.bz2 + + use pgo && unpack chromium-profiler-0.2.tar + + if use test; then + # A new testdata tarball is available for each release; but testfonts tend to remain stable + # for the duration of a release. + # This unpacks directly into/over ${WORKDIR}/${P} so we can just use `unpack`. + unpack ${P}-linux-testdata.tar.xz + # This just contains a bunch of font files that need to be unpacked (or moved) to the correct location. + local testfonts_dir="${WORKDIR}/${P}/third_party/test_fonts" + local testfonts_tar="${DISTDIR}/chromium-testfonts-${TEST_FONT:0:10}.tar.gz" + tar xf "${testfonts_tar}" -C "${testfonts_dir}" || die "Failed to unpack testfonts" + fi + + # We need to manually unpack this since M126 else we'd unpack one toolchain over the other. + # Since we're doing that anyway let's unpack to sensible locations to make symlink creation easier. + if use bundled-toolchain; then + einfo "Unpacking bundled Clang ..." + mkdir -p "${WORKDIR}"/clang || die "Failed to create clang directory" + tar xf "${DISTDIR}/chromium-clang-${BUNDLED_CLANG_VER}.tar.xz" -C "${WORKDIR}/clang" || die "Failed to unpack Clang" + einfo "Unpacking bundled Rust ..." + local rust_dir="${WORKDIR}/rust-toolchain" + mkdir -p "${rust_dir}" || die "Failed to create rust toolchain directory" + tar xf "${DISTDIR}/chromium-rust-toolchain-${RUST_SHORT_HASH}-${BUNDLED_CLANG_VER%-*}.tar.xz" -C "${rust_dir}" || + die "Failed to unpack Rust" + fi + + if use ppc64; then + unpack chromium-openpower-${PPC64_HASH:0:10}.tar.bz2 + fi +} + +src_prepare() { + # Calling this here supports resumption via FEATURES=keepwork + python_setup + + local PATCHES=( + "${FILESDIR}/chromium-cross-compile.patch" + "${FILESDIR}/chromium-109-system-zlib.patch" + "${FILESDIR}/chromium-111-InkDropHost-crash.patch" + "${FILESDIR}/chromium-131-unbundle-icu-target.patch" + "${FILESDIR}/chromium-134-bindgen-custom-toolchain.patch" + "${FILESDIR}/chromium-135-oauth2-client-switches.patch" + "${FILESDIR}/chromium-135-map_droppable-glibc.patch" + ) + + if use bundled-toolchain; then + # We need to symlink the toolchain into the expected location + einfo "Symlinking Clang toolchain to expected location ..." + mkdir -p third_party/llvm-build/ || die "Failed to create llvm-build directory" + # the 'Chromium Linux Tarballs' seem to already have 'Release+Asserts/{lib,bin}'; not sure if this is an + # upstream change - we're using the same scripts to build, theoretically. We'll still attempt to create + # llvm-build, but we'll rm Release+Asserts and symlink directly. + if [[ -d third_party/llvm-build/Release+Asserts ]]; then + rm -r third_party/llvm-build/Release+Asserts || die "Failed to remove third_party/llvm-build/Release+Asserts" + fi + ln -s "${WORKDIR}"/clang third_party/llvm-build/Release+Asserts || die "Failed to bundle Clang" + einfo "Symlinking Rust toolchain to expected location ..." + # As above, so below + if [[ -d third_party/rust-toolchain ]]; then + rm -r third_party/rust-toolchain || die "Failed to remove third_party/rust-toolchain" + fi + 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" + else + # We don't need our toolchain patches if we're using the official toolchain + shopt -s globstar nullglob + # 130: moved the PPC64 patches into the chromium-patches repo + local patch + for patch in "${WORKDIR}/chromium-patches-${PATCH_V}"/**/*.patch; do + if [[ ${patch} == *"ppc64le"* ]]; then + use ppc64 && PATCHES+=( "${patch}" ) + else + PATCHES+=( "${patch}" ) + fi + done + + shopt -u globstar nullglob + + # 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 + + # Strictly speaking this doesn't need to be gated (no bundled toolchain for ppc64); it keeps the logic together + if use ppc64; then + local patchset_dir="${WORKDIR}/openpower-patches-${PPC64_HASH}/patches" + # patch causes build errors on 4K page systems (https://bugs.gentoo.org/show_bug.cgi?id=940304) + local page_size_patch="ppc64le/third_party/use-sysconf-page-size-on-ppc64.patch" + local isa_3_patch="ppc64le/core/baseline-isa-3-0.patch" + # Apply the OpenPOWER patches (check for page size and isa 3.0) + openpower_patches=( $(grep -E "^ppc64le|^upstream" "${patchset_dir}/series" | grep -v "${page_size_patch}" | + grep -v "${isa_3_patch}" || die) ) + for patch in "${openpower_patches[@]}"; do + PATCHES+=( "${patchset_dir}/${patch}" ) + done + if [[ $(getconf PAGESIZE) == 65536 ]]; then + PATCHES+=( "${patchset_dir}/${page_size_patch}" ) + fi + # We use vsx3 as a proxy for 'want isa3.0' (POWER9) + if use cpu_flags_ppc_vsx3 ; then + PATCHES+=( "${patchset_dir}/${isa_3_patch}" ) + fi + fi + + # Oxidised hacks, let's keep 'em all in one place + # This is a nightly option that does not exist in older releases + # https://github.com/rust-lang/rust/commit/389a399a501a626ebf891ae0bb076c25e325ae64 + if ver_test ${RUST_SLOT} -lt "1.83.0"; then + sed '/rustflags = \[ "-Zdefault-visibility=hidden" \]/d' -i build/config/gcc/BUILD.gn || + die "Failed to remove default visibility nightly option" + fi + + # Upstream Rust replaced adler with adler2, for older versions of Rust we still need + # to tell GN that we have the older lib when it tries to copy the Rust sysroot + # into the bulid directory. + if ver_test ${RUST_SLOT} -lt "1.86.0"; then + sed -i 's/adler2/adler/' build/rust/std/BUILD.gn || + die "Failed to tell GN that we have adler and not adler2" + fi + fi + + default + + # Not included in -lite tarballs, but we should check for it anyway. + if [[ -f third_party/node/linux/node-linux-x64/bin/node ]]; then + rm third_party/node/linux/node-linux-x64/bin/node || die + else + mkdir -p third_party/node/linux/node-linux-x64/bin || die + fi + 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 + + # remove_bundled_libraries.py walks the source tree and looks for paths containing the substring 'third_party' + # whitelist matches use the right-most matching path component, so we need to whitelist from that point down. + 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 + 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/json5 + 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/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/third-party-web + 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/fast_float + 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/ink_stroke_modeler/src/ink_stroke_modeler + third_party/ink_stroke_modeler/src/ink_stroke_modeler/internal + third_party/ink/src/ink/brush + third_party/ink/src/ink/color + third_party/ink/src/ink/geometry + third_party/ink/src/ink/rendering + third_party/ink/src/ink/rendering/skia/common_internal + third_party/ink/src/ink/rendering/skia/native + third_party/ink/src/ink/rendering/skia/native/internal + third_party/ink/src/ink/strokes + third_party/ink/src/ink/types + third_party/inspector_protocol + third_party/ipcz + third_party/jinja2 + third_party/jsoncpp + 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/libc++ + third_party/libdrm + third_party/libgav1 + third_party/libjingle + third_party/libphonenumber + third_party/libsecret + third_party/libsrtp + third_party/libsync + third_party/libtess2/libtess2 + third_party/libtess2/src/Include + third_party/libtess2/src/Source + 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/llvm-libc + third_party/llvm-libc/src/shared/ + 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/protobuf/third_party/utf8_range + third_party/pthreadpool + third_party/puffin + third_party/pyjson5 + third_party/pyyaml + third_party/rapidhash + third_party/re2 + third_party/rnnoise + third_party/rust + third_party/ruy + third_party/s2cellid + third_party/search_engines_data + third_party/securemessage + third_party/selenium-atoms + third_party/sentencepiece + third_party/sentencepiece/src/third_party/darts_clone + third_party/shell-encryption + third_party/simdutf + 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/framework + third_party/tflite/src/third_party/xla/xla/tsl/lib/random + third_party/tflite/src/third_party/xla/xla/tsl/protobuf + third_party/tflite/src/third_party/xla/xla/tsl/util + third_party/ukey2 + third_party/unrar + third_party/utf + third_party/vulkan + third_party/wasm_tts_engine + 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/third_party/siphash + v8/third_party/utf8-decoder + v8/third_party/glibc + v8/third_party/inspector_protocol + v8/third_party/rapidhash-v8 + v8/third_party/v8 + v8/third_party/valgrind + + # gyp -> gn leftovers + third_party/speech-dispatcher + third_party/usb_ids + third_party/xdg-utils + ) + + if use test; then + # tar tvf /var/cache/distfiles/${P}-testdata.tar.xz | grep '^d' | grep 'third_party' | awk '{print $NF}' + keeplibs+=( + third_party/breakpad/breakpad/src/processor + third_party/fuzztest + third_party/google_benchmark/src/include/benchmark + third_party/google_benchmark/src/src + third_party/perfetto/protos/third_party/pprof + third_party/test_fonts + third_party/test_fonts/fontconfig + ) + fi + + # 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 + + # 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 + + # Sanity check keeplibs, on major version bumps it is often necessary to update this list + # and this enables us to hit them all at once. + # There are some entries that need to be whitelisted (TODO: Why? The file is understandable, the rest seem odd) + whitelist_libs=( + net/third_party/quic + third_party/devtools-frontend/src/front_end/third_party/additional_readme_paths.json + third_party/libjingle + third_party/mesa + third_party/skia/third_party/vulkan + third_party/vulkan + ) + local not_found_libs=() + for lib in "${keeplibs[@]}"; do + if [[ ! -d "${lib}" ]] && ! has "${lib}" "${whitelist_libs[@]}"; then + not_found_libs+=( "${lib}" ) + fi + done + + if [[ ${#not_found_libs[@]} -gt 0 ]]; then + eerror "The following \`keeplibs\` directories were not found in the source tree:" + for lib in "${not_found_libs[@]}"; do + eerror " ${lib}" + done + die "Please update the ebuild." + fi + + # Remove most bundled libraries. Some are still needed. + einfo "Unbundling third-party libraries ..." + 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="" + + if use !bundled-toolchain; then + # We already forced the "correct" clang via pkg_setup + + 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/\"" + + myconf_gn+=" bindgen_libclang_path=\"$(get_llvm_prefix)/$(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}/\"" + + myconf_gn+=" rust_sysroot_absolute=\"$(get_rust_prefix)\"" + myconf_gn+=" rustc_version=\"${RUST_SLOT}\"" + 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 + 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 + + # TODO 131: The above call clobbers `enable_freetype = true` in the freetype gni file + # drop the last line, then append the freetype line and a new curly brace to end the block + local freetype_gni="build/config/freetype/freetype.gni" + sed -i -e '$d' ${freetype_gni} || die + echo " enable_freetype = true" >> ${freetype_gni} || die + echo "}" >> ${freetype_gni} || 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" + + # 131 began laying the groundwork for replacing freetype with + # "Rust-based Fontations set of libraries plus Skia path rendering" + # We now need to opt-in + myconf_gn+=" enable_freetype=true" + + # 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_minigbm=true" + myconf_gn+=" use_xkbcommon=true" + myconf_gn+=" use_qt5=false" + if use qt6; then + myconf_gn+=" use_qt6=true" + 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 + myconf_gn+=" moc_qt6_path=\"${EPREFIX}/usr/${cbuild_libdir}/qt6/libexec\"" + else + myconf_gn+=" use_qt6=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 + + 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 + if use ppc64; then + myconf_gn+=" is_cfi=false" # requires llvm-runtimes/compiler-rt-sanitizers[cfi] + else + myconf_gn+=" is_cfi=${use_lto}" + fi + # 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 $(use test && echo "base_unittests") + + pax-mark m out/Release/chrome + + # This codepath does minimal patching, so we're at the mercy of upstream + # CFLAGS. This is fine - we're not intending to force this on users + # and we do a lot of flag 'management' anyway. + if use bundled-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/libqt6_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_test() { + # Initial list of tests to skip pulled from Alpine. Thanks Lauren! + # https://issues.chromium.org/issues/40939315 + local skip_tests=( + 'MessagePumpLibeventTest.NestedNotification*' + ClampTest.Death + OptionalTest.DereferencingNoValueCrashes + PlatformThreadTest.SetCurrentThreadTypeTest + RawPtrTest.TrivialRelocability + SafeNumerics.IntMaxOperations + StackTraceTest.TraceStackFramePointersFromBuffer + StringPieceTest.InvalidLengthDeath + StringPieceTest.OutOfBoundsDeath + ThreadPoolEnvironmentConfig.CanUseBackgroundPriorityForWorker + ValuesUtilTest.FilePath + # Gentoo-specific + AlternateTestParams/PartitionAllocDeathTest.RepeatedAllocReturnNullDirect/0 + AlternateTestParams/PartitionAllocDeathTest.RepeatedAllocReturnNullDirect/1 + AlternateTestParams/PartitionAllocDeathTest.RepeatedAllocReturnNullDirect/2 + AlternateTestParams/PartitionAllocDeathTest.RepeatedAllocReturnNullDirect/3 + AlternateTestParams/PartitionAllocDeathTest.RepeatedReallocReturnNullDirect/0 + AlternateTestParams/PartitionAllocDeathTest.RepeatedReallocReturnNullDirect/1 + AlternateTestParams/PartitionAllocDeathTest.RepeatedReallocReturnNullDirect/2 + AlternateTestParams/PartitionAllocDeathTest.RepeatedReallocReturnNullDirect/3 + CharacterEncodingTest.GetCanonicalEncodingNameByAliasName + CheckExitCodeAfterSignalHandlerDeathTest.CheckSIGFPE + CheckExitCodeAfterSignalHandlerDeathTest.CheckSIGILL + CheckExitCodeAfterSignalHandlerDeathTest.CheckSIGSEGV + CheckExitCodeAfterSignalHandlerDeathTest.CheckSIGSEGVNonCanonicalAddress + FilePathTest.FromUTF8Unsafe_And_AsUTF8Unsafe + FileTest.GetInfoForCreationTime + ICUStringConversionsTest.ConvertToUtf8AndNormalize + NumberFormattingTest.FormatPercent + PathServiceTest.CheckedGetFailure + PlatformThreadTest.CanChangeThreadType + RustLogIntegrationTest.CheckAllSeverity + StackCanary.ChangingStackCanaryCrashesOnReturn + StackTraceDeathTest.StackDumpSignalHandlerIsMallocFree + SysStrings.SysNativeMBAndWide + SysStrings.SysNativeMBToWide + SysStrings.SysWideToNativeMB + TestLauncherTools.TruncateSnippetFocusedMatchesFatalMessagesTest + ToolsSanityTest.BadVirtualCallNull + ToolsSanityTest.BadVirtualCallWrongType + CancelableEventTest.BothCancelFailureAndSucceedOccurUnderContention #new m133: TODO investigate + ) + local test_filter="-$(IFS=:; printf '%s' "${skip_tests[*]}")" + # test-launcher-bot-mode enables parallelism and plain output + ./out/Release/base_unittests --test-launcher-bot-mode \ + --test-launcher-jobs="$(makeopts_jobs)" \ + --gtest_filter="${test_filter}" || die "Tests failed!" +} + +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 + 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/chromium/files/chromium-135-fix-non-wayland-build.patch b/www-client/chromium/files/chromium-135-fix-non-wayland-build.patch deleted file mode 100644 index a31462ac0f29..000000000000 --- a/www-client/chromium/files/chromium-135-fix-non-wayland-build.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 919cda539b142b51fc2ef2342dbf1803b65f5434 Mon Sep 17 00:00:00 2001 -From: Matt Jolly -Date: Wed, 12 Feb 2025 20:13:09 +1000 -Subject: [PATCH] remoting: Linux: guard wayland includes - -During the refactor in 53f3429926deb4cb92d9cddcda5fc096a0332db3 -wayland support became required to build this component. - -Only include wayland components in the `platform_impls` target -if `ozone_platform_wayland` is true. - -Bug: 391722217 -See also: https://bugs.gentoo.org/948384 -Signed-off-by: Matt Jolly ---- a/remoting/host/linux/BUILD.gn -+++ b/remoting/host/linux/BUILD.gn -@@ -192,7 +192,6 @@ source_set("platform_impls") { - "wayland_seat.h", - ] - deps = [ -- ":wayland", - ":x11", - ":x11_display_utils", - "//base", -@@ -214,9 +213,16 @@ source_set("platform_impls") { - "//ui/base", - "//ui/base/x", - "//ui/events:dom_keycode_converter", -- "//ui/events/platform/wayland:wayland_event_watcher", - "//ui/gfx/x", - ] -+ # ui/events/platform/wayland:wayland_event_watcher asserts that the wayland -+ # platform is enabled. -+ if (ozone_platform_wayland) { -+ deps += [ -+ ":wayland", -+ "//ui/events/platform/wayland:wayland_event_watcher", -+ ] -+ } - } - - source_set("x11_display_utils") { --- -2.48.0 - diff --git a/www-client/chromium/files/chromium-135-oauth2-client-switches.patch b/www-client/chromium/files/chromium-135-oauth2-client-switches.patch new file mode 100644 index 000000000000..4540d882d174 --- /dev/null +++ b/www-client/chromium/files/chromium-135-oauth2-client-switches.patch @@ -0,0 +1,41 @@ +From d5ebfd72adff704c046170cf7ab798f5f7415dd5 Mon Sep 17 00:00:00 2001 +From: FoldCat +Date: Tue, 4 Mar 2025 13:09:59 +0800 +Subject: [PATCH] work around dead oauth2 credentials, correcting the previous bad patch + +Google doesn't let us bake in OAuth2 credentials, and for some time, +Google sign-in has been broken. Arch dealt with this in March, and so +did we to some degree, but in the last few months, our sign-in +credentials have been broken. It appears that we actually did remove API +credentials in March around Chrome 89, but they got added back, perhaps +when rotating newer versions to replace older versions. Work around this +by following Arch's lead: we remove the predefined credentials, as +before, but also we patch Chromium so that people can use their own +easily, using Arch's patch for that. +--- + google_apis/api_key_cache.cc | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/google_apis/api_key_cache.cc b/google_apis/api_key_cache.cc +index 55c6028248..12ccf9e358 100644 +--- a/google_apis/api_key_cache.cc ++++ b/google_apis/api_key_cache.cc +@@ -191,13 +191,13 @@ ApiKeyCache::ApiKeyCache(const DefaultApiKeys& default_api_keys) { + + std::string default_client_id = CalculateKeyValue( + default_api_keys.google_default_client_id, +- STRINGIZE_NO_EXPANSION(GOOGLE_DEFAULT_CLIENT_ID), nullptr, std::string(), ++ STRINGIZE_NO_EXPANSION(GOOGLE_DEFAULT_CLIENT_ID), ::switches::kOAuth2ClientID, std::string(), + environment.get(), command_line, gaia_config, + default_api_keys.allow_override_via_environment, + default_api_keys.allow_unset_values); + std::string default_client_secret = CalculateKeyValue( + default_api_keys.google_default_client_secret, +- STRINGIZE_NO_EXPANSION(GOOGLE_DEFAULT_CLIENT_SECRET), nullptr, ++ STRINGIZE_NO_EXPANSION(GOOGLE_DEFAULT_CLIENT_SECRET), ::switches::kOAuth2ClientSecret, + std::string(), environment.get(), command_line, gaia_config, + default_api_keys.allow_override_via_environment, + default_api_keys.allow_unset_values); +-- +2.45.3 + diff --git a/www-client/firefox-bin/Manifest b/www-client/firefox-bin/Manifest index dcc88831993d..6c8a9e98ab3d 100644 --- a/www-client/firefox-bin/Manifest +++ b/www-client/firefox-bin/Manifest @@ -101,6 +101,103 @@ DIST firefox-128.7.0esr-vi.xpi 673226 BLAKE2B 31ffe88a73ed83975a81e541531c4a985c DIST firefox-128.7.0esr-xh.xpi 418474 BLAKE2B b44cefd8149e389013cf36495c62be4726ba97e85278321c9853156f85084a9470346c0f88a446f6ae6327cbacf04bb4c8456da3c76c84f9c3b03cf608e7a28a SHA512 2e3910f114fc2e3d7d7f8fb8a0ffafe7f2528a5b8ee9689ca8c9fe5eb93d401a9b35bf06eac8f89a47fa45eb3108fbf769309108dbc46f394a2b2c65be5eae43 DIST firefox-128.7.0esr-zh-CN.xpi 675201 BLAKE2B e07f861f85c0abce293798029206ac795755eff1647bf1842eeb2f7169217303041d2506498dec27e5e0c679534bfc8450477a169c16ed8744b7b8dcde04a3fa SHA512 9ebeae24f93cc2bcb49b8c482ff474ebe3357286d2fd35864e4a1e156d1cea5933fc776e18b75fc686ec84f91e355e49a8ad9e5f9bf044b8ca3a7d0bbe2bc0cc DIST firefox-128.7.0esr-zh-TW.xpi 677437 BLAKE2B f2587278e02f26340261501b694c372fa7164b2113572176305263c10479466fb481e3bc5d857bfd068caffc5c7efdc9c6a77506eb955b035b0c707fbfc3af39 SHA512 d6b2df29a1bc98e49a96953c315f3aeb4fbea66fc9691d37085d0946c3710f6f0174927fe7103009343cc038f4eedbadacd592a4eda24b1d3f7f395474853c7c +DIST firefox-128.8.0esr-ach.xpi 482243 BLAKE2B 7697f4b91953d62bc9e562d6b1112281ead0b4caaa54011a6430fc71e76b417575151c9c6b7ddaea172bee841d281b7ecda3d10404655b06794c72042e32e882 SHA512 9c83a7af02edaa4d44ca6db318fa537a722486994954f4342fdcd0ccf16643643f9664edd162bc537a2fc8becff6c11d858a20c61300f5a84cb7651b9b6eb591 +DIST firefox-128.8.0esr-af.xpi 446598 BLAKE2B 93dc8a95fd10cad82ed9dba8e906c9ff54ac98d45efccdbd2b1babcc80952860eafdd12c33ba865feeb3c612ca3f4e1e9dface19eee2c99115b14cfdcb9ee627 SHA512 0a2e9b81e66044089c4f0c9220ccf83fe0275314e53a625064add25217c2e25df1ba87c81ab6538c3c00bf480d398b576cea7c49c40a144d5b2a5e423282c38a +DIST firefox-128.8.0esr-an.xpi 526061 BLAKE2B aad7700e11aacdba5ba71c40bfa76551af9835ce4d8610945302b54b81606f59d7d54d81c17a3976beaf6b7c380684500c3268f2f7914e0014ec7730d9018537 SHA512 c8d4a18e722554880c45cdd148326683197dedced079c2fc62e4607199dd445431ba6f8a1029bc41eea81e1d48926d813b13500318086f92502e6b3d7b44a02a +DIST firefox-128.8.0esr-ar.xpi 650463 BLAKE2B 8f64809e669a1976da9e3f14a0501b9e907d2b44450abb466e95617c04e9f1c1d24523ee90de9a6f475fab8bdc095565fa3202f536a166b3e282bca153b3dc7c SHA512 9bf5fbf3a7a66abb8ce40563c6f6fe1e05b549a7dc10800743593d765e4964cda5b0b246ae8519c82971f4a503c0a108291d2255c02604b862f083514c807667 +DIST firefox-128.8.0esr-ast.xpi 508561 BLAKE2B 145ff09c07fca6c1572ceb09ce7e88248748d406f5e42f6aa9b8c531e64617953e2536f8caed3743cf4ac358b0847928a8661e0ff6275e389a9864f188776409 SHA512 728d7106dbeca8c708d61ba462c0943562d4ec040391b2c0e84eae80a627333a763d3942ca57aee063b13e8227286d003ad2ed8075f80d01a66bba024a3590d8 +DIST firefox-128.8.0esr-az.xpi 509839 BLAKE2B 24e21ab8b279bd9d9c45e65e13518dc436adf1ad387500c41f614007479aba6ce3b8c9cc27ba9b6bc67375686164c11a5fe0e5f74be09cb701cd2e837384bc3e SHA512 8818e48fdf38b29cad492efb2234616bf812dec832370c1ec500814a58a0ccb6130af8318aeb6e62de5a8d54f66b1dec07017e1ef669493542e94a082cb5ade6 +DIST firefox-128.8.0esr-be.xpi 748080 BLAKE2B 829eefe38ff6be60f08aa90a38dd6a06dd3e14cef558e9178387e332168a469f9725868fc182ae5dc3dd64aa9d88f6a42ebdd395938de5b25a858d4aea0ee581 SHA512 59b451e36dbfa3032357122699c8780182177489ffd0e507ae33a62dc9b18d9cb096f217f0dfc6e42eda64b82aafd3b468ad13e4b1779d87eb23b3881908339f +DIST firefox-128.8.0esr-bg.xpi 672053 BLAKE2B 04bd0f9b698c1a90804c4dd018a1a57b7d09f02149f0e3b81ea51509d940388b25daf45d1486a1af76f60f4b4d902227309713a35c7d479b4c6e2e027a032184 SHA512 bd939c3803399ec905921409530e913b032b59994aa48bfe3671220ca4fd7e54f643e603a77dccd0de8c38e6e94736944777940bf8776df9a00498b88649601f +DIST firefox-128.8.0esr-bn.xpi 624725 BLAKE2B bbc5287f61f0a3f58ede8b8b3cf1b6144954ce6f3f0463b9147bb145bafe42d4ad51f9a112e7542c4fdcdde5db8d1bf412837f38a69bd4933c07627b881b204f SHA512 102e797510c3656f538982ceec66c66da657712be891bac3fcfae2d1f291965f5f4e8b8bb093cbccc3166a2565df616482274b3295cdcf253de482110f8d7d2c +DIST firefox-128.8.0esr-br.xpi 598746 BLAKE2B 6f4f045de4363eac285547b7b5fc7ffd33be691ab8dc8cb4292a14139e6e9f03a4073a393cbd05ffff819ec6f7660182fb63ae48cdbb3f8b8ddde1cb752c9006 SHA512 57a35d172c314e0bc2a502d76955db9ea97295a286658eefab7ca2c53cbdb1124b4b56b024779c5f6872403b6477b1e057848c2f0906d4bc3da9dfdc05de4a55 +DIST firefox-128.8.0esr-bs.xpi 565999 BLAKE2B 5b0ddbfdd29abc52bd38ad69e3bb886b500428704e148897dc23d5fe0a02c1f8bccd8fba9e097c98a20323ed03ffeb51a5c4d88118a862ff027fcf591eb6498f SHA512 c84f3530247bafc85e57048cbcf4117b95e5352a6ec291726a1f0cabe0bf45cd0eee36e0f83446202e952af342629f18b36186840987859c9e533b6181c8dfb6 +DIST firefox-128.8.0esr-ca-valencia.xpi 561156 BLAKE2B 7c829caee773365903f0a3d16330502856e857a0ae3d147b42d22f3bbcf89d764723bc007973b0282554a76c4118d527b3595303058fa24d1cea2d55245d4ac8 SHA512 1060baba510d2a4ab267fa9b8289c398aa861693f5a2311876fda670496d3a7223a30e3a072850860489df6645e431f2c05e59c55d5886b860c1653ed5bc4b21 +DIST firefox-128.8.0esr-ca.xpi 609963 BLAKE2B c77754723fd17b7ecc705436508c72ece280559cfdd646ed6f8de6f9abd655cfa02168b415b1092269444a93c931c52029c5e43ed5ad621bfe2a3a95c416d87a SHA512 f39a1744078d8200224cf93e27a453a6deeb1b4f1faa771bfcf5254f72d83d5031f4d8e0c10f487eeda5f8dbc43e829220debdaed4eb7099994474987ae26c59 +DIST firefox-128.8.0esr-cak.xpi 601478 BLAKE2B 74b869c0ca16c718838a872a3a68e5a5aad5d1944b8a565bed5f92dc1c2a1d7246fe63d4f6131c77dcba4e2c2c067df0aba1e44ced1b7bb3675fd1850afd5ba5 SHA512 b4fcc7e08bd1b0558183dad02b40bb940f51ae81ba6ebe1a0d34ccacbe0932ae3c956ab14946ae90c3fc93bf6ad548f0a5b8400f62b5a7878036a5b4d11f4bc7 +DIST firefox-128.8.0esr-cs.xpi 690641 BLAKE2B fda3e2015e4cf905371b9edf86aa2fc40d6734ad4f4b153a30b9e9328e631ae78013123550dd1c9f597154b72c934a02f058f094779cc09464ac7211b87314fb SHA512 bd0c2435cee1ec028156caf3e4db8e36b7e5ba4f8ef7b66593e8b41af4d026c248a54fe53c18f458e394402294fb90bb65878dc2bb4c69c417f71f3bcda8c4a6 +DIST firefox-128.8.0esr-cy.xpi 650600 BLAKE2B ce7040001d434f31f972ccc167300cb152558804049498805eda5a42df75d9b592e023f2c2aff6f1870f65c3956000bf75d0b0394ef7f58b1f0ca6f5e6f27794 SHA512 1e43f9e37f408aab76220d706176148c71a90dc5b0fc43efd4a7ede57bcccb35468abbc04a0d4c84ec03a1cbcb2e3e0b1e0c9890393e2577581f4b28d39e7cf9 +DIST firefox-128.8.0esr-da.xpi 638632 BLAKE2B ab463c18d3fddfb4017cf8cfc2197cb4118e3cef6fa1332df986ba2ddffba709f1fc4fc3df54fad18c61f7eb2694441b7bbfc63cbac731cfd82abadffd7fdb41 SHA512 7182ebf9af62683479d2550068a30246907978816012a8296fda0054722c7772bd3c574834f975a35efb74284a20fbc5fb43728de4725755725b8611fb999630 +DIST firefox-128.8.0esr-de.xpi 663133 BLAKE2B 3704e097e5860d022e15ace1baf6121994655f9080001cfd8f635716194f77f9bfc10ad00216f321eaf4c2b4b43fc932d34d747776dca4ab45257a4e0beb9a20 SHA512 5f570e799dead4fe447dd98e5cb923a8f779af475ba6ca78e5d3a08ba9e76c3a0a25f2b8eca9ae8bd0909800fa46a60a829ae5d4f551ec21a0caba9bdfbd6b4f +DIST firefox-128.8.0esr-dsb.xpi 679872 BLAKE2B c5634c34c9fe370d9c2e51452147d96bbda6fbca428f1c331388d5f136ed85d51b2091eaab55d9261021e0e61902960c4c2dc8a9debbad7b80f16b5e53d3607d SHA512 4a32a6fdaa72fea630e8df45803ff9ba2789d9b8765263b867c4233d4d0f4073c9bfa7a4850486d101b31bfb245fd8cfbbc2b5bf56a3fe7b893644f350b96181 +DIST firefox-128.8.0esr-el.xpi 764546 BLAKE2B c2d36ecc23cd5032ec49354ebdc8d1a6261c423affa491f8f4f7d9c7b2faab593d42d3c76bb4c8eecf440f97340ae891491a7f2cd79c85718218f32ae4088b69 SHA512 e4d7295abecdf1a82d81c0b00d42b8f34d12faaf69dbce6988349e44e6b55a1a62129b076c5bdbea1cd40f049b7ffb9425e4773bea3b735884ba47870c0f96a8 +DIST firefox-128.8.0esr-en-CA.xpi 610414 BLAKE2B 4482f2cf578937a969bf2b8186790304afd28048ea9c4bc899cd9019bf80a20ac592be2a273233677157b5f58b9af5fec95bc74317d19fe4798e033472a89acc SHA512 4cc102144f8db85b10ccf15e6a41eb5e2f6132713a7c735b5a3844ca791f8562ac6fbdf112088c0a4395c68654b86c8d639cc2987a77f4c2c1f67c8e1482c8af +DIST firefox-128.8.0esr-en-GB.xpi 610776 BLAKE2B f8943b60a165693652b2ceca895d434bd929f2b358b105d7f90e720a9242b1fa051cff24db67e653f0c720eeed1a5e6aa85883cfbdeeb0f1e4125cc861a94829 SHA512 5807c1847cb912edb5114f097faa600e6b49c2c88f98e0a03c51d3f4927e5794d43a8c3a3633101db86d0287a56fd43aa9ac2d2e516d5dc97ff47c00f223cfe5 +DIST firefox-128.8.0esr-eo.xpi 643527 BLAKE2B 7bd78f22ab6aff0a4bcc4b0477db4cc523266f59113e2f1e3778695589b1cd8d51aebd09f9a86eae4cb0360418f09b075305d3ea5df91d80f4d0ea9d0e57b24a SHA512 57526199a573c5a90850241c6e2341dce4626233105682777044d564dd520d22872555f68ff02467070324323f41a22dbe541d04d5cc036bb2765fa3016307bc +DIST firefox-128.8.0esr-es-AR.xpi 655623 BLAKE2B be34d1ed9a09319b8952aeef137a0cd0457f192345446ac7e2dcac15d7d169f2ee9d55bb2c23e57baee0ec3dca26081e9c60a9bbb7686854961e4a0ba84c8dc1 SHA512 c7ea88316bd386180e21005dbfdaeffea03fc4db9853005a27156ca0de56e8c0b35517a73e8ec2c16e453087c787873c3da9983c8a175c44f915250da66a2d6f +DIST firefox-128.8.0esr-es-CL.xpi 656057 BLAKE2B 56fa4569fce86f4991a621761b9b700114a782612d3adcd497f5a23e1c4b8f92210c97f44fbf86fa49f8dba5d46cc7b4518fdbdd4dffa04e584d56f41f8c24d5 SHA512 c66df43545891cce1355f4f3c6c9e306ab097cf29a7411bae13fc6ae9a0a1aef63449793b04b503cd3f556cf8abfddd5671decdc0e1e6f748b926ea297b0fc14 +DIST firefox-128.8.0esr-es-ES.xpi 655181 BLAKE2B 39f8ed69998752f709be96556eb71a5cad96cc710ba12c83a583b957463a6fa21db0c5fd3e5c0bc6c5b390b3530583ce78ae7de33a270fd6aa07df5a64ba8416 SHA512 b0a5221e9084a7443c692560a31224fc3213f98708719b47cea5022799700739330f3dae4e0ea9f236440d8cd9fecf537ebe13b5f46319df00998ed7b408acad +DIST firefox-128.8.0esr-es-MX.xpi 657401 BLAKE2B e9b06575442f6e3b34c32a64d0dcc3529cb0c58ea92ce3c333fca769b670b5976e02b3ae48790588849c3b4c934dac40f30457d4d000d48d6f53e145ea63d69f SHA512 5d6169d6185022a7da95ef65e8896876248f62c22e683fd5f62176ebacd7e183e7cdd82ba6acb2adb0925d7e513560e096df8945a6fcb170bdb6766c2b34389e +DIST firefox-128.8.0esr-et.xpi 556257 BLAKE2B 8421cbb4c63a9dd1fb6bb4bcd05491be09a7fca3bdfcedbf28b189f1a223db813fe8a28e8dbfe291712dc1bf63b729d3a257de9ec0f8747d3120257afdcbdb2a SHA512 8f52250009a57668f4d7bc289049606cae31d982b6430ac5471c5434feb49aba178291b0e7358ad577234c25d4e6b014572db9574c00eab96edf3311f00ee5a7 +DIST firefox-128.8.0esr-eu.xpi 623944 BLAKE2B afd5811ababaacfa03314512461bdee8baa66834b07e890052c9aeb2ffbb111c802cf667628c36ae7ba47401077a191847ced1ce673bbdbddbfd56d91b40f50e SHA512 27fb92551a83cd76b9b62d7a3fab4821cfa3f5d9646056352ec5c13d117b54275b719486ce9462167e25342cb98a8554aec44493cb0ee6ca0ced3ded412a88ff +DIST firefox-128.8.0esr-fa.xpi 631012 BLAKE2B e84bab83ff935f5e732f30d6c18465d4f404f4dcaff9a7f2a9878c1515fd146096866cd7e926452bdd3a5482f1e2493310dbe62010106f42ffda7e47837384e2 SHA512 2422860ff2c1c1fe68b4be3c7269543b47ff3dca98faaae938bc71b06a164a1a4e60db3e8a71d14c35cd35cd8ec7c04ee63ff0d963826d19faa5e9f9358a52d6 +DIST firefox-128.8.0esr-ff.xpi 497842 BLAKE2B 827dbc64bed28513e3571c2c7560f4654b45064159f4202e4a6d9e5733536d7893a9faf5d47645ea6fcd35d7b3fe7d02d3967a168247dfea840a466bb7b37fcb SHA512 101fa01455b50a587295cd89cbb57981deb5bfe4ba310c36f79b58fdc09cd7e807aa87408dc44847288acf569215a12a526f71e8d44c4b8297c20742e2cca502 +DIST firefox-128.8.0esr-fi.xpi 633877 BLAKE2B 9f562490ca4bb7f60b84d256ea45b0e394d10568f301b636bd03f4384e3bc64dd74ce622f7cab0c7e2cee5f634eb10778a1c56a63062ed66778b455ef7fd2128 SHA512 8a1f4237017e53dd668ed34058c23efd9760c0150b1e0e77963aca059857e6dc2271c3fa6860767836d0a253f41c172593eb05f2589d0334d6697366616021e9 +DIST firefox-128.8.0esr-fr.xpi 669633 BLAKE2B aaeceb76793d91507c521fbd8c402ea628c66dfc8c16a8a118debdb2555878737683214d73e8e5d658e623eddda80be38ba6d14255966ee9adfc8fd652d934f7 SHA512 43481978ad664f64c94f7b8025db5f6774a3a17cbb85b7bc151d76b524e1192961ed4f31dc2114b622ab34ecf8ef10fc5dfdda8cdd3f545550af34c9c14c0ab3 +DIST firefox-128.8.0esr-fy-NL.xpi 652084 BLAKE2B baab65f1ab39b1b68d4a725abd4695e6ab4fb312f416fe53eafc2b2305503efc1445d775ffcf6207a6bab7f8c8ac57f5c19df56e6fcce0c01f93b25f13bcdb46 SHA512 0ceacfe870f4113998c8e8c33c892c138cc00ed5e922ba6aab934dedfb922c5ba073df062d30620b59cda51f1b139ff6a8a56eb3d3aa365d58221e3101b1cef1 +DIST firefox-128.8.0esr-ga-IE.xpi 490832 BLAKE2B 538fe918064d0dd4d113107be9970f899e4bc987752375ff42ea98a6adb8fa884b71a4461e2970ffd6fa13088972242316ebfb1bfc288f921bf22c09d6965492 SHA512 a1a6bf808b656ee8dc729395e9e4aef29511aca584c070166434e143dcd4e1c108e5835af3ff4723e3dea30b594ab03da75b12625ea1e70a159fc51a21b2e5c3 +DIST firefox-128.8.0esr-gd.xpi 609612 BLAKE2B df48ff29d36b8c03d14f41a68a5b3dbd2b94726a1a595ba7be0294c99f7cd3af1ab2e68b1f90638433c62a61f57638e7e9dc2d51595b7650baee7a4050006efc SHA512 c4ffbdf2545de35b1d0a5f44361b94c0b7e0adfbf7ce294deda9919c70d564a4dcf0fb2a3d764f834956c294b9a4fb579a938b854e8fc27b7c7097e6afb9264f +DIST firefox-128.8.0esr-gl.xpi 615541 BLAKE2B ccd192c71facc11614b85d8ffe2ee5d15999b546549eb00c4835715be17314f8e6abb4933dc69822d56965a9a77178c8e29205077f6b8e3c4da8042979053083 SHA512 8d88e3d6fce2aac35f912b019a9cb01fc4119d133fafe66e4568b07255fad70d2814a87d270acd87bf0dd180edd8f9efe1168e0c9d16bf5f97392c5f834657e9 +DIST firefox-128.8.0esr-gn.xpi 659906 BLAKE2B 1a6c3d5562fba42ba06d35470272ad538ca5ae1f424d7fcc0fba5a0302616108d8b213b4cfa2e34c59f29d22160085acc67eefc6f5fd8a512786be64bdbe4cd6 SHA512 c9ba870f76098917af4f03128087f9bd00dd0437305cc86f4c98e90904fb5277c05cafa173c6351b2f7f6bea4c5e33224dcb9bf27275b111922df51fbe0be339 +DIST firefox-128.8.0esr-gu-IN.xpi 552339 BLAKE2B fe741b547e15596e0f6232dc51dd9f88e924dc84fb0269add40e68a5d2b3951eb95be93d5958843d05b2ac5f5fd974b38b592601cad9afd00611a322b0cf888b SHA512 e3c068a288007f715703f10608a5d7f9f0d3da8d7f932363bcebf9314adb9427ef53d607d6f1cc9709d95b8320a87f19d2903e68bc6dc6d4f0267135e782bf21 +DIST firefox-128.8.0esr-he.xpi 659485 BLAKE2B 2d4110648ad743f384436eb55808c0260a2644ae6e4cfdcae813bbf9a9df0f79566cb799587014b7aba121bb3853595db426a980f76169eb76b04b75342ca73a SHA512 af5e8b778cc8416f4de163131226526905b2ad22ec4aeaeeb0bf002ed8bdf0d5436592f09d1fe8d1e1ee9ad231eddcc673ea9c41efd649b2c229808c86971383 +DIST firefox-128.8.0esr-hi-IN.xpi 578981 BLAKE2B f3005cbc3dd8efc1c96f0df5015b3d958ad03f7ec1957a3116ae3a7fe596ffe249dfa7c49c3c38d3b9591f196d41e247308206bf184187388c804ded49cf540d SHA512 84fe919f6bef1173e19686eb823f84a404589f1e106f6e8ab3c3f079fd6e15a8eeef225146c57b902859666636a1d6182bf68f56b17781074b72e3b9d8d5ecdc +DIST firefox-128.8.0esr-hr.xpi 645456 BLAKE2B da6afbb5ab8619725c03c4bb67300bfd5ed5b956b2d982efc42953763457fe416b234a697986915d2bef4e7f12c58d4a262262f0d5ed8d9bdfccf151cdbd6f2b SHA512 2ef9409b8769f024cc93c0f241916c36e7c198ad02538e5569bdc03b7379de917195af89150737b953e583e0c9b67a040b158976c2666271c99fbfc49206ae2c +DIST firefox-128.8.0esr-hsb.xpi 675864 BLAKE2B 6cf613f85608924f2bb136d974be8d8cba53c66958da5c2369ae1bb7810605e7f004fa0c31d2203c116196e95e311df0cef58ef972ba49a10d29aad482b89c88 SHA512 f1709d85ea173b830dca4add22d44cd9b025a1afc2bb356b2bcb1e9afd3dd47185b66d4b3029291bc3ed3bcf9c4ca6f28567b597b23387db80b3b22038ece3be +DIST firefox-128.8.0esr-hu.xpi 679682 BLAKE2B 665cff304912d11cd6ab800bbb63f8f2502ee1bb4da6d96a28cb80c0d09b28c31673fe54affe0004429a388a8fc1aaa0513ee2cbdf5627bde8551ea4aa8f6375 SHA512 0e34ac6de2e24fd2a14740531109dd1901ebcba43dae2ac868e0feaa0d65138cbf49d488f0124a0ada71a7943135315d8bf49da12357345f29c1099ae2f2262c +DIST firefox-128.8.0esr-hy-AM.xpi 664453 BLAKE2B ebf843eb40e2a9c9daf7bd0a409c9961593a9caa7e5a484d0b43883a84691612a636320224f36eb173dcd838c43ea5af2e60c5cf1c9821c47f3122cb3a876c60 SHA512 37a82f50a35b5c85ee71c956756a27af02864057ffb47491fe9abac6d0a3e7fb2dacd6dd11150a9a708109be2f1d034b790bb236257b62abf6957e4bd070c046 +DIST firefox-128.8.0esr-ia.xpi 637960 BLAKE2B cd6d8554b07023c893248e13ea13e26fb696840616b7916fe5f72343cd4c6801a51dcd2a985905a67dc63074331b940738a89c92e3b636f60e8b653b9e4fe8fb SHA512 c7a6d448d4ac34871a0ab99437511c98addee77e740f45b17b93cc49f188695425b6324ead7d1c2b6194ed910f87dc541ba7087e8368e3dead6a0d79ff3e8ac1 +DIST firefox-128.8.0esr-id.xpi 625987 BLAKE2B 36996f57f24151cce33f22c7a2648c173ca0fbefa4cf1e7124c29dd57276eb502cc86cd0a4adc5ab3e6c5570c18f973b7efed1805159f114e2dfc5f0025ee3bd SHA512 46ec285a073f357d002290a1eb6c478c4447801bceb0e32dc6d7c16b5ba22831d4f579be35fad48866c26e0e0b45ae8193a1c90d05f37ede597dc37f5c13b513 +DIST firefox-128.8.0esr-is.xpi 646735 BLAKE2B 0c43c7f5b416a4f4b3fe57f67a6e0e9aa5a5fb837822050cf4e001adb9c0a425d8cfef33356f8e658e1896373b334115f7786c58074da63f354345fde20957da SHA512 92d177faeb6230e5f1250f50bc4dadfca30ce99dbe04b5f7d90b0475cbba1055744c36783ead11c577ee950421b6890c511b517e1fc5f83748dbca57d9e41e84 +DIST firefox-128.8.0esr-it.xpi 648862 BLAKE2B a6828efd681502ce1a1ed3616cb67d0e56ca94573383101974ee038af16d723b28165628978e5504fbeb016554f434561ac1f4f7493636f85564516c685b5706 SHA512 3e9df23dae68fb8a58ec1c42c6f9969702c8b1994367132e0d6b9a8bde2700a694811ba10b3a6dc8de7c4fdc4555e3b4e9f48f16599f63c5f5bfb492f1c20c85 +DIST firefox-128.8.0esr-ja.xpi 704123 BLAKE2B 4ac4d6b66d911e29aada51797afed9683148b5ecd2deb3e0072f017ddad0470265f41da7acfbfe94ef3e9cd2e5f126e7f8b0fcf442d68f9f21b41ea17d0f1ea8 SHA512 c06e28375b99a726866432366a0811af8d6d3cd7b46f138583ba9b25c4d3e24bc08b1e2c2c1a4d72031fcea2491753ae3cd1441431be9b6c47a0544a4f537822 +DIST firefox-128.8.0esr-ka.xpi 714507 BLAKE2B 266fde7accca2485b28ab1f560ea6482aabb6d1fefb52009b4d0af0ffbf8ba30f4fc039e1a427e013d46938df67d05bddcf52ea656c305fb7bd227e91fb0a114 SHA512 336396859d20838c765eda6132823b1259338ff34944047500c5cd7b745495547e61163872b8e7e45a18d779c4f513651f9cc8f8d0b024f69959e160fd56b218 +DIST firefox-128.8.0esr-kab.xpi 626275 BLAKE2B a758863a234061d2e16640aa202da9170b8131f8d1995c529ae8723c3fc259ddc9bbb5c8758066d054f7cb02a472640b31b8461b69d4d8a094444aa86300dc61 SHA512 bb9ca46192148ce9e09b74fd43a1f358054af35cf1b3d218bcff348efd83fa6229f6a346c79827ee6361d19d8c25050322cdc22243b7227897528015fb540b2f +DIST firefox-128.8.0esr-kk.xpi 734551 BLAKE2B 891900a50a17b0792b55083275e82f6c5e23d54db2e76d2d4ae62665b0e1791c768d51659857d370f1656d1bfcd7546d570ec29e3be92fc5a804f1851c9f4e1d SHA512 80336745cc05c5fdce35ef1f018fe1e80a69177ccec2b84b7c3ff7737d283dfdf4e0663f2e42961c9eb407456f91ef3af421412c574c1d96d3704dc9516668d6 +DIST firefox-128.8.0esr-km.xpi 543161 BLAKE2B dfcb38f3b4bfd9469b61e889d88c014b02d26961d16eaa50e0f0ba975784d00861161137ddae83153a042c152517bf94b49e0d50a50f7f3800f7afe46cc5bf14 SHA512 fb8bd922aa1ccedbe7e18dc8f9442cc8ceb2e8f80b73178fcdb0704bfa8051dbb02083e22707c94fe8598cd51394c4fc95a82f474029c2b6aa04c1457d434b30 +DIST firefox-128.8.0esr-kn.xpi 520318 BLAKE2B df4783a28413935127bf4dd9a3a3f5f2ca709c555a43411d4f210147d949c04a7185542e9bbccf6e61a4477da6d9924b5f7e02e33441edbc0054891e85063258 SHA512 7beb4e7a49814bc9cac279388cb610c5f264b0b9513b8655504413bf47bf5f3624ebb3464e6320b77a4c255a05920c7b68cf4f1b9fba3e04ca39dfbbce2434ca +DIST firefox-128.8.0esr-ko.xpi 690557 BLAKE2B 71c09a2566f8893bb29225e084596d8ece50d06bb07b414494e3c0c30ba552a931858aff49b2fd689996698370c0dd76381f23270f77320e361ac165d238b820 SHA512 7922afa4909d978bdf4f5ac5191a6e8e46325fa59e3f1d4569ce2dfb94ac35e46675512b964bf860c7a2357b8d9e6014cd8238bebc8a7c93300a76491b5fe119 +DIST firefox-128.8.0esr-lij.xpi 506293 BLAKE2B 7944e24a2482aa40fb043130c6fff28e1a33fe34008b3e137853985c1e2cc5cce3fff4535f28edf5ec40fd2ac5f95c62595fe1f3265339597ca07f54a9601581 SHA512 ea3f4d06a59bc21d7504aec8850053e1bdfa9d55d32ce942b33983d7587cead5cf130ddb68ea667a803fa0f532ef6432292a8de46044f3a3020a9a1a4449f9a6 +DIST firefox-128.8.0esr-lt.xpi 585991 BLAKE2B 54280de16067c0f836007f76312b6b599f257add617996d9178f65d9396693676dda7f9c246ebda7759c72e3c249d8cb59320b1139c5f1cd737225975675a867 SHA512 fb6f39cfe651dad3bb1b496a5d8241aafb01bf8374e0043bc9044b44165d4ccfd3d1a88a319f489d5cb503c199e0178a2636da8101418abf2455c8b953b23a17 +DIST firefox-128.8.0esr-lv.xpi 595103 BLAKE2B afdde869e28d83bca6151e48b60b9202f87c232246ab6d37d54d4c44c7a46b32ef98b1381adc5c05eb024098d544e56a8786afa99614e9988b798478547d3a9b SHA512 4405712a59250fa59df9725e66c4d999b9e5f7ff111e190123fc5de86c4db1267aa608a88179c1b95f24006003ee25eca46ab772f7d560052bb05771f4ce5fdb +DIST firefox-128.8.0esr-mk.xpi 511078 BLAKE2B 6d68f28b39deb91e6bd1eec53fa562df27c8a8f29943b4f65c7fa89338e46081d590c2012a73a82233f724c49823740f86dcc18323084307d88c79f259e9aac4 SHA512 439821357afdbe08dca3019c920a08af39c0dc5b98a7d625d7f097ef993b755efe7cd520869ee4b3471575895fce2632c5f7cc957cab9704277168da768f502e +DIST firefox-128.8.0esr-mr.xpi 552808 BLAKE2B e6c7cf604f4d6ed92ac69aa045ad6010f172b81b278c32535fa08aa017854b81121dc5390b6cc1464b45fd5854c5105097f935a56436231ec79322a81b3d4ca7 SHA512 de2b1e82470695dc6c0f870d5699a0869fbe716fa101665b561b8e0c12853da1829dc74818b92e54d436d30216973b01f2e36a1c1c26f59c0ea78cd0d4cf7da2 +DIST firefox-128.8.0esr-ms.xpi 477960 BLAKE2B b39e8f1894abd1c7051ab3be820a496677b172165f825d7bac1da05ffd3eb79683054aeb4b5592a89bf197a1d7cdb4abbb0739de522923ce0b19d020ce0f3e73 SHA512 018b1b7a53a5a8525c677201a81a39ab0945b49297bd4564fcb6f08be0c998f753f9738db04de8d5fee186e3a03062820d9344631d0f9fe669a760f39e32861b +DIST firefox-128.8.0esr-my.xpi 540059 BLAKE2B beadffd32c899b57040bd55e2c355f9cc8d7cea3423ec89993f826b47618b082ca4fed500dbc98296e44d31c712758c09c3335a38485478ed2f9bbb565b70799 SHA512 8c1a8c0ba9d7b49b25b8ad8607a394a3fd577f4111212e3315dc6519f8f9f87d6ef472b1cf0281e839c3f70315284884d34d7fd13bfad295784a27b460b41e58 +DIST firefox-128.8.0esr-nb-NO.xpi 627677 BLAKE2B 16d270b52cf6585fb929da28425cadea11699e664cbce789ff35a2e37fe451f70fbaab385dd0265c6a9f02f827f04001bce7eb1b2da7fb73505d20c89460c64d SHA512 0dfda234a31ac875697e52d48fae0eff70036ce7619c9299c4e865bbc1bcaf33e268048ce6ae73b7a18666dc122467e49828047e30a0c2d4f86264b3f43fc20e +DIST firefox-128.8.0esr-ne-NP.xpi 543820 BLAKE2B e4ccd2744e8a18b4fdaa5d8f2d9713daecfdcac5eec9b724c125393665de5063af712935f4e335be219638ce7c0073397437bf67147bb314cf10d0f6953184f2 SHA512 353b974d884e86e1d5fb250f9784360a856bd487dda469f4110928f25c9c0b7a7a24c7cb63baff6a77b0cb03544a7c2eaece77c18faa5d3cebad397acd4bd68f +DIST firefox-128.8.0esr-nl.xpi 645178 BLAKE2B 4326ab632aaabcd4f2b3fd9995831c7da37f0b726dc0aa547d12295dd9344ba89a04d7b2a04043970ededbd5cbc41d1328a0a00481094bb61ce7cf8bd58feb0a SHA512 0dfb6c53f65c1d2dd362066c5a68501f8339585b2e72528163035e71ff35a5137343e90129a339e0bd156c4e2a3d93f3423bc7c18041a4bdf765bf0d7a46197b +DIST firefox-128.8.0esr-nn-NO.xpi 630291 BLAKE2B eb23fde5b9100f5f6652ffd70701618796ae008a534178c2224164d81197b3603bf6596317b769505709bacf4189ec62a8d6095c4f2423d376ef25757adc4d3b SHA512 56dad2127fbb2638595f1122efe88e6e0a347910ceebd4fb84f054fdcfbacc82108931de015baaf4008293d0d5e0e7f9fe7f8812b7a43f6cd3e9e2e8ec67592a +DIST firefox-128.8.0esr-oc.xpi 626825 BLAKE2B b6892e6a2c31f835d6eb1227a920979e042a2e6dae8165f20d42b6df306b0235f3e2211a1c44990c6e54e72532b9ec979ec6eed15732d264595a7c0e75802a98 SHA512 0727ddf2cb964d8ea0d13ef79aa79f5025cf927bbb08d2fb71441510e7bccc42b5cc2e955beb96776682333485e6f484b4df383cf1246581fb6f54d206e4562a +DIST firefox-128.8.0esr-pa-IN.xpi 726723 BLAKE2B c9045b8aea65081275fe3f7513f1efe61a69232fdb9176ac95450337a7e316a42effb6089311dc582387f918d60b17580b95a292d50fe713008d8f881eeb4dc7 SHA512 d0ba06d17071e6b3620b48b1b93279e6475d06663a394a8d8fc05c20ce93e514aa4795b0f568bc41c63eda0787d06a619584ca6b3baa369dfb9b881bd7b9af2f +DIST firefox-128.8.0esr-pl.xpi 669235 BLAKE2B ef077aaf60f4e986ec6ac81a81c617e0996426b08bc3e28cf18765338c4d6b6ca47a05c712497979bc6a5f8919dced5856518aca791bef61dc21aad68e386585 SHA512 a1aaeb03d26998bc5e7795f8566ede5a7a9602b3cbf13ddca7f23bedd36ac2618577d10ae981b922e07e0e233eb517ec37149552d33494a5fc4e086e04ecefcc +DIST firefox-128.8.0esr-pt-BR.xpi 650216 BLAKE2B 9ef70c6828f4060e28d527603ac65b4dfb8d4e693a72030fcca97e2be277f681e5c399399f05e6ee6c77bfd7e0e7aabc5f6303d937bf67d97d3badb216ae1da1 SHA512 1e41dfb87019c3874f7d89c9c2fe9e08c6221d24680af837d60705bdc329d755c970ce610bd9b18e7ff78588fcac141e0981bf017598cf19085df8e0baad6c84 +DIST firefox-128.8.0esr-pt-PT.xpi 654872 BLAKE2B e74466cde4646dd045e5f087a708134a4b9f7b99fea6c06d8c4391c68a29762aeda098cb8d2c5961e7f347e4da86f7f4d26d555a46ac57ef1e714da6448eee29 SHA512 16b38e45de670e8986790e6a5d224a9091feeacf13bc3dcad4355fa028bbd6ad87d61709740ddbf3dcf9aeb1dfb8d764eb6d149224b1f27aae87682fee24153d +DIST firefox-128.8.0esr-rm.xpi 646696 BLAKE2B d668d96e08ea9604babb199dc834e98e91bb58a09b928963c8dcd743224f39260c48b1312290c502e3e3466c21ea916a009c9f3e94a098eb47d3ce348ab77725 SHA512 93c14151760b34d3adbf777787a24d755c41efba18c3f1e0ffed6f3800b64395d626eaf7aa31419bf65e80bcde853bc59dd58c472fd5cdb8c3c57b516c01e330 +DIST firefox-128.8.0esr-ro.xpi 562848 BLAKE2B 11110ab243bfc8de092dba804c6135fd9acce1243d7cd04441552e819d75672248c4899f4bbc92835385d03c55206bb39ebe06f4c0b16e05133322654f78c781 SHA512 dd570731b4b1f340dac97e7341d5096630c8b56f3fd03f9d7fa060a32ba85ca98dfe6ecd87c13bf55683fdece851990614805507e3beffaecfaee2d39ea44647 +DIST firefox-128.8.0esr-ru.xpi 753054 BLAKE2B 1da3854e92d62c751f4badd097a86999f9adf8924ebe223882345bf5994280c7eb42f9630578abfece8dcb547c475954a139d61724b64a8f17af6f1cfcad68e3 SHA512 aa8a752eef238e41f1336a63bb3e2b7a7f00007a1f4ed5b92994888b88ec0299362230d4e007ce390ab53d61bfb00bd47693805ef304a9c71abeea109bd5e587 +DIST firefox-128.8.0esr-sco.xpi 524657 BLAKE2B 757c1a1f172c757681a6cad0558ae2e65e7369475b65910703b11013af6eda1d95227c8d6e1ba3293a26cb4e108cfff6bd6ce86f8301c184fb1f9da9e248d9d4 SHA512 b0bbf12ca61088b965d91620712d7b5cdaa758de80629c92b310b4cd74ba597c891aa9545bf513071c0d9fce4ab55fc30a9e45f1efb11c0fac9c24fc5a6dbd74 +DIST firefox-128.8.0esr-si.xpi 628191 BLAKE2B 7a04659d4fd7a082e2281c65195d174700fd3cc6d96000402358188c7b57cd91c73eb56894bfaa97469b64771e7be264900b1c6a64973ef99b01b3be26c0d665 SHA512 6b33c093f231b89c87553d7c705875f052295e5f9568c1120a4b09decc2eba9f86e7a4f3d3cf27bb5f4f0faaf06eefb49af668036c0cfcbd98aafa4979ed3927 +DIST firefox-128.8.0esr-sk.xpi 682226 BLAKE2B caad0e34413dcf946eecbf4938a5a05fc25d87362b37cf9d08fda30c8bc182e9b8bdb21b07720bf723edd12344acedc9eee652a804da7095ba0c4f38f8a971ca SHA512 4e56dc5f8e34f926b47e4e10da885a5f467818f106b026d94fdade8aab899b1a7b1919828a55295f6270bbbffd29a3646944b02d2c2492f2284b2375a9d43dfd +DIST firefox-128.8.0esr-skr.xpi 726689 BLAKE2B d904887d14d4186d4b80cc4815c96c1d4eeac8bcd57c7c7faf461cb02ac5eb851041411075c911e03fa2e65425c5bb488731421a6060ae4cd9dc10d1e95fcd15 SHA512 e7f84bd861d2d680e02a402ef6d01514dcf0932f83a6479a4af04f9aeb34ff46daf9f907248bc810111153c1d0cd75e463878e562b133783bb39a5d94175d1f6 +DIST firefox-128.8.0esr-sl.xpi 649038 BLAKE2B ebc6932419a7822d466852aae872662e7c876cc6e0d19fd2d810f0cf3aad173fccfa0689883e26d5a134e863ea92749246a726fedf84cc889ea40c295d20d2a1 SHA512 b5c1b477d74eac0d61c46610db78df721598c40e8d276b80c5eaaca5ffec55c6bf33c0f49767e588043953546e68b487d5eeb3c438fa9718b7d2b7dcdeb2d1dd +DIST firefox-128.8.0esr-son.xpi 451692 BLAKE2B 23d4fe9cc9451ed437a8652f59a419ff09cdca7d1eff8a961690f986e6131cf9da33796d503b02a129da35de9fc5022ed05f1cea1c98a585f9a8a4a346ac0bad SHA512 dead12871f39fb04ace0291d6f71c8db02e925a2331478b57783ef6143b9c2f87aa2cc9334e6751bc0eef599af7ed571ecf43912006317e32d39ba6e18c8a22c +DIST firefox-128.8.0esr-sq.xpi 665747 BLAKE2B dd6c5936379dd4de9e0a147ac74bb4ee73a372a64a4b8c7a03c6647066aa4e40cdea5577a7aea02197e966d15aabcd012b4099c662d00550f400d5bbf3a7699a SHA512 24c2ae07874176f033832fe0ac831ce1183c9bcaa8ba458cf587c4b9643a7afed081f6a5bba5ca6917f60449f3f3e814dfb70d664add41905ae7587405f64bf7 +DIST firefox-128.8.0esr-sr.xpi 678437 BLAKE2B 517d9fdb08cd79cc47afe7bf8f316e437668443af0a07302c66c0c1a95b6ece7306917d02ebede5cd1d3c79b5b9cbab6b161fb9ff24a2bf3b4b841c22a8cd931 SHA512 e59902a0cdf0d3b6c1aaad23452150f9c4d8eb6d5bd3b69bbfe17f24e82695f0d85de76d4d86cd28954cd57d31ef4b9ffa01f03899963f6185c5007125b91c9b +DIST firefox-128.8.0esr-sv-SE.xpi 646485 BLAKE2B 379634be993c40d4b91408af0c3c67f0467aefe77a05a30c54b6f3274c31b564a0e61f0239a04ec3cb982008ef9043583117c362c22065f5ffb589e404fb8789 SHA512 9772ae0bf1d932f394c90455e903b85997334d9b9c857871d0c4f5ed53bdfaa350ace1a753d498e074ca2ce56a55519d1f3b92d4705d5f2e1b718624366d5c77 +DIST firefox-128.8.0esr-ta.xpi 530542 BLAKE2B c5ae87eed61bbd55569bdd7dc4771cd4f54d3673ed46c02bb887534c8c54f6a63c02d4807406e7f35ab50550831d8e37f0006de89df7d1178b078a5c354677c9 SHA512 9f8fcd5c8a9b7bdf69e393d8bdfc1890e489773a37ba8fa97639cbc139efca0cf3014ca6aab4ddc5df209bedac98c3bb3d27d546f2ad06de1b5a28f9e52a7251 +DIST firefox-128.8.0esr-te.xpi 583154 BLAKE2B 6c4cae2fdda36a6525f014a7c2cf4d03ed52a8b6699ffb442aef92b19e89b3bfb3a1deca43a24c5b881157e1f95e791c9c1ac3a7b0cd1102ed2fb715677594da SHA512 4ca9755184e098325a357aa48985f4ba9551692087a8a01eaab9f99a5793a3cf6b43c2430b05c84fd665c8f11f934ac0fb345b22d64ae9febba4f033722c595c +DIST firefox-128.8.0esr-th.xpi 728443 BLAKE2B 3d3a0bbaa9dc99f1ff4bf25199b023b6c02fadb69dcd746342ebdb9134aeea5de8ff1d803e49b30c0be49d769b558ece1d6591ce4256e97da0ed38ffb5552ecd SHA512 ee53458cf0425bef92d34978a32afb0337e1a6e3ee4c823ae87a24b0ef95ec003973ecdf0af3f40f312d524ee206894eff8b7c0749a4af278cb75c936b2ed6c2 +DIST firefox-128.8.0esr-tl.xpi 546942 BLAKE2B f0a7d0e435ff3b44d0c74398ffea29573cfea9f921a8e9799901b5b8528596733c3312d90d53132169e606dd445bccd6edc4989f10d2190a33515413ad92eeef SHA512 c26fc605d691591f6ef8f06ae7d01c8015b7900c400736ec63f3c1b05ff926872195618249d0b778e6808137158fc531e4d40579d7f44d331915aa56d429caf3 +DIST firefox-128.8.0esr-tr.xpi 659468 BLAKE2B e51428e641a3e260f353373e7de0c036e24d5df4aecfb2104a8ca574929d4892a303fed075b91d5161a4eda3d435bf9f63f8c216def13faeb43d8079566b60ca SHA512 bf8f87e415c37e2d352729afb7a7091c5ceb6947a90d0a8050e6673197943d77461f05c611b58e14edc71d40c2fde21aeff355dce6841431f2a160e69e291114 +DIST firefox-128.8.0esr-trs.xpi 522149 BLAKE2B 1736fc065e2b5a4e9aa448a550771709bdb876888150b451656541b6187a8831624d40bdfd16266e4267183c0c70d58c6bd7a1dc3a1c88007e92bdc78b5caf9b SHA512 7b3c82d9ffed9865cb6e4c69abd5038342ccf1e40de31ce9f44394935aa8e5ceb51a346a28f6b048629f9a2ed348361af2dedf2b9ccb9128f46ae4e04b859699 +DIST firefox-128.8.0esr-uk.xpi 743998 BLAKE2B 30e97e28a331fce791ea2b2e8809cecb65228adbd039494906c0525f9de758881c44dfa0508d017a69f4a4d5f536add01d10f83f7c3ce2c14ab4c34e07c47d2a SHA512 6dd902cc4b71e6a20995d9ed2e6dc7e48d5c98a8f8ce8a0d21221e8ea59d174fce9b8f1a8a5b2483bd1e60d04c64f5270084220a8790448462f5ff6cd92128f4 +DIST firefox-128.8.0esr-ur.xpi 574513 BLAKE2B f86a91c1feffb308acb398337a9bb3b0e7971e5471c75cdbeaa090af68233c6412b82b1490e52dd251618d98f0b924a9b0362f7810fecc04c2855cf25d6ced58 SHA512 aa2cbcaf068229880037ef9b4045759a3faebbb2975ddee886df1797713494fb9972f96905588fb0488b44045f16bf0bcd4c44eceb4640d60957a09b481e9871 +DIST firefox-128.8.0esr-uz.xpi 495299 BLAKE2B f4ad79a3bea7b34270ea715a85bea5d27e8d57a4da952447d0797f9bde3596f7517844a2d8152c72ece999ac004b23a2ab8271755e6071d32b89d063a9c2e72e SHA512 ade0079b3135cfb1d1e53b81933732774a83fb91c46a664527a8e16f1e5547e9565a53eb86ee4c8fb77a298005b237130e061f996b6cba84b9f1d5deb55cfcfa +DIST firefox-128.8.0esr-vi.xpi 683662 BLAKE2B c6b03cb6aeb0cae066d94259274ed1d7a1d3e236f5fd47849a3b0056cfc429a32dc673c4f95b6eba9f2725eddd168053aabf3f32adea1f4f94aa9c5f791eab36 SHA512 f704914f549f7adc38ae00978dc942c9ee15e806377b3261ab72f396a12d7d0b973e67d54457cdaa12b27ce532b4275066526c218b48e239ed2c512a4b5f5c77 +DIST firefox-128.8.0esr-xh.xpi 452426 BLAKE2B 3d8c84612c104b1b80cc3a9e0b9a2a389e9d1b1838890deb08d518e5bfdab4b625a81a241f3c4365817cc0af13e6e883f2813bae9bc7469cbcc5b014a4595cb5 SHA512 ea8b23feaeed2b80d3c30184f521fc987c8bfb9a2fd59ed6ca44f33ece37277b0e9df44dfb384fe72ea678ad5bcab9515b3cd179caca9426c54ecf4766f76123 +DIST firefox-128.8.0esr-zh-CN.xpi 686333 BLAKE2B 952d19bf74421178b545221024d4f018edac4c9680f90b30ddbb417803c633dafffc0401c7654f3df0149337feb352105b0da2f96df50de1e8b3075e1fd78d0c SHA512 fa3755d2ff811200afab42c1d6b8f14fab2b0a1b33fa85d2090f1707587e38fbbd7ca28cb9c7b3d4bc59019acba838039e41d30f76c5e1af089f6ec442d25bba +DIST firefox-128.8.0esr-zh-TW.xpi 689142 BLAKE2B e537479b577f127348538593adfa6efc92fe2298b57ddc867b0f4cfdbf6cd18f46b1e62abe08e0b8e6d120f4ecb7e5485d9feefc82c08a4bd93e7f3339ed6e37 SHA512 197e2a3217d90f38347daedffe7f6a070f4da38c5540587f49b7892ec4ef944cfcde3e61881e3b3011f64e40628c7e7cf609bd81cf570c6fc9cf03f02b1f1138 DIST firefox-135.0.1-ach.xpi 297495 BLAKE2B 9266683415b54a5111841e2e1ee3d7806cecccbc0d18a81a6e28096d12837d562d86a74bb9a586c5f8d053109b4dafbf3607c7a86eaccb26a880f4160de9af5e SHA512 2d6b6a628ae62238ef441bc529d1cb93dced3c0948601829a7112e1a77278b39a5aafd3f8514d7a1a72d200751ea108265790fa5df0746cda9150212455a47aa DIST firefox-135.0.1-af.xpi 269123 BLAKE2B 58f1dd6c9351dbecea9738edba9f7fb9c686c919d09bb2d1f94e94d8404e26966c22c898131652766a81d628a510e82693c4fc06c4fc3a19339fa45ec138695a SHA512 843d2aace99f2a429f481e2b13e8aa9cb73892bba6fbd17c9479c0559a83d608b4e3ac91de6b76eb8e7b76387222590470a57fdd3c674cddc77c5f22d8723b22 DIST firefox-135.0.1-an.xpi 336071 BLAKE2B e6c9c1092a10568fe000bdf7cee6f5fea8151c7a61fa0471a799b75b1b89fcfa6b7b80a448b7b5554d867d55787ce2ca4e608a8d91bcc00cd454eee3a73fc668 SHA512 6c6e96d88b50c0e823b749b372ca00d1c52acaa60dce832dc465130dd7fe2c5b6ed99feaab955afeb9afa46e690b49de280febee820b09c3ecb31d3b8a9ac2b4 @@ -295,13 +392,17 @@ DIST firefox-136.0-vi.xpi 463346 BLAKE2B a6cf4482db5c4de4287dcfd588deab08d318df4 DIST firefox-136.0-xh.xpi 273270 BLAKE2B 84b39837494eb27e02c1218d571a42bc36cc0b8a5ad638a066d3df2da745361c77edf7207402a924dcfdcb4d55980782b8cef3257a90ddb9236670102c6d4b51 SHA512 0ff9f15230d88e89e281e6b10b0cc7fa5d5fd018dd187490ec684d8c37f0a417b4e21cfd672bba5baca10f77401c0fcbd6a22e6e545190fda4bdf673d21f5c80 DIST firefox-136.0-zh-CN.xpi 454853 BLAKE2B a42369fd948e6b1a2eda3cb26e7ded75369b15fb75c5ed9e6ffb0479bdb6f684fb76d791dd29bc558023d7a696c09938dc04ccf6344391a30f48a8278d8961ba SHA512 60b0499e8dd17f2b9fd2f7176539de470ce2e2b407dec386b3f045d0479cb5f5a6712455ae5fb053f2936c2149d7532cb250b691f55679d64b2969b2923a62a9 DIST firefox-136.0-zh-TW.xpi 457684 BLAKE2B 5c2714f86e81806d8dc8dcd5f4d874a0dda090213d8ccbc621492cb9f48b1b35fcabe7eb88b7d4468b54863a1b0e3ae00d2125d09b748d11c8f4a3b10ebbc890 SHA512 b7646c4696b16f560254f0454ff279ab11a1fd0d2f03270935c21294094f32b2a0d2f0a022f6e2561fd7d727982dfb62af4aefebc2a8713d1a8c690c974c795f +DIST firefox-bin_aarch64-136.0.tar.xz 64034656 BLAKE2B 37be71fa6ade0f4b53c432eedbd6337056de80e46c02547098271fbf7e0e35d4fc61601d76d140506787e69bb06b64cbd876389860cd117b8fc17ed07ed7e251 SHA512 4c8b5fd8514fbe203884565a99164828d58a34b85a11c4cd8de58f62e3825f5ec72c579596da9b2ca868120b8eec889b6e78566f3d278b1ebca264410160456c DIST firefox-bin_i686-128.7.0.tar.bz2 88135059 BLAKE2B ed2de6556b59eb2566e154281b05cb553c1d7e48e9d41b51f3c0c89b8aa86bad8d24afbf6c202600a4943556539c03fab1c019a32e6687a111c0b778967d1368 SHA512 8162826a83dace6c54c086424d39c6f6aeabd349855b594ec50268a79511a6293e2d1fa28b7ab3a45d2e7af1a0fd1ac4b77cd9b6be2375215733ec9879a2f85c +DIST firefox-bin_i686-128.8.0.tar.bz2 87989609 BLAKE2B 442bc7cd00cea2b9ca428f02fb47dde516a24c2389c111b7097e6e2c5c6ffe7b44d78626f9b547db940cb7364d64efabc48733ab88bc0f6bdf3cf8bf41b5ee60 SHA512 c28ee51ec1d951b409def4a1ef013c34226ab8167c4b82429aab8926400685c20cc54cfca3c0b6fec09315def53531d8255fd0f49f3ef1112f764b0f793cb923 DIST firefox-bin_i686-135.0.1.tar.xz 75429644 BLAKE2B 86fbff83c27d46a62b0358e65eba347044a9be8db180cf279b44385e42a078618883c3d52776f8ff95a13795ecc7417a303da21cedf5205e15c226f258b2bdce SHA512 f8aaa3965c434b79051740ac63ca6fb44a999ab27085ed5540121f05d8152b88c787ddeb0efb2e0af6119dc3a48efb20b209082378b8d3282a90755fd40e6392 DIST firefox-bin_i686-136.0.tar.xz 74971344 BLAKE2B 1f0fd09fd0a14904d55be633935af5b2ce48fe22db83db77d6ae891571457ea3145bffccf1c89624a714581c803d8e629a1d61d0b52a1810691e2e235fe13edb SHA512 b0de27cf27727edabb7e2eb807f441b25d2773c1ab7e1d49f13aa493625bfa154a12a5a4c21204031eb67f5a92a51b45d2ca36025f895efdb35092e925fbe066 DIST firefox-bin_x86_64-128.7.0.tar.bz2 86834571 BLAKE2B efba11dd5eab50c7af83887ef7b3e7b3e247f4058f171bf007eb6cda808c1072bb44e6712b0b0b92796657027ecf149e184022120ae4f5275bad081201333640 SHA512 bb030b09f71f66b939e0bf5251c693629ac5bb7cf22a3bd57eadee1483d661d2c77c2c11b7d43866524eb5838a9303ac6135768b74e7c5b3d3ecb904a90047a4 +DIST firefox-bin_x86_64-128.8.0.tar.bz2 86661753 BLAKE2B cdd1ed1b2f461794c4bea06d9af4c232ad3acea09c3cdd520b796710c043abb824c5eb8df45d2d69783a9f893f5e1abf7da8dc1388a9bbc6779147aca406104c SHA512 0bba45e6089adf319983d539001d1bbb807ccd3cde99e467d0a938821c1192e93dcddd162ba36b55903af7cb35f574e2b5d3e9bca09047cd0e4d89d37dcb945e DIST firefox-bin_x86_64-135.0.1.tar.xz 72661096 BLAKE2B 7fa1b0f31219d29ff3712f13823d6f9791f523112b4a57b687e66c6cb4018e16255ef5946a6a7983a219b8b8a42eddcf64e75344bc740574c7caf2aa1c1ea578 SHA512 4c3a9ac95d1ae92121f7bc45dbec1c3d259384bc1dcc649121e2f87a1f176bc761b6134f5a5310b0edba2f97e8f33443b4a45ba7efd2b294fbec34c5a00a2cc6 DIST firefox-bin_x86_64-136.0.tar.xz 72804596 BLAKE2B 876ed8e41fb9fe0d9d5c42f228ef64d2c098300553a1237d95bafb4f8ff2e4f4d41b044c2b1f3198061503d327adf915d2a008772de71190d652b675ae982368 SHA512 975e4e57f1d696d7bb8773a4ad7907db4c4944b38434d91bb563ed842740622348d4ff495be074b0f1039b89f9807146901d8706733c7ddaff9316ea7185a280 EBUILD firefox-bin-128.7.0-r1.ebuild 10592 BLAKE2B ce3476b01fb7054001077e714dd7f7866866267a0af27ed5c940dab45ffcbc5d9d5f8f816aab49a26e93208820dd76ba356d8bc080de611c838d3f1b876d23a3 SHA512 e3c0099e8af158517b2aadad657f6a0bdc35ed592c09e124c261ccf0e8ccb270d3e8ff794047782baa5dcec410874567f476633df68a311fc676fd365769b909 +EBUILD firefox-bin-128.8.0.ebuild 10592 BLAKE2B ce3476b01fb7054001077e714dd7f7866866267a0af27ed5c940dab45ffcbc5d9d5f8f816aab49a26e93208820dd76ba356d8bc080de611c838d3f1b876d23a3 SHA512 e3c0099e8af158517b2aadad657f6a0bdc35ed592c09e124c261ccf0e8ccb270d3e8ff794047782baa5dcec410874567f476633df68a311fc676fd365769b909 EBUILD firefox-bin-135.0.1-r1.ebuild 10585 BLAKE2B 334a53a6495a3216ad7405a1a182b06d07cf5c61f856368a118e41c0140bb7ea6f885f6d01d6714a557fae1ce08d41071cbceef2a1d91724200221470e2ed690 SHA512 866dedc0c3954cf533a020f50c881474eb1c758ac352b230251bebd06f021a6d72eccfd554238c8ef899fcf8e5d829d26fd9ff110c464c73e93e536ef6d7e9cf -EBUILD firefox-bin-136.0.ebuild 10585 BLAKE2B 334a53a6495a3216ad7405a1a182b06d07cf5c61f856368a118e41c0140bb7ea6f885f6d01d6714a557fae1ce08d41071cbceef2a1d91724200221470e2ed690 SHA512 866dedc0c3954cf533a020f50c881474eb1c758ac352b230251bebd06f021a6d72eccfd554238c8ef899fcf8e5d829d26fd9ff110c464c73e93e536ef6d7e9cf +EBUILD firefox-bin-136.0.ebuild 10690 BLAKE2B 47a73f1163ad78c022da2e39f35e6ea1afe709713d4e225ada90c5d324486c4104f1280ffecf465f5eca7bdbe7b1d709ea7eaf87253c5c219de768327bec3a49 SHA512 a152fa8a8e580859d5a4b3ba867fcb5ac80eb013dddb436d4166f7fd62322791583002b26c9eae387654c823de8eede54b0737f984276af2bb628c76f67fdce9 MISC metadata.xml 444 BLAKE2B 859a9628086f30da043382e969ee4413a663b6b0c71442472155ac434399eb0df210b5dbbc33e01488368469c81863ab53573f32b2d5ac321d236da60da609c2 SHA512 80fe43fe64650905c201a151f330d0a83ed3d89ff103828a4deddc68d4abc69e1a89f2f677d969a0164fb71b261cbed90164731dc5b11fe518a24ed48342209d diff --git a/www-client/firefox-bin/firefox-bin-128.8.0.ebuild b/www-client/firefox-bin/firefox-bin-128.8.0.ebuild new file mode 100644 index 000000000000..b9652518f8d3 --- /dev/null +++ b/www-client/firefox-bin/firefox-bin-128.8.0.ebuild @@ -0,0 +1,359 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + HOMEPAGE="https://www.mozilla.com/firefox https://www.mozilla.org/firefox/enterprise/" + SLOT="esr" +else + HOMEPAGE="https://www.mozilla.com/firefox" + SLOT="rapid" +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 desktop linux-info optfeature pax-utils xdg + +MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" + +SRC_URI="amd64? ( ${MOZ_SRC_BASE_URI}/linux-x86_64/en-US/${MOZ_P}.tar.bz2 -> ${PN}_x86_64-${PV}.tar.bz2 ) + x86? ( ${MOZ_SRC_BASE_URI}/linux-i686/en-US/${MOZ_P}.tar.bz2 -> ${PN}_i686-${PV}.tar.bz2 )" + +DESCRIPTION="Firefox Web Browser" + +KEYWORDS="-* amd64 ~x86" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +IUSE="+gmp-autoupdate selinux wayland" + +RESTRICT="strip" + +BDEPEND="app-arch/unzip" +RDEPEND="${DEPEND} + !www-client/firefox-bin:0 + || ( + media-libs/libpulse + media-sound/apulse + ) + >=app-accessibility/at-spi2-core-2.46.0:2 + >=dev-libs/glib-2.26:2 + media-libs/alsa-lib + media-libs/fontconfig + >=media-libs/freetype-2.4.10 + sys-apps/dbus + virtual/freedesktop-icon-theme + >=x11-libs/cairo-1.10[X] + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-3.11:3[X,wayland?] + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libxcb + >=x11-libs/pango-1.22.0 + selinux? ( sec-policy/selinux-mozilla ) +" + +# ESR and rapid dependencies. +if [[ -n ${MOZ_ESR} ]] ; then + RDEPEND+=" !www-client/firefox-bin:rapid" +else + RDEPEND+=" !www-client/firefox-bin:esr" +fi + +QA_PREBUILT="opt/${MOZ_PN}/*" + +# 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 + +MOZ_LANGS=( + ach af an ar ast az be bg bn br bs ca-valencia ca cak cs cy + da de dsb el en-CA en-GB en-US eo es-AR es-CL es-ES es-MX et eu + fa ff fi fr fy-NL ga-IE gd gl gn gu-IN he hi-IN hr hsb hu hy-AM + ia id is it ja ka kab kk km kn ko lij lt lv mk mr ms my + nb-NO ne-NP nl nn-NO oc pa-IN pl pt-BR pt-PT rm ro ru sco + si sk skr sl son sq sr sv-SE ta te th tl tr trs uk ur uz vi + xh zh-CN zh-TW +) + +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_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 +} + +pkg_setup() { + 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 + + mkdir "${S}" || die + + 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 + MY_SRC_FILE=${_src_file} + fi + done +} + +src_install() { + # Set MOZILLA_FIVE_HOME + local MOZILLA_FIVE_HOME="/opt/${MOZ_PN}" + + dodir /opt + pushd "${ED}"/opt &>/dev/null || die + unpack "${MY_SRC_FILE}" + popd &>/dev/null || die + + pax-mark m \ + "${ED}${MOZILLA_FIVE_HOME}"/${MOZ_PN} \ + "${ED}${MOZILLA_FIVE_HOME}"/${MOZ_PN}-bin \ + "${ED}${MOZILLA_FIVE_HOME}"/plugin-container + + # Install policy (currently only used to disable application updates) + insinto "${MOZILLA_FIVE_HOME}/distribution" + 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 all-gentoo.js + + local GENTOO_PREFS="${ED}${PREFS_DIR}/all-gentoo.js" + + 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 + + # 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 icons + local icon_srcdir="${ED}/${MOZILLA_FIVE_HOME}/browser/chrome/icons/default" + local icon_symbolic_file="${FILESDIR}/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^} (bin)" + local desktop_file="${FILESDIR}/${PN}-r3.desktop" + local desktop_filename="${PN}.desktop" + local exec_command="${PN} --name=firefox-bin" + local icon="${PN}" + local use_wayland="false" + + if use wayland ; then + use_wayland="true" + fi + + cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die + + # Add apulse support through our wrapper shell launcher, patchelf-method broken since 119.0. + # See bgo#916230, bgo#941873 + local apulselib= + if has_version -r media-sound/apulse[-sdk] ; then + apulselib="${EPREFIX}/usr/$(get_libdir)/apulse" + ewarn "media-sound/apulse with -sdk use flag detected!" + ewarn "Firefox-bin will be installed with a wrapper, that attempts to load" + ewarn "apulse instead of pipewire/pulseadio. This may lead to sound issues." + ewarn "Please either enable sdk use flag for apulse, or remove apulse" + ewarn "completely and re-install firefox-bin to utilize pipewire/pulseaudio instead." + fi + + 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@:${EPREFIX}${MOZILLA_FIVE_HOME}:" \ + -e "s:@APULSELIB_DIR@:${apulselib}:" \ + -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${ED}/usr/bin/${PN}" \ + || die +} + +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 + + local show_doh_information show_normandy_information + + if [[ -z "${REPLACING_VERSIONS}" ]] ; then + # New install; Tell user that DoH is disabled by default + show_doh_information=yes + show_normandy_information=yes + fi + + if [[ -n "${show_doh_information}" ]] ; then + elog + elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):" + elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all" + elog "DNS traffic to Cloudflare by default is not a good idea and applications" + elog "should respect OS configured settings), \"network.trr.mode\" was set to 5" + elog "(\"Off by choice\") by default." + elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences." + fi + + # bug 713782 + if [[ -n "${show_normandy_information}" ]] ; then + elog + elog "Upstream operates a service named Normandy which allows Mozilla to" + elog "push changes for default settings or even install new add-ons remotely." + elog "While this can be useful to address problems like 'Armagadd-on 2.0' or" + elog "revert previous decisions to disable TLS 1.0/1.1, privacy and security" + elog "concerns prevail, which is why we have switched off the use of this" + elog "service by default." + elog + elog "To re-enable this service set" + elog + elog " app.normandy.enabled=true" + elog + elog "in about:config." + fi + + optfeature_header "Optional programs for extra features:" + optfeature "speech syntesis (text-to-speech) support" app-accessibility/speech-dispatcher + optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas + optfeature "ffmpeg-based audio/video codec support, required for HTML5 video rendering" media-video/ffmpeg + optfeature "desktop notifications" x11-libs/libnotify +} diff --git a/www-client/firefox-bin/firefox-bin-136.0.ebuild b/www-client/firefox-bin/firefox-bin-136.0.ebuild index e4557e9e3b20..1ef9b649682b 100644 --- a/www-client/firefox-bin/firefox-bin-136.0.ebuild +++ b/www-client/firefox-bin/firefox-bin-136.0.ebuild @@ -36,11 +36,12 @@ inherit desktop linux-info optfeature pax-utils xdg MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" SRC_URI="amd64? ( ${MOZ_SRC_BASE_URI}/linux-x86_64/en-US/${MOZ_P}.tar.xz -> ${PN}_x86_64-${PV}.tar.xz ) + arm64? ( ${MOZ_SRC_BASE_URI}/linux-aarch64/en-US/${MOZ_P}.tar.xz -> ${PN}_aarch64-${PV}.tar.xz ) x86? ( ${MOZ_SRC_BASE_URI}/linux-i686/en-US/${MOZ_P}.tar.xz -> ${PN}_i686-${PV}.tar.xz )" DESCRIPTION="Firefox Web Browser" -KEYWORDS="-* amd64 ~x86" +KEYWORDS="-* amd64 ~arm64 ~x86" LICENSE="MPL-2.0 GPL-2 LGPL-2.1" IUSE="+gmp-autoupdate selinux wayland" diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest index 87c4e65b892a..ee914c6daafd 100644 --- a/www-client/firefox/Manifest +++ b/www-client/firefox/Manifest @@ -5,6 +5,7 @@ AUX firefox-r1.sh 2836 BLAKE2B f2a80753f78bcae89f52ca161a0c558c3df5dd40d52f3aecd AUX gentoo-default-prefs.js 778 BLAKE2B 0172b25456b1e28f55fbdf86cafee9790bbabdd8f769c0bec2557864e22981daedcd621991c9168b82b2ae6600e5f1ac9d3e237c0b07a4c11888d87bb111e57b SHA512 730375c8bde666f8c776124acd096e2f624c376c2034873241d2eaa3299bd5f533ad7efdb0bf4416169622bb62f40583ff1f88e3ce5fe10919ba33bc2b5b2da3 AUX gentoo-hwaccel-prefs.js 162 BLAKE2B c5f2dfb727081e2d538c262f12c0cfdda31cbda58c77f4024d820e1d1915203d1fb8ad2671f88ff0eb2b019bbf44079a8b1114e240b74f815680e5c28eccc295 SHA512 f1847f11e7059a83f09c3c7494aadcb04512cdf2ccf6616ebe3ec02fc46de66fd35cf83d81e08013c0e594b73e4dffcb67a32288b6949ce137669715583fd0a4 AUX gentoo-hwaccel-prefs.js-r2 327 BLAKE2B cbfe58675a6e6a5b7cb93e6c2b2431dd47e2724e5ead730f2a26c6bc6481107677d0262edeecc48949adcbb761d99cc559e65660cb890c808721942f59d35bdc SHA512 476ac4b1a750fb4a5a56cf1d180cec2effdeaa2c5ab19bd4f5e326144be3ab9c0f6177b964e36a04337cb7ffa636033e53c7e823e15d490281acaec725dd3efd +AUX gentoo-telemetry-prefs.js 1079 BLAKE2B 7da83dbc855dbb04318c665227e584e933e30ef15b57d5cfad94809a646dc3add08ad1ed8a1cb6fa3a4bf3109f84c916c97c5aed6156e93920a672e4b2876979 SHA512 812c0458c55fe7557be11fb75c50fc53f9d87d00a932f013a7e4215ec5bb9801d904b50be7c80662f77df16f1490b358bbb50458fd98f2a576c81513e51b467b AUX icon/firefox-r2.desktop 8137 BLAKE2B 5d0ce737c0e0969cb1a61de7989f5ca1ca0dff413d6d98bb0c93e0fed510b4e075a88fc117d3713e5e11ee7471ceaeffa9bc9dfd4282f3ddb1ea837d823e4887 SHA512 749a50b11d89c1329a52d13745ff8d5f801e565038cb5341319b4b515f36baf1c0c740003d6d01188c27e31d7ddeff58310e7b2420681292d0f2522bc5bd34b6 AUX icon/firefox-r3.desktop 8116 BLAKE2B 50b476a1be87bcca0bd6175b7a7f5e67ac5d3f40b0a5a99c2244036a9eea53fb518f59c1d87b18723c4ae6c261bfb692ef0b52c6714402b0a98da4b6867ab977 SHA512 07c9d89babe20fba9531396c9aa2b692aae77606be2b8a750481b6b8f9b3eab320fef313d1ed4b15d3fbc4cd94dfb56b62ce1a3e89ba7143c6aa9acc0f919bf8 AUX icon/firefox-symbolic.svg 7432 BLAKE2B 33a552ffb9850f6b9cd3cb8d9f7f80268ac08f00a0bd5eb15d892c6fbb950f8cacf6058b9c838f5be1ae1b53541f143a1ec0c1302ae85b49100b166fcbccdce6 SHA512 ba7db9a7c95a051bcd84e4c09c802fc55ee3c0d1d06ec1b169b04e414259b75bbe92fe584aee41a1e3f71e71c160df8bedf5393449e5024110ed27dbc0579ea8 @@ -109,7 +110,109 @@ DIST firefox-128.7.0esr-xh.xpi 418474 BLAKE2B b44cefd8149e389013cf36495c62be4726 DIST firefox-128.7.0esr-zh-CN.xpi 675201 BLAKE2B e07f861f85c0abce293798029206ac795755eff1647bf1842eeb2f7169217303041d2506498dec27e5e0c679534bfc8450477a169c16ed8744b7b8dcde04a3fa SHA512 9ebeae24f93cc2bcb49b8c482ff474ebe3357286d2fd35864e4a1e156d1cea5933fc776e18b75fc686ec84f91e355e49a8ad9e5f9bf044b8ca3a7d0bbe2bc0cc DIST firefox-128.7.0esr-zh-TW.xpi 677437 BLAKE2B f2587278e02f26340261501b694c372fa7164b2113572176305263c10479466fb481e3bc5d857bfd068caffc5c7efdc9c6a77506eb955b035b0c707fbfc3af39 SHA512 d6b2df29a1bc98e49a96953c315f3aeb4fbea66fc9691d37085d0946c3710f6f0174927fe7103009343cc038f4eedbadacd592a4eda24b1d3f7f395474853c7c DIST firefox-128.7.0esr.source.tar.xz 569300208 BLAKE2B 08bf5b571707b7a5acf1ebde12e370be5999e3ac8cac2e952fae635faa16e07ba4d9d0a00b304ba43b5a327c825cae04c1ccf8434456e27d4c396e5b09a4b6a7 SHA512 26f9661b395b85a44b42bd72ef1ad976c614216c68f6c2dd834d0ac8b84b9c9f398b8ac550a47396995d96e6bb5fa9a50064d7f2f526bddd45aed5039ef131b8 +DIST firefox-128.8.0esr-ach.xpi 482243 BLAKE2B 7697f4b91953d62bc9e562d6b1112281ead0b4caaa54011a6430fc71e76b417575151c9c6b7ddaea172bee841d281b7ecda3d10404655b06794c72042e32e882 SHA512 9c83a7af02edaa4d44ca6db318fa537a722486994954f4342fdcd0ccf16643643f9664edd162bc537a2fc8becff6c11d858a20c61300f5a84cb7651b9b6eb591 +DIST firefox-128.8.0esr-af.xpi 446598 BLAKE2B 93dc8a95fd10cad82ed9dba8e906c9ff54ac98d45efccdbd2b1babcc80952860eafdd12c33ba865feeb3c612ca3f4e1e9dface19eee2c99115b14cfdcb9ee627 SHA512 0a2e9b81e66044089c4f0c9220ccf83fe0275314e53a625064add25217c2e25df1ba87c81ab6538c3c00bf480d398b576cea7c49c40a144d5b2a5e423282c38a +DIST firefox-128.8.0esr-an.xpi 526061 BLAKE2B aad7700e11aacdba5ba71c40bfa76551af9835ce4d8610945302b54b81606f59d7d54d81c17a3976beaf6b7c380684500c3268f2f7914e0014ec7730d9018537 SHA512 c8d4a18e722554880c45cdd148326683197dedced079c2fc62e4607199dd445431ba6f8a1029bc41eea81e1d48926d813b13500318086f92502e6b3d7b44a02a +DIST firefox-128.8.0esr-ar.xpi 650463 BLAKE2B 8f64809e669a1976da9e3f14a0501b9e907d2b44450abb466e95617c04e9f1c1d24523ee90de9a6f475fab8bdc095565fa3202f536a166b3e282bca153b3dc7c SHA512 9bf5fbf3a7a66abb8ce40563c6f6fe1e05b549a7dc10800743593d765e4964cda5b0b246ae8519c82971f4a503c0a108291d2255c02604b862f083514c807667 +DIST firefox-128.8.0esr-ast.xpi 508561 BLAKE2B 145ff09c07fca6c1572ceb09ce7e88248748d406f5e42f6aa9b8c531e64617953e2536f8caed3743cf4ac358b0847928a8661e0ff6275e389a9864f188776409 SHA512 728d7106dbeca8c708d61ba462c0943562d4ec040391b2c0e84eae80a627333a763d3942ca57aee063b13e8227286d003ad2ed8075f80d01a66bba024a3590d8 +DIST firefox-128.8.0esr-az.xpi 509839 BLAKE2B 24e21ab8b279bd9d9c45e65e13518dc436adf1ad387500c41f614007479aba6ce3b8c9cc27ba9b6bc67375686164c11a5fe0e5f74be09cb701cd2e837384bc3e SHA512 8818e48fdf38b29cad492efb2234616bf812dec832370c1ec500814a58a0ccb6130af8318aeb6e62de5a8d54f66b1dec07017e1ef669493542e94a082cb5ade6 +DIST firefox-128.8.0esr-be.xpi 748080 BLAKE2B 829eefe38ff6be60f08aa90a38dd6a06dd3e14cef558e9178387e332168a469f9725868fc182ae5dc3dd64aa9d88f6a42ebdd395938de5b25a858d4aea0ee581 SHA512 59b451e36dbfa3032357122699c8780182177489ffd0e507ae33a62dc9b18d9cb096f217f0dfc6e42eda64b82aafd3b468ad13e4b1779d87eb23b3881908339f +DIST firefox-128.8.0esr-bg.xpi 672053 BLAKE2B 04bd0f9b698c1a90804c4dd018a1a57b7d09f02149f0e3b81ea51509d940388b25daf45d1486a1af76f60f4b4d902227309713a35c7d479b4c6e2e027a032184 SHA512 bd939c3803399ec905921409530e913b032b59994aa48bfe3671220ca4fd7e54f643e603a77dccd0de8c38e6e94736944777940bf8776df9a00498b88649601f +DIST firefox-128.8.0esr-bn.xpi 624725 BLAKE2B bbc5287f61f0a3f58ede8b8b3cf1b6144954ce6f3f0463b9147bb145bafe42d4ad51f9a112e7542c4fdcdde5db8d1bf412837f38a69bd4933c07627b881b204f SHA512 102e797510c3656f538982ceec66c66da657712be891bac3fcfae2d1f291965f5f4e8b8bb093cbccc3166a2565df616482274b3295cdcf253de482110f8d7d2c +DIST firefox-128.8.0esr-br.xpi 598746 BLAKE2B 6f4f045de4363eac285547b7b5fc7ffd33be691ab8dc8cb4292a14139e6e9f03a4073a393cbd05ffff819ec6f7660182fb63ae48cdbb3f8b8ddde1cb752c9006 SHA512 57a35d172c314e0bc2a502d76955db9ea97295a286658eefab7ca2c53cbdb1124b4b56b024779c5f6872403b6477b1e057848c2f0906d4bc3da9dfdc05de4a55 +DIST firefox-128.8.0esr-bs.xpi 565999 BLAKE2B 5b0ddbfdd29abc52bd38ad69e3bb886b500428704e148897dc23d5fe0a02c1f8bccd8fba9e097c98a20323ed03ffeb51a5c4d88118a862ff027fcf591eb6498f SHA512 c84f3530247bafc85e57048cbcf4117b95e5352a6ec291726a1f0cabe0bf45cd0eee36e0f83446202e952af342629f18b36186840987859c9e533b6181c8dfb6 +DIST firefox-128.8.0esr-ca-valencia.xpi 561156 BLAKE2B 7c829caee773365903f0a3d16330502856e857a0ae3d147b42d22f3bbcf89d764723bc007973b0282554a76c4118d527b3595303058fa24d1cea2d55245d4ac8 SHA512 1060baba510d2a4ab267fa9b8289c398aa861693f5a2311876fda670496d3a7223a30e3a072850860489df6645e431f2c05e59c55d5886b860c1653ed5bc4b21 +DIST firefox-128.8.0esr-ca.xpi 609963 BLAKE2B c77754723fd17b7ecc705436508c72ece280559cfdd646ed6f8de6f9abd655cfa02168b415b1092269444a93c931c52029c5e43ed5ad621bfe2a3a95c416d87a SHA512 f39a1744078d8200224cf93e27a453a6deeb1b4f1faa771bfcf5254f72d83d5031f4d8e0c10f487eeda5f8dbc43e829220debdaed4eb7099994474987ae26c59 +DIST firefox-128.8.0esr-cak.xpi 601478 BLAKE2B 74b869c0ca16c718838a872a3a68e5a5aad5d1944b8a565bed5f92dc1c2a1d7246fe63d4f6131c77dcba4e2c2c067df0aba1e44ced1b7bb3675fd1850afd5ba5 SHA512 b4fcc7e08bd1b0558183dad02b40bb940f51ae81ba6ebe1a0d34ccacbe0932ae3c956ab14946ae90c3fc93bf6ad548f0a5b8400f62b5a7878036a5b4d11f4bc7 +DIST firefox-128.8.0esr-cs.xpi 690641 BLAKE2B fda3e2015e4cf905371b9edf86aa2fc40d6734ad4f4b153a30b9e9328e631ae78013123550dd1c9f597154b72c934a02f058f094779cc09464ac7211b87314fb SHA512 bd0c2435cee1ec028156caf3e4db8e36b7e5ba4f8ef7b66593e8b41af4d026c248a54fe53c18f458e394402294fb90bb65878dc2bb4c69c417f71f3bcda8c4a6 +DIST firefox-128.8.0esr-cy.xpi 650600 BLAKE2B ce7040001d434f31f972ccc167300cb152558804049498805eda5a42df75d9b592e023f2c2aff6f1870f65c3956000bf75d0b0394ef7f58b1f0ca6f5e6f27794 SHA512 1e43f9e37f408aab76220d706176148c71a90dc5b0fc43efd4a7ede57bcccb35468abbc04a0d4c84ec03a1cbcb2e3e0b1e0c9890393e2577581f4b28d39e7cf9 +DIST firefox-128.8.0esr-da.xpi 638632 BLAKE2B ab463c18d3fddfb4017cf8cfc2197cb4118e3cef6fa1332df986ba2ddffba709f1fc4fc3df54fad18c61f7eb2694441b7bbfc63cbac731cfd82abadffd7fdb41 SHA512 7182ebf9af62683479d2550068a30246907978816012a8296fda0054722c7772bd3c574834f975a35efb74284a20fbc5fb43728de4725755725b8611fb999630 +DIST firefox-128.8.0esr-de.xpi 663133 BLAKE2B 3704e097e5860d022e15ace1baf6121994655f9080001cfd8f635716194f77f9bfc10ad00216f321eaf4c2b4b43fc932d34d747776dca4ab45257a4e0beb9a20 SHA512 5f570e799dead4fe447dd98e5cb923a8f779af475ba6ca78e5d3a08ba9e76c3a0a25f2b8eca9ae8bd0909800fa46a60a829ae5d4f551ec21a0caba9bdfbd6b4f +DIST firefox-128.8.0esr-dsb.xpi 679872 BLAKE2B c5634c34c9fe370d9c2e51452147d96bbda6fbca428f1c331388d5f136ed85d51b2091eaab55d9261021e0e61902960c4c2dc8a9debbad7b80f16b5e53d3607d SHA512 4a32a6fdaa72fea630e8df45803ff9ba2789d9b8765263b867c4233d4d0f4073c9bfa7a4850486d101b31bfb245fd8cfbbc2b5bf56a3fe7b893644f350b96181 +DIST firefox-128.8.0esr-el.xpi 764546 BLAKE2B c2d36ecc23cd5032ec49354ebdc8d1a6261c423affa491f8f4f7d9c7b2faab593d42d3c76bb4c8eecf440f97340ae891491a7f2cd79c85718218f32ae4088b69 SHA512 e4d7295abecdf1a82d81c0b00d42b8f34d12faaf69dbce6988349e44e6b55a1a62129b076c5bdbea1cd40f049b7ffb9425e4773bea3b735884ba47870c0f96a8 +DIST firefox-128.8.0esr-en-CA.xpi 610414 BLAKE2B 4482f2cf578937a969bf2b8186790304afd28048ea9c4bc899cd9019bf80a20ac592be2a273233677157b5f58b9af5fec95bc74317d19fe4798e033472a89acc SHA512 4cc102144f8db85b10ccf15e6a41eb5e2f6132713a7c735b5a3844ca791f8562ac6fbdf112088c0a4395c68654b86c8d639cc2987a77f4c2c1f67c8e1482c8af +DIST firefox-128.8.0esr-en-GB.xpi 610776 BLAKE2B f8943b60a165693652b2ceca895d434bd929f2b358b105d7f90e720a9242b1fa051cff24db67e653f0c720eeed1a5e6aa85883cfbdeeb0f1e4125cc861a94829 SHA512 5807c1847cb912edb5114f097faa600e6b49c2c88f98e0a03c51d3f4927e5794d43a8c3a3633101db86d0287a56fd43aa9ac2d2e516d5dc97ff47c00f223cfe5 +DIST firefox-128.8.0esr-eo.xpi 643527 BLAKE2B 7bd78f22ab6aff0a4bcc4b0477db4cc523266f59113e2f1e3778695589b1cd8d51aebd09f9a86eae4cb0360418f09b075305d3ea5df91d80f4d0ea9d0e57b24a SHA512 57526199a573c5a90850241c6e2341dce4626233105682777044d564dd520d22872555f68ff02467070324323f41a22dbe541d04d5cc036bb2765fa3016307bc +DIST firefox-128.8.0esr-es-AR.xpi 655623 BLAKE2B be34d1ed9a09319b8952aeef137a0cd0457f192345446ac7e2dcac15d7d169f2ee9d55bb2c23e57baee0ec3dca26081e9c60a9bbb7686854961e4a0ba84c8dc1 SHA512 c7ea88316bd386180e21005dbfdaeffea03fc4db9853005a27156ca0de56e8c0b35517a73e8ec2c16e453087c787873c3da9983c8a175c44f915250da66a2d6f +DIST firefox-128.8.0esr-es-CL.xpi 656057 BLAKE2B 56fa4569fce86f4991a621761b9b700114a782612d3adcd497f5a23e1c4b8f92210c97f44fbf86fa49f8dba5d46cc7b4518fdbdd4dffa04e584d56f41f8c24d5 SHA512 c66df43545891cce1355f4f3c6c9e306ab097cf29a7411bae13fc6ae9a0a1aef63449793b04b503cd3f556cf8abfddd5671decdc0e1e6f748b926ea297b0fc14 +DIST firefox-128.8.0esr-es-ES.xpi 655181 BLAKE2B 39f8ed69998752f709be96556eb71a5cad96cc710ba12c83a583b957463a6fa21db0c5fd3e5c0bc6c5b390b3530583ce78ae7de33a270fd6aa07df5a64ba8416 SHA512 b0a5221e9084a7443c692560a31224fc3213f98708719b47cea5022799700739330f3dae4e0ea9f236440d8cd9fecf537ebe13b5f46319df00998ed7b408acad +DIST firefox-128.8.0esr-es-MX.xpi 657401 BLAKE2B e9b06575442f6e3b34c32a64d0dcc3529cb0c58ea92ce3c333fca769b670b5976e02b3ae48790588849c3b4c934dac40f30457d4d000d48d6f53e145ea63d69f SHA512 5d6169d6185022a7da95ef65e8896876248f62c22e683fd5f62176ebacd7e183e7cdd82ba6acb2adb0925d7e513560e096df8945a6fcb170bdb6766c2b34389e +DIST firefox-128.8.0esr-et.xpi 556257 BLAKE2B 8421cbb4c63a9dd1fb6bb4bcd05491be09a7fca3bdfcedbf28b189f1a223db813fe8a28e8dbfe291712dc1bf63b729d3a257de9ec0f8747d3120257afdcbdb2a SHA512 8f52250009a57668f4d7bc289049606cae31d982b6430ac5471c5434feb49aba178291b0e7358ad577234c25d4e6b014572db9574c00eab96edf3311f00ee5a7 +DIST firefox-128.8.0esr-eu.xpi 623944 BLAKE2B afd5811ababaacfa03314512461bdee8baa66834b07e890052c9aeb2ffbb111c802cf667628c36ae7ba47401077a191847ced1ce673bbdbddbfd56d91b40f50e SHA512 27fb92551a83cd76b9b62d7a3fab4821cfa3f5d9646056352ec5c13d117b54275b719486ce9462167e25342cb98a8554aec44493cb0ee6ca0ced3ded412a88ff +DIST firefox-128.8.0esr-fa.xpi 631012 BLAKE2B e84bab83ff935f5e732f30d6c18465d4f404f4dcaff9a7f2a9878c1515fd146096866cd7e926452bdd3a5482f1e2493310dbe62010106f42ffda7e47837384e2 SHA512 2422860ff2c1c1fe68b4be3c7269543b47ff3dca98faaae938bc71b06a164a1a4e60db3e8a71d14c35cd35cd8ec7c04ee63ff0d963826d19faa5e9f9358a52d6 +DIST firefox-128.8.0esr-ff.xpi 497842 BLAKE2B 827dbc64bed28513e3571c2c7560f4654b45064159f4202e4a6d9e5733536d7893a9faf5d47645ea6fcd35d7b3fe7d02d3967a168247dfea840a466bb7b37fcb SHA512 101fa01455b50a587295cd89cbb57981deb5bfe4ba310c36f79b58fdc09cd7e807aa87408dc44847288acf569215a12a526f71e8d44c4b8297c20742e2cca502 +DIST firefox-128.8.0esr-fi.xpi 633877 BLAKE2B 9f562490ca4bb7f60b84d256ea45b0e394d10568f301b636bd03f4384e3bc64dd74ce622f7cab0c7e2cee5f634eb10778a1c56a63062ed66778b455ef7fd2128 SHA512 8a1f4237017e53dd668ed34058c23efd9760c0150b1e0e77963aca059857e6dc2271c3fa6860767836d0a253f41c172593eb05f2589d0334d6697366616021e9 +DIST firefox-128.8.0esr-fr.xpi 669633 BLAKE2B aaeceb76793d91507c521fbd8c402ea628c66dfc8c16a8a118debdb2555878737683214d73e8e5d658e623eddda80be38ba6d14255966ee9adfc8fd652d934f7 SHA512 43481978ad664f64c94f7b8025db5f6774a3a17cbb85b7bc151d76b524e1192961ed4f31dc2114b622ab34ecf8ef10fc5dfdda8cdd3f545550af34c9c14c0ab3 +DIST firefox-128.8.0esr-fur.xpi 651567 BLAKE2B 6293b3c87e61f7dfe27aaed85b77e1e23c77d30c0e81c5467813bc928f28a2b7066d246503802e5c3a55b37cf39210d1d5f87b5f2e5648356d5591e696791058 SHA512 fbf3ad51319f67b2a0cbdb47fd3210b025295865a1ead2fa63b4e1eca5853784642b0b91c5c845857e697e747b312f4b8050222a38c3084ddab198a09107b266 +DIST firefox-128.8.0esr-fy-NL.xpi 652084 BLAKE2B baab65f1ab39b1b68d4a725abd4695e6ab4fb312f416fe53eafc2b2305503efc1445d775ffcf6207a6bab7f8c8ac57f5c19df56e6fcce0c01f93b25f13bcdb46 SHA512 0ceacfe870f4113998c8e8c33c892c138cc00ed5e922ba6aab934dedfb922c5ba073df062d30620b59cda51f1b139ff6a8a56eb3d3aa365d58221e3101b1cef1 +DIST firefox-128.8.0esr-ga-IE.xpi 490832 BLAKE2B 538fe918064d0dd4d113107be9970f899e4bc987752375ff42ea98a6adb8fa884b71a4461e2970ffd6fa13088972242316ebfb1bfc288f921bf22c09d6965492 SHA512 a1a6bf808b656ee8dc729395e9e4aef29511aca584c070166434e143dcd4e1c108e5835af3ff4723e3dea30b594ab03da75b12625ea1e70a159fc51a21b2e5c3 +DIST firefox-128.8.0esr-gd.xpi 609612 BLAKE2B df48ff29d36b8c03d14f41a68a5b3dbd2b94726a1a595ba7be0294c99f7cd3af1ab2e68b1f90638433c62a61f57638e7e9dc2d51595b7650baee7a4050006efc SHA512 c4ffbdf2545de35b1d0a5f44361b94c0b7e0adfbf7ce294deda9919c70d564a4dcf0fb2a3d764f834956c294b9a4fb579a938b854e8fc27b7c7097e6afb9264f +DIST firefox-128.8.0esr-gl.xpi 615541 BLAKE2B ccd192c71facc11614b85d8ffe2ee5d15999b546549eb00c4835715be17314f8e6abb4933dc69822d56965a9a77178c8e29205077f6b8e3c4da8042979053083 SHA512 8d88e3d6fce2aac35f912b019a9cb01fc4119d133fafe66e4568b07255fad70d2814a87d270acd87bf0dd180edd8f9efe1168e0c9d16bf5f97392c5f834657e9 +DIST firefox-128.8.0esr-gn.xpi 659906 BLAKE2B 1a6c3d5562fba42ba06d35470272ad538ca5ae1f424d7fcc0fba5a0302616108d8b213b4cfa2e34c59f29d22160085acc67eefc6f5fd8a512786be64bdbe4cd6 SHA512 c9ba870f76098917af4f03128087f9bd00dd0437305cc86f4c98e90904fb5277c05cafa173c6351b2f7f6bea4c5e33224dcb9bf27275b111922df51fbe0be339 +DIST firefox-128.8.0esr-gu-IN.xpi 552339 BLAKE2B fe741b547e15596e0f6232dc51dd9f88e924dc84fb0269add40e68a5d2b3951eb95be93d5958843d05b2ac5f5fd974b38b592601cad9afd00611a322b0cf888b SHA512 e3c068a288007f715703f10608a5d7f9f0d3da8d7f932363bcebf9314adb9427ef53d607d6f1cc9709d95b8320a87f19d2903e68bc6dc6d4f0267135e782bf21 +DIST firefox-128.8.0esr-he.xpi 659485 BLAKE2B 2d4110648ad743f384436eb55808c0260a2644ae6e4cfdcae813bbf9a9df0f79566cb799587014b7aba121bb3853595db426a980f76169eb76b04b75342ca73a SHA512 af5e8b778cc8416f4de163131226526905b2ad22ec4aeaeeb0bf002ed8bdf0d5436592f09d1fe8d1e1ee9ad231eddcc673ea9c41efd649b2c229808c86971383 +DIST firefox-128.8.0esr-hi-IN.xpi 578981 BLAKE2B f3005cbc3dd8efc1c96f0df5015b3d958ad03f7ec1957a3116ae3a7fe596ffe249dfa7c49c3c38d3b9591f196d41e247308206bf184187388c804ded49cf540d SHA512 84fe919f6bef1173e19686eb823f84a404589f1e106f6e8ab3c3f079fd6e15a8eeef225146c57b902859666636a1d6182bf68f56b17781074b72e3b9d8d5ecdc +DIST firefox-128.8.0esr-hr.xpi 645456 BLAKE2B da6afbb5ab8619725c03c4bb67300bfd5ed5b956b2d982efc42953763457fe416b234a697986915d2bef4e7f12c58d4a262262f0d5ed8d9bdfccf151cdbd6f2b SHA512 2ef9409b8769f024cc93c0f241916c36e7c198ad02538e5569bdc03b7379de917195af89150737b953e583e0c9b67a040b158976c2666271c99fbfc49206ae2c +DIST firefox-128.8.0esr-hsb.xpi 675864 BLAKE2B 6cf613f85608924f2bb136d974be8d8cba53c66958da5c2369ae1bb7810605e7f004fa0c31d2203c116196e95e311df0cef58ef972ba49a10d29aad482b89c88 SHA512 f1709d85ea173b830dca4add22d44cd9b025a1afc2bb356b2bcb1e9afd3dd47185b66d4b3029291bc3ed3bcf9c4ca6f28567b597b23387db80b3b22038ece3be +DIST firefox-128.8.0esr-hu.xpi 679682 BLAKE2B 665cff304912d11cd6ab800bbb63f8f2502ee1bb4da6d96a28cb80c0d09b28c31673fe54affe0004429a388a8fc1aaa0513ee2cbdf5627bde8551ea4aa8f6375 SHA512 0e34ac6de2e24fd2a14740531109dd1901ebcba43dae2ac868e0feaa0d65138cbf49d488f0124a0ada71a7943135315d8bf49da12357345f29c1099ae2f2262c +DIST firefox-128.8.0esr-hy-AM.xpi 664453 BLAKE2B ebf843eb40e2a9c9daf7bd0a409c9961593a9caa7e5a484d0b43883a84691612a636320224f36eb173dcd838c43ea5af2e60c5cf1c9821c47f3122cb3a876c60 SHA512 37a82f50a35b5c85ee71c956756a27af02864057ffb47491fe9abac6d0a3e7fb2dacd6dd11150a9a708109be2f1d034b790bb236257b62abf6957e4bd070c046 +DIST firefox-128.8.0esr-ia.xpi 637960 BLAKE2B cd6d8554b07023c893248e13ea13e26fb696840616b7916fe5f72343cd4c6801a51dcd2a985905a67dc63074331b940738a89c92e3b636f60e8b653b9e4fe8fb SHA512 c7a6d448d4ac34871a0ab99437511c98addee77e740f45b17b93cc49f188695425b6324ead7d1c2b6194ed910f87dc541ba7087e8368e3dead6a0d79ff3e8ac1 +DIST firefox-128.8.0esr-id.xpi 625987 BLAKE2B 36996f57f24151cce33f22c7a2648c173ca0fbefa4cf1e7124c29dd57276eb502cc86cd0a4adc5ab3e6c5570c18f973b7efed1805159f114e2dfc5f0025ee3bd SHA512 46ec285a073f357d002290a1eb6c478c4447801bceb0e32dc6d7c16b5ba22831d4f579be35fad48866c26e0e0b45ae8193a1c90d05f37ede597dc37f5c13b513 +DIST firefox-128.8.0esr-is.xpi 646735 BLAKE2B 0c43c7f5b416a4f4b3fe57f67a6e0e9aa5a5fb837822050cf4e001adb9c0a425d8cfef33356f8e658e1896373b334115f7786c58074da63f354345fde20957da SHA512 92d177faeb6230e5f1250f50bc4dadfca30ce99dbe04b5f7d90b0475cbba1055744c36783ead11c577ee950421b6890c511b517e1fc5f83748dbca57d9e41e84 +DIST firefox-128.8.0esr-it.xpi 648862 BLAKE2B a6828efd681502ce1a1ed3616cb67d0e56ca94573383101974ee038af16d723b28165628978e5504fbeb016554f434561ac1f4f7493636f85564516c685b5706 SHA512 3e9df23dae68fb8a58ec1c42c6f9969702c8b1994367132e0d6b9a8bde2700a694811ba10b3a6dc8de7c4fdc4555e3b4e9f48f16599f63c5f5bfb492f1c20c85 +DIST firefox-128.8.0esr-ja.xpi 704123 BLAKE2B 4ac4d6b66d911e29aada51797afed9683148b5ecd2deb3e0072f017ddad0470265f41da7acfbfe94ef3e9cd2e5f126e7f8b0fcf442d68f9f21b41ea17d0f1ea8 SHA512 c06e28375b99a726866432366a0811af8d6d3cd7b46f138583ba9b25c4d3e24bc08b1e2c2c1a4d72031fcea2491753ae3cd1441431be9b6c47a0544a4f537822 +DIST firefox-128.8.0esr-ka.xpi 714507 BLAKE2B 266fde7accca2485b28ab1f560ea6482aabb6d1fefb52009b4d0af0ffbf8ba30f4fc039e1a427e013d46938df67d05bddcf52ea656c305fb7bd227e91fb0a114 SHA512 336396859d20838c765eda6132823b1259338ff34944047500c5cd7b745495547e61163872b8e7e45a18d779c4f513651f9cc8f8d0b024f69959e160fd56b218 +DIST firefox-128.8.0esr-kab.xpi 626275 BLAKE2B a758863a234061d2e16640aa202da9170b8131f8d1995c529ae8723c3fc259ddc9bbb5c8758066d054f7cb02a472640b31b8461b69d4d8a094444aa86300dc61 SHA512 bb9ca46192148ce9e09b74fd43a1f358054af35cf1b3d218bcff348efd83fa6229f6a346c79827ee6361d19d8c25050322cdc22243b7227897528015fb540b2f +DIST firefox-128.8.0esr-kk.xpi 734551 BLAKE2B 891900a50a17b0792b55083275e82f6c5e23d54db2e76d2d4ae62665b0e1791c768d51659857d370f1656d1bfcd7546d570ec29e3be92fc5a804f1851c9f4e1d SHA512 80336745cc05c5fdce35ef1f018fe1e80a69177ccec2b84b7c3ff7737d283dfdf4e0663f2e42961c9eb407456f91ef3af421412c574c1d96d3704dc9516668d6 +DIST firefox-128.8.0esr-km.xpi 543161 BLAKE2B dfcb38f3b4bfd9469b61e889d88c014b02d26961d16eaa50e0f0ba975784d00861161137ddae83153a042c152517bf94b49e0d50a50f7f3800f7afe46cc5bf14 SHA512 fb8bd922aa1ccedbe7e18dc8f9442cc8ceb2e8f80b73178fcdb0704bfa8051dbb02083e22707c94fe8598cd51394c4fc95a82f474029c2b6aa04c1457d434b30 +DIST firefox-128.8.0esr-kn.xpi 520318 BLAKE2B df4783a28413935127bf4dd9a3a3f5f2ca709c555a43411d4f210147d949c04a7185542e9bbccf6e61a4477da6d9924b5f7e02e33441edbc0054891e85063258 SHA512 7beb4e7a49814bc9cac279388cb610c5f264b0b9513b8655504413bf47bf5f3624ebb3464e6320b77a4c255a05920c7b68cf4f1b9fba3e04ca39dfbbce2434ca +DIST firefox-128.8.0esr-ko.xpi 690557 BLAKE2B 71c09a2566f8893bb29225e084596d8ece50d06bb07b414494e3c0c30ba552a931858aff49b2fd689996698370c0dd76381f23270f77320e361ac165d238b820 SHA512 7922afa4909d978bdf4f5ac5191a6e8e46325fa59e3f1d4569ce2dfb94ac35e46675512b964bf860c7a2357b8d9e6014cd8238bebc8a7c93300a76491b5fe119 +DIST firefox-128.8.0esr-lij.xpi 506293 BLAKE2B 7944e24a2482aa40fb043130c6fff28e1a33fe34008b3e137853985c1e2cc5cce3fff4535f28edf5ec40fd2ac5f95c62595fe1f3265339597ca07f54a9601581 SHA512 ea3f4d06a59bc21d7504aec8850053e1bdfa9d55d32ce942b33983d7587cead5cf130ddb68ea667a803fa0f532ef6432292a8de46044f3a3020a9a1a4449f9a6 +DIST firefox-128.8.0esr-lt.xpi 585991 BLAKE2B 54280de16067c0f836007f76312b6b599f257add617996d9178f65d9396693676dda7f9c246ebda7759c72e3c249d8cb59320b1139c5f1cd737225975675a867 SHA512 fb6f39cfe651dad3bb1b496a5d8241aafb01bf8374e0043bc9044b44165d4ccfd3d1a88a319f489d5cb503c199e0178a2636da8101418abf2455c8b953b23a17 +DIST firefox-128.8.0esr-lv.xpi 595103 BLAKE2B afdde869e28d83bca6151e48b60b9202f87c232246ab6d37d54d4c44c7a46b32ef98b1381adc5c05eb024098d544e56a8786afa99614e9988b798478547d3a9b SHA512 4405712a59250fa59df9725e66c4d999b9e5f7ff111e190123fc5de86c4db1267aa608a88179c1b95f24006003ee25eca46ab772f7d560052bb05771f4ce5fdb +DIST firefox-128.8.0esr-mk.xpi 511078 BLAKE2B 6d68f28b39deb91e6bd1eec53fa562df27c8a8f29943b4f65c7fa89338e46081d590c2012a73a82233f724c49823740f86dcc18323084307d88c79f259e9aac4 SHA512 439821357afdbe08dca3019c920a08af39c0dc5b98a7d625d7f097ef993b755efe7cd520869ee4b3471575895fce2632c5f7cc957cab9704277168da768f502e +DIST firefox-128.8.0esr-mr.xpi 552808 BLAKE2B e6c7cf604f4d6ed92ac69aa045ad6010f172b81b278c32535fa08aa017854b81121dc5390b6cc1464b45fd5854c5105097f935a56436231ec79322a81b3d4ca7 SHA512 de2b1e82470695dc6c0f870d5699a0869fbe716fa101665b561b8e0c12853da1829dc74818b92e54d436d30216973b01f2e36a1c1c26f59c0ea78cd0d4cf7da2 +DIST firefox-128.8.0esr-ms.xpi 477960 BLAKE2B b39e8f1894abd1c7051ab3be820a496677b172165f825d7bac1da05ffd3eb79683054aeb4b5592a89bf197a1d7cdb4abbb0739de522923ce0b19d020ce0f3e73 SHA512 018b1b7a53a5a8525c677201a81a39ab0945b49297bd4564fcb6f08be0c998f753f9738db04de8d5fee186e3a03062820d9344631d0f9fe669a760f39e32861b +DIST firefox-128.8.0esr-my.xpi 540059 BLAKE2B beadffd32c899b57040bd55e2c355f9cc8d7cea3423ec89993f826b47618b082ca4fed500dbc98296e44d31c712758c09c3335a38485478ed2f9bbb565b70799 SHA512 8c1a8c0ba9d7b49b25b8ad8607a394a3fd577f4111212e3315dc6519f8f9f87d6ef472b1cf0281e839c3f70315284884d34d7fd13bfad295784a27b460b41e58 +DIST firefox-128.8.0esr-nb-NO.xpi 627677 BLAKE2B 16d270b52cf6585fb929da28425cadea11699e664cbce789ff35a2e37fe451f70fbaab385dd0265c6a9f02f827f04001bce7eb1b2da7fb73505d20c89460c64d SHA512 0dfda234a31ac875697e52d48fae0eff70036ce7619c9299c4e865bbc1bcaf33e268048ce6ae73b7a18666dc122467e49828047e30a0c2d4f86264b3f43fc20e +DIST firefox-128.8.0esr-ne-NP.xpi 543820 BLAKE2B e4ccd2744e8a18b4fdaa5d8f2d9713daecfdcac5eec9b724c125393665de5063af712935f4e335be219638ce7c0073397437bf67147bb314cf10d0f6953184f2 SHA512 353b974d884e86e1d5fb250f9784360a856bd487dda469f4110928f25c9c0b7a7a24c7cb63baff6a77b0cb03544a7c2eaece77c18faa5d3cebad397acd4bd68f +DIST firefox-128.8.0esr-nl.xpi 645178 BLAKE2B 4326ab632aaabcd4f2b3fd9995831c7da37f0b726dc0aa547d12295dd9344ba89a04d7b2a04043970ededbd5cbc41d1328a0a00481094bb61ce7cf8bd58feb0a SHA512 0dfb6c53f65c1d2dd362066c5a68501f8339585b2e72528163035e71ff35a5137343e90129a339e0bd156c4e2a3d93f3423bc7c18041a4bdf765bf0d7a46197b +DIST firefox-128.8.0esr-nn-NO.xpi 630291 BLAKE2B eb23fde5b9100f5f6652ffd70701618796ae008a534178c2224164d81197b3603bf6596317b769505709bacf4189ec62a8d6095c4f2423d376ef25757adc4d3b SHA512 56dad2127fbb2638595f1122efe88e6e0a347910ceebd4fb84f054fdcfbacc82108931de015baaf4008293d0d5e0e7f9fe7f8812b7a43f6cd3e9e2e8ec67592a +DIST firefox-128.8.0esr-oc.xpi 626825 BLAKE2B b6892e6a2c31f835d6eb1227a920979e042a2e6dae8165f20d42b6df306b0235f3e2211a1c44990c6e54e72532b9ec979ec6eed15732d264595a7c0e75802a98 SHA512 0727ddf2cb964d8ea0d13ef79aa79f5025cf927bbb08d2fb71441510e7bccc42b5cc2e955beb96776682333485e6f484b4df383cf1246581fb6f54d206e4562a +DIST firefox-128.8.0esr-pa-IN.xpi 726723 BLAKE2B c9045b8aea65081275fe3f7513f1efe61a69232fdb9176ac95450337a7e316a42effb6089311dc582387f918d60b17580b95a292d50fe713008d8f881eeb4dc7 SHA512 d0ba06d17071e6b3620b48b1b93279e6475d06663a394a8d8fc05c20ce93e514aa4795b0f568bc41c63eda0787d06a619584ca6b3baa369dfb9b881bd7b9af2f +DIST firefox-128.8.0esr-pl.xpi 669235 BLAKE2B ef077aaf60f4e986ec6ac81a81c617e0996426b08bc3e28cf18765338c4d6b6ca47a05c712497979bc6a5f8919dced5856518aca791bef61dc21aad68e386585 SHA512 a1aaeb03d26998bc5e7795f8566ede5a7a9602b3cbf13ddca7f23bedd36ac2618577d10ae981b922e07e0e233eb517ec37149552d33494a5fc4e086e04ecefcc +DIST firefox-128.8.0esr-pt-BR.xpi 650216 BLAKE2B 9ef70c6828f4060e28d527603ac65b4dfb8d4e693a72030fcca97e2be277f681e5c399399f05e6ee6c77bfd7e0e7aabc5f6303d937bf67d97d3badb216ae1da1 SHA512 1e41dfb87019c3874f7d89c9c2fe9e08c6221d24680af837d60705bdc329d755c970ce610bd9b18e7ff78588fcac141e0981bf017598cf19085df8e0baad6c84 +DIST firefox-128.8.0esr-pt-PT.xpi 654872 BLAKE2B e74466cde4646dd045e5f087a708134a4b9f7b99fea6c06d8c4391c68a29762aeda098cb8d2c5961e7f347e4da86f7f4d26d555a46ac57ef1e714da6448eee29 SHA512 16b38e45de670e8986790e6a5d224a9091feeacf13bc3dcad4355fa028bbd6ad87d61709740ddbf3dcf9aeb1dfb8d764eb6d149224b1f27aae87682fee24153d +DIST firefox-128.8.0esr-rm.xpi 646696 BLAKE2B d668d96e08ea9604babb199dc834e98e91bb58a09b928963c8dcd743224f39260c48b1312290c502e3e3466c21ea916a009c9f3e94a098eb47d3ce348ab77725 SHA512 93c14151760b34d3adbf777787a24d755c41efba18c3f1e0ffed6f3800b64395d626eaf7aa31419bf65e80bcde853bc59dd58c472fd5cdb8c3c57b516c01e330 +DIST firefox-128.8.0esr-ro.xpi 562848 BLAKE2B 11110ab243bfc8de092dba804c6135fd9acce1243d7cd04441552e819d75672248c4899f4bbc92835385d03c55206bb39ebe06f4c0b16e05133322654f78c781 SHA512 dd570731b4b1f340dac97e7341d5096630c8b56f3fd03f9d7fa060a32ba85ca98dfe6ecd87c13bf55683fdece851990614805507e3beffaecfaee2d39ea44647 +DIST firefox-128.8.0esr-ru.xpi 753054 BLAKE2B 1da3854e92d62c751f4badd097a86999f9adf8924ebe223882345bf5994280c7eb42f9630578abfece8dcb547c475954a139d61724b64a8f17af6f1cfcad68e3 SHA512 aa8a752eef238e41f1336a63bb3e2b7a7f00007a1f4ed5b92994888b88ec0299362230d4e007ce390ab53d61bfb00bd47693805ef304a9c71abeea109bd5e587 +DIST firefox-128.8.0esr-sc.xpi 604287 BLAKE2B 4366f50e9c6900b0697d8cc4028390ea3a5c3fd3f7eb1e2f9b05f94dc6c937885694168f7b26929d7b099d07916f1f0124e9f151dbd0115ddf029e81973c2f2c SHA512 02a375c69122dc1fe1c7641448bb4e852b0253c7d78061821bc7b3951e75fe00e9b3c0ab196db2ec25a60ff716c5a68b640e52d724ab4ac274a01527e35cf62e +DIST firefox-128.8.0esr-sco.xpi 524657 BLAKE2B 757c1a1f172c757681a6cad0558ae2e65e7369475b65910703b11013af6eda1d95227c8d6e1ba3293a26cb4e108cfff6bd6ce86f8301c184fb1f9da9e248d9d4 SHA512 b0bbf12ca61088b965d91620712d7b5cdaa758de80629c92b310b4cd74ba597c891aa9545bf513071c0d9fce4ab55fc30a9e45f1efb11c0fac9c24fc5a6dbd74 +DIST firefox-128.8.0esr-si.xpi 628191 BLAKE2B 7a04659d4fd7a082e2281c65195d174700fd3cc6d96000402358188c7b57cd91c73eb56894bfaa97469b64771e7be264900b1c6a64973ef99b01b3be26c0d665 SHA512 6b33c093f231b89c87553d7c705875f052295e5f9568c1120a4b09decc2eba9f86e7a4f3d3cf27bb5f4f0faaf06eefb49af668036c0cfcbd98aafa4979ed3927 +DIST firefox-128.8.0esr-sk.xpi 682226 BLAKE2B caad0e34413dcf946eecbf4938a5a05fc25d87362b37cf9d08fda30c8bc182e9b8bdb21b07720bf723edd12344acedc9eee652a804da7095ba0c4f38f8a971ca SHA512 4e56dc5f8e34f926b47e4e10da885a5f467818f106b026d94fdade8aab899b1a7b1919828a55295f6270bbbffd29a3646944b02d2c2492f2284b2375a9d43dfd +DIST firefox-128.8.0esr-skr.xpi 726689 BLAKE2B d904887d14d4186d4b80cc4815c96c1d4eeac8bcd57c7c7faf461cb02ac5eb851041411075c911e03fa2e65425c5bb488731421a6060ae4cd9dc10d1e95fcd15 SHA512 e7f84bd861d2d680e02a402ef6d01514dcf0932f83a6479a4af04f9aeb34ff46daf9f907248bc810111153c1d0cd75e463878e562b133783bb39a5d94175d1f6 +DIST firefox-128.8.0esr-sl.xpi 649038 BLAKE2B ebc6932419a7822d466852aae872662e7c876cc6e0d19fd2d810f0cf3aad173fccfa0689883e26d5a134e863ea92749246a726fedf84cc889ea40c295d20d2a1 SHA512 b5c1b477d74eac0d61c46610db78df721598c40e8d276b80c5eaaca5ffec55c6bf33c0f49767e588043953546e68b487d5eeb3c438fa9718b7d2b7dcdeb2d1dd +DIST firefox-128.8.0esr-son.xpi 451692 BLAKE2B 23d4fe9cc9451ed437a8652f59a419ff09cdca7d1eff8a961690f986e6131cf9da33796d503b02a129da35de9fc5022ed05f1cea1c98a585f9a8a4a346ac0bad SHA512 dead12871f39fb04ace0291d6f71c8db02e925a2331478b57783ef6143b9c2f87aa2cc9334e6751bc0eef599af7ed571ecf43912006317e32d39ba6e18c8a22c +DIST firefox-128.8.0esr-sq.xpi 665747 BLAKE2B dd6c5936379dd4de9e0a147ac74bb4ee73a372a64a4b8c7a03c6647066aa4e40cdea5577a7aea02197e966d15aabcd012b4099c662d00550f400d5bbf3a7699a SHA512 24c2ae07874176f033832fe0ac831ce1183c9bcaa8ba458cf587c4b9643a7afed081f6a5bba5ca6917f60449f3f3e814dfb70d664add41905ae7587405f64bf7 +DIST firefox-128.8.0esr-sr.xpi 678437 BLAKE2B 517d9fdb08cd79cc47afe7bf8f316e437668443af0a07302c66c0c1a95b6ece7306917d02ebede5cd1d3c79b5b9cbab6b161fb9ff24a2bf3b4b841c22a8cd931 SHA512 e59902a0cdf0d3b6c1aaad23452150f9c4d8eb6d5bd3b69bbfe17f24e82695f0d85de76d4d86cd28954cd57d31ef4b9ffa01f03899963f6185c5007125b91c9b +DIST firefox-128.8.0esr-sv-SE.xpi 646485 BLAKE2B 379634be993c40d4b91408af0c3c67f0467aefe77a05a30c54b6f3274c31b564a0e61f0239a04ec3cb982008ef9043583117c362c22065f5ffb589e404fb8789 SHA512 9772ae0bf1d932f394c90455e903b85997334d9b9c857871d0c4f5ed53bdfaa350ace1a753d498e074ca2ce56a55519d1f3b92d4705d5f2e1b718624366d5c77 +DIST firefox-128.8.0esr-szl.xpi 541723 BLAKE2B 1edaa4f8a65646b8ba29b410a76007c149df4754e62aeb7a90b08716e532910271035c1b65deaaceffd97f9017122a92afc0ed1168b15f8f932bcf53e1e7b814 SHA512 69e9bf21ad471e16767edc6ed2fb12480af784897640e822b9028e78f63fe59f20ee031b10ac43de321c08de941c30784fe9a8ea02874e8fa62497eaf87fc356 +DIST firefox-128.8.0esr-ta.xpi 530542 BLAKE2B c5ae87eed61bbd55569bdd7dc4771cd4f54d3673ed46c02bb887534c8c54f6a63c02d4807406e7f35ab50550831d8e37f0006de89df7d1178b078a5c354677c9 SHA512 9f8fcd5c8a9b7bdf69e393d8bdfc1890e489773a37ba8fa97639cbc139efca0cf3014ca6aab4ddc5df209bedac98c3bb3d27d546f2ad06de1b5a28f9e52a7251 +DIST firefox-128.8.0esr-te.xpi 583154 BLAKE2B 6c4cae2fdda36a6525f014a7c2cf4d03ed52a8b6699ffb442aef92b19e89b3bfb3a1deca43a24c5b881157e1f95e791c9c1ac3a7b0cd1102ed2fb715677594da SHA512 4ca9755184e098325a357aa48985f4ba9551692087a8a01eaab9f99a5793a3cf6b43c2430b05c84fd665c8f11f934ac0fb345b22d64ae9febba4f033722c595c +DIST firefox-128.8.0esr-th.xpi 728443 BLAKE2B 3d3a0bbaa9dc99f1ff4bf25199b023b6c02fadb69dcd746342ebdb9134aeea5de8ff1d803e49b30c0be49d769b558ece1d6591ce4256e97da0ed38ffb5552ecd SHA512 ee53458cf0425bef92d34978a32afb0337e1a6e3ee4c823ae87a24b0ef95ec003973ecdf0af3f40f312d524ee206894eff8b7c0749a4af278cb75c936b2ed6c2 +DIST firefox-128.8.0esr-tl.xpi 546942 BLAKE2B f0a7d0e435ff3b44d0c74398ffea29573cfea9f921a8e9799901b5b8528596733c3312d90d53132169e606dd445bccd6edc4989f10d2190a33515413ad92eeef SHA512 c26fc605d691591f6ef8f06ae7d01c8015b7900c400736ec63f3c1b05ff926872195618249d0b778e6808137158fc531e4d40579d7f44d331915aa56d429caf3 +DIST firefox-128.8.0esr-tr.xpi 659468 BLAKE2B e51428e641a3e260f353373e7de0c036e24d5df4aecfb2104a8ca574929d4892a303fed075b91d5161a4eda3d435bf9f63f8c216def13faeb43d8079566b60ca SHA512 bf8f87e415c37e2d352729afb7a7091c5ceb6947a90d0a8050e6673197943d77461f05c611b58e14edc71d40c2fde21aeff355dce6841431f2a160e69e291114 +DIST firefox-128.8.0esr-trs.xpi 522149 BLAKE2B 1736fc065e2b5a4e9aa448a550771709bdb876888150b451656541b6187a8831624d40bdfd16266e4267183c0c70d58c6bd7a1dc3a1c88007e92bdc78b5caf9b SHA512 7b3c82d9ffed9865cb6e4c69abd5038342ccf1e40de31ce9f44394935aa8e5ceb51a346a28f6b048629f9a2ed348361af2dedf2b9ccb9128f46ae4e04b859699 +DIST firefox-128.8.0esr-uk.xpi 743998 BLAKE2B 30e97e28a331fce791ea2b2e8809cecb65228adbd039494906c0525f9de758881c44dfa0508d017a69f4a4d5f536add01d10f83f7c3ce2c14ab4c34e07c47d2a SHA512 6dd902cc4b71e6a20995d9ed2e6dc7e48d5c98a8f8ce8a0d21221e8ea59d174fce9b8f1a8a5b2483bd1e60d04c64f5270084220a8790448462f5ff6cd92128f4 +DIST firefox-128.8.0esr-ur.xpi 574513 BLAKE2B f86a91c1feffb308acb398337a9bb3b0e7971e5471c75cdbeaa090af68233c6412b82b1490e52dd251618d98f0b924a9b0362f7810fecc04c2855cf25d6ced58 SHA512 aa2cbcaf068229880037ef9b4045759a3faebbb2975ddee886df1797713494fb9972f96905588fb0488b44045f16bf0bcd4c44eceb4640d60957a09b481e9871 +DIST firefox-128.8.0esr-uz.xpi 495299 BLAKE2B f4ad79a3bea7b34270ea715a85bea5d27e8d57a4da952447d0797f9bde3596f7517844a2d8152c72ece999ac004b23a2ab8271755e6071d32b89d063a9c2e72e SHA512 ade0079b3135cfb1d1e53b81933732774a83fb91c46a664527a8e16f1e5547e9565a53eb86ee4c8fb77a298005b237130e061f996b6cba84b9f1d5deb55cfcfa +DIST firefox-128.8.0esr-vi.xpi 683662 BLAKE2B c6b03cb6aeb0cae066d94259274ed1d7a1d3e236f5fd47849a3b0056cfc429a32dc673c4f95b6eba9f2725eddd168053aabf3f32adea1f4f94aa9c5f791eab36 SHA512 f704914f549f7adc38ae00978dc942c9ee15e806377b3261ab72f396a12d7d0b973e67d54457cdaa12b27ce532b4275066526c218b48e239ed2c512a4b5f5c77 +DIST firefox-128.8.0esr-xh.xpi 452426 BLAKE2B 3d8c84612c104b1b80cc3a9e0b9a2a389e9d1b1838890deb08d518e5bfdab4b625a81a241f3c4365817cc0af13e6e883f2813bae9bc7469cbcc5b014a4595cb5 SHA512 ea8b23feaeed2b80d3c30184f521fc987c8bfb9a2fd59ed6ca44f33ece37277b0e9df44dfb384fe72ea678ad5bcab9515b3cd179caca9426c54ecf4766f76123 +DIST firefox-128.8.0esr-zh-CN.xpi 686333 BLAKE2B 952d19bf74421178b545221024d4f018edac4c9680f90b30ddbb417803c633dafffc0401c7654f3df0149337feb352105b0da2f96df50de1e8b3075e1fd78d0c SHA512 fa3755d2ff811200afab42c1d6b8f14fab2b0a1b33fa85d2090f1707587e38fbbd7ca28cb9c7b3d4bc59019acba838039e41d30f76c5e1af089f6ec442d25bba +DIST firefox-128.8.0esr-zh-TW.xpi 689142 BLAKE2B e537479b577f127348538593adfa6efc92fe2298b57ddc867b0f4cfdbf6cd18f46b1e62abe08e0b8e6d120f4ecb7e5485d9feefc82c08a4bd93e7f3339ed6e37 SHA512 197e2a3217d90f38347daedffe7f6a070f4da38c5540587f49b7892ec4ef944cfcde3e61881e3b3011f64e40628c7e7cf609bd81cf570c6fc9cf03f02b1f1138 +DIST firefox-128.8.0esr.source.tar.xz 563554116 BLAKE2B 3fdfa2539b42a6a659d05ef9ad60d3dd7a0097abf3c5038150316d775e3eb864056a56edc58ae4e49ca36b3ccf2f05d68a07f8493a7649388e340cd81640e584 SHA512 7c0ef22bc14d4fa248cbae14d629174c9c967f891f4525f609760595f5a108aedf7dd804d1b63b97ec268613fa98378f4742a9b6ab562454351cf21175fdb802 DIST firefox-128esr-patches-08.tar.xz 17564 BLAKE2B d904b74fdae2e76866ded11de5377a7b6883d35996b358ae3419ffb7da53b04b2c7d4bb10d48998a8318a84e8221de39955289cb33a8f278c131b4af2006be62 SHA512 344a2d04dec679cd8ed714dcecc9dd5b56696803cee9267e7c0c45c439d78728e7eae674bb5f0a64f2e5802dc59c1ec25f1703885024d88bda8a02e2b3e0d69e +DIST firefox-128esr-patches-09.tar.xz 17976 BLAKE2B 78f64f5086951f7bf2b304c1148154647aef5c4e699257cba5e94a83d8d8c159a591d0b2a7a5f8bc0f8ec28d5eae66a0783b45f94b4ef713282a6f88e46c75be SHA512 159d8c94af0f90c10baf7446e573a37397b3be7103e7001fb6b38845a28a41793c21ad24c23e0b3cfc4daa2c3a6040ef701f612693c9f4dfff8534f82e7b18a1 DIST firefox-135-loong-patches-01.tar.xz 39148 BLAKE2B 3e7693a1decc1750740a8ab390e07d5a642105ad59f95629f9cb00b7c939a8a497c44cfe0a569cfd36cd57663c63d7b39042f5f1eabc6cf0b0611b78e8bba4dc SHA512 1b70b9fd4821c9338af11495b0fdb2aa0ee3f647de113dbdc4211d6a9b056dc7fb30bd2ecc224b4c66e48c2eb80f8937acb5e6423fddd45f0eaa42e538c725e2 DIST firefox-135-patches-02.tar.xz 13740 BLAKE2B ff1780260ef9032c9fbdb6af9cf63967eeff0e3478dcd53e42e6ae7e476ff31084c3f61b840ff0ab7cc9a6932b5ae2f012b0abfd5c0551f2896ad1b10a5bb3fb SHA512 ed124fa1c4685b45fe0c3402d9abd99e34bb54d42f1e5891204df26af06578d490d3bc0a0593144c69970df5cf0b89071c4d45540939c54c1cfdbb155cee8655 DIST firefox-135.0-ach.xpi 297493 BLAKE2B e9f6422239452ff716089945cfec4696c6f48c92f283e412788b8b70f95f1c6e7aa14ab85d983a4423a76e5a110b5043bd966636942e2714626ca3b14797dc02 SHA512 173b83bceedaadefa5cfdb5aa6996803e41f8f7efddd89d3dde7778fd7b04b99d6d3c2bc3622a2246c78e9c3c308694fada412d17a2539de3ab63712335e0455 @@ -314,6 +417,7 @@ DIST firefox-135.0.1-zh-CN.xpi 455588 BLAKE2B 80a380df7f7333fc27a6c1c499c778a8c6 DIST firefox-135.0.1-zh-TW.xpi 458481 BLAKE2B f8c7dfd90b89c2f59d283c5f9d9299de81a6354ebecb91557b3fc1f286550071a624f9959416f890cbf1b4d38bf2ab3d83fd4ccced1e238339b0a3b15ee7340e SHA512 388818279ba194a3de10ca2e5dce934397fc5931a943a81b163fe97caf28cb6adf2229b4c67082f41ffaa758221f258963368848ca20c2fc5f0225f1e25efb83 DIST firefox-135.0.1.source.tar.xz 599617332 BLAKE2B a99e63f5622b3aa2cd5f686daa2fef60d82b55eea39d87b9a5b17403e8267fe5e542d73ebd32b07c80d3af5e69362fbd028bd338b5673de14b4dbbdc5034092b SHA512 9ff7c2ab6bc1660e339cdcd7745f8bdac5be25d3a79b9f0393385935270d7ef488599856bc38c22ae0b067389fa71a6999703b74804a6e0ea8265eb99788cea9 DIST firefox-135.0.source.tar.xz 613526736 BLAKE2B a9309d125b48988bc4e5c6989f2a1a0ee169dc7661a3d8d67d6bb32271812b2e22b885fa8384c027835ba1907fe00ad2fb8c8c1e8d87f8dafebbc9939c378edd SHA512 7d283bcefe1e328901f15a88f5ff3da566bb0495ce5b9e3895e7a156020126a5743b6bffd69d94d9eb812e1868195ae92db162d29a5d98ee118fdb238469c089 +DIST firefox-136-loong-patches-01.tar.xz 38508 BLAKE2B 2508fdb9de68bb90edfb3f4a15f79579cd8865cb87ef0a9073c3b740152d857b791cb53c4520a2bdc466f083e7aa6e028a90d44b61b3eea46395f62115b7272a SHA512 e4f83d6a98eb25335de80bf396bfb2d0a362e7509efa898291f524d6fbf20754a278a930d61b3b9727e6b08d8e4959b001c75c2e3f648ce70444b39950307157 DIST firefox-136-patches-01.tar.xz 12568 BLAKE2B 9056b1c750eeb7c226bd4ff5ebdb03d491177d93bbee95552f7176903ec8796131a491c39304030370ed55281f92585422e28926b5f7491081d33912360d999f SHA512 48548637f6152fd3a72e283e3d16708a563fe84cd22d84129d5bd58f6b6baf7a6e50d521cb371ef21e7b9f95c13cc72531a3e1ab735abb70c51e5c02424fb2ca DIST firefox-136.0-ach.xpi 295315 BLAKE2B 0fda96bd10aae73f01d47b33a48ccf16c678bbcfec98e679792d55428df54d1b43f5cf9c2c1f61fc1f427f0b965b3c7979626287e6b380bcbb83f3f84148034b SHA512 edd4e151809d6699e84e01034b3e4004785957941317bfe9f356b5c37776ff9fd04e80e558ac300d7523d9130f6c82bf7318cf14a332c51eda3f6f6a35c67c8a DIST firefox-136.0-af.xpi 266789 BLAKE2B 863db129ce37d85769615d882b83a3c4f1763a9c610f9b2d13e81d9583b06faa2b49e585517bfee7199098adecd2f4bf2da00be0c352e9f8aa96c92f23628973 SHA512 2c00f51278d963b0ff9627fd75621d55914552455a6dd64254981f037d1cc60b0737311006be31b7c75f0d83fccedd3385f6f2ec477f0815b0f9662fc612db21 @@ -419,7 +523,8 @@ DIST firefox-136.0.source.tar.xz 603708216 BLAKE2B 05f92682dc756998f1dd56cdbbf8a DIST wasi-sdk-25.0-arm64-linux.tar.gz 115160800 BLAKE2B 1ce22aaea87d0720d40d46ebdd96508c8fb0593b53c4489022fd5a1a9afb043a26a6e162a992d73454f612f2b6ab01e17a99c189c0c8b8c2d2d68fd96fabee1b SHA512 ef4eff22c1efec4dc5ab199d09d93ee0004f9fa67b32cac0030f8b6a40def10f714391cec8e803c200995dd8bfad3ebad9ec79b4195aa6b2ea61ea47a8b9e61f DIST wasi-sdk-25.0-x86_64-linux.tar.gz 114450290 BLAKE2B 07618828d4c25d67421aa72d38fc49bbff9052b8ecfe0fa9f4207e71880e9c650f458567cfa5bd389d5f830fcfee89142a77d33c29e7bccd1da7ddba2bc47b95 SHA512 716acc4b737ad6f51c6b32c3423612c03df9a3165bde3d6e24df5c86779b8be9463f5a79e620f2fc49707275563a6c9710242caca27e1ad9dd2c69e8fce8a766 EBUILD firefox-128.7.0.ebuild 42060 BLAKE2B c3ac09ee3baff91bb0af70734746af4d23881c69ec64b43839722f7725b48ac8a364438fc0c37a93eeb49f897dbce5c065993966b9c9af385cc9cdd7d0067acf SHA512 40af657d183ce657162eaf3477c7acbad506bf4bbc47ee3a4755a27dba9f141b24f5b88b3defbf5c656737980f7d7044ae69ad67c9a2bd42b2d4ba26d068d00d +EBUILD firefox-128.8.0.ebuild 42106 BLAKE2B 7c25183dfc82adb4998ba0a0826bfdd28db4712167e7f7cc7d18959eb2b4a3a323a23fd0f91bfef4302c22db1593dc5429c912aefbe831116ba3ede45b6ca3d8 SHA512 cde73284193041d5520260c978db6549797617c20d48cd844aea9715844b562b038440c4ed5a5bc6eda6a43e137dd21b532867eb84a8eed171c88b1df97e94b4 EBUILD firefox-135.0.1.ebuild 41616 BLAKE2B 50fea2af895b88b2474ea399669b15d19986b6c47e386e79d3ac514fa8663f24aacce37cd137d1c72ab764455a21e3614418da33af1aeff5ee76ef52feacd553 SHA512 2fb7f42173dfd054d0a5c87beb70b26eee4f6fb87c20cb3b18b97f4d5071e1dc562ab1ff126f51a1d93080835865651667ca105cccd1c8e3318a7be5cbc5ce72 EBUILD firefox-135.0.ebuild 41611 BLAKE2B e125c9d442d32b181c8f749ba913fa0c7517baf1f62269b9a51219b39283e97083cd307d6402de47d6f7d7f2171b1105e983568fff815b57d7a95448a0d3a631 SHA512 5c33e783ac6a4e4fab6fab992d1a80b3858cd7a422abe3ebcd28be5353d2879b605212f3d8f18a984aabc177df27d71c07ec3e627b878529e359f45ea283e055 -EBUILD firefox-136.0.ebuild 41799 BLAKE2B 9e006d07c2c7aa113dd106a3c2a9b79fbbcf3396a99cb69e18de1487fd6f5b4310dd6838a0ee69696107550b1f62bb59f392a0ef699cb5d7bd93a2601c62158a SHA512 65ca0d7f90e08c0944f3772a335e5da9d23691bc30f217dca0dfc8e826cf2dbef3ee8f0820f9c96f5f9e7fa31e24e5679d7d45b76a42748cb737aca28ce17a17 +EBUILD firefox-136.0.ebuild 41651 BLAKE2B bece82815809b0dc90645245e4a3457d4734058c5529fec3f525671debd44777ec2cb9356ce8565075e1f98d17c759f1e1db9454f2e99e38a734c8e4cc9d0637 SHA512 f90b132cecf02610c1eda089edb20e3951daac4c8f1e05ff82e894c7fd27b1be635ba5f2350139817272e52f8c17a0ec62e0c460d5ca49865302e19d82ce4717 MISC metadata.xml 2634 BLAKE2B 950ff18c250295b2f080f189b00e45ffa8b19a2b70d2a3877be3553579cc8771f0b0bf89a2648404d558009083f1e786114405114050846073c5a94fda9e00ae SHA512 6bc3f08bc9ddf6b65041bce581b839d4b9715e8e1dec25227c7a259805b48b5f2cf2c2c152e1170dee817c31e99adc6c73d1e7baeed4b625c1fafdc687792b51 diff --git a/www-client/firefox/files/gentoo-telemetry-prefs.js b/www-client/firefox/files/gentoo-telemetry-prefs.js new file mode 100644 index 000000000000..4efa6b5a8b7b --- /dev/null +++ b/www-client/firefox/files/gentoo-telemetry-prefs.js @@ -0,0 +1,18 @@ +/* Include strong telemetry blockage via '-telemetry' use flag, many settings are + from arkenfox/user.js */ +pref("datareporting.policy.dataSubmissionEnabled", false); +pref("datareporting.healthreport.uploadEnabled", false); +pref("toolkit.telemetry.unified", false); +pref("toolkit.telemetry.enabled", false); +pref("toolkit.telemetry.server", "data:,"); +pref("toolkit.telemetry.archive.enabled", false); +pref("toolkit.telemetry.newProfilePing.enabled", false); +pref("toolkit.telemetry.shutdownPingSender.enabled", false); +pref("toolkit.telemetry.updatePing.enabled", false); +pref("toolkit.telemetry.bhrPing.enabled", false); +pref("toolkit.telemetry.firstShutdownPing.enabled", false); +pref("toolkit.telemetry.coverage.opt-out", true); +pref("toolkit.coverage.opt-out", true); +pref("toolkit.coverage.endpoint.base", ""); +pref("toolkit.telemetry.dap_helper", ""); +pref("toolkit.telemetry.dap_leader", ""); diff --git a/www-client/firefox/firefox-128.8.0.ebuild b/www-client/firefox/firefox-128.8.0.ebuild new file mode 100644 index 000000000000..6273f0695124 --- /dev/null +++ b/www-client/firefox/firefox-128.8.0.ebuild @@ -0,0 +1,1380 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-128esr-patches-09.tar.xz" + +LLVM_COMPAT=( 17 18 19 ) + +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="ncurses,sqlite,ssl" + +# This will also filter rust versions that don't match LLVM_COMPAT in the non-clang path; this is fine. +RUST_NEEDS_LLVM=1 +# If not building with clang we need at least rust 1.76 +RUST_MIN_VER=1.77.1 + +WANT_AUTOCONF="2.1" + +VIRTUALX_REQUIRED="manual" + +# Information about the bundled wasi toolchain from +# https://github.com/WebAssembly/wasi-sdk/ +WASI_SDK_VER=25.0 +WASI_SDK_LLVM_VER=19 + +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" + HOMEPAGE="https://www.mozilla.org/firefox https://www.mozilla.org/firefox/enterprise/" + SLOT="esr" +else + HOMEPAGE="https://www.mozilla.org/firefox" + SLOT="rapid" +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-r1 multiprocessing \ + optfeature pax-utils python-any-r1 readme.gentoo-r1 rust 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" +SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz + ${PATCH_URIS[@]} + wasm-sandbox? ( + amd64? ( https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VER/.*/}/wasi-sdk-${WASI_SDK_VER}-x86_64-linux.tar.gz ) + arm64? ( https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VER/.*/}/wasi-sdk-${WASI_SDK_VER}-arm64-linux.tar.gz ) + )" +S="${WORKDIR}/${PN}-${PV%_*}" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +IUSE="+clang dbus debug eme-free hardened hwaccel jack libproxy pgo pulseaudio selinux sndio" +IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx" +IUSE+=" system-png +system-webp wayland wifi +X" + +# Firefox-only IUSE +IUSE+=" +gmp-autoupdate gnome-shell +jumbo-build openh264 +telemetry wasm-sandbox" + +# "wasm-sandbox? ( llvm_slot_19 )" - most likely due to wasi-sdk-25.0 being llvm-19 based, and +# llvm/clang-19 turning on reference types for wasm targets. Luckily clang-19 is already stable in +# Gentoo so it should be widely adopted already - however, it might be possible to workaround +# the constraint simply by modifying CFLAGS when using clang-17/18. Will need to investigate (bmo#1905251) +REQUIRED_USE="|| ( X wayland ) + debug? ( !system-av1 ) + pgo? ( jumbo-build ) + wasm-sandbox? ( llvm_slot_19 ) + wayland? ( dbus ) + wifi? ( dbus )" + +FF_ONLY_DEPEND="!www-client/firefox:0 + selinux? ( sec-policy/selinux-mozilla )" +BDEPEND="${PYTHON_DEPS} + $(llvm_gen_dep ' + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} + clang? ( + llvm-core/lld:${LLVM_SLOT} + pgo? ( llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[profile] ) + ) + wasm-sandbox? ( llvm-core/lld:${LLVM_SLOT} ) + ') + app-alternatives/awk + app-arch/unzip + app-arch/zip + >=dev-util/cbindgen-0.26.0 + net-libs/nodejs + virtual/pkgconfig + 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 + &2 + return 1 + fi + + if use clang && ! tc-ld-is-mold ; then + if ! has_version -b "llvm-core/lld:${LLVM_SLOT}" ; then + einfo "llvm-core/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + + if use pgo ; then + if ! has_version -b "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then + einfo "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2 + einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + 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+=( skr ) +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}" +} + +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 || tc-is-lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6600M" + fi + + check-reqs_pkg_pretend + fi +} + +pkg_setup() { + + # Get LTO from environment; export after this phase for use in src_configure (etc) + use_lto=no + + if [[ ${MERGE_TYPE} != binary ]] ; then + + if tc-is-lto; then + use_lto=yes + # LTO is handled via configure + filter-lto + fi + + if use pgo ; then + if ! has userpriv ${FEATURES} ; then + eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + + if [[ ${use_lto} = yes ]]; then + # -Werror=lto-type-mismatch -Werror=odr are going to fail with GCC, + # bmo#1516758, bgo#942288 + filter-flags -Werror=lto-type-mismatch -Werror=odr + fi + + # Ensure we have enough disk space to compile + if use pgo || [[ ${use_lto} == "yes" ]] || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6400M" + fi + + check-reqs_pkg_setup + llvm-r1_pkg_setup + rust_pkg_setup + 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 + + export use_lto + + 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} == "yes" ]]; then + rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die + fi + + # Workaround for bgo#917599 + if has_version ">=dev-libs/icu-74.1" && use system-icu ; then + eapply "${WORKDIR}"/firefox-patches/*-bmo-1862601-system-icu-74.patch + fi + rm -v "${WORKDIR}"/firefox-patches/*-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" + elif use loong; then + # Only the LP64D ABI of LoongArch64 is actively supported among + # the wider Linux ecosystem, so the assumption is safe. + export RUST_TARGET="loongarch64-unknown-linux-musl" + elif use ppc64 ; then + export RUST_TARGET="powerpc64le-unknown-linux-musl" + elif use riscv ; then + # We can pretty safely rule out any 32-bit riscvs, but 64-bit riscvs also have tons of + # different ABIs available. riscv64gc-unknown-linux-musl seems to be the best working + # guess right now though. + elog "riscv detected, forcing a riscv64 target for now." + export RUST_TARGET="riscv64gc-unknown-linux-musl" + else + die "Unknown musl chost, please post a new bug with your rustc -vV along with emerge --info" + fi + fi + + # Pre-built wasm-sandbox path manipulation. + if use wasm-sandbox ; then + if use amd64 ; then + export wasi_arch="x86_64" + elif use arm64 ; then + export wasi_arch="arm64" + else + die "wasm-sandbox enabled on unknown/unsupported arch!" + fi + + sed -i \ + -e "s:%%PORTAGE_WORKDIR%%:${WORKDIR}:" \ + -e "s:%%WASI_ARCH%%:${wasi_arch}:" \ + -e "s:%%WASI_SDK_VER%%:${WASI_SDK_VER}:" \ + -e "s:%%WASI_SDK_LLVM_VER%%:${WASI_SDK_LLVM_VER}:" \ + toolkit/moz.configure || die "Failed to update wasi-related paths." + fi + + # Make LTO respect MAKEOPTS + 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" + + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/third_party/libwebrtc/build/toolchain/get_concurrent_links.py || + die "Failed sedding multiprocessing.cpu_count" + + 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/" \ + "${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 checksums from cargo crates we've manually patched. + # moz_clear_vendor_checksums xyz + + # Respect choice for "jumbo-build" + # Changing the value for FILES_PER_UNIFIED_FILE may not work, see #905431 + if [[ -n ${FILES_PER_UNIFIED_FILE} ]] && use jumbo-build; then + local my_files_per_unified_file=${FILES_PER_UNIFIED_FILE:=16} + elog "" + elog "jumbo-build defaults modified to ${my_files_per_unified_file}." + elog "if you get a build failure, try undefining FILES_PER_UNIFIED_FILE," + elog "if that fails try -jumbo-build before opening a bug report." + elog "" + + sed -i -e "s/\"FILES_PER_UNIFIED_FILE\", 16/\"FILES_PER_UNIFIED_FILE\", "${my_files_per_unified_file}"/" \ + python/mozbuild/mozbuild/frontend/data.py || + die "Failed to adjust FILES_PER_UNIFIED_FILE in python/mozbuild/mozbuild/frontend/data.py" + sed -i -e "s/FILES_PER_UNIFIED_FILE = 6/FILES_PER_UNIFIED_FILE = "${my_files_per_unified_file}"/" \ + js/src/moz.build || + die "Failed to adjust FILES_PER_UNIFIED_FILE in js/src/moz.build" + fi + + # 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" + + # Configuration tests expect llvm-readelf output, bug 913130 + READELF="llvm-readelf" + + tc-export CC CXX LD AR AS NM OBJDUMP RANLIB READELF 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 + if use telemetry; then + export MOZILLA_OFFICIAL=1 + fi + + mozconfig_add_options_ac 'Gentoo default' \ + --allow-addon-sideload \ + --disable-cargo-incremental \ + --disable-crashreporter \ + --disable-disk-remnant-avoidance \ + --disable-geckodriver \ + --disable-gpsd \ + --disable-install-strip \ + --disable-legacy-profile-creation \ + --disable-parental-controls \ + --disable-strip \ + --disable-tests \ + --disable-updater \ + --disable-valgrind \ + --disable-wmf \ + --enable-negotiateauth \ + --enable-new-pass-manager \ + --enable-official-branding \ + --enable-release \ + --enable-system-pixman \ + --enable-system-policies \ + --host="${CBUILD:-${CHOST}}" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --prefix="${EPREFIX}/usr" \ + --target="${CHOST}" \ + --without-ccache \ + --with-intl-api \ + --with-libclang-path="$(llvm-config --libdir)" \ + --with-system-ffi \ + --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 '' --enable-update-channel=${update_channel} + + if use amd64 || use arm64 || use ppc64 || use riscv ; 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 loong || use ppc64 || use riscv; then + mozconfig_add_options_ac '' --disable-sandbox + else + mozconfig_add_options_ac '' --enable-sandbox + fi + + # Enable JIT on riscv64 explicitly, since it's not activated automatically via "known arches" list. + # Update 128.1.0: Disable jit on riscv (this line can be blanked to disable by default), + # bgo#937867. + use riscv && mozconfig_add_options_ac 'Disable JIT for RISC-V 64' --disable-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-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 + + if use hardened ; then + mozconfig_add_options_ac "+hardened" --enable-hardening + append-ldflags "-Wl,-z,relro -Wl,-z,now" + + # Increase the FORTIFY_SOURCE value, #910071. + sed -i -e '/-D_FORTIFY_SOURCE=/s:2:3:' "${S}"/build/moz.configure/toolchain.configure || die + 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 + + ! use jumbo-build && mozconfig_add_options_ac '--disable-unified-build' --disable-unified-build + + 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-x11-only + fi + + # wasm-sandbox + # Since graphite2 is one of the sandboxed libraries, system-graphite2 obviously can't work with +wasm-sandbox. + if use wasm-sandbox ; then + mozconfig_add_options_ac '+wasm-sandbox' --with-wasi-sysroot="${WORKDIR}/wasi-sdk-${WASI_SDK_VER}-${wasi_arch}-linux/share/wasi-sysroot/" + else + mozconfig_add_options_ac 'no wasm-sandbox' --without-wasm-sandboxed-libraries + mozconfig_use_with system-harfbuzz system-graphite2 + fi + + if [[ ${use_lto} == "yes" ]] ; then + if use clang ; then + # Upstream only supports lld or mold when using clang. + if tc-ld-is-mold ; then + # mold expects the -flto line from *FLAGS configuration, bgo#923119 + append-ldflags "-flto=thin" + 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 + + 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 + + # PGO was moved outside lto block to allow building pgo without lto. + 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 + + mozconfig_use_enable debug + if use debug ; then + mozconfig_add_options_ac '+debug' --disable-optimize + mozconfig_add_options_ac '+debug' --enable-jemalloc + 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*' + + # elf-hack + # Filter "-z,pack-relative-relocs" and let the build system handle it instead. + if use amd64 || use x86 ; then + filter-flags "-z,pack-relative-relocs" + + if tc-ld-is-mold ; then + # relr-elf-hack is currently broken with mold, bgo#916259 + mozconfig_add_options_ac 'disable elf-hack with mold linker' --disable-elf-hack + else + mozconfig_add_options_ac 'relr elf-hack' --enable-elf-hack=relr + fi + elif use loong || use ppc64 || use riscv ; then + # '--disable-elf-hack' is not recognized on loong/ppc64/riscv, + # see bgo #917049, #930046 + :; + else + mozconfig_add_options_ac 'disable elf-hack on non-supported arches' --disable-elf-hack + fi + + if ! use elibc_glibc; then + mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc + fi + + # System-av1 fix + use system-av1 && append-ldflags "-Wl,--undefined-version" + + # 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 + + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" + + if ! use telemetry; then + mozconfig_add_options_mk '-telemetry setting' "MOZ_CRASHREPORTER=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_DATA_REPORTING=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_SERVICES_HEALTHREPORT=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_TELEMETRY_REPORTING=0" + 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 [[ ${use_lto} == "yes" ]] && tc-ld-is-mold ; 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 llvm-core/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 + + # Install the vaapitest binary on supported arches (122.0 supports all platforms, bmo#1865969) + exeinto "${MOZILLA_FIVE_HOME}" + doexe "${BUILD_DIR}"/dist/bin/vaapitest + + # Install the v4l2test on supported arches (+ arm, + riscv64 when keyworded) + if use arm64 ; then + exeinto "${MOZILLA_FIVE_HOME}" + doexe "${BUILD_DIR}"/dist/bin/v4l2test + 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 + + # Add telemetry config prefs, just in case something happens in future and telemetry build + # options stop working. + if ! use telemetry ; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set telemetry prefs" + sticky_pref("toolkit.telemetry.dap_enabled", false); + pref("toolkit.telemetry.dap_helper", ""); + pref("toolkit.telemetry.dap_leader", ""); + 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 icons + local icon_srcdir="${S}/browser/branding/official" + + # Prefer the upstream svg file they use when packaging flatpak so it's always up-to-date. + insinto /usr/share/icons/hicolor/symbolic/apps + newins "${S}"/taskcluster/docker/firefox-flatpak/firefox-symbolic.svg firefox-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 exec_command="${PN}" + local icon="${PN}" + local use_wayland="false" + + if [[ -n ${MOZ_ESR} ]] ; then + local desktop_filename="${PN}-esr.desktop" + else + local desktop_filename="${PN}.desktop" + fi + + 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 + + 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 + if [[ -n ${MOZ_ESR} ]] ; then + 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." + fi + + # 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}" + newbin "${FILESDIR}/${PN}-r1.sh" ${PN} + + # Update wrapper + sed -i \ + -e "s:@PREFIX@:${EPREFIX}/usr:" \ + -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${ED}/usr/bin/${PN}" || die + + readme.gentoo_create_doc +} + +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 + + # 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 + optfeature "screencasting with pipewire" sys-apps/xdg-desktop-portal + 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 +} diff --git a/www-client/firefox/firefox-136.0.ebuild b/www-client/firefox/firefox-136.0.ebuild index 5b30b1c78bba..82868128bd3f 100644 --- a/www-client/firefox/firefox-136.0.ebuild +++ b/www-client/firefox/firefox-136.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 FIREFOX_PATCHSET="firefox-136-patches-01.tar.xz" -FIREFOX_LOONG_PATCHSET="firefox-135-loong-patches-01.tar.xz" +FIREFOX_LOONG_PATCHSET="firefox-136-loong-patches-01.tar.xz" LLVM_COMPAT=( 17 18 19 ) @@ -17,8 +17,6 @@ RUST_MIN_VER=1.77.1 PYTHON_COMPAT=( python3_{10..13} ) PYTHON_REQ_USE="ncurses,sqlite,ssl" -WANT_AUTOCONF="2.71" - VIRTUALX_REQUIRED="manual" # Information about the bundled wasi toolchain from @@ -54,7 +52,7 @@ 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-r1 multiprocessing \ +inherit check-reqs desktop flag-o-matic gnome2-utils linux-info llvm-r1 multiprocessing \ optfeature pax-utils python-any-r1 readme.gentoo-r1 rust toolchain-funcs virtualx xdg MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" @@ -1241,11 +1239,7 @@ src_install() { # Add telemetry config prefs, just in case something happens in future and telemetry build # options stop working. if ! use telemetry ; then - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set telemetry prefs" - sticky_pref("toolkit.telemetry.dap_enabled", false); - pref("toolkit.telemetry.dap_helper", ""); - pref("toolkit.telemetry.dap_leader", ""); - EOF + cat "${FILESDIR}"/gentoo-telemetry-prefs.js >>"${GENTOO_PREFS}" || die "failed to set telemetry prefs" fi # Install language packs diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 41c5d40ee8ed..f2ae623e5ba8 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -1,9 +1,9 @@ -DIST vivaldi-snapshot_7.2.3597.3-1_amd64.deb 122433532 BLAKE2B 7fd54f5b1d33e3fb83a68cf42dd6191fab521c9fcdbe6f45b8ee33da94eab8299a1fafb22f7104de7eae4814fd943d208762f91cf11be159b5ca3350212fb893 SHA512 b26c4be8d48f9adb7c31475a2696cd94c9cc9d9d71dc8f6ffca7582d517db6b1256973c82d5a1ea9479f25bd4f7b864029c7a6b3017d2e38300135ebcde2f12e -DIST vivaldi-snapshot_7.2.3597.3-1_arm64.deb 114174448 BLAKE2B b40876b40158c69c69a7fd24f3de5cad34d2189554fac6d7a088a7a3e04ce9386fa6ae6796ffe91232c706417cd70f30ee6078ac6ede0f29096e8f5925fa4f31 SHA512 f34e3b34ee76d373513f88305795392dd16654acf10cfa1dffd00d75df7a4682a6a7189465013f0cecdd694417476b0d197784c299e3b15fea9c42f04a300757 -DIST vivaldi-snapshot_7.2.3597.3-1_armhf.deb 115281112 BLAKE2B ebf158fee2ec189f290c29edf6c0e6965ca5bfaf3839abe241a8cdb7ce17ac3ea3042816bf2a53dc786a12d7a6c7218ce20e5657703f2a5f143c3efdb77b46a8 SHA512 64b190783cbb22c67e1e1916c57edd1491fef52041f34befa9577fdc5870b4bacb7fce15c26b474683bde40e27ef373a54a3a9e0a809e09136fa5ea836b97345 DIST vivaldi-snapshot_7.2.3610.4-1_amd64.deb 124553188 BLAKE2B 33850032d14e01baa6195f31cccf8ca4194c1d9fae54b4a56f91d4a3baecc6f11992099f70bc0155ed7eb885517f07d93bb158d97986c92e235baf824872dd08 SHA512 2f419db60a39eb809e0fe73a7b0e1dbf4fe3cb631528131058b06420ca020b9c7a83eebe49ad5cb2781ef5e8fb213436667e46e24592334bb0e3ff52d608a3d7 DIST vivaldi-snapshot_7.2.3610.4-1_arm64.deb 115444124 BLAKE2B 887041a6100ed3a42e87e5d039840030d703c47494229a09ca604ab27e38fe5af95404cc33540920c024ec264336c93c04c7a15d441c207d345c163f6dde03eb SHA512 12485a13cac756fd36992261b7b1b3db6cf3b230d44fb16efa6efce065c6bf506fc31fe9a9968d1fbb7c33b4f71a7aba7c5e364559901ead033a1af6d076d568 DIST vivaldi-snapshot_7.2.3610.4-1_armhf.deb 116444012 BLAKE2B df2ea46eb976a82459406b01a3a230b7395d13dab3dd355a1e7cfd9f4e9d4c982fb95644052a45c0b59cf23f504795d6788f9c786ede0ba860f11f2a993f6616 SHA512 0231a03615fb4278c280ca048140ed5575a145b9e8e3119a456bde7e4299e12f58896aa597b7b1480901d4aa7415402e90120ebdce40602510d54b4a14bab63c -EBUILD vivaldi-snapshot-7.2.3597.3.ebuild 3952 BLAKE2B 176e75a05e1983feb033abbc3494609767796fdb73796f0353d0a352f2015fcabd7f5df3fc56d75de61a947faa8c6d691a55188b2df82387ac9f037f76839170 SHA512 300ef3ab0b3fbb62a1dd08d9617408fae880014d79fda46fe677e0f7243efa635fec2113e7844200dc743d7e751a3a08e715fb6b6d17a7f2388c748ad13721f3 +DIST vivaldi-snapshot_7.2.3620.3-1_amd64.deb 124764116 BLAKE2B b6020a8e40330041bc7dc4cc4e1b23d2c146323b84c1b58693cf28d55fd7d24fdefb2f0039dfe545a47f543638691635c530a6f36670d24e92d1bf35461634de SHA512 1bf4b7a92cdde60ed7fd4edf54c9c12c6ae8409b22a1d62f6d540f4cd5d076283bbb80cf2e79b06744e72f063dc4361e3856084f223ae54eb47e3c662dd78189 +DIST vivaldi-snapshot_7.2.3620.3-1_arm64.deb 115476536 BLAKE2B 52fc74b9fd2facfe142625a891a203719853e2c8fbaa6b993a236976ec87ca850cac6a61a43fee10e8a5aa40feae7c7f876b75282b492db75598159b0ac90ab9 SHA512 8eb82d92a4dcb7ad6b2263c2a0ab897ff45929b8bb405f8da67eb711381943a07047ac43cb4918ac37b6231983174d3cf630512f23d275b67d8a16bcddc9b17c +DIST vivaldi-snapshot_7.2.3620.3-1_armhf.deb 116583928 BLAKE2B 3fa1bee54d2b1a18a6dbe40c3a98e131e08d94a54d64055ad8622e242b1920c08254c935c244244933a0695b8ee53c5786398061cace68ce2cdc876dcbdf81ba SHA512 805d5876bb4e112b33abf516c21cf8fcc06c376ca20df9e3ac38f19f117a6d5b7328b7cd9949d2b27d20d6aa5cead59eae5b00acca8d03d01b53bff5ba093717 EBUILD vivaldi-snapshot-7.2.3610.4.ebuild 3952 BLAKE2B 3b990be484ae7b764ea19a98aa97f6248999229fdbab49d51eba430fd5ef903a443f1dbb3b8656c7dab030618e653ccf306ab8d29e2e95b447141ca24c60f7f0 SHA512 e8254141d32a0a4a325722f6fefa05815ccb1085877f67b275f6c4be321654e322956821ea5a237b397966ca06d869be09fde537c1d9c53b6e6c49a61093b37f +EBUILD vivaldi-snapshot-7.2.3620.3.ebuild 3952 BLAKE2B 3b990be484ae7b764ea19a98aa97f6248999229fdbab49d51eba430fd5ef903a443f1dbb3b8656c7dab030618e653ccf306ab8d29e2e95b447141ca24c60f7f0 SHA512 e8254141d32a0a4a325722f6fefa05815ccb1085877f67b275f6c4be321654e322956821ea5a237b397966ca06d869be09fde537c1d9c53b6e6c49a61093b37f MISC metadata.xml 634 BLAKE2B fa3f150ffb5f5da3780098747f71d304c9ceb9828cd4dc7c586ba7032a7ba0b3065c25e5dd84fdab7b4302db8b4c848f116eb5b329f440f8a38837dca005a570 SHA512 f226a355a39cec36b5d6f3f88e7f2132693b5dcf51bdec4676d17f608f16ced52d6b9c5dfac2d38f2245cdf6ff7279286034e77ea119cfb4b7240500f612968e diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-7.2.3597.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-7.2.3597.3.ebuild deleted file mode 100644 index 545ea51d964a..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-7.2.3597.3.ebuild +++ /dev/null @@ -1,220 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CHROMIUM_VERSION="132" -CHROMIUM_LANGS=" - af - am - ar - az - be - bg - bn - ca - ca-valencia - cs - da - de - de-CH - el - en-GB - en-US - eo - es - es-419 - es-PE - et - eu - fa - fi - fil - fr - fy - gd - gl - gu - he - hi - hr - hu - hy - id - io - is - it - ja - jbo - ka - kab - kn - ko - lt - lv - mk - ml - mr - ms - nb - nl - nn - pa - pl - pt-BR - pt-PT - ro - ru - sc - sk - sl - sq - sr - sr-Latn - sv - sw - ta - te - th - tr - uk - ur - vi - zh-CN - zh-TW -" - -inherit chromium-2 desktop linux-info toolchain-funcs unpacker xdg - -VIVALDI_PN="${PN/%vivaldi/vivaldi-stable}" -VIVALDI_HOME="opt/${PN}" -DESCRIPTION="A browser for our friends" -HOMEPAGE="https://vivaldi.com/" - -if [[ ${PV} = *_p* ]]; then - DEB_REV="${PV#*_p}" -else - DEB_REV=1 -fi - -VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_" - -SRC_URI=" - amd64? ( ${VIVALDI_BASE_URI}amd64.deb ) - arm? ( ${VIVALDI_BASE_URI}armhf.deb ) - arm64? ( ${VIVALDI_BASE_URI}arm64.deb ) -" - -S="${WORKDIR}" -LICENSE="Vivaldi" -SLOT="0" -KEYWORDS="-* ~amd64 ~arm ~arm64" -IUSE="ffmpeg-chromium gtk proprietary-codecs qt6 widevine" -RESTRICT="bindist mirror" -#REQUIRED_USE="ffmpeg-chromium? ( proprietary-codecs )" - -RDEPEND=" - >=app-accessibility/at-spi2-core-2.46.0:2 - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - media-libs/alsa-lib - media-libs/mesa[gbm(+)] - net-print/cups - sys-apps/dbus - x11-libs/cairo - x11-libs/libdrm - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libxkbcommon - x11-libs/libXrandr - x11-libs/pango - gtk? ( gui-libs/gtk:4 x11-libs/gtk+:3 ) - proprietary-codecs? ( - !ffmpeg-chromium? ( >=media-video/ffmpeg-6.1-r1:0/58.60.60[chromium] ) - ffmpeg-chromium? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} ) - ) - qt6? ( dev-qt/qtbase:6[gui,widgets] ) - widevine? ( www-plugins/chrome-binary-plugins ) -" - -QA_PREBUILT="*" -CONFIG_CHECK="~CPU_FREQ" - -src_unpack() { - unpack_deb ${A} -} - -src_prepare() { - # Rename docs directory to our needs. - mv usr/share/doc/{${VIVALDI_PN},${PF}}/ || die - - # Decompress the docs. - gunzip usr/share/doc/${PF}/changelog.gz || die - - # The appdata directory is deprecated. - mv usr/share/{appdata,metainfo}/ || die - - # Remove cron job for updating from Debian repos. - rm etc/cron.daily/${PN} ${VIVALDI_HOME}/cron/${PN} || die - rmdir etc/{cron.daily/,} ${VIVALDI_HOME}/cron/ || die - - # Remove scripts that will most likely break things. - rm -vf ${VIVALDI_HOME}/update-{ffmpeg,widevine} || die - - pushd ${VIVALDI_HOME}/locales > /dev/null || die - rm ja-KS.pak || die # No flag for Kansai as not in IETF list. - rm kmr.pak || die # No flag for Kurmanji. - chromium_remove_language_paks - popd > /dev/null || die - - if use proprietary-codecs; then - einfo Bundled $($(tc-getSTRINGS) ${VIVALDI_HOME}/lib/libffmpeg.so | grep -m1 "^FFmpeg version ") - rm ${VIVALDI_HOME}/lib/libffmpeg.so || die - rmdir ${VIVALDI_HOME}/lib || die - fi - - # Qt5 is obsolete now. - rm ${VIVALDI_HOME}/libqt5_shim.so || die - - if ! use qt6; then - rm ${VIVALDI_HOME}/libqt6_shim.so || die - fi - - eapply_user -} - -src_install() { - mv */ "${D}" || die - dosym ../../${VIVALDI_HOME}/${PN} /usr/bin/${VIVALDI_PN} - fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox - - local logo size - for logo in "${ED}"/${VIVALDI_HOME}/product_logo_*.png; do - size=${logo##*_} - size=${size%.*} - newicon -s "${size}" "${logo}" ${PN}.png - done - - if use proprietary-codecs; then - dosym ../../usr/$(get_libdir)/chromium/libffmpeg.so$(usex ffmpeg-chromium .${CHROMIUM_VERSION} "") \ - /${VIVALDI_HOME}/libffmpeg.so.$(ver_cut 1-2) - fi - - if use widevine; then - dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm \ - /${VIVALDI_HOME}/WidevineCdm - else - rm "${ED}"/${VIVALDI_HOME}/WidevineCdm || die - fi - - case ${PN} in - vivaldi) dosym ${VIVALDI_PN} /usr/bin/${PN} ;; - vivaldi-snapshot) dosym ${PN} /${VIVALDI_HOME}/vivaldi ;; - esac -} diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-7.2.3620.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-7.2.3620.3.ebuild new file mode 100644 index 000000000000..c7399dace195 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-7.2.3620.3.ebuild @@ -0,0 +1,220 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_VERSION="134" +CHROMIUM_LANGS=" + af + am + ar + az + be + bg + bn + ca + ca-valencia + cs + da + de + de-CH + el + en-GB + en-US + eo + es + es-419 + es-PE + et + eu + fa + fi + fil + fr + fy + gd + gl + gu + he + hi + hr + hu + hy + id + io + is + it + ja + jbo + ka + kab + kn + ko + lt + lv + mk + ml + mr + ms + nb + nl + nn + pa + pl + pt-BR + pt-PT + ro + ru + sc + sk + sl + sq + sr + sr-Latn + sv + sw + ta + te + th + tr + uk + ur + vi + zh-CN + zh-TW +" + +inherit chromium-2 desktop linux-info toolchain-funcs unpacker xdg + +VIVALDI_PN="${PN/%vivaldi/vivaldi-stable}" +VIVALDI_HOME="opt/${PN}" +DESCRIPTION="A browser for our friends" +HOMEPAGE="https://vivaldi.com/" + +if [[ ${PV} = *_p* ]]; then + DEB_REV="${PV#*_p}" +else + DEB_REV=1 +fi + +VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_" + +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb ) + arm? ( ${VIVALDI_BASE_URI}armhf.deb ) + arm64? ( ${VIVALDI_BASE_URI}arm64.deb ) +" + +S="${WORKDIR}" +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64" +IUSE="ffmpeg-chromium gtk proprietary-codecs qt6 widevine" +RESTRICT="bindist mirror" +#REQUIRED_USE="ffmpeg-chromium? ( proprietary-codecs )" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/mesa[gbm(+)] + net-print/cups + sys-apps/dbus + x11-libs/cairo + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libXrandr + x11-libs/pango + gtk? ( gui-libs/gtk:4 x11-libs/gtk+:3 ) + proprietary-codecs? ( + !ffmpeg-chromium? ( >=media-video/ffmpeg-6.1-r1:0/58.60.60[chromium] ) + ffmpeg-chromium? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} ) + ) + qt6? ( dev-qt/qtbase:6[gui,widgets] ) + widevine? ( www-plugins/chrome-binary-plugins ) +" + +QA_PREBUILT="*" +CONFIG_CHECK="~CPU_FREQ" + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + # Rename docs directory to our needs. + mv usr/share/doc/{${VIVALDI_PN},${PF}}/ || die + + # Decompress the docs. + gunzip usr/share/doc/${PF}/changelog.gz || die + + # The appdata directory is deprecated. + mv usr/share/{appdata,metainfo}/ || die + + # Remove cron job for updating from Debian repos. + rm etc/cron.daily/${PN} ${VIVALDI_HOME}/cron/${PN} || die + rmdir etc/{cron.daily/,} ${VIVALDI_HOME}/cron/ || die + + # Remove scripts that will most likely break things. + rm -vf ${VIVALDI_HOME}/update-{ffmpeg,widevine} || die + + pushd ${VIVALDI_HOME}/locales > /dev/null || die + rm ja-KS.pak || die # No flag for Kansai as not in IETF list. + rm kmr.pak || die # No flag for Kurmanji. + chromium_remove_language_paks + popd > /dev/null || die + + if use proprietary-codecs; then + einfo Bundled $($(tc-getSTRINGS) ${VIVALDI_HOME}/lib/libffmpeg.so | grep -m1 "^FFmpeg version ") + rm ${VIVALDI_HOME}/lib/libffmpeg.so || die + rmdir ${VIVALDI_HOME}/lib || die + fi + + # Qt5 is obsolete now. + rm ${VIVALDI_HOME}/libqt5_shim.so || die + + if ! use qt6; then + rm ${VIVALDI_HOME}/libqt6_shim.so || die + fi + + eapply_user +} + +src_install() { + mv */ "${D}" || die + dosym ../../${VIVALDI_HOME}/${PN} /usr/bin/${VIVALDI_PN} + fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox + + local logo size + for logo in "${ED}"/${VIVALDI_HOME}/product_logo_*.png; do + size=${logo##*_} + size=${size%.*} + newicon -s "${size}" "${logo}" ${PN}.png + done + + if use proprietary-codecs; then + dosym ../../usr/$(get_libdir)/chromium/libffmpeg.so$(usex ffmpeg-chromium .${CHROMIUM_VERSION} "") \ + /${VIVALDI_HOME}/libffmpeg.so.$(ver_cut 1-2) + fi + + if use widevine; then + dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm \ + /${VIVALDI_HOME}/WidevineCdm + else + rm "${ED}"/${VIVALDI_HOME}/WidevineCdm || die + fi + + case ${PN} in + vivaldi) dosym ${VIVALDI_PN} /usr/bin/${PN} ;; + vivaldi-snapshot) dosym ${PN} /${VIVALDI_HOME}/vivaldi ;; + esac +} diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 797d2181cb89..46c940b3cbb0 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,9 +1,9 @@ -DIST vivaldi-stable_7.1.3570.50-1_amd64.deb 122347848 BLAKE2B fe3a2f56a88f83e429a23b50a9d70335942a1a65e778edb5da0d2b588d8e2c6d57412d0ca2c3ffdf0995118b3121d8fc237a1ee8e961de52af0c39ff466eb72b SHA512 d54145576b82a19d576306a38e2df00e265b47559a399f8886f17207cb96620f824724c5292033f37134452a3f1b89fe4e6d069456688d1f7e519dc16798a650 -DIST vivaldi-stable_7.1.3570.50-1_arm64.deb 114176224 BLAKE2B 992fbe570e091b61baf969350348027a5db47d0b3ece6c1c6dca4bc90de82039123d5af08323d721cdd1b5ceb879b113c12b23d074e443b5ab2efac3376534c5 SHA512 9ee5b3c1bdf076f2d8b668e7ef76cb0d6e7fc82d9e6903e81dcf9943fc24aae652c4081b0836e9a8470732e708781aec289baad4778c17e7854e7e76727114e1 -DIST vivaldi-stable_7.1.3570.50-1_armhf.deb 115216432 BLAKE2B dcc2d541c975e52b4e998584587ca4282b27370d1fa89a7edccbadf11e008f5bbc01fb64450f4951b197b9607cd38825f8ce45bee4a05f3875279feb345e53f4 SHA512 7973134b825b8b49947508a103a1775c09741900312ba6fdade1d9f556bdde0f67daf793dd6c847af3742e76d928fe5f38ec49b6a6255913caf05b01f4f3b742 DIST vivaldi-stable_7.1.3570.54-1_amd64.deb 122335868 BLAKE2B ce5e50d317d5fffb56487f19793dcebc06a583e5cf74a5ef5a2b28a81ada0407f6b04eb8c1983323dacddf8b6c376d5f7658311691bfda9a24e47d863ed04936 SHA512 0bba44853a3898e7d10321cac41aadc22981a80fd5d682b2e33d9293b2136291856472abc9db3141a0d26623e095b31cd72698964019ed081122611e35f8c698 DIST vivaldi-stable_7.1.3570.54-1_arm64.deb 114168828 BLAKE2B b6d4235ce67975bde8ae878819f6c08c9d5ce61b0ad3a6dafa0912d43c95bf8ac5a1d1e3daf7a5f5ace5843fab8f7ca2142af3fa03399a66319fdc4346bd4f1f SHA512 d6b81ebc20da46b1bd73134f1f344032ee88db621fd8e8da90845dd65fdd3b7e2b7780839215d8180c86644ee95bb183904d0fa78aed5ceeee6f005d07e92a50 DIST vivaldi-stable_7.1.3570.54-1_armhf.deb 115234844 BLAKE2B 9545176d0f3ff828814ea2dc0e01b0e1e280badd1e06e524743072069dc88fe6978e67684fbb544d799815e5d8b9f3ab7cd0e7739ad5f5bae02b328ea2374170 SHA512 8dbbc5c5281a0ff9bf0e0ea465c3c61592ae6610e411b5a22487ed1de01204a1b93098288bf854433f0b67b19b2962323e3b02211064d3cb146fed061acd6d98 -EBUILD vivaldi-7.1.3570.50.ebuild 3951 BLAKE2B 871a53d33868b36c6529c92616f009c13232a006b21347db24497195aa6586279ddeb54cd3ccf3e13e1dbe6b244281a091717c85ade825cdd9b8b633a9d4a739 SHA512 8dc40b3069012503184ed6af86fb5c82683cc797a4c0de94b7f45d10b69e64b09efa89eec78c4151781d82a61e12d40e953c4bd006d4e13ef9f99429b14e3063 -EBUILD vivaldi-7.1.3570.54.ebuild 3952 BLAKE2B 176e75a05e1983feb033abbc3494609767796fdb73796f0353d0a352f2015fcabd7f5df3fc56d75de61a947faa8c6d691a55188b2df82387ac9f037f76839170 SHA512 300ef3ab0b3fbb62a1dd08d9617408fae880014d79fda46fe677e0f7243efa635fec2113e7844200dc743d7e751a3a08e715fb6b6d17a7f2388c748ad13721f3 +DIST vivaldi-stable_7.1.3570.58-1_amd64.deb 122380404 BLAKE2B ed710f0af00aaa9408d034388fe639eff99e5ccdd87e19ea607dcf7aa77011efb7bfe19789ce1545977689343642aea14972d61a448c871676d89350c8358b36 SHA512 c2ca6bbf6ede9c6eefa528f437a5ee3ba9aac6cfafcb0c4cf547a3f4b69fe72b517810e4bf815dd9d4b5886430c1408191b97c7d4cc28fefac50a44294a129e4 +DIST vivaldi-stable_7.1.3570.58-1_arm64.deb 114155644 BLAKE2B 0f0a45fe5cb1d44809a5ea9ded85bec657df631382126550d3e7d28410244d2d0ac7edd4054bce5811d7bb3a5e1f4ab2eaab06f5471d749ce69a8b4595dca107 SHA512 b8595f5414f5946ce550474d367463249c9580fb5f395ff79f38be4acfdb30108d3407fa79238b4ea9baa415efa11f1dfe0c620c2224e126d244a3968e1e2a0d +DIST vivaldi-stable_7.1.3570.58-1_armhf.deb 115241620 BLAKE2B bdf895d797ffc1597eb4743eeba04beb96df31ce869dd44f8d19c9d62512339f641d6c65930664a91c8c93df43c37c90e71681ac337379b8ef707cb1f8cf22ce SHA512 0897425c0f270b5b5eaf10eea5d52ac17d5ed484a9cdbcf0ea8a410e31c772ada04ff5391a29844379367b9b7999713c89d7f6c1c9f1950e33164a24fcbc03bb +EBUILD vivaldi-7.1.3570.54.ebuild 3951 BLAKE2B 871a53d33868b36c6529c92616f009c13232a006b21347db24497195aa6586279ddeb54cd3ccf3e13e1dbe6b244281a091717c85ade825cdd9b8b633a9d4a739 SHA512 8dc40b3069012503184ed6af86fb5c82683cc797a4c0de94b7f45d10b69e64b09efa89eec78c4151781d82a61e12d40e953c4bd006d4e13ef9f99429b14e3063 +EBUILD vivaldi-7.1.3570.58.ebuild 3952 BLAKE2B 176e75a05e1983feb033abbc3494609767796fdb73796f0353d0a352f2015fcabd7f5df3fc56d75de61a947faa8c6d691a55188b2df82387ac9f037f76839170 SHA512 300ef3ab0b3fbb62a1dd08d9617408fae880014d79fda46fe677e0f7243efa635fec2113e7844200dc743d7e751a3a08e715fb6b6d17a7f2388c748ad13721f3 MISC metadata.xml 634 BLAKE2B fa3f150ffb5f5da3780098747f71d304c9ceb9828cd4dc7c586ba7032a7ba0b3065c25e5dd84fdab7b4302db8b4c848f116eb5b329f440f8a38837dca005a570 SHA512 f226a355a39cec36b5d6f3f88e7f2132693b5dcf51bdec4676d17f608f16ced52d6b9c5dfac2d38f2245cdf6ff7279286034e77ea119cfb4b7240500f612968e diff --git a/www-client/vivaldi/vivaldi-7.1.3570.50.ebuild b/www-client/vivaldi/vivaldi-7.1.3570.50.ebuild deleted file mode 100644 index 3ae26e68b7f1..000000000000 --- a/www-client/vivaldi/vivaldi-7.1.3570.50.ebuild +++ /dev/null @@ -1,220 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CHROMIUM_VERSION="132" -CHROMIUM_LANGS=" - af - am - ar - az - be - bg - bn - ca - ca-valencia - cs - da - de - de-CH - el - en-GB - en-US - eo - es - es-419 - es-PE - et - eu - fa - fi - fil - fr - fy - gd - gl - gu - he - hi - hr - hu - hy - id - io - is - it - ja - jbo - ka - kab - kn - ko - lt - lv - mk - ml - mr - ms - nb - nl - nn - pa - pl - pt-BR - pt-PT - ro - ru - sc - sk - sl - sq - sr - sr-Latn - sv - sw - ta - te - th - tr - uk - ur - vi - zh-CN - zh-TW -" - -inherit chromium-2 desktop linux-info toolchain-funcs unpacker xdg - -VIVALDI_PN="${PN/%vivaldi/vivaldi-stable}" -VIVALDI_HOME="opt/${PN}" -DESCRIPTION="A browser for our friends" -HOMEPAGE="https://vivaldi.com/" - -if [[ ${PV} = *_p* ]]; then - DEB_REV="${PV#*_p}" -else - DEB_REV=1 -fi - -VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_" - -SRC_URI=" - amd64? ( ${VIVALDI_BASE_URI}amd64.deb ) - arm? ( ${VIVALDI_BASE_URI}armhf.deb ) - arm64? ( ${VIVALDI_BASE_URI}arm64.deb ) -" - -S="${WORKDIR}" -LICENSE="Vivaldi" -SLOT="0" -KEYWORDS="-* amd64 ~arm ~arm64" -IUSE="ffmpeg-chromium gtk proprietary-codecs qt6 widevine" -RESTRICT="bindist mirror" -#REQUIRED_USE="ffmpeg-chromium? ( proprietary-codecs )" - -RDEPEND=" - >=app-accessibility/at-spi2-core-2.46.0:2 - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - media-libs/alsa-lib - media-libs/mesa[gbm(+)] - net-print/cups - sys-apps/dbus - x11-libs/cairo - x11-libs/libdrm - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libxkbcommon - x11-libs/libXrandr - x11-libs/pango - gtk? ( gui-libs/gtk:4 x11-libs/gtk+:3 ) - proprietary-codecs? ( - !ffmpeg-chromium? ( >=media-video/ffmpeg-6.1-r1:0/58.60.60[chromium] ) - ffmpeg-chromium? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} ) - ) - qt6? ( dev-qt/qtbase:6[gui,widgets] ) - widevine? ( www-plugins/chrome-binary-plugins ) -" - -QA_PREBUILT="*" -CONFIG_CHECK="~CPU_FREQ" - -src_unpack() { - unpack_deb ${A} -} - -src_prepare() { - # Rename docs directory to our needs. - mv usr/share/doc/{${VIVALDI_PN},${PF}}/ || die - - # Decompress the docs. - gunzip usr/share/doc/${PF}/changelog.gz || die - - # The appdata directory is deprecated. - mv usr/share/{appdata,metainfo}/ || die - - # Remove cron job for updating from Debian repos. - rm etc/cron.daily/${PN} ${VIVALDI_HOME}/cron/${PN} || die - rmdir etc/{cron.daily/,} ${VIVALDI_HOME}/cron/ || die - - # Remove scripts that will most likely break things. - rm -vf ${VIVALDI_HOME}/update-{ffmpeg,widevine} || die - - pushd ${VIVALDI_HOME}/locales > /dev/null || die - rm ja-KS.pak || die # No flag for Kansai as not in IETF list. - rm kmr.pak || die # No flag for Kurmanji. - chromium_remove_language_paks - popd > /dev/null || die - - if use proprietary-codecs; then - einfo Bundled $($(tc-getSTRINGS) ${VIVALDI_HOME}/lib/libffmpeg.so | grep -m1 "^FFmpeg version ") - rm ${VIVALDI_HOME}/lib/libffmpeg.so || die - rmdir ${VIVALDI_HOME}/lib || die - fi - - # Qt5 is obsolete now. - rm ${VIVALDI_HOME}/libqt5_shim.so || die - - if ! use qt6; then - rm ${VIVALDI_HOME}/libqt6_shim.so || die - fi - - eapply_user -} - -src_install() { - mv */ "${D}" || die - dosym ../../${VIVALDI_HOME}/${PN} /usr/bin/${VIVALDI_PN} - fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox - - local logo size - for logo in "${ED}"/${VIVALDI_HOME}/product_logo_*.png; do - size=${logo##*_} - size=${size%.*} - newicon -s "${size}" "${logo}" ${PN}.png - done - - if use proprietary-codecs; then - dosym ../../usr/$(get_libdir)/chromium/libffmpeg.so$(usex ffmpeg-chromium .${CHROMIUM_VERSION} "") \ - /${VIVALDI_HOME}/libffmpeg.so.$(ver_cut 1-2) - fi - - if use widevine; then - dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm \ - /${VIVALDI_HOME}/WidevineCdm - else - rm "${ED}"/${VIVALDI_HOME}/WidevineCdm || die - fi - - case ${PN} in - vivaldi) dosym ${VIVALDI_PN} /usr/bin/${PN} ;; - vivaldi-snapshot) dosym ${PN} /${VIVALDI_HOME}/vivaldi ;; - esac -} diff --git a/www-client/vivaldi/vivaldi-7.1.3570.54.ebuild b/www-client/vivaldi/vivaldi-7.1.3570.54.ebuild index 545ea51d964a..3ae26e68b7f1 100644 --- a/www-client/vivaldi/vivaldi-7.1.3570.54.ebuild +++ b/www-client/vivaldi/vivaldi-7.1.3570.54.ebuild @@ -108,7 +108,7 @@ SRC_URI=" S="${WORKDIR}" LICENSE="Vivaldi" SLOT="0" -KEYWORDS="-* ~amd64 ~arm ~arm64" +KEYWORDS="-* amd64 ~arm ~arm64" IUSE="ffmpeg-chromium gtk proprietary-codecs qt6 widevine" RESTRICT="bindist mirror" #REQUIRED_USE="ffmpeg-chromium? ( proprietary-codecs )" diff --git a/www-client/vivaldi/vivaldi-7.1.3570.58.ebuild b/www-client/vivaldi/vivaldi-7.1.3570.58.ebuild new file mode 100644 index 000000000000..545ea51d964a --- /dev/null +++ b/www-client/vivaldi/vivaldi-7.1.3570.58.ebuild @@ -0,0 +1,220 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_VERSION="132" +CHROMIUM_LANGS=" + af + am + ar + az + be + bg + bn + ca + ca-valencia + cs + da + de + de-CH + el + en-GB + en-US + eo + es + es-419 + es-PE + et + eu + fa + fi + fil + fr + fy + gd + gl + gu + he + hi + hr + hu + hy + id + io + is + it + ja + jbo + ka + kab + kn + ko + lt + lv + mk + ml + mr + ms + nb + nl + nn + pa + pl + pt-BR + pt-PT + ro + ru + sc + sk + sl + sq + sr + sr-Latn + sv + sw + ta + te + th + tr + uk + ur + vi + zh-CN + zh-TW +" + +inherit chromium-2 desktop linux-info toolchain-funcs unpacker xdg + +VIVALDI_PN="${PN/%vivaldi/vivaldi-stable}" +VIVALDI_HOME="opt/${PN}" +DESCRIPTION="A browser for our friends" +HOMEPAGE="https://vivaldi.com/" + +if [[ ${PV} = *_p* ]]; then + DEB_REV="${PV#*_p}" +else + DEB_REV=1 +fi + +VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_" + +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb ) + arm? ( ${VIVALDI_BASE_URI}armhf.deb ) + arm64? ( ${VIVALDI_BASE_URI}arm64.deb ) +" + +S="${WORKDIR}" +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64" +IUSE="ffmpeg-chromium gtk proprietary-codecs qt6 widevine" +RESTRICT="bindist mirror" +#REQUIRED_USE="ffmpeg-chromium? ( proprietary-codecs )" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/mesa[gbm(+)] + net-print/cups + sys-apps/dbus + x11-libs/cairo + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libXrandr + x11-libs/pango + gtk? ( gui-libs/gtk:4 x11-libs/gtk+:3 ) + proprietary-codecs? ( + !ffmpeg-chromium? ( >=media-video/ffmpeg-6.1-r1:0/58.60.60[chromium] ) + ffmpeg-chromium? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} ) + ) + qt6? ( dev-qt/qtbase:6[gui,widgets] ) + widevine? ( www-plugins/chrome-binary-plugins ) +" + +QA_PREBUILT="*" +CONFIG_CHECK="~CPU_FREQ" + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + # Rename docs directory to our needs. + mv usr/share/doc/{${VIVALDI_PN},${PF}}/ || die + + # Decompress the docs. + gunzip usr/share/doc/${PF}/changelog.gz || die + + # The appdata directory is deprecated. + mv usr/share/{appdata,metainfo}/ || die + + # Remove cron job for updating from Debian repos. + rm etc/cron.daily/${PN} ${VIVALDI_HOME}/cron/${PN} || die + rmdir etc/{cron.daily/,} ${VIVALDI_HOME}/cron/ || die + + # Remove scripts that will most likely break things. + rm -vf ${VIVALDI_HOME}/update-{ffmpeg,widevine} || die + + pushd ${VIVALDI_HOME}/locales > /dev/null || die + rm ja-KS.pak || die # No flag for Kansai as not in IETF list. + rm kmr.pak || die # No flag for Kurmanji. + chromium_remove_language_paks + popd > /dev/null || die + + if use proprietary-codecs; then + einfo Bundled $($(tc-getSTRINGS) ${VIVALDI_HOME}/lib/libffmpeg.so | grep -m1 "^FFmpeg version ") + rm ${VIVALDI_HOME}/lib/libffmpeg.so || die + rmdir ${VIVALDI_HOME}/lib || die + fi + + # Qt5 is obsolete now. + rm ${VIVALDI_HOME}/libqt5_shim.so || die + + if ! use qt6; then + rm ${VIVALDI_HOME}/libqt6_shim.so || die + fi + + eapply_user +} + +src_install() { + mv */ "${D}" || die + dosym ../../${VIVALDI_HOME}/${PN} /usr/bin/${VIVALDI_PN} + fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox + + local logo size + for logo in "${ED}"/${VIVALDI_HOME}/product_logo_*.png; do + size=${logo##*_} + size=${size%.*} + newicon -s "${size}" "${logo}" ${PN}.png + done + + if use proprietary-codecs; then + dosym ../../usr/$(get_libdir)/chromium/libffmpeg.so$(usex ffmpeg-chromium .${CHROMIUM_VERSION} "") \ + /${VIVALDI_HOME}/libffmpeg.so.$(ver_cut 1-2) + fi + + if use widevine; then + dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm \ + /${VIVALDI_HOME}/WidevineCdm + else + rm "${ED}"/${VIVALDI_HOME}/WidevineCdm || die + fi + + case ${PN} in + vivaldi) dosym ${VIVALDI_PN} /usr/bin/${PN} ;; + vivaldi-snapshot) dosym ${PN} /${VIVALDI_HOME}/vivaldi ;; + esac +} -- cgit v1.2.3