From 7218e1b46bceac05841e90472501742d905fb3fc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 12 Mar 2021 21:55:15 +0000 Subject: gentoo resync : 12.03.2021 --- www-client/Manifest.gz | Bin 5884 -> 5878 bytes www-client/chromium/Manifest | 15 +- www-client/chromium/chromium-88.0.4324.182.ebuild | 901 --------------- www-client/chromium/chromium-89.0.4389.72.ebuild | 2 +- www-client/chromium/chromium-89.0.4389.82.ebuild | 899 +++++++++++++++ www-client/chromium/chromium-90.0.4427.5.ebuild | 905 --------------- www-client/chromium/chromium-90.0.4430.11.ebuild | 915 +++++++++++++++ .../files/chromium-87-webcodecs-deps.patch | 27 - .../chromium/files/chromium-88-ozone-deps.patch | 40 - www-client/firefox-bin/Manifest | 98 ++ www-client/firefox-bin/firefox-bin-86.0.1.ebuild | 411 +++++++ www-client/firefox/Manifest | 97 ++ www-client/firefox/firefox-86.0.1.ebuild | 1173 ++++++++++++++++++++ www-client/google-chrome-beta/Manifest | 2 +- .../google-chrome-beta-89.0.4389.72.ebuild | 2 +- www-client/google-chrome-unstable/Manifest | 2 +- .../google-chrome-unstable-90.0.4430.11.ebuild | 2 +- www-client/google-chrome/Manifest | 4 +- .../google-chrome-89.0.4389.72.ebuild | 134 --- .../google-chrome-89.0.4389.82.ebuild | 134 +++ www-client/lynx/Manifest | 2 - www-client/lynx/lynx-2.9.0_pre5.ebuild | 105 -- www-client/qutebrowser/Manifest | 2 + www-client/qutebrowser/qutebrowser-2.1.0.ebuild | 90 ++ www-client/seamonkey/Manifest | 3 + www-client/seamonkey/seamonkey-2.53.7_beta1.ebuild | 553 +++++++++ www-client/surfraw/Manifest | 4 +- www-client/surfraw/surfraw-2.3.0-r1.ebuild | 94 -- www-client/surfraw/surfraw-2.3.0-r2.ebuild | 92 -- www-client/surfraw/surfraw-2.3.0-r3.ebuild | 2 +- www-client/vivaldi-snapshot/Manifest | 15 +- .../vivaldi-snapshot-3.7.2209.3.ebuild | 202 ---- .../vivaldi-snapshot-3.7.2218.25.ebuild | 203 ++++ .../vivaldi-snapshot-3.7.2218.3.ebuild | 202 ++++ 34 files changed, 4805 insertions(+), 2527 deletions(-) delete mode 100644 www-client/chromium/chromium-88.0.4324.182.ebuild create mode 100644 www-client/chromium/chromium-89.0.4389.82.ebuild delete mode 100644 www-client/chromium/chromium-90.0.4427.5.ebuild create mode 100644 www-client/chromium/chromium-90.0.4430.11.ebuild delete mode 100644 www-client/chromium/files/chromium-87-webcodecs-deps.patch delete mode 100644 www-client/chromium/files/chromium-88-ozone-deps.patch create mode 100644 www-client/firefox-bin/firefox-bin-86.0.1.ebuild create mode 100644 www-client/firefox/firefox-86.0.1.ebuild delete mode 100644 www-client/google-chrome/google-chrome-89.0.4389.72.ebuild create mode 100644 www-client/google-chrome/google-chrome-89.0.4389.82.ebuild delete mode 100644 www-client/lynx/lynx-2.9.0_pre5.ebuild create mode 100644 www-client/qutebrowser/qutebrowser-2.1.0.ebuild create mode 100644 www-client/seamonkey/seamonkey-2.53.7_beta1.ebuild delete mode 100644 www-client/surfraw/surfraw-2.3.0-r1.ebuild delete mode 100644 www-client/surfraw/surfraw-2.3.0-r2.ebuild delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2209.3.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.25.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.3.ebuild (limited to 'www-client') diff --git a/www-client/Manifest.gz b/www-client/Manifest.gz index f03e4139dde0..12809c72e284 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 17bc0a02a74a..bc2b2e3ad03d 100644 --- a/www-client/chromium/Manifest +++ b/www-client/chromium/Manifest @@ -1,19 +1,16 @@ -AUX chromium-87-webcodecs-deps.patch 1011 BLAKE2B 45caba9cb8c65c0f72844f441ee0f0333bc7172ed26e40b1af43190a9aefdc4d7e1d8ad807cd3e45f890edeb4be88555d0ef61cb6d6f359956eb02765861e1e3 SHA512 26831bbf4b6d9b7227fcd179641faa9e14a23995bd1d99cf1ae7eb1170d42eae883ef27a88bd23e8dddfb1b043704e0acc3b2de421d4ef9b9c986495cec75d8f -AUX chromium-88-ozone-deps.patch 1548 BLAKE2B 6a9b2b19b1563503d749394921a43c53c33be7e9b88572c7e2e95affccc5e79737c28b9c1c6ae7c4a139e05a802052b4375d51264492f78dde5717f760368d8a SHA512 e2e8304efa772c2cdc2a891335f9d2e914885d563967fef71d7e2f443eadbfc502480cbd1fdbc1b32a59cd17684d3044d2ee0c4ad5dac5a4402c1667e13d66e5 AUX chromium-89-EnumTable-crash.patch 2712 BLAKE2B 6715f98a5cd2c9886050f9d360938e261308a3def252e25642a473e86626594fa6c06cb3231dd57dc5428db8ee118848a0a085abf741c9555778f3ae3d9d374f SHA512 07ecb68d5ca2d732c9ca58b4dc007eb2f4b842bdf6ba46cca9050bf1c582439ebb23db1149c76d5a27f4d8de548de946e80eff0c5b1759e4b6714e0c6a7b26c9 AUX chromium-89-webcodecs-deps.patch 976 BLAKE2B 5a5a397c4cbc5c6e16cd95364ceadfea342ea2d1acabd7640c0bb6e65218dc4e5783a743912c352b3f9422b2f9e067db9109c64e117f82673659c2c5338b1353 SHA512 1585d2d9258bcfd5d78956ff3b7c8d61997a65133e86a2878c9e7bdf68ad9c3a6c24f20f02f10388b7dae02f7ad82c7533687ff13918f75e5ceeb112926fc4e0 AUX chromium-browser.xml 407 BLAKE2B 168d78b0855546ca559cfb51aff0bc85d5e6ae974c25eb76e4a02f6d11659489c6e40397a0b2f7bc1fda336fd2c6dd8c863fccc3340719210b41c7fef51927f4 SHA512 b767fb4fd1925029d95560fc14cb7ab12ae43b2fe923e92d75e733b9723cbe1dcdf6df041a2b62554e98b79b47ef3f6028c773e72e6fd53166a021d49657aeca AUX chromium-launcher-r6.sh 1593 BLAKE2B a871bd572239552390b216c89269dfe132474e1f57bfd0429f605af8285634659725c550b701e537f56adf20cba2dcb27dd9dadd390366dedc147f1ee987f462 SHA512 c01cb376eae2871dfa7a488d96ac8cc3445230eeb0fbd865948c5b3b601820468e85f2f0b9b30fff940c736aded050b7802759b8562e6378747af93c1d4f08a3 AUX chromium-shim_headers.patch 1510 BLAKE2B 9716cd250b249c6255aca01a385ef8a2a6f1df9ea3cf7499715543c14f8be62fd323b6048b890aa2be45891e7a765d92de3f41c3b3a88c08dae4b806c048e20f SHA512 c74bcf690a41b4f9b364477d23408d493aa674e3bd014940098a594471297c2a425241f908510061b5f11c9cfe009c4a803370edd757d3c0ab8d9c0cc128135c AUX chromium.default 148 BLAKE2B 5ee5b582c59a6e4bef87bbb0e232e2470ad412b1fbbb3b9af6ef7153edb55c5b9080cc16a5a115b0c5b3c381aa87ce57a7b12bdd2070e67dac10a6c2995ddbaf SHA512 0d4849e03592fb58b05e62a43021eca7e61615616c8907c3b2e445402e03adaf9e8fa25b0a745d6c31eb037456215cc02b59e345a3a06d932e76cf990c92d739 -DIST chromium-88-patchset-3.tar.xz 8396 BLAKE2B 4c978f1a6efef3f71e3dd6340c392b74bc6a734b49a9ca43343d03903159dafc66159939f9a6c4b55665ddbe7bd97a26d8d86c285ec02cf76cad5f5cc7410570 SHA512 c39afa26f5b0b9930f6f67ce0c42eefd74c09d528b26bc0db57129b150f75ff83c8b1cb97bd9c5d75f288fb4767cc68c9c5ce89231b4a59f8ca02493e4dd281a -DIST chromium-88.0.4324.182.tar.xz 857221352 BLAKE2B 7263294154232533f18d0bc8eeaa7097c3578f8e585ce953c9e6990ec7c9ffbfbd0e69f89c4852c09197aab592877350f54590cf4f0bbec9481886f3fc34548a SHA512 ce8d507645e937107847199b55287ec5522e778851367a19c4cfa4ff5fae18e7c7ea999aa7b0ad0758fab68a003f201bf38ae51e3642388705de2ada9be87730 DIST chromium-89-patchset-7.tar.xz 4640 BLAKE2B 6150f92a4cb83025b7521c573e9a14bfcb26f7a5ff4ebe79cfc819b214ae05d0e986b9db561a99b4f9c7b4a8e4adf1c8ee966011bb0791ef11fc2be89b03b216 SHA512 6ef5be9e56b82c70d3d1a0596e74af3bab97ea82a8247b6d0ba736411779be10b17c7cd9ccd9eae5fac27af3907fd3b56e301e73011f58b2c4052bbc03390b1c DIST chromium-89.0.4389.72.tar.xz 890838884 BLAKE2B c84286128ad3563f0570815efb2fe190153e5ea4c2ea74a48a9d9b31614b3f88850ddfb74819a8b27d594f97071ef5c1f356d0419d4dd3bbc2003c636c3aa60b SHA512 b5e3693bc104ff857a2ef4de9b0a9265d44c26e5b94c44e5054bfa810c24dbb1933f1f4a626dda4d74ba6cb13fe5045c4ea9d7ea43e1b0e4057e01428d645fb7 -DIST chromium-90-patchset-5.tar.xz 3272 BLAKE2B 58d018d50dc088fe246e5135a7d2cbac949b499ff115a31f9be1fe9fa82e0dc7d16405edc77bb5f80130c12ed62a8bea2f337b9bb587d7a3e93c4b8f21f0a6ac SHA512 b3bf1a47181e0efde67cf1d8103d3e61920b49b685be7334610daf4a459e910310481aed95bf37e3315b6253807baab034e251d45b766a22b2a7b3c3daee4d8b -DIST chromium-90.0.4427.5.tar.xz 916946504 BLAKE2B 487ac72e59e1c3cdd4b4f7727bf0c723a07d583bf8c97d32e1e45541f74e1e9a1af80205e5a5e2fb36ccb876749ed61da4432419dc12fa944634e7b365858e83 SHA512 7e1bd45dd9303783562f9d4483004e48762917313f3b5cbb19af244ae71926f3487b253ee21e98237dd8f4b8ab244b9b8a2c97305b6e714e98ca24d5487c4b87 +DIST chromium-89.0.4389.82.tar.xz 890793532 BLAKE2B 9d1861f548f5af67611b398b5e87812ff92cbb2069bb9480b3264febf5b916564a45cb0e4d9f2793dd4f0e0c355a24cc08ab138f4e2c786a8d933f4cdf707bc8 SHA512 41c85743ef92e04cb73d374934cf3efcf6e7ab1c12f11abaeb7687ca2dc365f7107d316aabb439cd9bc26cfdaca92e0a1a4a9d751a73c47218633f2a3253563f +DIST chromium-90-patchset-6.tar.xz 3828 BLAKE2B bbd1378868cf4d699ff097ea41226ff694d58468f8f93860f2d6cc60924f35fb1f0b17fcf5a916f04545171d1219b699072222f138240fd483c704874cfce178 SHA512 70321eb4e9fe27818d5e6ae3109d3871a870a7fb6886328dcc9fc8291ac72fc003d678aec7f9925afe0c5667c70ce9bca8f61434b11a331fc1a29d61ad7b59e3 +DIST chromium-90.0.4430.11.tar.xz 917713136 BLAKE2B 828a141a1a36904542b7a274db17b8c8917b37cad3ab7070568c83bd6084f42838ce673e24c3f4b2753068548983e490cdeacbb5501215176f7f32b18d686535 SHA512 3d08fc57a22014eb324b99e5b97c2a8c8c5ff4de038753f8fa1c3ab4b44a19c2ffb6dcbc554f78cb493cb0a9cbbc04ac148ef4bd8a0141e5dff04813913c08a4 DIST setuptools-44.1.0.zip 858569 BLAKE2B f59f154e121502a731e51294ccd293d60ffccadacf51e23b53bf7ceba38858948b86783238061136c827ac3373ea7ea8e6253d4bb53f3f1dd69284568ec65a68 SHA512 4dfb0f42d334b835758e865a26ecd1e725711fa2b9c38ddc273b8b3849fba04527bc97436d11ba1e98f1a42922aa0f0b9032e32998273c705fac6e10735eacbf -EBUILD chromium-88.0.4324.182.ebuild 28537 BLAKE2B 949c867f5c43e121c7f2b66496f6bc41a1c59278551f38194cc61ab4d6982df9813d062075a5bb1b4739bd1312ddd2642ef6c37cf1e01d49774ff437a88d38c7 SHA512 4c44e9f8fca5487550be400b13ac0cdbae6d6265a27ba9199be3d4a63f2adb84d01809feb5b04cd77fab29cc14ee04e96ebc5043a1812c569a2a5688e9b1fc3a -EBUILD chromium-89.0.4389.72.ebuild 28584 BLAKE2B d4a39fc1cb199c40dc23c4ccb64fc7a21edf73fa538b967af01d0c4816312228318f6fc1a26ba3a2041b44b00db6ecff90d690645e7c4a5b3ea5cce6e67c4c79 SHA512 def3e38d0e4d2ac04a9b742f86e4476aa059be57bb1db3968605e2ae184d53dfbc728df569ca5ad11b76732f9f6e5d3cf9ccdb9350066f3e61d013f4dd76f961 -EBUILD chromium-90.0.4427.5.ebuild 28775 BLAKE2B abbb0a98b2b43fc2b155dfadffb7b03869ba13b61d5f73fdfbeaa98a8c0707f8471af90b758feb57ad0e1a0b2dc2201127ef6cdec83de44ecdfdd9ccaecab398 SHA512 40d6bccbc5e66ef71c4d29c024ead0612c1141b925a8d9ea2e66d145cead2d6d5baa0aa6ff5e6f8985ff984cfdcb6f1785425184bf12e2503a09f7bf7333f139 +EBUILD chromium-89.0.4389.72.ebuild 28582 BLAKE2B 3b5cebf03795f305dcd9fcaa257d588a862a7cffa8e2e52edc8b36ac04f166df0973364f07c4a35a01bb34e0e0a522381f2881ce6dbcaf422e810ed7b58b42b8 SHA512 681ba54775487aefb3e24374bc3edf4e8059d9f53ede080e24682f064da9e2ae9cc63bacede98e7fdcf01f8e24c3aa566111262a453ad52be4ad55400097fe70 +EBUILD chromium-89.0.4389.82.ebuild 28642 BLAKE2B 8bbf37b9cbfb6b19e881b5505e5afda437c8ef21f65011370578482720f613af7d92914f94b7b5b92f611510b3d0c0f6c643137ed967463f42571f0c17e91300 SHA512 10950326c1ebe81ce1bf582265752ce54165c44674ec79266db57e6f9dc4236991a4b1ef5fc20a167af10adbaff35f4dfe3e3cb04d69db828fa1b619ce8851f4 +EBUILD chromium-90.0.4430.11.ebuild 29000 BLAKE2B 2bbb69a56283d97503cdc26f76c9a54fb242da7475a3cbc4bba3f5a6b328de8e09a398e1a473b4e344e63c62d9426ca5de908ce1791369332e8aed8b9f50dffe SHA512 812423b3c631d6d729ad85c4dad425ea7ae337850568ac3633541f9464318057ac0ca8e0a693007abeeb20d63c9b2ca248e0d323087725f4d6fac8f5dd457546 MISC metadata.xml 1596 BLAKE2B e15a05a13e8200be6a946ba0b2631a014b83a66267a9ce956245d28312403b3229ef6a961830bd69535bc4286912fdf8d5f3a6cb0d0f8aff29936ceaf7113e8f SHA512 204d0b04307b2fc2188c64f290c0e3a0a0b14f3ac0f35deaffdaac1b30addd4df1f2eef2eae19a674f07123dc44a6ba4a0b5e2419a898bfaac61579603ceb0ee diff --git a/www-client/chromium/chromium-88.0.4324.182.ebuild b/www-client/chromium/chromium-88.0.4324.182.ebuild deleted file mode 100644 index f14450e00326..000000000000 --- a/www-client/chromium/chromium-88.0.4324.182.ebuild +++ /dev/null @@ -1,901 +0,0 @@ -# Copyright 2009-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="xml" - -CHROMIUM_LANGS="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 vi zh-CN zh-TW" - -inherit check-reqs chromium-2 desktop flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs xdg-utils - -DESCRIPTION="Open-source version of Google Chrome web browser" -HOMEPAGE="https://chromium.org/" -PATCHSET="3" -PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}" -SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz - https://files.pythonhosted.org/packages/ed/7b/bbf89ca71e722b7f9464ebffe4b5ee20a9e5c9a555a56e2d3914bb9119a6/setuptools-44.1.0.zip - https://github.com/stha09/chromium-patches/releases/download/${PATCHSET_NAME}/${PATCHSET_NAME}.tar.xz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 ~x86" -IUSE="component-build cups cpu_flags_arm_neon +hangouts headless +js-type-check kerberos official pic +proprietary-codecs pulseaudio selinux +suid +system-ffmpeg +system-icu +tcmalloc vaapi wayland widevine" -REQUIRED_USE=" - component-build? ( !suid ) -" - -COMMON_X_DEPEND=" - media-libs/mesa:=[gbm] - x11-libs/libX11:= - x11-libs/libXcomposite:= - x11-libs/libXcursor:= - x11-libs/libXdamage:= - x11-libs/libXext:= - x11-libs/libXfixes:= - >=x11-libs/libXi-1.6.0:= - x11-libs/libXrandr:= - x11-libs/libXrender:= - x11-libs/libXtst:= - x11-libs/libXScrnSaver:= - x11-libs/libxcb:= - vaapi? ( >=x11-libs/libva-2.7:=[X,drm] ) -" - -COMMON_DEPEND=" - app-arch/bzip2:= - cups? ( >=net-print/cups-1.3.11:= ) - dev-libs/expat:= - dev-libs/glib:2 - >=dev-libs/libxml2-2.9.4-r3:=[icu] - dev-libs/nspr:= - >=dev-libs/nss-3.26:= - >=media-libs/alsa-lib-1.0.19:= - media-libs/fontconfig:= - media-libs/freetype:= - >=media-libs/harfbuzz-2.4.0:0=[icu(-)] - media-libs/libjpeg-turbo:= - media-libs/libpng:= - pulseaudio? ( media-sound/pulseaudio:= ) - system-ffmpeg? ( - >=media-video/ffmpeg-4.3:= - || ( - media-video/ffmpeg[-samba] - >=net-fs/samba-4.5.10-r1[-debug(-)] - ) - >=media-libs/opus-1.3.1:= - ) - sys-apps/dbus:= - sys-apps/pciutils:= - virtual/udev - x11-libs/cairo:= - x11-libs/gdk-pixbuf:2 - x11-libs/pango:= - media-libs/flac:= - >=media-libs/libwebp-0.4.0:= - sys-libs/zlib:=[minizip] - kerberos? ( virtual/krb5 ) - !headless? ( - ${COMMON_X_DEPEND} - >=app-accessibility/at-spi2-atk-2.26:2 - >=app-accessibility/at-spi2-core-2.26:2 - >=dev-libs/atk-2.26 - x11-libs/gtk+:3[X] - wayland? ( - dev-libs/wayland:= - dev-libs/libffi:= - x11-libs/gtk+:3[wayland,X] - x11-libs/libdrm:= - x11-libs/libxkbcommon:= - ) - ) -" -# For nvidia-drivers blocker, see bug #413637 . -RDEPEND="${COMMON_DEPEND} - x11-misc/xdg-utils - virtual/opengl - virtual/ttf-fonts - selinux? ( sec-policy/selinux-chromium ) - tcmalloc? ( ! gn leftovers - base/third_party/libevent - third_party/adobe - third_party/speech-dispatcher - third_party/usb_ids - third_party/xdg-utils - ) - if ! use system-ffmpeg; then - keeplibs+=( third_party/ffmpeg third_party/opus ) - fi - if ! use system-icu; then - keeplibs+=( third_party/icu ) - fi - if use tcmalloc; then - keeplibs+=( third_party/tcmalloc ) - fi - if use wayland && ! use headless ; then - keeplibs+=( third_party/wayland ) - fi - if [[ ${CHROMIUM_FORCE_LIBCXX} == yes ]]; then - keeplibs+=( third_party/libxml ) - keeplibs+=( third_party/libxslt ) - keeplibs+=( third_party/openh264 ) - keeplibs+=( third_party/re2 ) - keeplibs+=( third_party/snappy ) - if use system-icu; then - keeplibs+=( third_party/icu ) - fi - fi - 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 - ./generate_gni.sh || die - popd >/dev/null || die - fi - - # Remove most bundled libraries. Some are still needed. - build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove || die -} - -src_configure() { - # Calling this here supports resumption via FEATURES=keepwork - python_setup - - local myconf_gn="" - - # Make sure the build system will use the right tools, bug #340795. - tc-export AR CC CXX NM - - if [[ ${CHROMIUM_FORCE_CLANG} == yes ]] && ! tc-is-clang; then - # Force clang since gcc is pretty broken at the moment. - CC=${CHOST}-clang - CXX=${CHOST}-clang++ - strip-unsupported-flags - fi - - if tc-is-clang; then - myconf_gn+=" is_clang=true clang_use_chrome_plugins=false" - else - if [[ ${CHROMIUM_FORCE_LIBCXX} == yes ]]; then - die "Compiling with sys-libs/libcxx requires clang." - fi - myconf_gn+=" is_clang=false" - fi - - # Define a custom toolchain for GN - 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\"" - else - myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:default\"" - fi - - # GN needs explicit config for Debug/Release as opposed to inferring it from build directory. - myconf_gn+=" is_debug=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=$(usex component-build true false)" - - myconf_gn+=" use_allocator=$(usex tcmalloc \"tcmalloc\" \"none\")" - - # 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_libsrtp (bug #459932). - # TODO: use_system_protobuf (bug #525560). - # TODO: use_system_ssl (http://crbug.com/58087). - # TODO: use_system_sqlite (http://crbug.com/22208). - - # libevent: https://bugs.gentoo.org/593458 - local gn_system_libraries=( - flac - fontconfig - freetype - # Need harfbuzz_from_pkgconfig target - #harfbuzz-ng - libdrm - libjpeg - libpng - libwebp - zlib - ) - if use system-ffmpeg; then - gn_system_libraries+=( ffmpeg opus ) - fi - if use system-icu; then - gn_system_libraries+=( icu ) - fi - if [[ ${CHROMIUM_FORCE_LIBCXX} != yes ]]; then - # unbundle only without libc++, because libc++ is not fully ABI compatible with libstdc++ - gn_system_libraries+=( libxml ) - gn_system_libraries+=( libxslt ) - gn_system_libraries+=( openh264 ) - gn_system_libraries+=( re2 ) - gn_system_libraries+=( snappy ) - fi - build/linux/unbundle/replace_gn_files.py --system-libraries "${gn_system_libraries[@]}" || die - - # See dependency logic in third_party/BUILD.gn - myconf_gn+=" use_system_harfbuzz=true" - - # Disable deprecated libgnome-keyring dependency, bug #713012 - myconf_gn+=" use_gnome_keyring=false" - - # Optional dependencies. - myconf_gn+=" enable_js_type_check=$(usex js-type-check true false)" - myconf_gn+=" enable_hangout_services_extension=$(usex hangouts true false)" - myconf_gn+=" enable_widevine=$(usex widevine true false)" - 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)" - - # TODO: link_pulseaudio=true for GN. - - myconf_gn+=" fieldtrial_testing_like_official_build=true" - - # Never use bundled gold binary. Disable gold linker flags for now. - # Do not use bundled clang. - # Trying to use gold results in linker crash. - myconf_gn+=" use_gold=false use_sysroot=false use_custom_libcxx=false" - - # Disable forced lld, bug 641556 - myconf_gn+=" use_lld=false" - - ffmpeg_branding="$(usex proprietary-codecs Chrome Chromium)" - myconf_gn+=" proprietary_codecs=$(usex proprietary-codecs true false)" - myconf_gn+=" ffmpeg_branding=\"${ffmpeg_branding}\"" - - # 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. - local google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc" - local google_default_client_id="329227923882.apps.googleusercontent.com" - local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu" - myconf_gn+=" google_api_key=\"${google_api_key}\"" - myconf_gn+=" google_default_client_id=\"${google_default_client_id}\"" - myconf_gn+=" google_default_client_secret=\"${google_default_client_secret}\"" - 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 . - if ! use component-build || use x86; then - filter-flags "-g*" - fi - - # Prevent libvpx build failures. Bug 530248, 544702, 546984. - if [[ ${myarch} == amd64 || ${myarch} == x86 ]]; then - filter-flags -mno-mmx -mno-sse2 -mno-ssse3 -mno-sse4.1 -mno-avx -mno-avx2 -mno-fma -mno-fma4 - fi - fi - - if [[ ${CHROMIUM_FORCE_LIBCXX} == yes ]]; then - append-flags -stdlib=libc++ - append-ldflags -stdlib=libc++ - fi - - if [[ $myarch = amd64 ]] ; then - myconf_gn+=" target_cpu=\"x64\"" - ffmpeg_target_arch=x64 - elif [[ $myarch = x86 ]] ; then - myconf_gn+=" target_cpu=\"x86\"" - ffmpeg_target_arch=ia32 - - # This is normally defined by compiler_cpu_abi in - # build/config/compiler/BUILD.gn, but we patch that part out. - append-flags -msse2 -mfpmath=sse -mmmx - elif [[ $myarch = arm64 ]] ; then - myconf_gn+=" target_cpu=\"arm64\"" - ffmpeg_target_arch=arm64 - elif [[ $myarch = arm ]] ; then - myconf_gn+=" target_cpu=\"arm\"" - ffmpeg_target_arch=$(usex cpu_flags_arm_neon arm-neon arm) - elif [[ $myarch = ppc64 ]] ; then - myconf_gn+=" target_cpu=\"ppc64\"" - ffmpeg_target_arch=ppc64 - else - die "Failed to determine target arch, got '$myarch'." - fi - - # Make sure that -Werror doesn't get added to CFLAGS by the build system. - # Depending on GCC version the warnings are different and we don't want - # the build to fail because of that. - myconf_gn+=" treat_warnings_as_errors=false" - - # Disable fatal linker warnings, bug 506268. - myconf_gn+=" fatal_linker_warnings=false" - - # Bug 491582. - export TMPDIR="${WORKDIR}/temp" - mkdir -p -m 755 "${TMPDIR}" || die - - # https://bugs.gentoo.org/654216 - addpredict /dev/dri/ #nowarn - - #if ! use system-ffmpeg; then - if false; then - local build_ffmpeg_args="" - if use pic && [[ "${ffmpeg_target_arch}" == "ia32" ]]; then - build_ffmpeg_args+=" --disable-asm" - fi - - # Re-configure bundled ffmpeg. See bug #491378 for example reasons. - einfo "Configuring bundled ffmpeg..." - pushd third_party/ffmpeg > /dev/null || die - chromium/scripts/build_ffmpeg.py linux ${ffmpeg_target_arch} \ - --branding ${ffmpeg_branding} -- ${build_ffmpeg_args} || die - chromium/scripts/copy_config.sh || die - chromium/scripts/generate_gn.py || die - popd > /dev/null || die - fi - - # Chromium relies on this, but was disabled in >=clang-10, crbug.com/1042470 - append-cxxflags $(test-flags-CXX -flax-vector-conversions=all) - - # Disable unknown warning message from clang. - tc-is-clang && append-flags -Wno-unknown-warning-option - - # Explicitly disable ICU data file support for system-icu builds. - if use system-icu; then - myconf_gn+=" icu_use_data_file=false" - fi - - # Enable ozone wayland and/or headless support - if use wayland || use headless; then - 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_x11=false" - else - myconf_gn+=" ozone_platform_wayland=true" - myconf_gn+=" use_system_libdrm=true" - myconf_gn+=" use_system_minigbm=true" - myconf_gn+=" use_xkbcommon=true" - myconf_gn+=" ozone_platform=\"wayland\"" - fi - else - myconf_gn+=" use_ozone=false" - fi - - # 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 - # Disable CFI: unsupported for GCC, requires clang+lto+lld - myconf_gn+=" is_cfi=false" - # Disable PGO, because profile data is missing in tarball - # (https://groups.google.com/a/chromium.org/g/chromium-packagers/c/2ID9c4j6UkY) - myconf_gn+=" chrome_pgo_phase=0" - fi - - einfo "Configuring Chromium..." - set -- gn gen --args="${myconf_gn} ${EXTRA_GN}" out/Release - echo "$@" - "$@" || die -} - -src_compile() { - # Final link uses lots of file descriptors. - ulimit -n 2048 - - # Calling this here supports resumption via FEATURES=keepwork - python_setup - - # https://bugs.gentoo.org/717456 - local -x PYTHONPATH="${WORKDIR}/setuptools-44.1.0:${PYTHONPATH+:}${PYTHONPATH}" - - #"${EPYTHON}" tools/clang/scripts/update.py --force-local-build --gcc-toolchain /usr --skip-checkout --use-system-cmake --without-android || die - - # Build mksnapshot and pax-mark it. - 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 - - # 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 - use suid && eninja -C out/Release chrome_sandbox - - pax-mark m out/Release/chrome - - # 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 -} - -src_install() { - local CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser" - exeinto "${CHROMIUM_HOME}" - doexe out/Release/chrome - - if use suid; then - newexe out/Release/chrome_sandbox chrome-sandbox - fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox" - fi - - doexe out/Release/chromedriver - - local sedargs=( -e - "s:/usr/lib/:/usr/$(get_libdir)/:g; - s:@@OZONE_AUTO_SESSION@@:$(usex wayland true false):g; - s:@@FORCE_OZONE_PLATFORM@@:$(usex headless true false):g" - ) - sed "${sedargs[@]}" "${FILESDIR}/chromium-launcher-r6.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 - ( - shopt -s nullglob - local files=(out/Release/*.so) - [[ ${#files[@]} -gt 0 ]] && doins "${files[@]}" - ) - - if ! use system-icu; then - doins out/Release/icudtl.dat - fi - - doins -r out/Release/locales - doins -r out/Release/resources - - 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 vaapi; then - elog "VA-API is disabled by default at runtime. Either enable it" - elog "by navigating to chrome://flags/#enable-accelerated-video-decode" - elog "inside Chromium or add --enable-accelerated-video-decode" - elog "to CHROMIUM_FLAGS in /etc/chromium/default." - fi -} diff --git a/www-client/chromium/chromium-89.0.4389.72.ebuild b/www-client/chromium/chromium-89.0.4389.72.ebuild index 6f492e3657c9..124c6bd949ff 100644 --- a/www-client/chromium/chromium-89.0.4389.72.ebuild +++ b/www-client/chromium/chromium-89.0.4389.72.ebuild @@ -21,7 +21,7 @@ SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" IUSE="component-build cups cpu_flags_arm_neon +hangouts headless +js-type-check kerberos official pic +proprietary-codecs pulseaudio screencast selinux +suid +system-ffmpeg +system-icu +tcmalloc vaapi wayland widevine" REQUIRED_USE=" component-build? ( !suid ) diff --git a/www-client/chromium/chromium-89.0.4389.82.ebuild b/www-client/chromium/chromium-89.0.4389.82.ebuild new file mode 100644 index 000000000000..b0fc7ed7d1d9 --- /dev/null +++ b/www-client/chromium/chromium-89.0.4389.82.ebuild @@ -0,0 +1,899 @@ +# Copyright 2009-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" + +CHROMIUM_LANGS="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 vi zh-CN zh-TW" + +inherit check-reqs chromium-2 desktop flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs xdg-utils + +DESCRIPTION="Open-source version of Google Chrome web browser" +HOMEPAGE="https://chromium.org/" +PATCHSET="7" +PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}" +SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz + https://files.pythonhosted.org/packages/ed/7b/bbf89ca71e722b7f9464ebffe4b5ee20a9e5c9a555a56e2d3914bb9119a6/setuptools-44.1.0.zip + https://github.com/stha09/chromium-patches/releases/download/${PATCHSET_NAME}/${PATCHSET_NAME}.tar.xz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="component-build cups cpu_flags_arm_neon +hangouts headless +js-type-check kerberos official pic +proprietary-codecs pulseaudio screencast selinux +suid +system-ffmpeg +system-icu +tcmalloc vaapi wayland widevine" +REQUIRED_USE=" + component-build? ( !suid ) + screencast? ( wayland ) +" + +COMMON_X_DEPEND=" + media-libs/mesa:=[gbm] + x11-libs/libX11:= + x11-libs/libXcomposite:= + x11-libs/libXcursor:= + x11-libs/libXdamage:= + x11-libs/libXext:= + x11-libs/libXfixes:= + >=x11-libs/libXi-1.6.0:= + x11-libs/libXrandr:= + x11-libs/libXrender:= + x11-libs/libXtst:= + x11-libs/libXScrnSaver:= + x11-libs/libxcb:= + vaapi? ( >=x11-libs/libva-2.7:=[X,drm] ) +" + +COMMON_DEPEND=" + app-arch/bzip2:= + cups? ( >=net-print/cups-1.3.11:= ) + dev-libs/expat:= + dev-libs/glib:2 + >=dev-libs/libxml2-2.9.4-r3:=[icu] + dev-libs/nspr:= + >=dev-libs/nss-3.26:= + >=media-libs/alsa-lib-1.0.19:= + media-libs/fontconfig:= + media-libs/freetype:= + >=media-libs/harfbuzz-2.4.0:0=[icu(-)] + media-libs/libjpeg-turbo:= + media-libs/libpng:= + pulseaudio? ( media-sound/pulseaudio:= ) + system-ffmpeg? ( + >=media-video/ffmpeg-4.3:= + || ( + media-video/ffmpeg[-samba] + >=net-fs/samba-4.5.10-r1[-debug(-)] + ) + >=media-libs/opus-1.3.1:= + ) + sys-apps/dbus:= + sys-apps/pciutils:= + virtual/udev + x11-libs/cairo:= + x11-libs/gdk-pixbuf:2 + x11-libs/pango:= + media-libs/flac:= + >=media-libs/libwebp-0.4.0:= + sys-libs/zlib:=[minizip] + kerberos? ( virtual/krb5 ) + !headless? ( + ${COMMON_X_DEPEND} + >=app-accessibility/at-spi2-atk-2.26:2 + >=app-accessibility/at-spi2-core-2.26:2 + >=dev-libs/atk-2.26 + x11-libs/gtk+:3[X] + wayland? ( + dev-libs/wayland:= + dev-libs/libffi:= + screencast? ( media-video/pipewire:0/0.3 ) + x11-libs/gtk+:3[wayland,X] + x11-libs/libdrm:= + x11-libs/libxkbcommon:= + ) + ) +" +# For nvidia-drivers blocker, see bug #413637 . +RDEPEND="${COMMON_DEPEND} + x11-misc/xdg-utils + virtual/opengl + virtual/ttf-fonts + selinux? ( sec-policy/selinux-chromium ) + tcmalloc? ( ! gn leftovers + base/third_party/libevent + third_party/speech-dispatcher + third_party/usb_ids + third_party/xdg-utils + ) + if ! use system-ffmpeg; then + keeplibs+=( third_party/ffmpeg third_party/opus ) + fi + if ! use system-icu; then + keeplibs+=( third_party/icu ) + fi + if use tcmalloc; then + keeplibs+=( third_party/tcmalloc ) + fi + if use wayland && ! use headless ; then + keeplibs+=( third_party/wayland ) + fi + if [[ ${CHROMIUM_FORCE_LIBCXX} == yes ]]; then + keeplibs+=( third_party/libxml ) + keeplibs+=( third_party/libxslt ) + keeplibs+=( third_party/openh264 ) + keeplibs+=( third_party/re2 ) + keeplibs+=( third_party/snappy ) + if use system-icu; then + keeplibs+=( third_party/icu ) + fi + fi + 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 + ./generate_gni.sh || die + popd >/dev/null || die + fi + + # Remove most bundled libraries. Some are still needed. + build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove || die +} + +src_configure() { + # Calling this here supports resumption via FEATURES=keepwork + python_setup + + local myconf_gn="" + + # Make sure the build system will use the right tools, bug #340795. + tc-export AR CC CXX NM + + if [[ ${CHROMIUM_FORCE_CLANG} == yes ]] && ! tc-is-clang; then + # Force clang since gcc is pretty broken at the moment. + CC=${CHOST}-clang + CXX=${CHOST}-clang++ + strip-unsupported-flags + fi + + if tc-is-clang; then + myconf_gn+=" is_clang=true clang_use_chrome_plugins=false" + else + if [[ ${CHROMIUM_FORCE_LIBCXX} == yes ]]; then + die "Compiling with sys-libs/libcxx requires clang." + fi + myconf_gn+=" is_clang=false" + fi + + # Define a custom toolchain for GN + 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\"" + else + myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:default\"" + fi + + # GN needs explicit config for Debug/Release as opposed to inferring it from build directory. + myconf_gn+=" is_debug=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=$(usex component-build true false)" + + myconf_gn+=" use_allocator=$(usex tcmalloc \"tcmalloc\" \"none\")" + + # 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_libsrtp (bug #459932). + # TODO: use_system_protobuf (bug #525560). + # TODO: use_system_ssl (http://crbug.com/58087). + # TODO: use_system_sqlite (http://crbug.com/22208). + + # libevent: https://bugs.gentoo.org/593458 + local gn_system_libraries=( + flac + fontconfig + freetype + # Need harfbuzz_from_pkgconfig target + #harfbuzz-ng + libdrm + libjpeg + libpng + libwebp + zlib + ) + if use system-ffmpeg; then + gn_system_libraries+=( ffmpeg opus ) + fi + if use system-icu; then + gn_system_libraries+=( icu ) + fi + if [[ ${CHROMIUM_FORCE_LIBCXX} != yes ]]; then + # unbundle only without libc++, because libc++ is not fully ABI compatible with libstdc++ + gn_system_libraries+=( libxml ) + gn_system_libraries+=( libxslt ) + gn_system_libraries+=( openh264 ) + gn_system_libraries+=( re2 ) + gn_system_libraries+=( snappy ) + fi + build/linux/unbundle/replace_gn_files.py --system-libraries "${gn_system_libraries[@]}" || die + + # See dependency logic in third_party/BUILD.gn + myconf_gn+=" use_system_harfbuzz=true" + + # Disable deprecated libgnome-keyring dependency, bug #713012 + myconf_gn+=" use_gnome_keyring=false" + + # Optional dependencies. + myconf_gn+=" enable_js_type_check=$(usex js-type-check true false)" + myconf_gn+=" enable_hangout_services_extension=$(usex hangouts true false)" + myconf_gn+=" enable_widevine=$(usex widevine true false)" + 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) rtc_pipewire_version=\"0.3\"" + + # TODO: link_pulseaudio=true for GN. + + myconf_gn+=" fieldtrial_testing_like_official_build=true" + + # Never use bundled gold binary. Disable gold linker flags for now. + # Do not use bundled clang. + # Trying to use gold results in linker crash. + myconf_gn+=" use_gold=false use_sysroot=false use_custom_libcxx=false" + + # Disable forced lld, bug 641556 + myconf_gn+=" use_lld=false" + + ffmpeg_branding="$(usex proprietary-codecs Chrome Chromium)" + myconf_gn+=" proprietary_codecs=$(usex proprietary-codecs true false)" + myconf_gn+=" ffmpeg_branding=\"${ffmpeg_branding}\"" + + # 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. Disable Client ID and secrets as requested by + # Google. Feel free to contact chromium@gentoo.org for more info. + local google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc" +# local google_default_client_id="329227923882.apps.googleusercontent.com" +# local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu" + myconf_gn+=" google_api_key=\"${google_api_key}\"" +# myconf_gn+=" google_default_client_id=\"${google_default_client_id}\"" +# myconf_gn+=" google_default_client_secret=\"${google_default_client_secret}\"" + 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 . + if ! use component-build || use x86; then + filter-flags "-g*" + fi + + # Prevent libvpx build failures. Bug 530248, 544702, 546984. + if [[ ${myarch} == amd64 || ${myarch} == x86 ]]; then + filter-flags -mno-mmx -mno-sse2 -mno-ssse3 -mno-sse4.1 -mno-avx -mno-avx2 -mno-fma -mno-fma4 + fi + fi + + if [[ ${CHROMIUM_FORCE_LIBCXX} == yes ]]; then + append-flags -stdlib=libc++ + append-ldflags -stdlib=libc++ + fi + + if [[ $myarch = amd64 ]] ; then + myconf_gn+=" target_cpu=\"x64\"" + ffmpeg_target_arch=x64 + elif [[ $myarch = x86 ]] ; then + myconf_gn+=" target_cpu=\"x86\"" + ffmpeg_target_arch=ia32 + + # This is normally defined by compiler_cpu_abi in + # build/config/compiler/BUILD.gn, but we patch that part out. + append-flags -msse2 -mfpmath=sse -mmmx + elif [[ $myarch = arm64 ]] ; then + myconf_gn+=" target_cpu=\"arm64\"" + ffmpeg_target_arch=arm64 + elif [[ $myarch = arm ]] ; then + myconf_gn+=" target_cpu=\"arm\"" + ffmpeg_target_arch=$(usex cpu_flags_arm_neon arm-neon arm) + elif [[ $myarch = ppc64 ]] ; then + myconf_gn+=" target_cpu=\"ppc64\"" + ffmpeg_target_arch=ppc64 + else + die "Failed to determine target arch, got '$myarch'." + fi + + # Make sure that -Werror doesn't get added to CFLAGS by the build system. + # Depending on GCC version the warnings are different and we don't want + # the build to fail because of that. + myconf_gn+=" treat_warnings_as_errors=false" + + # Disable fatal linker warnings, bug 506268. + myconf_gn+=" fatal_linker_warnings=false" + + # Bug 491582. + export TMPDIR="${WORKDIR}/temp" + mkdir -p -m 755 "${TMPDIR}" || die + + # https://bugs.gentoo.org/654216 + addpredict /dev/dri/ #nowarn + + #if ! use system-ffmpeg; then + if false; then + local build_ffmpeg_args="" + if use pic && [[ "${ffmpeg_target_arch}" == "ia32" ]]; then + build_ffmpeg_args+=" --disable-asm" + fi + + # Re-configure bundled ffmpeg. See bug #491378 for example reasons. + einfo "Configuring bundled ffmpeg..." + pushd third_party/ffmpeg > /dev/null || die + chromium/scripts/build_ffmpeg.py linux ${ffmpeg_target_arch} \ + --branding ${ffmpeg_branding} -- ${build_ffmpeg_args} || die + chromium/scripts/copy_config.sh || die + chromium/scripts/generate_gn.py || die + popd > /dev/null || die + fi + + # Chromium relies on this, but was disabled in >=clang-10, crbug.com/1042470 + append-cxxflags $(test-flags-CXX -flax-vector-conversions=all) + + # Disable unknown warning message from clang. + tc-is-clang && append-flags -Wno-unknown-warning-option + + # Explicitly disable ICU data file support for system-icu builds. + if use system-icu; then + myconf_gn+=" icu_use_data_file=false" + fi + + # Enable ozone wayland and/or headless support + if use wayland || use headless; then + 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_x11=false" + else + myconf_gn+=" ozone_platform_wayland=true" + myconf_gn+=" use_system_libdrm=true" + myconf_gn+=" use_system_minigbm=true" + myconf_gn+=" use_xkbcommon=true" + myconf_gn+=" ozone_platform=\"wayland\"" + fi + else + myconf_gn+=" use_ozone=false" + fi + + # 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 + # Disable CFI: unsupported for GCC, requires clang+lto+lld + myconf_gn+=" is_cfi=false" + # Disable PGO, because profile data is only compatible with >=clang-11 + myconf_gn+=" chrome_pgo_phase=0" + fi + + einfo "Configuring Chromium..." + set -- gn gen --args="${myconf_gn} ${EXTRA_GN}" out/Release + echo "$@" + "$@" || die +} + +src_compile() { + # Final link uses lots of file descriptors. + ulimit -n 2048 + + # Calling this here supports resumption via FEATURES=keepwork + python_setup + + # https://bugs.gentoo.org/717456 + local -x PYTHONPATH="${WORKDIR}/setuptools-44.1.0:${PYTHONPATH+:}${PYTHONPATH}" + + #"${EPYTHON}" tools/clang/scripts/update.py --force-local-build --gcc-toolchain /usr --skip-checkout --use-system-cmake --without-android || die + + # Build mksnapshot and pax-mark it. + 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 + + # 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 + use suid && eninja -C out/Release chrome_sandbox + + pax-mark m out/Release/chrome + + # 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 +} + +src_install() { + local CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser" + exeinto "${CHROMIUM_HOME}" + doexe out/Release/chrome + + if use suid; then + newexe out/Release/chrome_sandbox chrome-sandbox + fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox" + fi + + doexe out/Release/chromedriver + + local sedargs=( -e + "s:/usr/lib/:/usr/$(get_libdir)/:g; + s:@@OZONE_AUTO_SESSION@@:$(usex wayland true false):g; + s:@@FORCE_OZONE_PLATFORM@@:$(usex headless true false):g" + ) + sed "${sedargs[@]}" "${FILESDIR}/chromium-launcher-r6.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 + ( + shopt -s nullglob + local files=(out/Release/*.so out/Release/*.so.[0-9]) + [[ ${#files[@]} -gt 0 ]] && doins "${files[@]}" + ) + + if ! use system-icu; then + doins out/Release/icudtl.dat + fi + + doins -r out/Release/locales + doins -r out/Release/resources + + 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 vaapi; then + elog "VA-API is disabled by default at runtime. Either enable it" + elog "by navigating to chrome://flags/#enable-accelerated-video-decode" + elog "inside Chromium or add --enable-accelerated-video-decode" + elog "to CHROMIUM_FLAGS 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-webrtc-pipewire-capturer" + elog "to CHROMIUM_FLAGS in /etc/chromium/default." + fi +} diff --git a/www-client/chromium/chromium-90.0.4427.5.ebuild b/www-client/chromium/chromium-90.0.4427.5.ebuild deleted file mode 100644 index 35a1e6b929be..000000000000 --- a/www-client/chromium/chromium-90.0.4427.5.ebuild +++ /dev/null @@ -1,905 +0,0 @@ -# Copyright 2009-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="xml" - -CHROMIUM_LANGS="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 vi zh-CN zh-TW" - -inherit check-reqs chromium-2 desktop flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs xdg-utils - -DESCRIPTION="Open-source version of Google Chrome web browser" -HOMEPAGE="https://chromium.org/" -PATCHSET="5" -PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}" -SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz - https://files.pythonhosted.org/packages/ed/7b/bbf89ca71e722b7f9464ebffe4b5ee20a9e5c9a555a56e2d3914bb9119a6/setuptools-44.1.0.zip - https://github.com/stha09/chromium-patches/releases/download/${PATCHSET_NAME}/${PATCHSET_NAME}.tar.xz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="component-build cups cpu_flags_arm_neon +hangouts headless +js-type-check kerberos official pic +proprietary-codecs pulseaudio screencast selinux +suid +system-ffmpeg +system-icu +tcmalloc vaapi wayland widevine" -REQUIRED_USE=" - component-build? ( !suid ) - screencast? ( wayland ) -" - -COMMON_X_DEPEND=" - media-libs/mesa:=[gbm] - x11-libs/libX11:= - x11-libs/libXcomposite:= - x11-libs/libXcursor:= - x11-libs/libXdamage:= - x11-libs/libXext:= - x11-libs/libXfixes:= - >=x11-libs/libXi-1.6.0:= - x11-libs/libXrandr:= - x11-libs/libXrender:= - x11-libs/libXtst:= - x11-libs/libXScrnSaver:= - x11-libs/libxcb:= - vaapi? ( >=x11-libs/libva-2.7:=[X,drm] ) -" - -COMMON_DEPEND=" - app-arch/bzip2:= - cups? ( >=net-print/cups-1.3.11:= ) - dev-libs/expat:= - dev-libs/glib:2 - >=dev-libs/libxml2-2.9.4-r3:=[icu] - dev-libs/nspr:= - >=dev-libs/nss-3.26:= - >=media-libs/alsa-lib-1.0.19:= - media-libs/fontconfig:= - media-libs/freetype:= - >=media-libs/harfbuzz-2.4.0:0=[icu(-)] - media-libs/libjpeg-turbo:= - media-libs/libpng:= - pulseaudio? ( media-sound/pulseaudio:= ) - system-ffmpeg? ( - >=media-video/ffmpeg-4.3:= - || ( - media-video/ffmpeg[-samba] - >=net-fs/samba-4.5.10-r1[-debug(-)] - ) - >=media-libs/opus-1.3.1:= - ) - sys-apps/dbus:= - sys-apps/pciutils:= - virtual/udev - x11-libs/cairo:= - x11-libs/gdk-pixbuf:2 - x11-libs/pango:= - media-libs/flac:= - >=media-libs/libwebp-0.4.0:= - sys-libs/zlib:=[minizip] - kerberos? ( virtual/krb5 ) - !headless? ( - ${COMMON_X_DEPEND} - >=app-accessibility/at-spi2-atk-2.26:2 - >=app-accessibility/at-spi2-core-2.26:2 - >=dev-libs/atk-2.26 - x11-libs/gtk+:3[X] - wayland? ( - dev-libs/wayland:= - dev-libs/libffi:= - screencast? ( media-video/pipewire:0/0.3 ) - x11-libs/gtk+:3[wayland,X] - x11-libs/libdrm:= - x11-libs/libxkbcommon:= - ) - ) -" -# For nvidia-drivers blocker, see bug #413637 . -RDEPEND="${COMMON_DEPEND} - x11-misc/xdg-utils - virtual/opengl - virtual/ttf-fonts - selinux? ( sec-policy/selinux-chromium ) - tcmalloc? ( ! gn leftovers - base/third_party/libevent - third_party/speech-dispatcher - third_party/usb_ids - third_party/xdg-utils - ) - if ! use system-ffmpeg; then - keeplibs+=( third_party/ffmpeg third_party/opus ) - fi - if ! use system-icu; then - keeplibs+=( third_party/icu ) - fi - if use tcmalloc; then - keeplibs+=( third_party/tcmalloc ) - fi - if use wayland && ! use headless ; then - keeplibs+=( third_party/wayland ) - fi - if [[ ${CHROMIUM_FORCE_LIBCXX} == yes ]]; then - keeplibs+=( third_party/libxml ) - keeplibs+=( third_party/libxslt ) - keeplibs+=( third_party/openh264 ) - keeplibs+=( third_party/re2 ) - keeplibs+=( third_party/snappy ) - if use system-icu; then - keeplibs+=( third_party/icu ) - fi - fi - 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 - ./generate_gni.sh || die - popd >/dev/null || die - fi - - # Remove most bundled libraries. Some are still needed. - build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove || die -} - -src_configure() { - # Calling this here supports resumption via FEATURES=keepwork - python_setup - - local myconf_gn="" - - # Make sure the build system will use the right tools, bug #340795. - tc-export AR CC CXX NM - - if [[ ${CHROMIUM_FORCE_CLANG} == yes ]] && ! tc-is-clang; then - # Force clang since gcc is pretty broken at the moment. - CC=${CHOST}-clang - CXX=${CHOST}-clang++ - strip-unsupported-flags - fi - - if tc-is-clang; then - myconf_gn+=" is_clang=true clang_use_chrome_plugins=false" - else - if [[ ${CHROMIUM_FORCE_LIBCXX} == yes ]]; then - die "Compiling with sys-libs/libcxx requires clang." - fi - myconf_gn+=" is_clang=false" - fi - - # Define a custom toolchain for GN - 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\"" - else - myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:default\"" - fi - - # GN needs explicit config for Debug/Release as opposed to inferring it from build directory. - myconf_gn+=" is_debug=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=$(usex component-build true false)" - - myconf_gn+=" use_allocator=$(usex tcmalloc \"tcmalloc\" \"none\")" - - # 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_libsrtp (bug #459932). - # TODO: use_system_protobuf (bug #525560). - # TODO: use_system_ssl (http://crbug.com/58087). - # TODO: use_system_sqlite (http://crbug.com/22208). - - # libevent: https://bugs.gentoo.org/593458 - local gn_system_libraries=( - flac - fontconfig - freetype - # Need harfbuzz_from_pkgconfig target - #harfbuzz-ng - libdrm - libjpeg - libpng - libwebp - zlib - ) - if use system-ffmpeg; then - gn_system_libraries+=( ffmpeg opus ) - fi - if use system-icu; then - gn_system_libraries+=( icu ) - fi - if [[ ${CHROMIUM_FORCE_LIBCXX} != yes ]]; then - # unbundle only without libc++, because libc++ is not fully ABI compatible with libstdc++ - gn_system_libraries+=( libxml ) - gn_system_libraries+=( libxslt ) - gn_system_libraries+=( openh264 ) - gn_system_libraries+=( re2 ) - gn_system_libraries+=( snappy ) - fi - build/linux/unbundle/replace_gn_files.py --system-libraries "${gn_system_libraries[@]}" || die - - # See dependency logic in third_party/BUILD.gn - myconf_gn+=" use_system_harfbuzz=true" - - # Disable deprecated libgnome-keyring dependency, bug #713012 - myconf_gn+=" use_gnome_keyring=false" - - # Optional dependencies. - myconf_gn+=" enable_js_type_check=$(usex js-type-check true false)" - myconf_gn+=" enable_hangout_services_extension=$(usex hangouts true false)" - myconf_gn+=" enable_widevine=$(usex widevine true false)" - 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) rtc_pipewire_version=\"0.3\"" - - # TODO: link_pulseaudio=true for GN. - - myconf_gn+=" fieldtrial_testing_like_official_build=true" - - # Never use bundled gold binary. Disable gold linker flags for now. - # Do not use bundled clang. - # Trying to use gold results in linker crash. - myconf_gn+=" use_gold=false use_sysroot=false use_custom_libcxx=false" - - # Disable forced lld, bug 641556 - myconf_gn+=" use_lld=false" - - ffmpeg_branding="$(usex proprietary-codecs Chrome Chromium)" - myconf_gn+=" proprietary_codecs=$(usex proprietary-codecs true false)" - myconf_gn+=" ffmpeg_branding=\"${ffmpeg_branding}\"" - - # 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. - local google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc" - local google_default_client_id="329227923882.apps.googleusercontent.com" - local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu" - myconf_gn+=" google_api_key=\"${google_api_key}\"" - myconf_gn+=" google_default_client_id=\"${google_default_client_id}\"" - myconf_gn+=" google_default_client_secret=\"${google_default_client_secret}\"" - 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 . - if ! use component-build || use x86; then - filter-flags "-g*" - fi - - # Prevent libvpx build failures. Bug 530248, 544702, 546984. - if [[ ${myarch} == amd64 || ${myarch} == x86 ]]; then - filter-flags -mno-mmx -mno-sse2 -mno-ssse3 -mno-sse4.1 -mno-avx -mno-avx2 -mno-fma -mno-fma4 - fi - fi - - if [[ ${CHROMIUM_FORCE_LIBCXX} == yes ]]; then - append-flags -stdlib=libc++ - append-ldflags -stdlib=libc++ - fi - - if [[ $myarch = amd64 ]] ; then - myconf_gn+=" target_cpu=\"x64\"" - ffmpeg_target_arch=x64 - elif [[ $myarch = x86 ]] ; then - myconf_gn+=" target_cpu=\"x86\"" - ffmpeg_target_arch=ia32 - - # This is normally defined by compiler_cpu_abi in - # build/config/compiler/BUILD.gn, but we patch that part out. - append-flags -msse2 -mfpmath=sse -mmmx - elif [[ $myarch = arm64 ]] ; then - myconf_gn+=" target_cpu=\"arm64\"" - ffmpeg_target_arch=arm64 - elif [[ $myarch = arm ]] ; then - myconf_gn+=" target_cpu=\"arm\"" - ffmpeg_target_arch=$(usex cpu_flags_arm_neon arm-neon arm) - elif [[ $myarch = ppc64 ]] ; then - myconf_gn+=" target_cpu=\"ppc64\"" - ffmpeg_target_arch=ppc64 - else - die "Failed to determine target arch, got '$myarch'." - fi - - # Make sure that -Werror doesn't get added to CFLAGS by the build system. - # Depending on GCC version the warnings are different and we don't want - # the build to fail because of that. - myconf_gn+=" treat_warnings_as_errors=false" - - # Disable fatal linker warnings, bug 506268. - myconf_gn+=" fatal_linker_warnings=false" - - # Bug 491582. - export TMPDIR="${WORKDIR}/temp" - mkdir -p -m 755 "${TMPDIR}" || die - - # https://bugs.gentoo.org/654216 - addpredict /dev/dri/ #nowarn - - #if ! use system-ffmpeg; then - if false; then - local build_ffmpeg_args="" - if use pic && [[ "${ffmpeg_target_arch}" == "ia32" ]]; then - build_ffmpeg_args+=" --disable-asm" - fi - - # Re-configure bundled ffmpeg. See bug #491378 for example reasons. - einfo "Configuring bundled ffmpeg..." - pushd third_party/ffmpeg > /dev/null || die - chromium/scripts/build_ffmpeg.py linux ${ffmpeg_target_arch} \ - --branding ${ffmpeg_branding} -- ${build_ffmpeg_args} || die - chromium/scripts/copy_config.sh || die - chromium/scripts/generate_gn.py || die - popd > /dev/null || die - fi - - # Chromium relies on this, but was disabled in >=clang-10, crbug.com/1042470 - append-cxxflags $(test-flags-CXX -flax-vector-conversions=all) - - # Disable unknown warning message from clang. - tc-is-clang && append-flags -Wno-unknown-warning-option - - # Explicitly disable ICU data file support for system-icu builds. - if use system-icu; then - myconf_gn+=" icu_use_data_file=false" - fi - - # Enable ozone wayland and/or headless support - if use wayland || use headless; then - 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_x11=false" - else - myconf_gn+=" ozone_platform_wayland=true" - myconf_gn+=" use_system_libdrm=true" - myconf_gn+=" use_system_minigbm=true" - myconf_gn+=" use_xkbcommon=true" - myconf_gn+=" ozone_platform=\"wayland\"" - fi - else - myconf_gn+=" use_ozone=false" - fi - - # 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 - # Disable CFI: unsupported for GCC, requires clang+lto+lld - myconf_gn+=" is_cfi=false" - # Disable PGO, because profile data is only compatible with >=clang-11 - myconf_gn+=" chrome_pgo_phase=0" - fi - - # Disable building Tensorflow library cause tarball is incomplete - myconf_gn+=" build_with_tflite_lib=false" - - einfo "Configuring Chromium..." - set -- gn gen --args="${myconf_gn} ${EXTRA_GN}" out/Release - echo "$@" - "$@" || die -} - -src_compile() { - # Final link uses lots of file descriptors. - ulimit -n 2048 - - # Calling this here supports resumption via FEATURES=keepwork - python_setup - - # https://bugs.gentoo.org/717456 - local -x PYTHONPATH="${WORKDIR}/setuptools-44.1.0:${PYTHONPATH+:}${PYTHONPATH}" - - #"${EPYTHON}" tools/clang/scripts/update.py --force-local-build --gcc-toolchain /usr --skip-checkout --use-system-cmake --without-android || die - - # Build mksnapshot and pax-mark it. - 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 - - # 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 - use suid && eninja -C out/Release chrome_sandbox - - pax-mark m out/Release/chrome - - # 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 -} - -src_install() { - local CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser" - exeinto "${CHROMIUM_HOME}" - doexe out/Release/chrome - - if use suid; then - newexe out/Release/chrome_sandbox chrome-sandbox - fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox" - fi - - doexe out/Release/chromedriver - - local sedargs=( -e - "s:/usr/lib/:/usr/$(get_libdir)/:g; - s:@@OZONE_AUTO_SESSION@@:$(usex wayland true false):g; - s:@@FORCE_OZONE_PLATFORM@@:$(usex headless true false):g" - ) - sed "${sedargs[@]}" "${FILESDIR}/chromium-launcher-r6.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 - ( - shopt -s nullglob - local files=(out/Release/*.so out/Release/*.so.[0-9]) - [[ ${#files[@]} -gt 0 ]] && doins "${files[@]}" - ) - - if ! use system-icu; then - doins out/Release/icudtl.dat - fi - - doins -r out/Release/locales - doins -r out/Release/resources - - 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 vaapi; then - elog "VA-API is disabled by default at runtime. Either enable it" - elog "by navigating to chrome://flags/#enable-accelerated-video-decode" - elog "inside Chromium or add --enable-accelerated-video-decode" - elog "to CHROMIUM_FLAGS 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-webrtc-pipewire-capturer" - elog "to CHROMIUM_FLAGS in /etc/chromium/default." - fi -} diff --git a/www-client/chromium/chromium-90.0.4430.11.ebuild b/www-client/chromium/chromium-90.0.4430.11.ebuild new file mode 100644 index 000000000000..cfbb5d1d5c3f --- /dev/null +++ b/www-client/chromium/chromium-90.0.4430.11.ebuild @@ -0,0 +1,915 @@ +# Copyright 2009-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" + +CHROMIUM_LANGS="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 vi zh-CN zh-TW" + +inherit check-reqs chromium-2 desktop flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs xdg-utils + +DESCRIPTION="Open-source version of Google Chrome web browser" +HOMEPAGE="https://chromium.org/" +PATCHSET="6" +PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}" +SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz + https://files.pythonhosted.org/packages/ed/7b/bbf89ca71e722b7f9464ebffe4b5ee20a9e5c9a555a56e2d3914bb9119a6/setuptools-44.1.0.zip + https://github.com/stha09/chromium-patches/releases/download/${PATCHSET_NAME}/${PATCHSET_NAME}.tar.xz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="component-build cups cpu_flags_arm_neon +hangouts headless +js-type-check kerberos official pic +proprietary-codecs pulseaudio screencast selinux +suid +system-ffmpeg +system-icu +tcmalloc vaapi wayland widevine" +REQUIRED_USE=" + component-build? ( !suid ) + screencast? ( wayland ) +" + +COMMON_X_DEPEND=" + media-libs/mesa:=[gbm] + x11-libs/libX11:= + x11-libs/libXcomposite:= + x11-libs/libXcursor:= + x11-libs/libXdamage:= + x11-libs/libXext:= + x11-libs/libXfixes:= + >=x11-libs/libXi-1.6.0:= + x11-libs/libXrandr:= + x11-libs/libXrender:= + x11-libs/libXtst:= + x11-libs/libXScrnSaver:= + x11-libs/libxcb:= + vaapi? ( >=x11-libs/libva-2.7:=[X,drm] ) +" + +COMMON_DEPEND=" + app-arch/bzip2:= + cups? ( >=net-print/cups-1.3.11:= ) + dev-libs/expat:= + dev-libs/glib:2 + >=dev-libs/libxml2-2.9.4-r3:=[icu] + dev-libs/nspr:= + >=dev-libs/nss-3.26:= + >=media-libs/alsa-lib-1.0.19:= + media-libs/fontconfig:= + media-libs/freetype:= + >=media-libs/harfbuzz-2.4.0:0=[icu(-)] + media-libs/libjpeg-turbo:= + media-libs/libpng:= + pulseaudio? ( media-sound/pulseaudio:= ) + system-ffmpeg? ( + >=media-video/ffmpeg-4.3:= + || ( + media-video/ffmpeg[-samba] + >=net-fs/samba-4.5.10-r1[-debug(-)] + ) + >=media-libs/opus-1.3.1:= + ) + sys-apps/dbus:= + sys-apps/pciutils:= + virtual/udev + x11-libs/cairo:= + x11-libs/gdk-pixbuf:2 + x11-libs/pango:= + media-libs/flac:= + >=media-libs/libwebp-0.4.0:= + sys-libs/zlib:=[minizip] + kerberos? ( virtual/krb5 ) + !headless? ( + ${COMMON_X_DEPEND} + >=app-accessibility/at-spi2-atk-2.26:2 + >=app-accessibility/at-spi2-core-2.26:2 + >=dev-libs/atk-2.26 + x11-libs/gtk+:3[X] + wayland? ( + dev-libs/wayland:= + dev-libs/libffi:= + screencast? ( media-video/pipewire:0/0.3 ) + x11-libs/gtk+:3[wayland,X] + x11-libs/libdrm:= + x11-libs/libxkbcommon:= + ) + ) +" +# For nvidia-drivers blocker, see bug #413637 . +RDEPEND="${COMMON_DEPEND} + x11-misc/xdg-utils + virtual/opengl + virtual/ttf-fonts + selinux? ( sec-policy/selinux-chromium ) + tcmalloc? ( ! gn leftovers + base/third_party/libevent + third_party/speech-dispatcher + third_party/usb_ids + third_party/xdg-utils + ) + if ! use system-ffmpeg; then + keeplibs+=( third_party/ffmpeg third_party/opus ) + fi + if ! use system-icu; then + keeplibs+=( third_party/icu ) + fi + if use tcmalloc; then + keeplibs+=( third_party/tcmalloc ) + fi + if use wayland && ! use headless ; then + keeplibs+=( third_party/wayland ) + fi + if [[ ${CHROMIUM_FORCE_LIBCXX} == yes ]]; then + keeplibs+=( third_party/libxml ) + keeplibs+=( third_party/libxslt ) + keeplibs+=( third_party/openh264 ) + keeplibs+=( third_party/re2 ) + keeplibs+=( third_party/snappy ) + if use system-icu; then + keeplibs+=( third_party/icu ) + fi + fi + 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 + ./generate_gni.sh || die + popd >/dev/null || die + fi + + # Remove most bundled libraries. Some are still needed. + build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove || die +} + +src_configure() { + # Calling this here supports resumption via FEATURES=keepwork + python_setup + + local myconf_gn="" + + # Make sure the build system will use the right tools, bug #340795. + tc-export AR CC CXX NM + + if [[ ${CHROMIUM_FORCE_CLANG} == yes ]] && ! tc-is-clang; then + # Force clang since gcc is pretty broken at the moment. + CC=${CHOST}-clang + CXX=${CHOST}-clang++ + strip-unsupported-flags + fi + + if tc-is-clang; then + myconf_gn+=" is_clang=true clang_use_chrome_plugins=false" + else + if [[ ${CHROMIUM_FORCE_LIBCXX} == yes ]]; then + die "Compiling with sys-libs/libcxx requires clang." + fi + myconf_gn+=" is_clang=false" + fi + + # Define a custom toolchain for GN + 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\"" + else + myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:default\"" + fi + + # GN needs explicit config for Debug/Release as opposed to inferring it from build directory. + myconf_gn+=" is_debug=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=$(usex component-build true false)" + + myconf_gn+=" use_allocator=$(usex tcmalloc \"tcmalloc\" \"none\")" + + # 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_libsrtp (bug #459932). + # TODO: use_system_protobuf (bug #525560). + # TODO: use_system_ssl (http://crbug.com/58087). + # TODO: use_system_sqlite (http://crbug.com/22208). + + # libevent: https://bugs.gentoo.org/593458 + local gn_system_libraries=( + flac + fontconfig + freetype + # Need harfbuzz_from_pkgconfig target + #harfbuzz-ng + libdrm + libjpeg + libpng + libwebp + zlib + ) + if use system-ffmpeg; then + gn_system_libraries+=( ffmpeg opus ) + fi + if use system-icu; then + gn_system_libraries+=( icu ) + fi + if [[ ${CHROMIUM_FORCE_LIBCXX} != yes ]]; then + # unbundle only without libc++, because libc++ is not fully ABI compatible with libstdc++ + gn_system_libraries+=( libxml ) + gn_system_libraries+=( libxslt ) + gn_system_libraries+=( openh264 ) + gn_system_libraries+=( re2 ) + gn_system_libraries+=( snappy ) + fi + build/linux/unbundle/replace_gn_files.py --system-libraries "${gn_system_libraries[@]}" || die + + # See dependency logic in third_party/BUILD.gn + myconf_gn+=" use_system_harfbuzz=true" + + # Disable deprecated libgnome-keyring dependency, bug #713012 + myconf_gn+=" use_gnome_keyring=false" + + # Optional dependencies. + myconf_gn+=" enable_js_type_check=$(usex js-type-check true false)" + myconf_gn+=" enable_hangout_services_extension=$(usex hangouts true false)" + myconf_gn+=" enable_widevine=$(usex widevine true false)" + 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) rtc_pipewire_version=\"0.3\"" + + # TODO: link_pulseaudio=true for GN. + + myconf_gn+=" fieldtrial_testing_like_official_build=true" + + # Never use bundled gold binary. Disable gold linker flags for now. + # Do not use bundled clang. + # Trying to use gold results in linker crash. + myconf_gn+=" use_gold=false use_sysroot=false use_custom_libcxx=false" + + # Disable forced lld, bug 641556 + myconf_gn+=" use_lld=false" + + ffmpeg_branding="$(usex proprietary-codecs Chrome Chromium)" + myconf_gn+=" proprietary_codecs=$(usex proprietary-codecs true false)" + myconf_gn+=" ffmpeg_branding=\"${ffmpeg_branding}\"" + + # 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. + local google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc" + local google_default_client_id="329227923882.apps.googleusercontent.com" + local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu" + myconf_gn+=" google_api_key=\"${google_api_key}\"" + myconf_gn+=" google_default_client_id=\"${google_default_client_id}\"" + myconf_gn+=" google_default_client_secret=\"${google_default_client_secret}\"" + 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 . + if ! use component-build || use x86; then + filter-flags "-g*" + fi + + # Prevent libvpx build failures. Bug 530248, 544702, 546984. + if [[ ${myarch} == amd64 || ${myarch} == x86 ]]; then + filter-flags -mno-mmx -mno-sse2 -mno-ssse3 -mno-sse4.1 -mno-avx -mno-avx2 -mno-fma -mno-fma4 + fi + fi + + if [[ ${CHROMIUM_FORCE_LIBCXX} == yes ]]; then + append-flags -stdlib=libc++ + append-ldflags -stdlib=libc++ + fi + + if [[ $myarch = amd64 ]] ; then + myconf_gn+=" target_cpu=\"x64\"" + ffmpeg_target_arch=x64 + elif [[ $myarch = x86 ]] ; then + myconf_gn+=" target_cpu=\"x86\"" + ffmpeg_target_arch=ia32 + + # This is normally defined by compiler_cpu_abi in + # build/config/compiler/BUILD.gn, but we patch that part out. + append-flags -msse2 -mfpmath=sse -mmmx + elif [[ $myarch = arm64 ]] ; then + myconf_gn+=" target_cpu=\"arm64\"" + ffmpeg_target_arch=arm64 + elif [[ $myarch = arm ]] ; then + myconf_gn+=" target_cpu=\"arm\"" + ffmpeg_target_arch=$(usex cpu_flags_arm_neon arm-neon arm) + elif [[ $myarch = ppc64 ]] ; then + myconf_gn+=" target_cpu=\"ppc64\"" + ffmpeg_target_arch=ppc64 + else + die "Failed to determine target arch, got '$myarch'." + fi + + # Make sure that -Werror doesn't get added to CFLAGS by the build system. + # Depending on GCC version the warnings are different and we don't want + # the build to fail because of that. + myconf_gn+=" treat_warnings_as_errors=false" + + # Disable fatal linker warnings, bug 506268. + myconf_gn+=" fatal_linker_warnings=false" + + # Bug 491582. + export TMPDIR="${WORKDIR}/temp" + mkdir -p -m 755 "${TMPDIR}" || die + + # https://bugs.gentoo.org/654216 + addpredict /dev/dri/ #nowarn + + #if ! use system-ffmpeg; then + if false; then + local build_ffmpeg_args="" + if use pic && [[ "${ffmpeg_target_arch}" == "ia32" ]]; then + build_ffmpeg_args+=" --disable-asm" + fi + + # Re-configure bundled ffmpeg. See bug #491378 for example reasons. + einfo "Configuring bundled ffmpeg..." + pushd third_party/ffmpeg > /dev/null || die + chromium/scripts/build_ffmpeg.py linux ${ffmpeg_target_arch} \ + --branding ${ffmpeg_branding} -- ${build_ffmpeg_args} || die + chromium/scripts/copy_config.sh || die + chromium/scripts/generate_gn.py || die + popd > /dev/null || die + fi + + # Chromium relies on this, but was disabled in >=clang-10, crbug.com/1042470 + append-cxxflags $(test-flags-CXX -flax-vector-conversions=all) + + # Disable unknown warning message from clang. + tc-is-clang && append-flags -Wno-unknown-warning-option + + # Explicitly disable ICU data file support for system-icu builds. + if use system-icu; then + myconf_gn+=" icu_use_data_file=false" + fi + + # Enable ozone wayland and/or headless support + if use wayland || use headless; then + 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_x11=false" + else + myconf_gn+=" ozone_platform_wayland=true" + myconf_gn+=" use_system_libdrm=true" + myconf_gn+=" use_system_minigbm=true" + myconf_gn+=" use_xkbcommon=true" + myconf_gn+=" ozone_platform=\"wayland\"" + fi + else + myconf_gn+=" use_ozone=false" + fi + + # 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 + # Disable CFI: unsupported for GCC, requires clang+lto+lld + myconf_gn+=" is_cfi=false" + # Disable PGO, because profile data is only compatible with >=clang-11 + myconf_gn+=" chrome_pgo_phase=0" + fi + + einfo "Configuring Chromium..." + set -- gn gen --args="${myconf_gn} ${EXTRA_GN}" out/Release + echo "$@" + "$@" || die +} + +src_compile() { + # Final link uses lots of file descriptors. + ulimit -n 2048 + + # Calling this here supports resumption via FEATURES=keepwork + python_setup + + # https://bugs.gentoo.org/717456 + local -x PYTHONPATH="${WORKDIR}/setuptools-44.1.0:${PYTHONPATH+:}${PYTHONPATH}" + + #"${EPYTHON}" tools/clang/scripts/update.py --force-local-build --gcc-toolchain /usr --skip-checkout --use-system-cmake --without-android || die + + # Build mksnapshot and pax-mark it. + 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 + + # 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 + use suid && eninja -C out/Release chrome_sandbox + + pax-mark m out/Release/chrome + + # 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 +} + +src_install() { + local CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser" + exeinto "${CHROMIUM_HOME}" + doexe out/Release/chrome + + if use suid; then + newexe out/Release/chrome_sandbox chrome-sandbox + fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox" + fi + + doexe out/Release/chromedriver + + local sedargs=( -e + "s:/usr/lib/:/usr/$(get_libdir)/:g; + s:@@OZONE_AUTO_SESSION@@:$(usex wayland true false):g; + s:@@FORCE_OZONE_PLATFORM@@:$(usex headless true false):g" + ) + sed "${sedargs[@]}" "${FILESDIR}/chromium-launcher-r6.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 + ( + shopt -s nullglob + local files=(out/Release/*.so out/Release/*.so.[0-9]) + [[ ${#files[@]} -gt 0 ]] && doins "${files[@]}" + ) + + if ! use system-icu; then + doins out/Release/icudtl.dat + fi + + doins -r out/Release/locales + doins -r out/Release/resources + + 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 vaapi; then + elog "VA-API is disabled by default at runtime. Either enable it" + elog "by navigating to chrome://flags/#enable-accelerated-video-decode" + elog "inside Chromium or add --enable-accelerated-video-decode" + elog "to CHROMIUM_FLAGS 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-webrtc-pipewire-capturer" + elog "to CHROMIUM_FLAGS in /etc/chromium/default." + fi +} diff --git a/www-client/chromium/files/chromium-87-webcodecs-deps.patch b/www-client/chromium/files/chromium-87-webcodecs-deps.patch deleted file mode 100644 index e9d411305ee9..000000000000 --- a/www-client/chromium/files/chromium-87-webcodecs-deps.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 47f6a3bcf7e72c467ca6a2cd633a5c3585a218d5 Mon Sep 17 00:00:00 2001 -From: Stephan Hartmann -Date: Fri, 2 Oct 2020 06:44:53 +0000 -Subject: [PATCH] add dependency on openh264:encoder - -webcodecs uses openh264 encoder, but dependency is missing. With -unbundled openh264 library build fails, because include path is -incomplete. ---- - third_party/blink/renderer/modules/webcodecs/BUILD.gn | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/third_party/blink/renderer/modules/webcodecs/BUILD.gn b/third_party/blink/renderer/modules/webcodecs/BUILD.gn -index 99d0e47..7c4d188 100644 ---- a/third_party/blink/renderer/modules/webcodecs/BUILD.gn -+++ b/third_party/blink/renderer/modules/webcodecs/BUILD.gn -@@ -54,6 +54,7 @@ blink_modules_sources("webcodecs") { - "//media/mojo/clients", - "//media/mojo/mojom", - "//third_party/libyuv:libyuv", -+ "//third_party/openh264:encoder", - ] - public_deps = [ - "//third_party/blink/renderer/modules/mediastream:mediastream", --- -2.26.2 - diff --git a/www-client/chromium/files/chromium-88-ozone-deps.patch b/www-client/chromium/files/chromium-88-ozone-deps.patch deleted file mode 100644 index 6274ded44aca..000000000000 --- a/www-client/chromium/files/chromium-88-ozone-deps.patch +++ /dev/null @@ -1,40 +0,0 @@ -From a5a6050ed551972faaaa65ebc2b4e7e1958738a1 Mon Sep 17 00:00:00 2001 -From: Stephan Hartmann -Date: Fri, 6 Nov 2020 16:17:30 +0000 -Subject: [PATCH] fix building without Ozone - -When building with use_x11=true and use_ozone=false build fails, -because features::IsUsingOzonePlatform() is not defined: - -../../content/browser/gpu/gpu_internals_ui.cc: In function -'std::unique_ptr -content::{anonymous}::GpuMemoryBufferInfo(const gfx::GpuExtraInfo&)' -../../content/browser/gpu/gpu_internals_ui.cc:397:18: error: -'IsUsingOzonePlatform' is not a member of 'features' - 397 | if (!features::IsUsingOzonePlatform()) { - | ^~~~~~~~~~~~~~~~~~~~ ---- - content/browser/gpu/gpu_internals_ui.cc | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/content/browser/gpu/gpu_internals_ui.cc b/content/browser/gpu/gpu_internals_ui.cc -index 4f07186..01dfcbf 100644 ---- a/content/browser/gpu/gpu_internals_ui.cc -+++ b/content/browser/gpu/gpu_internals_ui.cc -@@ -394,7 +394,12 @@ std::unique_ptr GpuMemoryBufferInfo( - - gpu::GpuMemoryBufferConfigurationSet native_config; - #if defined(USE_X11) -- if (!features::IsUsingOzonePlatform()) { -+#if defined(USE_OZONE) -+ const auto is_using_ozone_platform = features::IsUsingOzonePlatform(); -+#else -+ const auto is_using_ozone_platform = false; -+#endif -+ if (!is_using_ozone_platform) { - for (const auto& config : gpu_extra_info.gpu_memory_buffer_support_x11) { - native_config.emplace(config); - } --- -2.26.2 - diff --git a/www-client/firefox-bin/Manifest b/www-client/firefox-bin/Manifest index f49b717abd44..3d55dafd872b 100644 --- a/www-client/firefox-bin/Manifest +++ b/www-client/firefox-bin/Manifest @@ -196,10 +196,108 @@ DIST firefox-86.0-vi.xpi 571524 BLAKE2B e66dc4e245658b5484c94aa8875586e15f7998a0 DIST firefox-86.0-xh.xpi 428557 BLAKE2B 86dcb582e1a648c5ca99004dcb75d3cfb13ba7dc871e0f5d4e7814facbf912dd51def5a674d9eb73689ec44b58e1060769178004ba89da46d52917a2fe88f5bd SHA512 c14e19e19773003f2b0826e3219ea4357f8783c2c73ea69f62e279e094bb1ba01b92771963a97b83e76e346023d216650bc1bca8503ac364098d8dd2c5cb6779 DIST firefox-86.0-zh-CN.xpi 573533 BLAKE2B 55abc836aadf6aebf1d951d66eee01848cbc35f684415c56ef1347fe540c0a592d4ee43fec9b5a82f6fdd50702709d54acdb97b3243b09f6d68040d8ff921376 SHA512 990d4e52fd548c6d89c41f70fd8e78bc242e989c25aedc4e61433099941a8b6c01764f39b283868d5c934fed8ba9a852fb7fddb3393575cd6c4c83cf321ab896 DIST firefox-86.0-zh-TW.xpi 573620 BLAKE2B cf251b009eac891fb4621c9d34345068efa394477151d5831ac23392110af433088d707a11fa9ab39a3ff7ed79a7ced471b5b3d95a1475f8fbfb295934b0de88 SHA512 12c08a0dad16f4e7ead8523ac0c8d3ebda8e350faf5f4986604f410855bb5ce5ebf393bbbfbcb110ec9cc887abdefe8bad23eb6654fde64f1014678542be19b2 +DIST firefox-86.0.1-ach.xpi 465042 BLAKE2B 34d2a7cfe9b4e354330aacaac966e89ef52c0b72fbf0b9e9a4052c7c705996e79ecafe0ec1e4999d8b47bfc50e4848bcaa510dff244bdd5031a985d979a87fcb SHA512 2589ed90b509efd8b31aa7677b5146ae1026f00379292060265726b330b678342a4dd2e4a1dbbd280ad7a1a41ef9a51ca6262ed4724b302586b3672eafc75d92 +DIST firefox-86.0.1-af.xpi 429107 BLAKE2B 9483b799b93b0beb4f6c342c947a732a04671e4d5c017b0b94d22f97c100c2ce223e58ce25ecafcd513476664bd955b3c8fa05285a5aab2b56711b3511967b22 SHA512 590e941421e4ce371f44188381936cdf7bc7bec485062b44e8d76906c30658ddc5c0e8d74679bf252e061a543b86bc45ada2d10dfacda0dde9fabe892c1ed42d +DIST firefox-86.0.1-an.xpi 512517 BLAKE2B 99bc41158ac2026b955dba5f324ca65db0bc65ee7f93ca523ffc8b9b11df5cca2186b90861ffbf5e355ada8875f623a472b8971eca96f60c851cf6eaae0ae535 SHA512 58b3c597cb84581a5c6dfd5e961590d0be856c48554d7a9bafcd0abeb1a6d25eed7d3e423901aa19c34bae9aa3db217a76ac5e9510f027cecb9c1d9014813b34 +DIST firefox-86.0.1-ar.xpi 564777 BLAKE2B d253cbc8181c4b6817beb1ea60aaecdf90bc8295ca0981c9c810fe4812781c5abb775d0fab4617d1d0262274f4af3379e0208c26eaaf07905854992ad1a26080 SHA512 9674c2ba59f3e73bf7e86bbd80ffff82ed2a25e2788718de8a5cca1c78efc30c96f1be3933aac774e0296aa826d90568bcb74ad50b13a2d3a41a02477f704b95 +DIST firefox-86.0.1-ast.xpi 493929 BLAKE2B 8c0919bae85d436aeea5adb7ebddf571537f9b850ad9dd07a6934c12c334eae23540f6cb81b210b78b3655466e5a7734f2345bfda9379a83773eadc84244576b SHA512 46415bcf002db30a9d48fd267b1c593713800a8296584af88e3c98f794321c9ddba45e5dcde5ddec98c4b8c375a885c4a179145d84766e7fef860d56c5cf5a87 +DIST firefox-86.0.1-az.xpi 501750 BLAKE2B 88ab2cb03c05d40dc161ba4aaa2780d0dce803fd35ee884ec369b7ad217486872e3ce382301acf3b6f6c0ea2924f09f045d99add8bc547c2c14538e8d3f41804 SHA512 9b82f1af08798e149886b650275d7efafe383c4f2663a50bfb2472246acc187192560e6ff333199e81663d226dcf263aaf03263565b93de9a8f3c173781d3484 +DIST firefox-86.0.1-be.xpi 616872 BLAKE2B 02e0b50e531d6836a6ea18c2fda1c77e422c34c51599b13fb1bfe0720c5cca4ac1ab450dfc7149431deb2e7d5c1240e111db2e42320afdfc53184642a415bc1d SHA512 54ede4f99d2157d31b5517e8513b6598fcd19593e5ffc8cf6cc43933a1e958c7ac6544456de28593be415fe88dd221738ddfbd487ebc33d51765634f451c3300 +DIST firefox-86.0.1-bg.xpi 565562 BLAKE2B 5ee5231743be21cd42c393ad73aae58e5622419617f7d662c85f226f8e5c355772db71cc9b31881b2cefcf135303a22d19d18104cd44c7a328d0f9e079f33af8 SHA512 20d6b5c00839dd7eaa6aeeb8e54320ad4789fe050917c093bed001451c204cf054cdf128a23a8f9ef34d3aa94a9dbc8bd6c3d4877029f31daa53e0febb7f3ade +DIST firefox-86.0.1-bn.xpi 577121 BLAKE2B 51b18ab4250421bcfb781099a13153d375ddf953c3ed07bbef4651f34d0e2416dcc162a7d23d7b0a913066e6d46ee53b3a744868e70cb5c6980272a6f50126ff SHA512 cb65cff83bcde9dadbd12ee19651cd93ae86e08666e26270239c3880d127fdb2cbf61432eaaf4d9e3c7322389efdcc9406597be62ba70cf2d4465717c805e67f +DIST firefox-86.0.1-br.xpi 518347 BLAKE2B 2011d7f83006782ec4030b16d5467ff244eb184aa80cf5bd8539c2ed58160844a89fb843d5e3b7dfa3b96f00934055474939d8947b78670cc57de11e00b8bd46 SHA512 162d1dfd87bffec260e32fd31457bbbc286445a1fef75c3a4462f342674322e15e17f08bdcdc2f8ce09ab09671232f8dba9e7ff26b7d23d83138fee4a04a4761 +DIST firefox-86.0.1-bs.xpi 470242 BLAKE2B 92ad87b88a1e8f3d61676d90ca37294d6570e932823153df03c5d4ee5eaa4a0f8fa9e7cf72dbedbf43b34bbb8ef3f3f62dfb1b3dec651cae6e13d26fb58b13ef SHA512 c143ccfc30aa3565be3de053bf3185c59f774e24248aefa64e1467f2ea27be866ee960fa16b06e63f35d5488f8ccac48d02390f177f4e724ff99388a0f10b820 +DIST firefox-86.0.1-ca-valencia.xpi 529202 BLAKE2B ed3f4bac7c6fdcbae4b6178c9a3c0159e98f5a0cc3fbfd19aed4515fc81fba3f4085c4328a70ef7297c661f26cfcde57543280d12249084cd5f4b6550fb6b3c6 SHA512 41a35706a09040d69ddf6647d35777343974b8e787c4a7552a1915ed89cb3c10b0dad77fca5787471fe68218f679d25c57ad16cb3d5d2d56ba1b1c291c6f05b9 +DIST firefox-86.0.1-ca.xpi 529013 BLAKE2B 4d08eb4a5041f0f4f485686bdd9121580e2def962a2c4723716be89fb876a33857da995cdb563266a893ce76ebe6758dc68d5fabf1c3563b669ebd545795d12a SHA512 612df6bb34e9ea595353f3639e6c39e2b234b0b9f853ad5bd087eaa4166d18910342e78726d82d166a3bd86e68f678ca3d958f7265adb065025ab5ec4718d1df +DIST firefox-86.0.1-cak.xpi 556828 BLAKE2B 75fc10e95425b295944a36e8162ca38fbe3d4b12b822e978601901d5dd331f5f6acca2e06cde5848d36b71347eb18a8f7631e19ff812a062c41fa7d56c9a60f4 SHA512 1c426a8702fbf246ea28bd22b3e8b5400bd7dc83e3cd55ae2207b4d0de33fe26d2393a7679bc9221d3e80bef9858809749762e684641a22250c5f861582dad46 +DIST firefox-86.0.1-cs.xpi 553812 BLAKE2B 4447f0a9c90dcef4c3221ba4beea828a1536dfe277e0d4490d41f2007118f4171e5bbda4e53bc6799d329cf29554c7eecd130392a95e652b9cae647bbb8696ef SHA512 c8329fb0c20f5777c76788b3868b8e8cf0c703d0c6fdd8a4b13dff07bdef281e329160d477ab8080b83051453fcd91567cd3cb01cd2c39677a1fedd8b45dd8f5 +DIST firefox-86.0.1-cy.xpi 539166 BLAKE2B c325692f86b113a0a5521c0ca524e2eaf24d69f15c04f36af82ce3602ce6375977d35db796fce1914b8345bc29798e5771ced3abbe8e21e8b34673764a59e13f SHA512 5c99e42d87b0833b28cf7882d6333234ac3cc7150be1267661914d8a3167eba2920e4bc27e6070f058f640454bdb3f4fce0a4b4e84e75234e3a0596dcda8e5d7 +DIST firefox-86.0.1-da.xpi 531518 BLAKE2B b6a879b7f161278755ed4ae8d27bdae1d28b93dc8f03756d319e58cbba53ec0dd6508c008123a1947175198587120c996d6b0d0263d23c3bd9ec8b368ea4f8f9 SHA512 8f6486ffc6b4679f63472fe4bd9c3e925a21d06b52735d2b18872aa4bd36472ecd9ebfcb062402359dd3fbc727e307893da90626428c371b919fe2ce525910dd +DIST firefox-86.0.1-de.xpi 552150 BLAKE2B 19e9c5bdf1c7849cd6e3210f4227f8fa2a6b4bda4af905d96cc94716e9efa551edc2a6cf6ce6227f191e9afa94b408d7ef9d9bc605d54e30342c84a04f79817d SHA512 4444ac19d68b10c8cbf43ef5f5b26be39d26e3fd7fdfe99f2a6d8bfec6be8c86bfd725068f330aa086674f2f92896626a4a2f7b2d7692b46ec809da148bd4c10 +DIST firefox-86.0.1-dsb.xpi 564066 BLAKE2B f4af880f85a21fe6506cfe5e234ec0332d02703ba7b1726e150779bd73a443506197e0a08efb3ed5f17bc3b00828bb7a2c9f51cfa581204dbaf1c8fb50e2028c SHA512 f869202bd68dd3d59c1c71c1bb07a68f63aab5cb3d7404d856ecb3117d6e0bfad39b00ab9be6def6bdd1739b69ac34cae6c0c4638b6f773ba89043c54a67098a +DIST firefox-86.0.1-el.xpi 634015 BLAKE2B a273cb6314ae9cfda3f2c8bffb90d49a206f2210b2833ce2415d33da48f86d4a1b9e766e26c39c1d98f8a3462c681f86f862bdca38d2f6e6545ee53d8a488925 SHA512 faf81b3b1a3f787310dcf8648dd25a774544023f22cbe6df94499ca6951922e10b81f6808f2c30569b0ee8cea35d203b60adfc290254078c78281c1184b377bc +DIST firefox-86.0.1-en-CA.xpi 507449 BLAKE2B d5a4db489db5333a8c0119d953714234c19f8a914ef73f62f5e5ef27cda60f432b911381565f2d285900dcfdd0571521a69758621ec36d990d5f8a7242c59dde SHA512 d1bdb2da353586200d7899c93e92cacc5ad1c9dd6e56ae68c4d067178cc5212865f29b8ec787970133567dce9ce9785c5ae6c9e4124b5ddaf0e7ae3ee8d907c2 +DIST firefox-86.0.1-en-GB.xpi 507809 BLAKE2B 235718187ef90a9d569f91b420e8dccd8e0e8221ad5d9e597e495bbb534d3c6ade0e8748cc06c250a2287ac19041ecb7a771398f6e5429c3b2444c570712c4f9 SHA512 b05cde49bc6bf87f8572f4806982b915e6202a62bfd4025472a3810bc4d09a68a809dfb6ab8383af4409ecd679123474fce911d09a43f9e9b7cdb170af2e199e +DIST firefox-86.0.1-eo.xpi 529151 BLAKE2B d5328294c891766ba65ef82a1acc7ac49fb56fb082780cbb9e29e997e8a57d08ba21cbf09c4ae787ba82a7a14c489d5e1e03e77a61538ae757aec0e878b735bf SHA512 3328614faaf3c9c6a348ad39ce159324999adb419e8a368dc8f51f972e51d8a0d2636578d8a118e2de883aefc8ed4355941742d5e438f8e6eacc1ed26de48da0 +DIST firefox-86.0.1-es-AR.xpi 544682 BLAKE2B 625a1bf9d9ad88952e986f35b068816a2d8ba9f55f0223ababc1bb611ca0f03498623d43bb16ea43739a484ec40d355c9207c1008194180fc3a1c44c43f3f064 SHA512 19f46fb79447e0ac924f44cf0d494d6b5886bf7c70cdaf7abc1ace622b7b1a78dac79f61b24e35cbbc299006997c4e864a03437ed8cea0ed29c1dffae345e061 +DIST firefox-86.0.1-es-CL.xpi 542913 BLAKE2B e09365a1396a24b18170ac221092e5193aa13c5a65e18fdc5d2e1fc925abe1f9778c54a85adeb3a4a41dfb363be09b77afc2a88cfee3ddd7f3bcf4eeffeac7f2 SHA512 5363a0d51c4f420297f477eb4f44614a8f46a8cb462ccd4fce3c18285f030e9025a0a9ffb88b19a1449ddeb231efcb6bdc4cd1c6ad7892c310c0fd8d672d6e81 +DIST firefox-86.0.1-es-ES.xpi 534190 BLAKE2B d98aaa34e94da0b317e632bb68f5c0e39a80779f4be0a72052db9590a13347f1f33d2e873ab9e3fc3ad9839fc083657701fe2a8a894d39bee9f6af11449a525f SHA512 e33e93a566be03954cb7e2c1d30dd6df760714d0f659276194839ace16dbb57af029bea04640ff05faf5b30ec86ed1e8ac199f6ef25c1e5df47968e8fec0f7c2 +DIST firefox-86.0.1-es-MX.xpi 542618 BLAKE2B 115f31dc93ecd20cf9099ffe02dccd14ef1452b1af4cd0e163ad262b645546eab380400ef16a77c190685b0a179df3a0f4a8499154ef6f3a09a90d7544055624 SHA512 8fef579005026cd754a34c8342a5217dfc9be2f14df8bd967f285752810b6a827c4e5817052904b8589bcbd8778e9570a493d4b4d41d6755ca0fa249cdad0787 +DIST firefox-86.0.1-et.xpi 492961 BLAKE2B 9f1fc763088b81ecafb987b48d91acf8452ca7a1d85ffbeb461eff7be4b5d1cef29cb3fe810cb6d8e5e3f15a1b8f81f64d22f2ddab18f523341ed4d33ddbaefe SHA512 4cfd00c6e07ab18bffb58a5b56f4f0666119107f60f496214e043b4674ec156119c03c6f16d38072f8bc55bf1f616e0181d7772f401aa4953795025efaa5c20e +DIST firefox-86.0.1-eu.xpi 524557 BLAKE2B 22c8b648333c5baa10fcc5edb355e4b7ff69b133d179f921cdc31c7bf797119490dc5d71f8518771679de248f1a835d2023ba52d3457606df3892bba427ea4b3 SHA512 e1e852ce37c4de30442e10b95298689f6b47318d7bab8e49c318afc430ccecfc5cc234e9c7795711fe3878f09cb1616edba2ca11de71adce9004c42232d07803 +DIST firefox-86.0.1-fa.xpi 543434 BLAKE2B ed2300c05c17fc1fe168c1927b80f90fb68176f1c351d3c505bde7573614e02298bb7a4df8809258a7b26a087fe4414ec8c6fa29037dfd225c1c0d8a8aaa7db0 SHA512 c7a099ae04aaa9f1b4bb946e72906864e1abdaaf5ed0d8950f665e570d5091261a5a605b80b20d21070a094716d2bdd822b23c5ab1731065a82c2a807ac2aadc +DIST firefox-86.0.1-ff.xpi 486270 BLAKE2B cbd23677547b4adbd8b667862f98bd3e3841d555e2ee1babc11a29bbe24faaaa046ac789c01618323175cc4e8cafea52633fc43d2b6dfe29feb7eab55cb690ec SHA512 7a97704122820ee0847c9d8a54a5fee042f68b906cacaac7d6ea5922639d11a1513af7bb0ef8bf5332c1fe93b408eb1f18bf63fe3ba04960865d2247a231e6bb +DIST firefox-86.0.1-fi.xpi 530332 BLAKE2B 048fbbf5af0f87d983f1c5eb25b316d66c89da1381ce2603f983434b091e28e1cdb880dd9bed8fb75e542f64a747254c264ab4eeb98650d6ee4958211beb1be9 SHA512 33cfd0f5afc64b8e59b2c00c98727a5f112ec08f80533271cea22a51547b2251db97de4941efc5ff1a0f95490a3a6b6a91fde8c45d3b54dd67ebab24b10a6744 +DIST firefox-86.0.1-fr.xpi 553998 BLAKE2B a88f9ee33da7e60badf4b4e0375c1849b052e0ee3be05793221821e2f972540d62108d0da4b1831ea2d161be57e50a2b911fa9dda6769c0f1b57c213d6888070 SHA512 76113b735e31e4797be611d6a1ac6f3e7caba8688ec7aabeb41c9999b4dd77958df6cb52ac49dfa26e69e8e3390f514ef25e02a8c016f553d782cea8459c5c91 +DIST firefox-86.0.1-fy-NL.xpi 540445 BLAKE2B 09056a25551d5ed12339cc57a86c9fbddb126eaa145ed020afdf6775b10d578da8cc27bb99ad481a43d54f6e8bd9841de334f2745fa99915a698add4ce582923 SHA512 fac8c8c6307b9b935bd522cdbe32b0ac2744d9e4274879b2a5e034b8efc7a08682adaac668d2a809bab5d00eab4c5e54f478dbfb96f3e2e3f7997db64df45fcd +DIST firefox-86.0.1-ga-IE.xpi 469993 BLAKE2B da355f696398b7f3c0941699441968fdf51ac5342fd62497e3e4c9433ac2b22c898e9f01f4ef187b2d7432c37fd56ff8812c167fbb36015737ad930a9ece9970 SHA512 7f7848ec4b29fbd4b9f6a61fbaa4acc5c30f204443f6d23ff4e3073bb20a15b70e55d118c9499f3bdaa995ff675aa6a02d2796b4198b4895075c7de66e8b3406 +DIST firefox-86.0.1-gd.xpi 496811 BLAKE2B 3b9270bd06eb8360ca3c4b9903d09423dab12a5c02c0781341bd0cbc0c70123490cb9c0e9a3a4b1f5447085c0b40beb3cf9d5ffb053b40f293af5e1b8aaf9695 SHA512 ea138c6af234a88519da69e779aad59973c1b645cfa15cedaf746f4d553e22f15d684d014cc54ee909dc228d8a0a1f9685c78d0b5d85dd9a8b4054173dd7e58c +DIST firefox-86.0.1-gl.xpi 540061 BLAKE2B dbfea3254f3bdf0c9f85e14d3b94aa082a122299784674846592dad4fae4c3ea2655f4e1e5e1cafcdebbd5b97cb7e6827e83eca1044c6dd2dae6a14606c18618 SHA512 a2ae073371f649f9a947901d8119abf866aa4be73ae89fe91d92f4f3760135f02a7615c7c2127b415a23a638c921d8480f0e07fdfd8c3ea3aea41564ac07f5f0 +DIST firefox-86.0.1-gn.xpi 555294 BLAKE2B 6839881081f306252b3a3df989a056df8e7a810cffa6696b979e6efab5c3fc9fa524307950f943acd1554fa7346c8849acabe450fc2454c60806584b4fb99ab5 SHA512 47f2cbfb7ffbdfa62d8d24a5ca7f5506d3fe5134ddd525dec52af2ac12dbbd642cf5bbcf8a23df4dc0d24331a4b4a4fc97b1c08f0487a045f02e10b2c91712eb +DIST firefox-86.0.1-gu-IN.xpi 545779 BLAKE2B 47b060b4907a3af708f4b627641b39c01feb2a2f516c2c7770cd7d2acd51f7e7846c9113e4c37fff71e3add90116bef945f8ae77f274ee54dedd615d45b66698 SHA512 c806175c3f5c7f035ec1febf37119a9f6d72ad6f30549954eac1bdb1bd88c51553ba4aa24e15dcdcd7648bad339616bd3e55a337903b19b97f7f3e492ac662ba +DIST firefox-86.0.1-he.xpi 554633 BLAKE2B 748cb876fe053dbff199851251504b06fa2811bc642d6ab295e693c537cf4a40b21824b7f2ee8868677f34d331e4ec93a3aa1d03ae6afe16f00e91a4ffb6ccaf SHA512 e69f7633e70e9037671b620ccd8d9a9669161bd3174fe30cda344b40571247c7a01a86de8aee64261ea5c62a49eb9b2534e0a7e2af69d12c1e4c9bdc1aab3259 +DIST firefox-86.0.1-hi-IN.xpi 575656 BLAKE2B a2ea8f65d120d7ee32759ad6679625d3ffc689aeb5df0d80220989ef2ca579cd1992724c2d29c8f6c27c3aa43f92e9a911f8f9a4118de1628448f5793af0288b SHA512 e1022e8153d5c298a56e55ded7d25f0b25a959b13c2d08365917e2062fab162383f31d3a9229cabfadafa360940f5e6b089c09929f48273b944bd8d88a46275f +DIST firefox-86.0.1-hr.xpi 535257 BLAKE2B 4c10525d3a3f4181ba925233b6fc9dc3b8804f0cf88fc1dfb637702779739e0defe0695592b8ac802dc6fdc90d261060c3617dbdb87150b17a7d9d8baaebdbe0 SHA512 cb79bb54173bb9e3eddde371ecaa5798e93fe8e9fc2ba8200e832335e20904ecb6cf2487d5d1ed0e975898213fce32d175e95d9b4048ef72752dce97b27c7ae7 +DIST firefox-86.0.1-hsb.xpi 560307 BLAKE2B 1e5c253a7fc8b9c3587e1d9128cb92f51f0029a28d98d80fd60c9383c1b3c7b49f3ea16712003bf214e9f726b182aeb8354ab60f38a61cca17d6774a5555cd57 SHA512 a2d87be706dca23548e269f08e16cfca6529a9c0e671e72c761fc3ee8b2b807eab4793f8c5a7518782f29ca05bc9258875c5feaf29c979812194e0a3454f454d +DIST firefox-86.0.1-hu.xpi 563215 BLAKE2B 9c865c2f063f3949ead5eb36c5979c7c1b026b55b81e12451799606d785cca9c18d4be0687b853b9c072b51b0cff1dd8eacb82a151942a0cdfaf0f38fe90a9bb SHA512 e417703cc43a499f5ba64645c44e9d5645c2161b45a3dcdd5f5c2d9b32288adf236b659801c4d8972266edafbffae78aa8f5054b18d275c8bf3c8646dba3135b +DIST firefox-86.0.1-hy-AM.xpi 594523 BLAKE2B 5b2d2829628a58ef32e7f905e1edd89dee440afd39ec1f206755f10d8cb26f0177804bc1a344e593307bf115064bf40a4aad5f50240a8c1dcd3ea023d1c669ed SHA512 fa53043998c8e8d7bc905e19c30fad57adce91d9716e523fb9c62bdc6ffcc2f2a8c023a2ec50c63c7573a13fe6709e0ece99c4ab661859df818bcd93d0b3f22a +DIST firefox-86.0.1-ia.xpi 530282 BLAKE2B fa4082c2b94aa00ee9c6d3b6a3d47c6456a9f6b212a88dec4fa000bd40dd06792940815ce4c12b143586224fd208571617fb8efae538508fa6b105df846c957e SHA512 d41faf1143d64ffdf27d12d248224cee86e6dd6a6ed9a9ec63bbcaa7ada74888a52c50cd545551ac2a32c09b9dee67b7b97b5561a7c8097ec790cfd138254445 +DIST firefox-86.0.1-id.xpi 512566 BLAKE2B 63b935c04d1cf77aeaaf6f79bd39a79c5beb3cd50acb80a22227049e0dce78d883b539ab2b8aa134b275529938d6b3459e8a0baed20102826e199e8537b92d77 SHA512 f91e95df9dd582523af84ab4d8a3a720c8ea19b4f76d25d7c20a387e087c6b7ccf4529ecfb33584e9a82933b2326403e6bf379109ec3ebed50a86da414947bb5 +DIST firefox-86.0.1-is.xpi 481751 BLAKE2B 311397c9388f70bc489da15d78931204a27b1326ce6be1a465d6d53e63bfc4cc823997c8923aa415ecda29f260084b879489883ecf3d31ef16b741243ad4d9c0 SHA512 3cba6997c6c807009896b4704d25b42af2d96632993bec06fdbb2f83fca76cb93c5b87260bb76795542e281468315f943c40ccf72f041be44a84bde29ec51fef +DIST firefox-86.0.1-it.xpi 458578 BLAKE2B 68c8c190972a4b4b4073ef3ea21871ec476b0f29d616c0fe0e04dddca5c7aefbbb299a42e3cc073dee25b00cb21cef4ca93587f66ae845b7be60b9765ca0dea4 SHA512 32babee2544c3775e9dff3ff48fe2636cab8c18d17a53c902cea4268e6229a4cc597b63d3a0025a60bd025829923e6d623a03b63bbd1d4a6522b391b8d5286b9 +DIST firefox-86.0.1-ja.xpi 589891 BLAKE2B ea28d2973b6ac65aa17569c1859c1065a3f04f5f42d2df2390b85d1d2da56ca702a55414a9a73dbe4c7088b5a58ca984647a809d4760b3787369bf65035ff83a SHA512 2e8b3140858be4650fa0b432ecadf02196d1e2d440499a0f7ae880dae532ebf3b4fca6395e94885e09a4dd987e92f2de9ae95ff1695c605175fae589227a5b2a +DIST firefox-86.0.1-ka.xpi 588745 BLAKE2B 5ba84215d8034c463e3521ac9ee0eabad9307f87a1eca514422106f8a700a5de17072abfe2a7811a06a60f74ce2556b418410ab5943cde166eb9bf103829ff1e SHA512 a879a489cb33d444db1b5ff1f3e75592bcad75765f05b7a8454ee1f6cd6c68290e8382576305b2959389d51576966d4c9cc27eba276226dbfbd0970391e9fe01 +DIST firefox-86.0.1-kab.xpi 549107 BLAKE2B 363bd01606fef4ab1881224d1f2ad54ae37068682b6929b892bae0551a9cab023cd2250442cb61cffcc6e1a6a3e613e8657763bbdf73eef2ff4c2721f12923cc SHA512 9289fe82426360b5842b56ef4b8819b05cfaed547bb69d9cc34e5dba424daa43a7e3edb381d68451072dabfaebc20006f678a5d5a7fe13319bcbea148e781941 +DIST firefox-86.0.1-kk.xpi 599409 BLAKE2B 7bc95dea71346b7777f5c93ad3312eee97ec0799691c0b20127bf3c1702d1201ba5643a56f92bb40804585963fc56ccc9953dbbfd197e74e44f843ba78bb362a SHA512 9fb0c43ee001c174f93b215a55feebd57c665730aeca37c90b3045b221cd98aff51c8814f9ca6cdaeb9109937532bb16aa4f30ca25159d783b910c4de2087a8a +DIST firefox-86.0.1-km.xpi 530971 BLAKE2B 88ffc578e534927db2915111b18ba33afccc3397b3935de2f79bcb631d4e5d53d760f242cbd7a36bcb48937173a75dd2f6981c862848825eef7c14d037c83160 SHA512 a373f7ef5a8742cf3e07b28dfc28dba0e40e3e525453332d51fd3912a3ea4ac023e251ac5fb83aa24b5d98bb9387c3657fd00167c8a27ebad8a9048ba5152a85 +DIST firefox-86.0.1-kn.xpi 508445 BLAKE2B 6fbd5a8ce06f063a5e615a8f867eb95748ba6f49cdc6e23df213f9e5326fd7723e51644f8786ff471547f22b8cd97af0aed1fd1536b63a04f43b288b3412386a SHA512 dcb842d67ba5abce2625e2d0edeffe331fd3b4b4141d3478a0adcdfc77956a9a19237726930da2cbe49319e4f7fba73fed8b1a026d90ab06b549040f2d489cc6 +DIST firefox-86.0.1-ko.xpi 576146 BLAKE2B bf4ed040a803b6672943e43076c6e3c021067f6f8a88691e678be5feb611e5458416461075e2e19132a38f2afcf01c32a526767105c560948e04828854851465 SHA512 e2e95b6c8ff5e9bf2aaa7cc35efbb6f49c5686ff6ac60e91258f50bd82bb8fbd590d38c80e56ab075d088be60efbdb956cbdb6eb856af4bd0f2635feb971d105 +DIST firefox-86.0.1-lij.xpi 480049 BLAKE2B 54a213d6e745e03f71e1b75b84ce5ebc306bc649dd6f2b3ff0592ea0fbd9a10d23f9cdc27870af88e12364ceaec6cf3e55799d9c140faa703cfdc14e3580d1b2 SHA512 3eb92868ddb1ced37f7357cf35a0faeb7993c4699c1072e221c8cd900294b1431b3ac2d822159e25418cb77ae15eb04c744223cf1db940637125027aa06b4b4d +DIST firefox-86.0.1-lt.xpi 559019 BLAKE2B b89696e263a21bb6b38c8c28b398d893df8cdad1941b38aa410d8c022fe564b32bb1117c4983aac35859cfdea66a2fd9a3a0a7af6f38e8c94a6fdcfa796c5ebd SHA512 cb179bad67c70024d002ee9f902a32548914284b56ff2f1a2ec2c1731c740606bd98708d542c3a94598830008717dae49c9f3d8b9368ace6010c1897ab4e4603 +DIST firefox-86.0.1-lv.xpi 474155 BLAKE2B 8848d82eb28ddb606283807e06ac7c1ce78243719108a30f732525c1ad99117b250965efad05a2737a5ad339b5dd14ec7b48de0626085a884a4cdc222623203e SHA512 43ebea5cc8d2a3ab4354ddf3c5a2f8fe15bdf26885c5170fa087eafc7591bbe93b89b5b39ba68578b47c211b6577bad0bfdffcc1ba48eb3ec83afb4cb21dae88 +DIST firefox-86.0.1-mk.xpi 459135 BLAKE2B 9a6bb1befa319a68e06f2b4f85623344cb41212a49341ceb5432b45534c5a3d977f0aad614d3c0ed92a8ce0ed40baf398a7e8d54be0834a8bbd5ffa185619199 SHA512 bc70294f0195185ba551a580e372a217b5b840b7a7272213862b0cca88d94d4e6af8d43439f907223b9a072b557761f4df5916d74a7d892914807596c5aaa1d4 +DIST firefox-86.0.1-mr.xpi 545524 BLAKE2B 6529439efadccd40f31336fe060ed392672eb3523b77134ecaf0745ee7b555ea4c09617ee533e21ee9f745321f0b7c90df31a67e0f4bd2c77d9fa43c1c57839f SHA512 77b8b064602105331fd3e949796802cf599b4f990369553d52029f0b35342e29fb368a09df1b1a95b32c424276c1c34c98e7cbd33c4d3e9a36a66f74c820b5ed +DIST firefox-86.0.1-ms.xpi 457454 BLAKE2B 44fba93f61d55ef8fec113e342dd2e3a60e56da0e4c0621d59c5bcd830dc5deb990a89f3ab877a40c813d7781daf25b366199ca970fe574a248ef56ec0fac5a2 SHA512 c4ea46ee45c8f840f7ecb0eab10bf6a2181042676e9abd4f693fa04799bbc9eea2f0ead02bfdd9fd648acada97813d2b8e2214842d247e86f673a804dfcd64f3 +DIST firefox-86.0.1-my.xpi 528896 BLAKE2B 890e907df53bda4440f64da08f6f95651a79880fa35bb6571f5a700a93aaaecfe52c34ff46f14d6ea22ee0e8a9eb871de807a9aa114b239aabc4f565b7d61afb SHA512 79e67c13355b950a5908100606e334f8289f19a3d7a046601fcfc85ecf8c0533ad5d932880e1cf7c8667a64085460ed7b6f3036b3948a5343452b627e149a03b +DIST firefox-86.0.1-nb-NO.xpi 527396 BLAKE2B 86f68f55844b93d47317b5064623ec40495f78f441196fb383b3e686f562c7947f9c5679713fe21bfd10b19eb65f59c96d56fe0d009b0b667cb405288c2bbc29 SHA512 62e12e533688fd9971cdc46a9079eea9c8733e60c44053c3f0b0137b96efe5ffe06f738da433dcf093c7eec626ccd8a12657c51cac4709f4832913a19fd56501 +DIST firefox-86.0.1-ne-NP.xpi 485622 BLAKE2B a5061349d591663ae2011c07f19f4f9cef7a645ced1df95062ba17f0d195e03f4953f46d381e2c0ca556cb919c96f4dede5b3b205a8373b1446893bd95d0cdd0 SHA512 e5a7d3fdde9b9df4ecbac52f6668018c1a264c838e50f04bad0115c510f2ae67c66fa15c004ccc8d2680a21618749e3b78398626281e754f2ac009ac325cac2f +DIST firefox-86.0.1-nl.xpi 534624 BLAKE2B 646c60599b0452d5c525edfb98fceb148bcaa6905aa1626da0820bd25652d671f2df550725142eb1f36f2f1bfe98af120c17c1bbaee706c9ded33a0b77783b2d SHA512 4d6e2aabaa2781dab1dc8998e27e122e4138d55e24cf0bd2080172fdca8316b98f11bda1e1331b1a2febd68af58feb9cc9a61f38ba1a2dd5183e63e491ed168f +DIST firefox-86.0.1-nn-NO.xpi 529795 BLAKE2B 3032534b021643471065939af167f10c9c0a52cd11ab3c1ca540cefc70527f891c6824c460676007c8080d90abe80c1aedb666f073a35556b757582fb9cd78be SHA512 483178cb02bdbb0a6dd5a4345037753c987cca8a17cf889f6e9afb80a43aefa06ccac73dcb3077813759d2f5fa114bc775e4029cc3b58d2655dee8f6385ae934 +DIST firefox-86.0.1-oc.xpi 550292 BLAKE2B 1e8bba02c39e9ae822ab4059330d88c0e109d9ecec0ffda2cf854a94f9f7037b2dafee842e373949430b1cd36bf92025f071f74d53ebd479068955c557a7af9b SHA512 01c5ca68f977ce25dc7a7b82090fa2f24ddede31cabca3e618ab4f23fa2bbe4296de538b929bdab41b2da992b4ae8c5b23fd83e90418f04d4f2abdf9a6f7f0b3 +DIST firefox-86.0.1-pa-IN.xpi 597242 BLAKE2B 21d5c2c394a051c2f0904ef53d34361e2daaf0dd4b1a73c67275105c1292cbdc6db5f4b25356596a117c79c91b7f7884df8190cee16ffe47ed546446e2fb7a9d SHA512 cf4c2812439075ce6c18f2f5af9a2729406bb6964f2235d7e83bbc624819f9c56b7d108b0f8a7f831a73763230c7423cfa598e42e57af4b0a20f95ee7a6a2064 +DIST firefox-86.0.1-pl.xpi 554809 BLAKE2B b4279362a32a69c726a4b73cd41fbf407eca9da91b151262744cdb63916dcb8fea97389b1f07e04d01b27491e79049326127e046d4c3d9b57f21a217741df83e SHA512 7e149c273e20702808fe09f2e35a13217093b660c3318c6c812b7f181f76fe0d9e797e896e7e9093aec517338387ab978c911ebc11c7dff931622d9c39dbeab6 +DIST firefox-86.0.1-pt-BR.xpi 540545 BLAKE2B 682c93aa78f29031aea3174b866130abf3cceaf724a1bdfa4ae43acf453c06ef9596f4830865cb5b5f0cf4efdbbf0770ffd796a4738a443e8006908021adedf6 SHA512 806c0f8476cf751f5b97065d62b4be327a20f219a343d8b0569c242fb0a8f9f183c91118cef6d28571736701db78e631813384784cfa112ccaec925e2345b539 +DIST firefox-86.0.1-pt-PT.xpi 543592 BLAKE2B 1703e2057246722c6e54fe7b9291516f09e1876976b60ab51234569e816e848aa7877e3d61af51df39075aa3013e7563dec14c3e9154b9010f14353451f8d81b SHA512 6631d6f242ec6a85854421c4c9d8406c803c154856d3acc1151ad17f2d0fc9e2638ad93809770b32e5030d84b2bc0774f139089b9c6a4e5ff0760432a246f1a5 +DIST firefox-86.0.1-rm.xpi 535506 BLAKE2B e17b76533fb4a7f206e4e0982066cdc79813a315a5b62bcbf75042d516a5473caaedcf89a037d4dc76001e5456f31c5e42ea8e98e13c45b91a3f281314eee174 SHA512 1df61d32f103d997492437381d87c400ff374fe6bc018cc07772e9711009f1332421610767961b92173ed5403bb6189581effea96292223b257cb349fe40c9c1 +DIST firefox-86.0.1-ro.xpi 537021 BLAKE2B aa891c8c431a4c67d6f10a1ca6377779b7f92f3119cff20e4cfe34441a04a2c198841c24841805c65cc3123eff01d08fce6d6a33243caeefa8d08281521e275c SHA512 7e21036006a2a0cfa482ba335210917f8641e29f2752ad8c7cb58fb79fd38d700f7bec4a97af17ba3b0b1f5be42814440d93796e88fdc59b885c1f8c67f5d294 +DIST firefox-86.0.1-ru.xpi 625464 BLAKE2B a073df6edbd1dd5a82fcd7371f960d7318d164c4872eaf0502869114f12544e3d74343c92b6a01b96998eed347ec9a98cd711eb5097aa0ccb55df9921a1137bb SHA512 459d91c808860b33c56d5cd506cff6b558c59d5091a0b06ceb70150e2c485bd7ffaaa2aae0c2e0e85e8b4ee1e7515720084b5763ce132cb185ac511835410245 +DIST firefox-86.0.1-si.xpi 494951 BLAKE2B 03a9a6580f44783d05bbf3968e3e83011c81cfbdb884f4c66040864e250e2c9065cd7bbf047d70c9dfef36d641e6fa33f2279ba4692b3ebb15e0a40cd0625376 SHA512 f8075b3055bdc5db4b6074a4e13057a1434bf8eb5181b8f1186b29e347238dff8748a172a52d27ab743a6832f9d343b7f8adfa1d89c52cf9c0509b04cd7e8339 +DIST firefox-86.0.1-sk.xpi 544587 BLAKE2B 5726c71b31cc3c2af34e6bfde50e820bbb4275e841041b48d69821d5c89464d8ec666287c52000ad03e9c8dce74b96f3f54e3fcfba0a0be668dcb2129b728ab2 SHA512 5eac93453bbebf2ae86ae75c64e39f909d7dca68348e8a810962b948733b556ba5ac29f03f39f393e5a45344c510083fb320e81ffb945ddf2e425745c41952af +DIST firefox-86.0.1-sl.xpi 530040 BLAKE2B 5a276ca15e3eecb5fa1d2cf66a04b829fa9f28c35de6a883e13022bfc6a2358a6d863fa30e979f1befb915ff165d1459d77546f7f1c271afeac6c9dcd6caa381 SHA512 eca6a606f992b80357ff78e2426f1dfa86062abfa05117fc754ca764f28fd37a942b1e457e1d720427f48618d7e832a3c03c294e815e9783785e1a3c12b8c992 +DIST firefox-86.0.1-son.xpi 426358 BLAKE2B 10055742d15c54685980d25c116455ee3a9a8779c0247bed925b7b0330aceb6fd44185402ce7cbe2143cf3396524f94ab96079aa27667ad80e962a40524f1ade SHA512 6de423d4402dacf28edb37ebd1ea302d307b797f56f2204b78ae3f5fbc4563d04bd62ff4270b553f5203633ed524a06f6f0d8da762610037805613cc14a749a7 +DIST firefox-86.0.1-sq.xpi 553688 BLAKE2B a8a6132c5832da38fa21c494a015d2c6a7736354808e11ee6db79934244dd46de41f813ab499ea00123cc5e065dfc7111e341db1fef471d43117cecf7689c3f3 SHA512 b5934018bc994a3507ec45af90bd35c03149f6fe3a77cb4eb9e36294b67e0c71eeb4bc1330447fbd4544b8c85948b90a56b83d7281f0dcf8814e6c1247cd6325 +DIST firefox-86.0.1-sr.xpi 576986 BLAKE2B dd42c162b6869c048255ed8b5973944938265d38be62f3b5e756f3346f97eced21e7d38c1a7e26c42371bdf0157e02231377b572275766e7dd77f50eb7b3ee9f SHA512 b51c7c1a8b566d4ac1a78abe1b4562971a4002df97db1fac3a9b2fadef70dd0ed9f0fa76476137a682bb58646bbe09fcbe4111368f74059299194e34b57e235a +DIST firefox-86.0.1-sv-SE.xpi 538316 BLAKE2B 84b8c121e22260018fd42414e51656f839870536ed5f1ed2b4ef3481d63f44169a91cc616592de2c4191288bcf3782628364b36421a43df8e3a070811dce53f7 SHA512 94904f3cc4e71660b02b0cc4d64148ac0fd08b7186adac67fb83891382624a21dd69cf8882da6e02ec22dba3cd501208a1a6c37cf6faba7fd6f04fd4d6f8a493 +DIST firefox-86.0.1-ta.xpi 524600 BLAKE2B 02c07ce56bfdec00764b5be7ae56e67dc87e9cccb451e8477dbef6fd4284d83880e2182b40633174554db10db906304b3ca73b5bf6496e45c865b7d0e06cef96 SHA512 7713122144f61d6f4dd703b8e8c5a724164447194f5b497f0d7fb55718f05caf8f055ad87d19127a579556f68bb295a0c726d0067d3a9fae701a5c1813b3b4c3 +DIST firefox-86.0.1-te.xpi 563283 BLAKE2B 41f2022e06375637a012653fcd20521ebae51a9acdffb01d65384ae8ecb4beb35d53b64b008baf59e51ad2eab14e4a2499cae9585350572e750102e55aa8ac0a SHA512 aec5e6ddd3038bcb30ce00baafc7d096ae85f1464b09eb61e3cfd5844d0a6f5dbaefa8c8b280d9445b5248eeab3de3815f0fbbbeee2e732ebd2df0c582086238 +DIST firefox-86.0.1-th.xpi 602714 BLAKE2B 8df2826a31ae414668730e496d752f1cd4801b28ba3da1cd679ef1b6757595359e530443ab5d9afa5041913b089642377753aae8c1355feec389155e6fe1743d SHA512 6e8ebebc6b8428c99264ec553eb65148077bf8e9cd9e994991a7358d3ee5ddf68812dc0d26d61cb697b02aa3c1db11261f10aa7f5776de2d7a8a08f5072cd248 +DIST firefox-86.0.1-tl.xpi 523805 BLAKE2B 9c3eeedfcec8ae16095067ac4e330a1964d5674ededb4b45c7574163e1432f9d231c5868713df7acb0dc6a11c6c1cbb2fcbdfd925f7cecd4ea0a4e03e93003d8 SHA512 0eb337640297c5dfba4bd2552cf13e1a1f316a556971941743e3a7ebcfd0b6953d42f87c7f55536a2fc1971de6922ae8040514b75f31287dc113cc2e71ef9917 +DIST firefox-86.0.1-tr.xpi 547783 BLAKE2B accc5813e8f14cfe262dfd5e093626ef0092b185f8a96da1daa2cffec57e238b8828c13e44679aa9fb7d40b12fa262b4075413f6972e628472fb97b433c63f39 SHA512 f8180fe3fa3a2e2e017eaf88ae425d0e1be81c845afb7b137fcf98909d681ec9f6403f7453e1ade4f680308d5757890b679ee2ddd9513384e6caf39052ade968 +DIST firefox-86.0.1-trs.xpi 504292 BLAKE2B 4b9436a83a0deb8e0a2d8ea789df5ed2a3ffefaabec2c0e6228d75ad9ba10272cbe869f8ecc3300c139b5c6e8c99255b37ff718c4a79212a0ffe02c9f09a0bfb SHA512 f198802d657612410213501b51f0f02455917e91fadd117af9da3bfaddcf3e57ac41174a702fe89cb4c29aec19dea8f99b888cd1cee0c6849f61d8872a7dfc93 +DIST firefox-86.0.1-uk.xpi 618793 BLAKE2B 277abffe85e24ba738b5ac2d3ac0d893dbd5452d47fd0eb8b0747884422bf5531b38183ebd159c18a1aacc991742b97f1951fdeadcdae2cf37d6d27e942b4b1d SHA512 22b853b64604bf19078d2ce85ca85c97ef8da0662d158321584ea597b1cc88454086214a3d8e4631b0af7a3886e950449470b7c774ec40b9878411e51716fefb +DIST firefox-86.0.1-ur.xpi 565917 BLAKE2B 347419b9549c0c522fb44614d32faf1c611a8f37b56fd85f7d944258df89a9babf4119b25e99e11b7a1f27c0ebfefc3eff5a64a5a85bf6f0823db160a74d46b2 SHA512 d340fe3226c78506e0a86dbcc5cb29254aee27ef4195683dbe193e2de1ea3aa27f3a0b79c529b0e7342cda46a2e79f4be18b9e44fd232d4881fd93d79c3f4540 +DIST firefox-86.0.1-uz.xpi 480409 BLAKE2B a045cd1156f4fa8c1f1e24ec6398ba273d45fba1ce0b857c2f20c8fa02979d9726227a683cdbf17e239ceea08e499c56cc2b20652dc290c6ff49175262fede4b SHA512 9c222a27b39f867ff34d49ae76a726f707257951758fc42deadd1409765883d83ee642e387800a07d3d7e91f9814d3dfa34c2a98bc66c8d11c9163368b54abac +DIST firefox-86.0.1-vi.xpi 571526 BLAKE2B ea891d0609b77c1dae75fb2e9ea413cd0f64b477095b17400bf2f20baa156b76dd9172b3831687f47a57e1baabc0de97b8e9873674ac4196285d83f10676b812 SHA512 1685ec1bd878635c2d1454f6644d68e3caaba0324dfdb659a8ebb21070776bdf5b0cae11f531b7d056cf5752748bc7a7c27ffc5308b0850bf9ddf2d3a27d58f6 +DIST firefox-86.0.1-xh.xpi 428552 BLAKE2B 107c7641cf1acf1658581b0adad48f0836e18d1afeb42863f11907df18eb055e2443b03f837a64c82294e034f1076e7c646cd72a6322a3baeb2dd1e8af164e8b SHA512 9154aaea3c037f31c8654bf9b5803c1cf00ef4361cd110cd2724cce4a0a5b42520a514034ad851c55f9bb157b44bf25935ab2806aaf6e109331f38d685b53ba7 +DIST firefox-86.0.1-zh-CN.xpi 573532 BLAKE2B f62fd901e72388d6b0275e378d1910fe00bc446dc366eb9ee05a3e39ce41215e5978d7a6a2f67b3593112f991d6ceb35318cc024a3143508106fc6f8399ab36d SHA512 f35902850f5513255492d9e8c0e219fe13e38b07f460c3bae05fce32dcd10f39b8dcae343b47dac59abf40ea08651378b1a0e46248026adebe8b5f59f4b7c957 +DIST firefox-86.0.1-zh-TW.xpi 573621 BLAKE2B 0965907ba7e28f5790559c2234b46c1a0fc4e078b9e926db218f6c63d178ff90168706d48dd6b4b3f392132e2a6c32a98dc9b2cab1085cc8e2cda1098c386dc4 SHA512 51a9a28ac1c2f0a4653bebbdde75d6806fdb22191d447f2a80198f21367360fd8a37023a15ce1d6bbbe632ff8e002882c17cb8ae02abe7d8b5a85cde9df316dd DIST firefox-bin_i686-78.8.0.tar.bz2 73078277 BLAKE2B 681bd4630cf7ee7b50ff998da28a13f0868cd7b56706471cbaea3e605a3085514a238c46e50790cbd5175ad1e9ac08e780e3c1f30748f27767b21524545da932 SHA512 bcd0f2da08c98be13a773bcc1220b8d3e0be30db2452d4ad245328dbd97e034a5581ba9007a4f4f159f988511cdbace8245ebdd55c5c08be3c56f771c866c278 +DIST firefox-bin_i686-86.0.1.tar.bz2 77303605 BLAKE2B 8a09768bd62013d02b537ba57350213fca7938dd8466a8d3503a661d2e9659ccd19aa148028bcfc99e83cc84cace423e7cd6078b820cc0cb148a4b99b978771a SHA512 4039d8e26287e9f6749048cf880a62b06df0ad82db9d68dd9ff444da829e4124077d6018265f9dcbc47eedc924e33d094fdfbb110259cfbd6613e3368cec1f1a DIST firefox-bin_i686-86.0.tar.bz2 77172302 BLAKE2B 58595a2373a71ae88599526c113cf95ccd6dd6bceeb1d8f160897f743013a2f87785479228c0ad1134c7dfb60a44a3d92e12fc216daf49e7c36193e5dc889c73 SHA512 703c1a00d59418b064efdf25f5b0246b05709afb5541c9809dab3e4f6c813ed1dbce34ab38c21db89f02e649e152acc2a480dae539f7343f2ae4666e5f90a5c4 DIST firefox-bin_x86_64-78.8.0.tar.bz2 71093522 BLAKE2B d70ad51949ec9b7613190bda8c4a9d2b8cf8c7c28943aef876a8acc83ed6143acf5f4a5a3d3a7186072e767d471fea606c7d6f27bf6766d891b3d62a3bb4aaa1 SHA512 abdcd90ba2f2a70231fbbbd3fd683edb47212f4b914d89e84fe9f150ece69e31a34c87c5c85486fddbaaba427eeb35e2a71fd8bac5d55a35579070f049465f6e +DIST firefox-bin_x86_64-86.0.1.tar.bz2 74036656 BLAKE2B 617048f53887193b2547675611988ee9d0da3d0ca92d5d0578dd26d915dcdcbdc817020b300e416b92347ad5ed10f6825fbbefb417b9d34a6fd22be52d93fc64 SHA512 f171aaeca731403883fc88a2940663ac4f80adb00854a6f26ffa09e3847b637eb6b4265fcd8ab8b9887e349dd559624ef5a8c859723c58fef1e7cd6d7e92d4ab DIST firefox-bin_x86_64-86.0.tar.bz2 74186044 BLAKE2B 77421d848eb36237c331ca8b6711de697e9f4d39bec707068a3c6f8a772518e5dfd9c6b93a99637be3eed21d1d4a59a99d2bfb1aa40e9f1ee6718bc4b2866477 SHA512 2384d907507e1731334440f9a36514b941a869fe8a3b17e46067aacadefa499e230644ac7e83bbd896e49367eb76b0b9ae4d13b0827ab13005874ddddbfe45a6 EBUILD firefox-bin-78.8.0.ebuild 11363 BLAKE2B 52d08fee2a6dafb1ca52a887bbec112f633afee3eafe7d96974a07e821ef7feb9ce3891528a0ad2ffaadb6e293c609ba751ed5e3fddabc16dc95a406b231a93c SHA512 914af427e1effbca5432966971c0ba89ca94004554ba93d4562da788a85b98073c4ccc91754036a69e4e05ad72049e93e4e08f63644555b1bcb703eb8454d30c +EBUILD firefox-bin-86.0.1.ebuild 11357 BLAKE2B 24f2c82268dbed148716d4ee50a50c71533f7bd7914bd4fb333616cbe07b3916a894a57da93438a064882795660f805abdf4453da6d66c374f57080e624558cf SHA512 7325bfe17fb5346722c4cf5f2dc03c0d6b36f988de21b6d375b1329e3810a9ff80e877ceac2ad31281923abb5269088c504b90f9fa591792815f1dfa1021bc22 EBUILD firefox-bin-86.0.ebuild 11357 BLAKE2B 24f2c82268dbed148716d4ee50a50c71533f7bd7914bd4fb333616cbe07b3916a894a57da93438a064882795660f805abdf4453da6d66c374f57080e624558cf SHA512 7325bfe17fb5346722c4cf5f2dc03c0d6b36f988de21b6d375b1329e3810a9ff80e877ceac2ad31281923abb5269088c504b90f9fa591792815f1dfa1021bc22 MISC metadata.xml 425 BLAKE2B b26681e09f7a128942a50f9edf7ea7db4060a91bf5384200793ee3020b48907d034617dba59b6f71a54414270b1f94909eb2d2e659cf845ce2ac7ee095405fed SHA512 abc41a669eb3f658829ad46631cdb560b4bb26297f6398981a66e19b54bc2403b3b2913c904421b1afaa92884d55a910a1fbe3f029911b2073557d1311236ff0 diff --git a/www-client/firefox-bin/firefox-bin-86.0.1.ebuild b/www-client/firefox-bin/firefox-bin-86.0.1.ebuild new file mode 100644 index 000000000000..811038b1e175 --- /dev/null +++ b/www-client/firefox-bin/firefox-bin-86.0.1.ebuild @@ -0,0 +1,411 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MOZ_ESR= + +MOZ_PV=${PV} +MOZ_PV_SUFFIX= +if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then + MOZ_PV_SUFFIX=${BASH_REMATCH[1]} + + # Convert the ebuild version to the upstream Mozilla version + MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI + MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI + MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI +fi + +if [[ -n ${MOZ_ESR} ]] ; then + # ESR releases have slightly different version numbers + MOZ_PV="${MOZ_PV}esr" +fi + +MOZ_PN="${PN%-bin}" +MOZ_P="${MOZ_PN}-${MOZ_PV}" +MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" +MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" + +inherit desktop 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" +HOMEPAGE="https://www.mozilla.com/firefox" + +KEYWORDS="-* amd64 x86" +SLOT="0/$(ver_cut 1)" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +IUSE="+alsa +ffmpeg +gmp-autoupdate +pulseaudio selinux wayland" + +RESTRICT="strip" + +BDEPEND="app-arch/unzip + alsa? ( + !pulseaudio? ( + dev-util/patchelf + ) + )" + +CDEPEND="alsa? ( + !pulseaudio? ( + media-sound/apulse + ) + )" + +DEPEND="${CDEPEND}" + +RDEPEND="${CDEPEND} + dev-libs/atk + dev-libs/dbus-glib + >=dev-libs/glib-2.26:2 + 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 + >=x11-libs/gtk+-2.18:2 + >=x11-libs/gtk+-3.11:3[wayland?] + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrender + x11-libs/libXt + >=x11-libs/pango-1.22.0 + ffmpeg? ( media-video/ffmpeg ) + pulseaudio? ( media-sound/pulseaudio ) + selinux? ( sec-policy/selinux-mozilla ) +" + +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 + si sk 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 +} + +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 + + # Patch alsa support + local apulselib= + if use alsa && ! use pulseaudio ; then + apulselib="${EPREFIX}/usr/$(get_libdir)/apulse" + patchelf --set-rpath "${apulselib}" "${ED}${MOZILLA_FIVE_HOME}/libxul.so" || die + fi + + # 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 menus + local wrapper_wayland="${PN}-wayland.sh" + local wrapper_x11="${PN}-x11.sh" + local desktop_file="${FILESDIR}/${PN}-r2.desktop" + local display_protocols="auto X11" + local icon="${PN}" + local name="Mozilla ${MOZ_PN^} (bin)" + local use_wayland="false" + + if use wayland ; then + display_protocols+=" Wayland" + use_wayland="true" + fi + + local app_name desktop_filename display_protocol exec_command + for display_protocol in ${display_protocols} ; do + app_name="${name} on ${display_protocol}" + desktop_filename="${PN}-${display_protocol,,}.desktop" + + case ${display_protocol} in + Wayland) + exec_command="${PN}-wayland --name ${PN}-wayland" + newbin "${FILESDIR}/${wrapper_wayland}" ${PN}-wayland + ;; + X11) + if ! use wayland ; then + # Exit loop here because there's no choice so + # we don't need wrapper/.desktop file for X11. + continue + fi + + exec_command="${PN}-x11 --name ${PN}-x11" + newbin "${FILESDIR}/${wrapper_x11}" ${PN}-x11 + ;; + *) + app_name="${name}" + desktop_filename="${PN}.desktop" + exec_command="${PN}" + ;; + esac + + 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 + done + + # Install generic wrapper script + [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" + newbin "${FILESDIR}/${PN}.sh" ${PN} + + # Update wrapper + local wrapper + for wrapper in \ + "${ED}/usr/bin/${PN}" \ + "${ED}/usr/bin/${PN}-x11" \ + "${ED}/usr/bin/${PN}-wayland" \ + ; do + [[ ! -f "${wrapper}" ]] && continue + + sed -i \ + -e "s:@PREFIX@:${EPREFIX}/usr:" \ + -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \ + -e "s:@APULSELIB_DIR@:${apulselib}:" \ + -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${wrapper}" \ + || die + done +} + +pkg_postinst() { + xdg_pkg_postinst + + if ! use gmp-autoupdate ; then + elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or" + elog "installing into new profiles:" + local plugin + for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do + elog "\t ${plugin}" + done + elog + fi + + if ! has_version 'gnome-base/gconf' || ! has_version 'gnome-base/orbit' \ + || ! has_version 'net-misc/curl'; then + einfo + einfo "For using the crashreporter, you need gnome-base/gconf," + einfo "gnome-base/orbit and net-misc/curl emerged." + einfo + fi + + use ffmpeg || ewarn "USE=-ffmpeg : HTML5 video will not render without media-video/ffmpeg installed" + + local HAS_AUDIO=0 + if use alsa || use pulseaudio; then + HAS_AUDIO=1 + fi + + if [[ ${HAS_AUDIO} -eq 0 ]] ; then + ewarn "USE=-pulseaudio & USE=-alsa : For audio please either set USE=pulseaudio or USE=alsa!" + 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 + else + local replacing_version + for replacing_version in ${REPLACING_VERSIONS} ; do + if ver_test "${replacing_version}" -lt 70 ; then + # Tell user only once about our DoH default + show_doh_information=yes + fi + + if ver_test "${replacing_version}" -lt 74.0-r2 ; then + # Tell user only once about our Normandy default + show_normandy_information=yes + fi + done + 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 +} diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest index c65492412782..fc8a8260caa4 100644 --- a/www-client/firefox/Manifest +++ b/www-client/firefox/Manifest @@ -200,7 +200,104 @@ DIST firefox-86.0-vi.xpi 571524 BLAKE2B e66dc4e245658b5484c94aa8875586e15f7998a0 DIST firefox-86.0-xh.xpi 428557 BLAKE2B 86dcb582e1a648c5ca99004dcb75d3cfb13ba7dc871e0f5d4e7814facbf912dd51def5a674d9eb73689ec44b58e1060769178004ba89da46d52917a2fe88f5bd SHA512 c14e19e19773003f2b0826e3219ea4357f8783c2c73ea69f62e279e094bb1ba01b92771963a97b83e76e346023d216650bc1bca8503ac364098d8dd2c5cb6779 DIST firefox-86.0-zh-CN.xpi 573533 BLAKE2B 55abc836aadf6aebf1d951d66eee01848cbc35f684415c56ef1347fe540c0a592d4ee43fec9b5a82f6fdd50702709d54acdb97b3243b09f6d68040d8ff921376 SHA512 990d4e52fd548c6d89c41f70fd8e78bc242e989c25aedc4e61433099941a8b6c01764f39b283868d5c934fed8ba9a852fb7fddb3393575cd6c4c83cf321ab896 DIST firefox-86.0-zh-TW.xpi 573620 BLAKE2B cf251b009eac891fb4621c9d34345068efa394477151d5831ac23392110af433088d707a11fa9ab39a3ff7ed79a7ced471b5b3d95a1475f8fbfb295934b0de88 SHA512 12c08a0dad16f4e7ead8523ac0c8d3ebda8e350faf5f4986604f410855bb5ce5ebf393bbbfbcb110ec9cc887abdefe8bad23eb6654fde64f1014678542be19b2 +DIST firefox-86.0.1-ach.xpi 465042 BLAKE2B 34d2a7cfe9b4e354330aacaac966e89ef52c0b72fbf0b9e9a4052c7c705996e79ecafe0ec1e4999d8b47bfc50e4848bcaa510dff244bdd5031a985d979a87fcb SHA512 2589ed90b509efd8b31aa7677b5146ae1026f00379292060265726b330b678342a4dd2e4a1dbbd280ad7a1a41ef9a51ca6262ed4724b302586b3672eafc75d92 +DIST firefox-86.0.1-af.xpi 429107 BLAKE2B 9483b799b93b0beb4f6c342c947a732a04671e4d5c017b0b94d22f97c100c2ce223e58ce25ecafcd513476664bd955b3c8fa05285a5aab2b56711b3511967b22 SHA512 590e941421e4ce371f44188381936cdf7bc7bec485062b44e8d76906c30658ddc5c0e8d74679bf252e061a543b86bc45ada2d10dfacda0dde9fabe892c1ed42d +DIST firefox-86.0.1-an.xpi 512517 BLAKE2B 99bc41158ac2026b955dba5f324ca65db0bc65ee7f93ca523ffc8b9b11df5cca2186b90861ffbf5e355ada8875f623a472b8971eca96f60c851cf6eaae0ae535 SHA512 58b3c597cb84581a5c6dfd5e961590d0be856c48554d7a9bafcd0abeb1a6d25eed7d3e423901aa19c34bae9aa3db217a76ac5e9510f027cecb9c1d9014813b34 +DIST firefox-86.0.1-ar.xpi 564777 BLAKE2B d253cbc8181c4b6817beb1ea60aaecdf90bc8295ca0981c9c810fe4812781c5abb775d0fab4617d1d0262274f4af3379e0208c26eaaf07905854992ad1a26080 SHA512 9674c2ba59f3e73bf7e86bbd80ffff82ed2a25e2788718de8a5cca1c78efc30c96f1be3933aac774e0296aa826d90568bcb74ad50b13a2d3a41a02477f704b95 +DIST firefox-86.0.1-ast.xpi 493929 BLAKE2B 8c0919bae85d436aeea5adb7ebddf571537f9b850ad9dd07a6934c12c334eae23540f6cb81b210b78b3655466e5a7734f2345bfda9379a83773eadc84244576b SHA512 46415bcf002db30a9d48fd267b1c593713800a8296584af88e3c98f794321c9ddba45e5dcde5ddec98c4b8c375a885c4a179145d84766e7fef860d56c5cf5a87 +DIST firefox-86.0.1-az.xpi 501750 BLAKE2B 88ab2cb03c05d40dc161ba4aaa2780d0dce803fd35ee884ec369b7ad217486872e3ce382301acf3b6f6c0ea2924f09f045d99add8bc547c2c14538e8d3f41804 SHA512 9b82f1af08798e149886b650275d7efafe383c4f2663a50bfb2472246acc187192560e6ff333199e81663d226dcf263aaf03263565b93de9a8f3c173781d3484 +DIST firefox-86.0.1-be.xpi 616872 BLAKE2B 02e0b50e531d6836a6ea18c2fda1c77e422c34c51599b13fb1bfe0720c5cca4ac1ab450dfc7149431deb2e7d5c1240e111db2e42320afdfc53184642a415bc1d SHA512 54ede4f99d2157d31b5517e8513b6598fcd19593e5ffc8cf6cc43933a1e958c7ac6544456de28593be415fe88dd221738ddfbd487ebc33d51765634f451c3300 +DIST firefox-86.0.1-bg.xpi 565562 BLAKE2B 5ee5231743be21cd42c393ad73aae58e5622419617f7d662c85f226f8e5c355772db71cc9b31881b2cefcf135303a22d19d18104cd44c7a328d0f9e079f33af8 SHA512 20d6b5c00839dd7eaa6aeeb8e54320ad4789fe050917c093bed001451c204cf054cdf128a23a8f9ef34d3aa94a9dbc8bd6c3d4877029f31daa53e0febb7f3ade +DIST firefox-86.0.1-bn.xpi 577121 BLAKE2B 51b18ab4250421bcfb781099a13153d375ddf953c3ed07bbef4651f34d0e2416dcc162a7d23d7b0a913066e6d46ee53b3a744868e70cb5c6980272a6f50126ff SHA512 cb65cff83bcde9dadbd12ee19651cd93ae86e08666e26270239c3880d127fdb2cbf61432eaaf4d9e3c7322389efdcc9406597be62ba70cf2d4465717c805e67f +DIST firefox-86.0.1-br.xpi 518347 BLAKE2B 2011d7f83006782ec4030b16d5467ff244eb184aa80cf5bd8539c2ed58160844a89fb843d5e3b7dfa3b96f00934055474939d8947b78670cc57de11e00b8bd46 SHA512 162d1dfd87bffec260e32fd31457bbbc286445a1fef75c3a4462f342674322e15e17f08bdcdc2f8ce09ab09671232f8dba9e7ff26b7d23d83138fee4a04a4761 +DIST firefox-86.0.1-bs.xpi 470242 BLAKE2B 92ad87b88a1e8f3d61676d90ca37294d6570e932823153df03c5d4ee5eaa4a0f8fa9e7cf72dbedbf43b34bbb8ef3f3f62dfb1b3dec651cae6e13d26fb58b13ef SHA512 c143ccfc30aa3565be3de053bf3185c59f774e24248aefa64e1467f2ea27be866ee960fa16b06e63f35d5488f8ccac48d02390f177f4e724ff99388a0f10b820 +DIST firefox-86.0.1-ca-valencia.xpi 529202 BLAKE2B ed3f4bac7c6fdcbae4b6178c9a3c0159e98f5a0cc3fbfd19aed4515fc81fba3f4085c4328a70ef7297c661f26cfcde57543280d12249084cd5f4b6550fb6b3c6 SHA512 41a35706a09040d69ddf6647d35777343974b8e787c4a7552a1915ed89cb3c10b0dad77fca5787471fe68218f679d25c57ad16cb3d5d2d56ba1b1c291c6f05b9 +DIST firefox-86.0.1-ca.xpi 529013 BLAKE2B 4d08eb4a5041f0f4f485686bdd9121580e2def962a2c4723716be89fb876a33857da995cdb563266a893ce76ebe6758dc68d5fabf1c3563b669ebd545795d12a SHA512 612df6bb34e9ea595353f3639e6c39e2b234b0b9f853ad5bd087eaa4166d18910342e78726d82d166a3bd86e68f678ca3d958f7265adb065025ab5ec4718d1df +DIST firefox-86.0.1-cak.xpi 556828 BLAKE2B 75fc10e95425b295944a36e8162ca38fbe3d4b12b822e978601901d5dd331f5f6acca2e06cde5848d36b71347eb18a8f7631e19ff812a062c41fa7d56c9a60f4 SHA512 1c426a8702fbf246ea28bd22b3e8b5400bd7dc83e3cd55ae2207b4d0de33fe26d2393a7679bc9221d3e80bef9858809749762e684641a22250c5f861582dad46 +DIST firefox-86.0.1-cs.xpi 553812 BLAKE2B 4447f0a9c90dcef4c3221ba4beea828a1536dfe277e0d4490d41f2007118f4171e5bbda4e53bc6799d329cf29554c7eecd130392a95e652b9cae647bbb8696ef SHA512 c8329fb0c20f5777c76788b3868b8e8cf0c703d0c6fdd8a4b13dff07bdef281e329160d477ab8080b83051453fcd91567cd3cb01cd2c39677a1fedd8b45dd8f5 +DIST firefox-86.0.1-cy.xpi 539166 BLAKE2B c325692f86b113a0a5521c0ca524e2eaf24d69f15c04f36af82ce3602ce6375977d35db796fce1914b8345bc29798e5771ced3abbe8e21e8b34673764a59e13f SHA512 5c99e42d87b0833b28cf7882d6333234ac3cc7150be1267661914d8a3167eba2920e4bc27e6070f058f640454bdb3f4fce0a4b4e84e75234e3a0596dcda8e5d7 +DIST firefox-86.0.1-da.xpi 531518 BLAKE2B b6a879b7f161278755ed4ae8d27bdae1d28b93dc8f03756d319e58cbba53ec0dd6508c008123a1947175198587120c996d6b0d0263d23c3bd9ec8b368ea4f8f9 SHA512 8f6486ffc6b4679f63472fe4bd9c3e925a21d06b52735d2b18872aa4bd36472ecd9ebfcb062402359dd3fbc727e307893da90626428c371b919fe2ce525910dd +DIST firefox-86.0.1-de.xpi 552150 BLAKE2B 19e9c5bdf1c7849cd6e3210f4227f8fa2a6b4bda4af905d96cc94716e9efa551edc2a6cf6ce6227f191e9afa94b408d7ef9d9bc605d54e30342c84a04f79817d SHA512 4444ac19d68b10c8cbf43ef5f5b26be39d26e3fd7fdfe99f2a6d8bfec6be8c86bfd725068f330aa086674f2f92896626a4a2f7b2d7692b46ec809da148bd4c10 +DIST firefox-86.0.1-dsb.xpi 564066 BLAKE2B f4af880f85a21fe6506cfe5e234ec0332d02703ba7b1726e150779bd73a443506197e0a08efb3ed5f17bc3b00828bb7a2c9f51cfa581204dbaf1c8fb50e2028c SHA512 f869202bd68dd3d59c1c71c1bb07a68f63aab5cb3d7404d856ecb3117d6e0bfad39b00ab9be6def6bdd1739b69ac34cae6c0c4638b6f773ba89043c54a67098a +DIST firefox-86.0.1-el.xpi 634015 BLAKE2B a273cb6314ae9cfda3f2c8bffb90d49a206f2210b2833ce2415d33da48f86d4a1b9e766e26c39c1d98f8a3462c681f86f862bdca38d2f6e6545ee53d8a488925 SHA512 faf81b3b1a3f787310dcf8648dd25a774544023f22cbe6df94499ca6951922e10b81f6808f2c30569b0ee8cea35d203b60adfc290254078c78281c1184b377bc +DIST firefox-86.0.1-en-CA.xpi 507449 BLAKE2B d5a4db489db5333a8c0119d953714234c19f8a914ef73f62f5e5ef27cda60f432b911381565f2d285900dcfdd0571521a69758621ec36d990d5f8a7242c59dde SHA512 d1bdb2da353586200d7899c93e92cacc5ad1c9dd6e56ae68c4d067178cc5212865f29b8ec787970133567dce9ce9785c5ae6c9e4124b5ddaf0e7ae3ee8d907c2 +DIST firefox-86.0.1-en-GB.xpi 507809 BLAKE2B 235718187ef90a9d569f91b420e8dccd8e0e8221ad5d9e597e495bbb534d3c6ade0e8748cc06c250a2287ac19041ecb7a771398f6e5429c3b2444c570712c4f9 SHA512 b05cde49bc6bf87f8572f4806982b915e6202a62bfd4025472a3810bc4d09a68a809dfb6ab8383af4409ecd679123474fce911d09a43f9e9b7cdb170af2e199e +DIST firefox-86.0.1-eo.xpi 529151 BLAKE2B d5328294c891766ba65ef82a1acc7ac49fb56fb082780cbb9e29e997e8a57d08ba21cbf09c4ae787ba82a7a14c489d5e1e03e77a61538ae757aec0e878b735bf SHA512 3328614faaf3c9c6a348ad39ce159324999adb419e8a368dc8f51f972e51d8a0d2636578d8a118e2de883aefc8ed4355941742d5e438f8e6eacc1ed26de48da0 +DIST firefox-86.0.1-es-AR.xpi 544682 BLAKE2B 625a1bf9d9ad88952e986f35b068816a2d8ba9f55f0223ababc1bb611ca0f03498623d43bb16ea43739a484ec40d355c9207c1008194180fc3a1c44c43f3f064 SHA512 19f46fb79447e0ac924f44cf0d494d6b5886bf7c70cdaf7abc1ace622b7b1a78dac79f61b24e35cbbc299006997c4e864a03437ed8cea0ed29c1dffae345e061 +DIST firefox-86.0.1-es-CL.xpi 542913 BLAKE2B e09365a1396a24b18170ac221092e5193aa13c5a65e18fdc5d2e1fc925abe1f9778c54a85adeb3a4a41dfb363be09b77afc2a88cfee3ddd7f3bcf4eeffeac7f2 SHA512 5363a0d51c4f420297f477eb4f44614a8f46a8cb462ccd4fce3c18285f030e9025a0a9ffb88b19a1449ddeb231efcb6bdc4cd1c6ad7892c310c0fd8d672d6e81 +DIST firefox-86.0.1-es-ES.xpi 534190 BLAKE2B d98aaa34e94da0b317e632bb68f5c0e39a80779f4be0a72052db9590a13347f1f33d2e873ab9e3fc3ad9839fc083657701fe2a8a894d39bee9f6af11449a525f SHA512 e33e93a566be03954cb7e2c1d30dd6df760714d0f659276194839ace16dbb57af029bea04640ff05faf5b30ec86ed1e8ac199f6ef25c1e5df47968e8fec0f7c2 +DIST firefox-86.0.1-es-MX.xpi 542618 BLAKE2B 115f31dc93ecd20cf9099ffe02dccd14ef1452b1af4cd0e163ad262b645546eab380400ef16a77c190685b0a179df3a0f4a8499154ef6f3a09a90d7544055624 SHA512 8fef579005026cd754a34c8342a5217dfc9be2f14df8bd967f285752810b6a827c4e5817052904b8589bcbd8778e9570a493d4b4d41d6755ca0fa249cdad0787 +DIST firefox-86.0.1-et.xpi 492961 BLAKE2B 9f1fc763088b81ecafb987b48d91acf8452ca7a1d85ffbeb461eff7be4b5d1cef29cb3fe810cb6d8e5e3f15a1b8f81f64d22f2ddab18f523341ed4d33ddbaefe SHA512 4cfd00c6e07ab18bffb58a5b56f4f0666119107f60f496214e043b4674ec156119c03c6f16d38072f8bc55bf1f616e0181d7772f401aa4953795025efaa5c20e +DIST firefox-86.0.1-eu.xpi 524557 BLAKE2B 22c8b648333c5baa10fcc5edb355e4b7ff69b133d179f921cdc31c7bf797119490dc5d71f8518771679de248f1a835d2023ba52d3457606df3892bba427ea4b3 SHA512 e1e852ce37c4de30442e10b95298689f6b47318d7bab8e49c318afc430ccecfc5cc234e9c7795711fe3878f09cb1616edba2ca11de71adce9004c42232d07803 +DIST firefox-86.0.1-fa.xpi 543434 BLAKE2B ed2300c05c17fc1fe168c1927b80f90fb68176f1c351d3c505bde7573614e02298bb7a4df8809258a7b26a087fe4414ec8c6fa29037dfd225c1c0d8a8aaa7db0 SHA512 c7a099ae04aaa9f1b4bb946e72906864e1abdaaf5ed0d8950f665e570d5091261a5a605b80b20d21070a094716d2bdd822b23c5ab1731065a82c2a807ac2aadc +DIST firefox-86.0.1-ff.xpi 486270 BLAKE2B cbd23677547b4adbd8b667862f98bd3e3841d555e2ee1babc11a29bbe24faaaa046ac789c01618323175cc4e8cafea52633fc43d2b6dfe29feb7eab55cb690ec SHA512 7a97704122820ee0847c9d8a54a5fee042f68b906cacaac7d6ea5922639d11a1513af7bb0ef8bf5332c1fe93b408eb1f18bf63fe3ba04960865d2247a231e6bb +DIST firefox-86.0.1-fi.xpi 530332 BLAKE2B 048fbbf5af0f87d983f1c5eb25b316d66c89da1381ce2603f983434b091e28e1cdb880dd9bed8fb75e542f64a747254c264ab4eeb98650d6ee4958211beb1be9 SHA512 33cfd0f5afc64b8e59b2c00c98727a5f112ec08f80533271cea22a51547b2251db97de4941efc5ff1a0f95490a3a6b6a91fde8c45d3b54dd67ebab24b10a6744 +DIST firefox-86.0.1-fr.xpi 553998 BLAKE2B a88f9ee33da7e60badf4b4e0375c1849b052e0ee3be05793221821e2f972540d62108d0da4b1831ea2d161be57e50a2b911fa9dda6769c0f1b57c213d6888070 SHA512 76113b735e31e4797be611d6a1ac6f3e7caba8688ec7aabeb41c9999b4dd77958df6cb52ac49dfa26e69e8e3390f514ef25e02a8c016f553d782cea8459c5c91 +DIST firefox-86.0.1-fy-NL.xpi 540445 BLAKE2B 09056a25551d5ed12339cc57a86c9fbddb126eaa145ed020afdf6775b10d578da8cc27bb99ad481a43d54f6e8bd9841de334f2745fa99915a698add4ce582923 SHA512 fac8c8c6307b9b935bd522cdbe32b0ac2744d9e4274879b2a5e034b8efc7a08682adaac668d2a809bab5d00eab4c5e54f478dbfb96f3e2e3f7997db64df45fcd +DIST firefox-86.0.1-ga-IE.xpi 469993 BLAKE2B da355f696398b7f3c0941699441968fdf51ac5342fd62497e3e4c9433ac2b22c898e9f01f4ef187b2d7432c37fd56ff8812c167fbb36015737ad930a9ece9970 SHA512 7f7848ec4b29fbd4b9f6a61fbaa4acc5c30f204443f6d23ff4e3073bb20a15b70e55d118c9499f3bdaa995ff675aa6a02d2796b4198b4895075c7de66e8b3406 +DIST firefox-86.0.1-gd.xpi 496811 BLAKE2B 3b9270bd06eb8360ca3c4b9903d09423dab12a5c02c0781341bd0cbc0c70123490cb9c0e9a3a4b1f5447085c0b40beb3cf9d5ffb053b40f293af5e1b8aaf9695 SHA512 ea138c6af234a88519da69e779aad59973c1b645cfa15cedaf746f4d553e22f15d684d014cc54ee909dc228d8a0a1f9685c78d0b5d85dd9a8b4054173dd7e58c +DIST firefox-86.0.1-gl.xpi 540061 BLAKE2B dbfea3254f3bdf0c9f85e14d3b94aa082a122299784674846592dad4fae4c3ea2655f4e1e5e1cafcdebbd5b97cb7e6827e83eca1044c6dd2dae6a14606c18618 SHA512 a2ae073371f649f9a947901d8119abf866aa4be73ae89fe91d92f4f3760135f02a7615c7c2127b415a23a638c921d8480f0e07fdfd8c3ea3aea41564ac07f5f0 +DIST firefox-86.0.1-gn.xpi 555294 BLAKE2B 6839881081f306252b3a3df989a056df8e7a810cffa6696b979e6efab5c3fc9fa524307950f943acd1554fa7346c8849acabe450fc2454c60806584b4fb99ab5 SHA512 47f2cbfb7ffbdfa62d8d24a5ca7f5506d3fe5134ddd525dec52af2ac12dbbd642cf5bbcf8a23df4dc0d24331a4b4a4fc97b1c08f0487a045f02e10b2c91712eb +DIST firefox-86.0.1-gu-IN.xpi 545779 BLAKE2B 47b060b4907a3af708f4b627641b39c01feb2a2f516c2c7770cd7d2acd51f7e7846c9113e4c37fff71e3add90116bef945f8ae77f274ee54dedd615d45b66698 SHA512 c806175c3f5c7f035ec1febf37119a9f6d72ad6f30549954eac1bdb1bd88c51553ba4aa24e15dcdcd7648bad339616bd3e55a337903b19b97f7f3e492ac662ba +DIST firefox-86.0.1-he.xpi 554633 BLAKE2B 748cb876fe053dbff199851251504b06fa2811bc642d6ab295e693c537cf4a40b21824b7f2ee8868677f34d331e4ec93a3aa1d03ae6afe16f00e91a4ffb6ccaf SHA512 e69f7633e70e9037671b620ccd8d9a9669161bd3174fe30cda344b40571247c7a01a86de8aee64261ea5c62a49eb9b2534e0a7e2af69d12c1e4c9bdc1aab3259 +DIST firefox-86.0.1-hi-IN.xpi 575656 BLAKE2B a2ea8f65d120d7ee32759ad6679625d3ffc689aeb5df0d80220989ef2ca579cd1992724c2d29c8f6c27c3aa43f92e9a911f8f9a4118de1628448f5793af0288b SHA512 e1022e8153d5c298a56e55ded7d25f0b25a959b13c2d08365917e2062fab162383f31d3a9229cabfadafa360940f5e6b089c09929f48273b944bd8d88a46275f +DIST firefox-86.0.1-hr.xpi 535257 BLAKE2B 4c10525d3a3f4181ba925233b6fc9dc3b8804f0cf88fc1dfb637702779739e0defe0695592b8ac802dc6fdc90d261060c3617dbdb87150b17a7d9d8baaebdbe0 SHA512 cb79bb54173bb9e3eddde371ecaa5798e93fe8e9fc2ba8200e832335e20904ecb6cf2487d5d1ed0e975898213fce32d175e95d9b4048ef72752dce97b27c7ae7 +DIST firefox-86.0.1-hsb.xpi 560307 BLAKE2B 1e5c253a7fc8b9c3587e1d9128cb92f51f0029a28d98d80fd60c9383c1b3c7b49f3ea16712003bf214e9f726b182aeb8354ab60f38a61cca17d6774a5555cd57 SHA512 a2d87be706dca23548e269f08e16cfca6529a9c0e671e72c761fc3ee8b2b807eab4793f8c5a7518782f29ca05bc9258875c5feaf29c979812194e0a3454f454d +DIST firefox-86.0.1-hu.xpi 563215 BLAKE2B 9c865c2f063f3949ead5eb36c5979c7c1b026b55b81e12451799606d785cca9c18d4be0687b853b9c072b51b0cff1dd8eacb82a151942a0cdfaf0f38fe90a9bb SHA512 e417703cc43a499f5ba64645c44e9d5645c2161b45a3dcdd5f5c2d9b32288adf236b659801c4d8972266edafbffae78aa8f5054b18d275c8bf3c8646dba3135b +DIST firefox-86.0.1-hy-AM.xpi 594523 BLAKE2B 5b2d2829628a58ef32e7f905e1edd89dee440afd39ec1f206755f10d8cb26f0177804bc1a344e593307bf115064bf40a4aad5f50240a8c1dcd3ea023d1c669ed SHA512 fa53043998c8e8d7bc905e19c30fad57adce91d9716e523fb9c62bdc6ffcc2f2a8c023a2ec50c63c7573a13fe6709e0ece99c4ab661859df818bcd93d0b3f22a +DIST firefox-86.0.1-ia.xpi 530282 BLAKE2B fa4082c2b94aa00ee9c6d3b6a3d47c6456a9f6b212a88dec4fa000bd40dd06792940815ce4c12b143586224fd208571617fb8efae538508fa6b105df846c957e SHA512 d41faf1143d64ffdf27d12d248224cee86e6dd6a6ed9a9ec63bbcaa7ada74888a52c50cd545551ac2a32c09b9dee67b7b97b5561a7c8097ec790cfd138254445 +DIST firefox-86.0.1-id.xpi 512566 BLAKE2B 63b935c04d1cf77aeaaf6f79bd39a79c5beb3cd50acb80a22227049e0dce78d883b539ab2b8aa134b275529938d6b3459e8a0baed20102826e199e8537b92d77 SHA512 f91e95df9dd582523af84ab4d8a3a720c8ea19b4f76d25d7c20a387e087c6b7ccf4529ecfb33584e9a82933b2326403e6bf379109ec3ebed50a86da414947bb5 +DIST firefox-86.0.1-is.xpi 481751 BLAKE2B 311397c9388f70bc489da15d78931204a27b1326ce6be1a465d6d53e63bfc4cc823997c8923aa415ecda29f260084b879489883ecf3d31ef16b741243ad4d9c0 SHA512 3cba6997c6c807009896b4704d25b42af2d96632993bec06fdbb2f83fca76cb93c5b87260bb76795542e281468315f943c40ccf72f041be44a84bde29ec51fef +DIST firefox-86.0.1-it.xpi 458578 BLAKE2B 68c8c190972a4b4b4073ef3ea21871ec476b0f29d616c0fe0e04dddca5c7aefbbb299a42e3cc073dee25b00cb21cef4ca93587f66ae845b7be60b9765ca0dea4 SHA512 32babee2544c3775e9dff3ff48fe2636cab8c18d17a53c902cea4268e6229a4cc597b63d3a0025a60bd025829923e6d623a03b63bbd1d4a6522b391b8d5286b9 +DIST firefox-86.0.1-ja.xpi 589891 BLAKE2B ea28d2973b6ac65aa17569c1859c1065a3f04f5f42d2df2390b85d1d2da56ca702a55414a9a73dbe4c7088b5a58ca984647a809d4760b3787369bf65035ff83a SHA512 2e8b3140858be4650fa0b432ecadf02196d1e2d440499a0f7ae880dae532ebf3b4fca6395e94885e09a4dd987e92f2de9ae95ff1695c605175fae589227a5b2a +DIST firefox-86.0.1-ka.xpi 588745 BLAKE2B 5ba84215d8034c463e3521ac9ee0eabad9307f87a1eca514422106f8a700a5de17072abfe2a7811a06a60f74ce2556b418410ab5943cde166eb9bf103829ff1e SHA512 a879a489cb33d444db1b5ff1f3e75592bcad75765f05b7a8454ee1f6cd6c68290e8382576305b2959389d51576966d4c9cc27eba276226dbfbd0970391e9fe01 +DIST firefox-86.0.1-kab.xpi 549107 BLAKE2B 363bd01606fef4ab1881224d1f2ad54ae37068682b6929b892bae0551a9cab023cd2250442cb61cffcc6e1a6a3e613e8657763bbdf73eef2ff4c2721f12923cc SHA512 9289fe82426360b5842b56ef4b8819b05cfaed547bb69d9cc34e5dba424daa43a7e3edb381d68451072dabfaebc20006f678a5d5a7fe13319bcbea148e781941 +DIST firefox-86.0.1-kk.xpi 599409 BLAKE2B 7bc95dea71346b7777f5c93ad3312eee97ec0799691c0b20127bf3c1702d1201ba5643a56f92bb40804585963fc56ccc9953dbbfd197e74e44f843ba78bb362a SHA512 9fb0c43ee001c174f93b215a55feebd57c665730aeca37c90b3045b221cd98aff51c8814f9ca6cdaeb9109937532bb16aa4f30ca25159d783b910c4de2087a8a +DIST firefox-86.0.1-km.xpi 530971 BLAKE2B 88ffc578e534927db2915111b18ba33afccc3397b3935de2f79bcb631d4e5d53d760f242cbd7a36bcb48937173a75dd2f6981c862848825eef7c14d037c83160 SHA512 a373f7ef5a8742cf3e07b28dfc28dba0e40e3e525453332d51fd3912a3ea4ac023e251ac5fb83aa24b5d98bb9387c3657fd00167c8a27ebad8a9048ba5152a85 +DIST firefox-86.0.1-kn.xpi 508445 BLAKE2B 6fbd5a8ce06f063a5e615a8f867eb95748ba6f49cdc6e23df213f9e5326fd7723e51644f8786ff471547f22b8cd97af0aed1fd1536b63a04f43b288b3412386a SHA512 dcb842d67ba5abce2625e2d0edeffe331fd3b4b4141d3478a0adcdfc77956a9a19237726930da2cbe49319e4f7fba73fed8b1a026d90ab06b549040f2d489cc6 +DIST firefox-86.0.1-ko.xpi 576146 BLAKE2B bf4ed040a803b6672943e43076c6e3c021067f6f8a88691e678be5feb611e5458416461075e2e19132a38f2afcf01c32a526767105c560948e04828854851465 SHA512 e2e95b6c8ff5e9bf2aaa7cc35efbb6f49c5686ff6ac60e91258f50bd82bb8fbd590d38c80e56ab075d088be60efbdb956cbdb6eb856af4bd0f2635feb971d105 +DIST firefox-86.0.1-lij.xpi 480049 BLAKE2B 54a213d6e745e03f71e1b75b84ce5ebc306bc649dd6f2b3ff0592ea0fbd9a10d23f9cdc27870af88e12364ceaec6cf3e55799d9c140faa703cfdc14e3580d1b2 SHA512 3eb92868ddb1ced37f7357cf35a0faeb7993c4699c1072e221c8cd900294b1431b3ac2d822159e25418cb77ae15eb04c744223cf1db940637125027aa06b4b4d +DIST firefox-86.0.1-lt.xpi 559019 BLAKE2B b89696e263a21bb6b38c8c28b398d893df8cdad1941b38aa410d8c022fe564b32bb1117c4983aac35859cfdea66a2fd9a3a0a7af6f38e8c94a6fdcfa796c5ebd SHA512 cb179bad67c70024d002ee9f902a32548914284b56ff2f1a2ec2c1731c740606bd98708d542c3a94598830008717dae49c9f3d8b9368ace6010c1897ab4e4603 +DIST firefox-86.0.1-lv.xpi 474155 BLAKE2B 8848d82eb28ddb606283807e06ac7c1ce78243719108a30f732525c1ad99117b250965efad05a2737a5ad339b5dd14ec7b48de0626085a884a4cdc222623203e SHA512 43ebea5cc8d2a3ab4354ddf3c5a2f8fe15bdf26885c5170fa087eafc7591bbe93b89b5b39ba68578b47c211b6577bad0bfdffcc1ba48eb3ec83afb4cb21dae88 +DIST firefox-86.0.1-mk.xpi 459135 BLAKE2B 9a6bb1befa319a68e06f2b4f85623344cb41212a49341ceb5432b45534c5a3d977f0aad614d3c0ed92a8ce0ed40baf398a7e8d54be0834a8bbd5ffa185619199 SHA512 bc70294f0195185ba551a580e372a217b5b840b7a7272213862b0cca88d94d4e6af8d43439f907223b9a072b557761f4df5916d74a7d892914807596c5aaa1d4 +DIST firefox-86.0.1-mr.xpi 545524 BLAKE2B 6529439efadccd40f31336fe060ed392672eb3523b77134ecaf0745ee7b555ea4c09617ee533e21ee9f745321f0b7c90df31a67e0f4bd2c77d9fa43c1c57839f SHA512 77b8b064602105331fd3e949796802cf599b4f990369553d52029f0b35342e29fb368a09df1b1a95b32c424276c1c34c98e7cbd33c4d3e9a36a66f74c820b5ed +DIST firefox-86.0.1-ms.xpi 457454 BLAKE2B 44fba93f61d55ef8fec113e342dd2e3a60e56da0e4c0621d59c5bcd830dc5deb990a89f3ab877a40c813d7781daf25b366199ca970fe574a248ef56ec0fac5a2 SHA512 c4ea46ee45c8f840f7ecb0eab10bf6a2181042676e9abd4f693fa04799bbc9eea2f0ead02bfdd9fd648acada97813d2b8e2214842d247e86f673a804dfcd64f3 +DIST firefox-86.0.1-my.xpi 528896 BLAKE2B 890e907df53bda4440f64da08f6f95651a79880fa35bb6571f5a700a93aaaecfe52c34ff46f14d6ea22ee0e8a9eb871de807a9aa114b239aabc4f565b7d61afb SHA512 79e67c13355b950a5908100606e334f8289f19a3d7a046601fcfc85ecf8c0533ad5d932880e1cf7c8667a64085460ed7b6f3036b3948a5343452b627e149a03b +DIST firefox-86.0.1-nb-NO.xpi 527396 BLAKE2B 86f68f55844b93d47317b5064623ec40495f78f441196fb383b3e686f562c7947f9c5679713fe21bfd10b19eb65f59c96d56fe0d009b0b667cb405288c2bbc29 SHA512 62e12e533688fd9971cdc46a9079eea9c8733e60c44053c3f0b0137b96efe5ffe06f738da433dcf093c7eec626ccd8a12657c51cac4709f4832913a19fd56501 +DIST firefox-86.0.1-ne-NP.xpi 485622 BLAKE2B a5061349d591663ae2011c07f19f4f9cef7a645ced1df95062ba17f0d195e03f4953f46d381e2c0ca556cb919c96f4dede5b3b205a8373b1446893bd95d0cdd0 SHA512 e5a7d3fdde9b9df4ecbac52f6668018c1a264c838e50f04bad0115c510f2ae67c66fa15c004ccc8d2680a21618749e3b78398626281e754f2ac009ac325cac2f +DIST firefox-86.0.1-nl.xpi 534624 BLAKE2B 646c60599b0452d5c525edfb98fceb148bcaa6905aa1626da0820bd25652d671f2df550725142eb1f36f2f1bfe98af120c17c1bbaee706c9ded33a0b77783b2d SHA512 4d6e2aabaa2781dab1dc8998e27e122e4138d55e24cf0bd2080172fdca8316b98f11bda1e1331b1a2febd68af58feb9cc9a61f38ba1a2dd5183e63e491ed168f +DIST firefox-86.0.1-nn-NO.xpi 529795 BLAKE2B 3032534b021643471065939af167f10c9c0a52cd11ab3c1ca540cefc70527f891c6824c460676007c8080d90abe80c1aedb666f073a35556b757582fb9cd78be SHA512 483178cb02bdbb0a6dd5a4345037753c987cca8a17cf889f6e9afb80a43aefa06ccac73dcb3077813759d2f5fa114bc775e4029cc3b58d2655dee8f6385ae934 +DIST firefox-86.0.1-oc.xpi 550292 BLAKE2B 1e8bba02c39e9ae822ab4059330d88c0e109d9ecec0ffda2cf854a94f9f7037b2dafee842e373949430b1cd36bf92025f071f74d53ebd479068955c557a7af9b SHA512 01c5ca68f977ce25dc7a7b82090fa2f24ddede31cabca3e618ab4f23fa2bbe4296de538b929bdab41b2da992b4ae8c5b23fd83e90418f04d4f2abdf9a6f7f0b3 +DIST firefox-86.0.1-pa-IN.xpi 597242 BLAKE2B 21d5c2c394a051c2f0904ef53d34361e2daaf0dd4b1a73c67275105c1292cbdc6db5f4b25356596a117c79c91b7f7884df8190cee16ffe47ed546446e2fb7a9d SHA512 cf4c2812439075ce6c18f2f5af9a2729406bb6964f2235d7e83bbc624819f9c56b7d108b0f8a7f831a73763230c7423cfa598e42e57af4b0a20f95ee7a6a2064 +DIST firefox-86.0.1-pl.xpi 554809 BLAKE2B b4279362a32a69c726a4b73cd41fbf407eca9da91b151262744cdb63916dcb8fea97389b1f07e04d01b27491e79049326127e046d4c3d9b57f21a217741df83e SHA512 7e149c273e20702808fe09f2e35a13217093b660c3318c6c812b7f181f76fe0d9e797e896e7e9093aec517338387ab978c911ebc11c7dff931622d9c39dbeab6 +DIST firefox-86.0.1-pt-BR.xpi 540545 BLAKE2B 682c93aa78f29031aea3174b866130abf3cceaf724a1bdfa4ae43acf453c06ef9596f4830865cb5b5f0cf4efdbbf0770ffd796a4738a443e8006908021adedf6 SHA512 806c0f8476cf751f5b97065d62b4be327a20f219a343d8b0569c242fb0a8f9f183c91118cef6d28571736701db78e631813384784cfa112ccaec925e2345b539 +DIST firefox-86.0.1-pt-PT.xpi 543592 BLAKE2B 1703e2057246722c6e54fe7b9291516f09e1876976b60ab51234569e816e848aa7877e3d61af51df39075aa3013e7563dec14c3e9154b9010f14353451f8d81b SHA512 6631d6f242ec6a85854421c4c9d8406c803c154856d3acc1151ad17f2d0fc9e2638ad93809770b32e5030d84b2bc0774f139089b9c6a4e5ff0760432a246f1a5 +DIST firefox-86.0.1-rm.xpi 535506 BLAKE2B e17b76533fb4a7f206e4e0982066cdc79813a315a5b62bcbf75042d516a5473caaedcf89a037d4dc76001e5456f31c5e42ea8e98e13c45b91a3f281314eee174 SHA512 1df61d32f103d997492437381d87c400ff374fe6bc018cc07772e9711009f1332421610767961b92173ed5403bb6189581effea96292223b257cb349fe40c9c1 +DIST firefox-86.0.1-ro.xpi 537021 BLAKE2B aa891c8c431a4c67d6f10a1ca6377779b7f92f3119cff20e4cfe34441a04a2c198841c24841805c65cc3123eff01d08fce6d6a33243caeefa8d08281521e275c SHA512 7e21036006a2a0cfa482ba335210917f8641e29f2752ad8c7cb58fb79fd38d700f7bec4a97af17ba3b0b1f5be42814440d93796e88fdc59b885c1f8c67f5d294 +DIST firefox-86.0.1-ru.xpi 625464 BLAKE2B a073df6edbd1dd5a82fcd7371f960d7318d164c4872eaf0502869114f12544e3d74343c92b6a01b96998eed347ec9a98cd711eb5097aa0ccb55df9921a1137bb SHA512 459d91c808860b33c56d5cd506cff6b558c59d5091a0b06ceb70150e2c485bd7ffaaa2aae0c2e0e85e8b4ee1e7515720084b5763ce132cb185ac511835410245 +DIST firefox-86.0.1-si.xpi 494951 BLAKE2B 03a9a6580f44783d05bbf3968e3e83011c81cfbdb884f4c66040864e250e2c9065cd7bbf047d70c9dfef36d641e6fa33f2279ba4692b3ebb15e0a40cd0625376 SHA512 f8075b3055bdc5db4b6074a4e13057a1434bf8eb5181b8f1186b29e347238dff8748a172a52d27ab743a6832f9d343b7f8adfa1d89c52cf9c0509b04cd7e8339 +DIST firefox-86.0.1-sk.xpi 544587 BLAKE2B 5726c71b31cc3c2af34e6bfde50e820bbb4275e841041b48d69821d5c89464d8ec666287c52000ad03e9c8dce74b96f3f54e3fcfba0a0be668dcb2129b728ab2 SHA512 5eac93453bbebf2ae86ae75c64e39f909d7dca68348e8a810962b948733b556ba5ac29f03f39f393e5a45344c510083fb320e81ffb945ddf2e425745c41952af +DIST firefox-86.0.1-sl.xpi 530040 BLAKE2B 5a276ca15e3eecb5fa1d2cf66a04b829fa9f28c35de6a883e13022bfc6a2358a6d863fa30e979f1befb915ff165d1459d77546f7f1c271afeac6c9dcd6caa381 SHA512 eca6a606f992b80357ff78e2426f1dfa86062abfa05117fc754ca764f28fd37a942b1e457e1d720427f48618d7e832a3c03c294e815e9783785e1a3c12b8c992 +DIST firefox-86.0.1-son.xpi 426358 BLAKE2B 10055742d15c54685980d25c116455ee3a9a8779c0247bed925b7b0330aceb6fd44185402ce7cbe2143cf3396524f94ab96079aa27667ad80e962a40524f1ade SHA512 6de423d4402dacf28edb37ebd1ea302d307b797f56f2204b78ae3f5fbc4563d04bd62ff4270b553f5203633ed524a06f6f0d8da762610037805613cc14a749a7 +DIST firefox-86.0.1-sq.xpi 553688 BLAKE2B a8a6132c5832da38fa21c494a015d2c6a7736354808e11ee6db79934244dd46de41f813ab499ea00123cc5e065dfc7111e341db1fef471d43117cecf7689c3f3 SHA512 b5934018bc994a3507ec45af90bd35c03149f6fe3a77cb4eb9e36294b67e0c71eeb4bc1330447fbd4544b8c85948b90a56b83d7281f0dcf8814e6c1247cd6325 +DIST firefox-86.0.1-sr.xpi 576986 BLAKE2B dd42c162b6869c048255ed8b5973944938265d38be62f3b5e756f3346f97eced21e7d38c1a7e26c42371bdf0157e02231377b572275766e7dd77f50eb7b3ee9f SHA512 b51c7c1a8b566d4ac1a78abe1b4562971a4002df97db1fac3a9b2fadef70dd0ed9f0fa76476137a682bb58646bbe09fcbe4111368f74059299194e34b57e235a +DIST firefox-86.0.1-sv-SE.xpi 538316 BLAKE2B 84b8c121e22260018fd42414e51656f839870536ed5f1ed2b4ef3481d63f44169a91cc616592de2c4191288bcf3782628364b36421a43df8e3a070811dce53f7 SHA512 94904f3cc4e71660b02b0cc4d64148ac0fd08b7186adac67fb83891382624a21dd69cf8882da6e02ec22dba3cd501208a1a6c37cf6faba7fd6f04fd4d6f8a493 +DIST firefox-86.0.1-ta.xpi 524600 BLAKE2B 02c07ce56bfdec00764b5be7ae56e67dc87e9cccb451e8477dbef6fd4284d83880e2182b40633174554db10db906304b3ca73b5bf6496e45c865b7d0e06cef96 SHA512 7713122144f61d6f4dd703b8e8c5a724164447194f5b497f0d7fb55718f05caf8f055ad87d19127a579556f68bb295a0c726d0067d3a9fae701a5c1813b3b4c3 +DIST firefox-86.0.1-te.xpi 563283 BLAKE2B 41f2022e06375637a012653fcd20521ebae51a9acdffb01d65384ae8ecb4beb35d53b64b008baf59e51ad2eab14e4a2499cae9585350572e750102e55aa8ac0a SHA512 aec5e6ddd3038bcb30ce00baafc7d096ae85f1464b09eb61e3cfd5844d0a6f5dbaefa8c8b280d9445b5248eeab3de3815f0fbbbeee2e732ebd2df0c582086238 +DIST firefox-86.0.1-th.xpi 602714 BLAKE2B 8df2826a31ae414668730e496d752f1cd4801b28ba3da1cd679ef1b6757595359e530443ab5d9afa5041913b089642377753aae8c1355feec389155e6fe1743d SHA512 6e8ebebc6b8428c99264ec553eb65148077bf8e9cd9e994991a7358d3ee5ddf68812dc0d26d61cb697b02aa3c1db11261f10aa7f5776de2d7a8a08f5072cd248 +DIST firefox-86.0.1-tl.xpi 523805 BLAKE2B 9c3eeedfcec8ae16095067ac4e330a1964d5674ededb4b45c7574163e1432f9d231c5868713df7acb0dc6a11c6c1cbb2fcbdfd925f7cecd4ea0a4e03e93003d8 SHA512 0eb337640297c5dfba4bd2552cf13e1a1f316a556971941743e3a7ebcfd0b6953d42f87c7f55536a2fc1971de6922ae8040514b75f31287dc113cc2e71ef9917 +DIST firefox-86.0.1-tr.xpi 547783 BLAKE2B accc5813e8f14cfe262dfd5e093626ef0092b185f8a96da1daa2cffec57e238b8828c13e44679aa9fb7d40b12fa262b4075413f6972e628472fb97b433c63f39 SHA512 f8180fe3fa3a2e2e017eaf88ae425d0e1be81c845afb7b137fcf98909d681ec9f6403f7453e1ade4f680308d5757890b679ee2ddd9513384e6caf39052ade968 +DIST firefox-86.0.1-trs.xpi 504292 BLAKE2B 4b9436a83a0deb8e0a2d8ea789df5ed2a3ffefaabec2c0e6228d75ad9ba10272cbe869f8ecc3300c139b5c6e8c99255b37ff718c4a79212a0ffe02c9f09a0bfb SHA512 f198802d657612410213501b51f0f02455917e91fadd117af9da3bfaddcf3e57ac41174a702fe89cb4c29aec19dea8f99b888cd1cee0c6849f61d8872a7dfc93 +DIST firefox-86.0.1-uk.xpi 618793 BLAKE2B 277abffe85e24ba738b5ac2d3ac0d893dbd5452d47fd0eb8b0747884422bf5531b38183ebd159c18a1aacc991742b97f1951fdeadcdae2cf37d6d27e942b4b1d SHA512 22b853b64604bf19078d2ce85ca85c97ef8da0662d158321584ea597b1cc88454086214a3d8e4631b0af7a3886e950449470b7c774ec40b9878411e51716fefb +DIST firefox-86.0.1-ur.xpi 565917 BLAKE2B 347419b9549c0c522fb44614d32faf1c611a8f37b56fd85f7d944258df89a9babf4119b25e99e11b7a1f27c0ebfefc3eff5a64a5a85bf6f0823db160a74d46b2 SHA512 d340fe3226c78506e0a86dbcc5cb29254aee27ef4195683dbe193e2de1ea3aa27f3a0b79c529b0e7342cda46a2e79f4be18b9e44fd232d4881fd93d79c3f4540 +DIST firefox-86.0.1-uz.xpi 480409 BLAKE2B a045cd1156f4fa8c1f1e24ec6398ba273d45fba1ce0b857c2f20c8fa02979d9726227a683cdbf17e239ceea08e499c56cc2b20652dc290c6ff49175262fede4b SHA512 9c222a27b39f867ff34d49ae76a726f707257951758fc42deadd1409765883d83ee642e387800a07d3d7e91f9814d3dfa34c2a98bc66c8d11c9163368b54abac +DIST firefox-86.0.1-vi.xpi 571526 BLAKE2B ea891d0609b77c1dae75fb2e9ea413cd0f64b477095b17400bf2f20baa156b76dd9172b3831687f47a57e1baabc0de97b8e9873674ac4196285d83f10676b812 SHA512 1685ec1bd878635c2d1454f6644d68e3caaba0324dfdb659a8ebb21070776bdf5b0cae11f531b7d056cf5752748bc7a7c27ffc5308b0850bf9ddf2d3a27d58f6 +DIST firefox-86.0.1-xh.xpi 428552 BLAKE2B 107c7641cf1acf1658581b0adad48f0836e18d1afeb42863f11907df18eb055e2443b03f837a64c82294e034f1076e7c646cd72a6322a3baeb2dd1e8af164e8b SHA512 9154aaea3c037f31c8654bf9b5803c1cf00ef4361cd110cd2724cce4a0a5b42520a514034ad851c55f9bb157b44bf25935ab2806aaf6e109331f38d685b53ba7 +DIST firefox-86.0.1-zh-CN.xpi 573532 BLAKE2B f62fd901e72388d6b0275e378d1910fe00bc446dc366eb9ee05a3e39ce41215e5978d7a6a2f67b3593112f991d6ceb35318cc024a3143508106fc6f8399ab36d SHA512 f35902850f5513255492d9e8c0e219fe13e38b07f460c3bae05fce32dcd10f39b8dcae343b47dac59abf40ea08651378b1a0e46248026adebe8b5f59f4b7c957 +DIST firefox-86.0.1-zh-TW.xpi 573621 BLAKE2B 0965907ba7e28f5790559c2234b46c1a0fc4e078b9e926db218f6c63d178ff90168706d48dd6b4b3f392132e2a6c32a98dc9b2cab1085cc8e2cda1098c386dc4 SHA512 51a9a28ac1c2f0a4653bebbdde75d6806fdb22191d447f2a80198f21367360fd8a37023a15ce1d6bbbe632ff8e002882c17cb8ae02abe7d8b5a85cde9df316dd +DIST firefox-86.0.1.source.tar.xz 369541992 BLAKE2B 3ba2912f1d641226698bfe0761912f7183e0afea3d4ff19178f3846331b5daf348a3b17665c599ff5ec0f0b6e9c3dfceda4bb576889c9e68703d24fe3f997332 SHA512 e613cdcadfd71a01800a72c08c590032605ca8a8a0ba93326ffba93c2819f629fd620c23d00ca1274b203adc20acfe5d7913fee240ff14819fb1377ed08b1214 DIST firefox-86.0.source.tar.xz 371929688 BLAKE2B 64c122dd16b3d020fd5cd1098d32b7b3b4fe15e8f8b28e5b5986971bff71c80a72d12d2c9eeb192d3319661c3b06506c1548eef95ff3f84d13479664e68e8d58 SHA512 f5a7b9aa53e2955e972e30cc62ae64ae955127eab951d7a1102d5ac8a73804982e01b917787c00a6e0a0ed03594567d29a24808271283ef61a9383bc4bb39e3f EBUILD firefox-78.8.0.ebuild 34066 BLAKE2B e16e0990e49ccb2a0a9364aff9dabd609d170cb3603fdb7e7441493588ca73079dd9b0ca88bcd1d234295ee4f831b3828a6e6b1a9d67400488e40faabf363b2f SHA512 7a3f8bf9c390b2e77037d13ea701acdec9b6db54ae7469fd3ed658b737400f100eb8ac1c4bd96d9446e2e60521d63b5130ee962ef513ab63fd93c7a441330e9a +EBUILD firefox-86.0.1.ebuild 33799 BLAKE2B eedc1a3e383706a8cb1c79426ddc6f403ca8fc45abe9f63ed1a3cde8a49f4babc4e9e2d1eadd1af34e3685c4d0a97e1253d2bec8b86c9277840050b666a3a7a9 SHA512 bc4be9ea7c7668dd48a2aa9b5c85815f770e5abda76f5d4fac44a660c9976db63535e35d70695e5674f2ccf30a8e134a14f2272a305b71f58c5ba25571bb38c7 EBUILD firefox-86.0.ebuild 33799 BLAKE2B eedc1a3e383706a8cb1c79426ddc6f403ca8fc45abe9f63ed1a3cde8a49f4babc4e9e2d1eadd1af34e3685c4d0a97e1253d2bec8b86c9277840050b666a3a7a9 SHA512 bc4be9ea7c7668dd48a2aa9b5c85815f770e5abda76f5d4fac44a660c9976db63535e35d70695e5674f2ccf30a8e134a14f2272a305b71f58c5ba25571bb38c7 MISC metadata.xml 2063 BLAKE2B 4c632fd591403d8045cbf3448fd459d82b0433351305fb12322b6a1157c279311ad1a9fcba9af4576f336035f841a95b82ee7a5602d62f1b741748df7443a861 SHA512 75bb3db236d0941e6632def252cb0b90cb374fc4f1dd66e499522e446c5fe8186f57a9898cdade933da205c12b0e70d4e1bdec0d8bfd9689d37d03667eb92f5f diff --git a/www-client/firefox/firefox-86.0.1.ebuild b/www-client/firefox/firefox-86.0.1.ebuild new file mode 100644 index 000000000000..fed78022e82e --- /dev/null +++ b/www-client/firefox/firefox-86.0.1.ebuild @@ -0,0 +1,1173 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +FIREFOX_PATCHSET="firefox-86-patches-01.tar.xz" + +LLVM_MAX_SLOT=11 + +PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_REQ_USE="ncurses,sqlite,ssl" + +WANT_AUTOCONF="2.1" + +VIRTUALX_REQUIRED="pgo" + +MOZ_ESR= + +MOZ_PV=${PV} +MOZ_PV_SUFFIX= +if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then + MOZ_PV_SUFFIX=${BASH_REMATCH[1]} + + # Convert the ebuild version to the upstream Mozilla version + MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI + MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI + MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI +fi + +if [[ -n ${MOZ_ESR} ]] ; then + # ESR releases have slightly different version numbers + MOZ_PV="${MOZ_PV}esr" +fi + +MOZ_PN="${PN%-bin}" +MOZ_P="${MOZ_PN}-${MOZ_PV}" +MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" +MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" + +inherit autotools check-reqs desktop flag-o-matic gnome2-utils llvm \ + multiprocessing pax-utils python-any-r1 toolchain-funcs \ + virtualx xdg + +MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" + +if [[ ${PV} == *_rc* ]] ; then + MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" +fi + +PATCH_URIS=( + https://dev.gentoo.org/~{axs,polynomial-c,whissi}/mozilla/patchsets/${FIREFOX_PATCHSET} +) + +SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz + ${PATCH_URIS[@]}" + +DESCRIPTION="Firefox Web Browser" +HOMEPAGE="https://www.mozilla.com/firefox" + +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +SLOT="0/$(ver_cut 1)" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +IUSE="+clang cpu_flags_arm_neon dbus debug eme-free geckodriver +gmp-autoupdate + hardened hwaccel jack lto +openh264 pgo pulseaudio screencast selinux + +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent + +system-libvpx +system-webp wayland wifi" + +REQUIRED_USE="debug? ( !system-av1 ) + screencast? ( wayland )" + +BDEPEND="${PYTHON_DEPS} + app-arch/unzip + app-arch/zip + >=dev-util/cbindgen-0.16.0 + >=net-libs/nodejs-10.22.1 + virtual/pkgconfig + >=virtual/rust-1.47.0 + || ( + ( + sys-devel/clang:11 + sys-devel/llvm:11 + clang? ( + =sys-devel/lld-11* + pgo? ( =sys-libs/compiler-rt-sanitizers-11*[profile] ) + ) + ) + ( + sys-devel/clang:10 + sys-devel/llvm:10 + clang? ( + =sys-devel/lld-10* + pgo? ( =sys-libs/compiler-rt-sanitizers-10*[profile] ) + ) + ) + ( + sys-devel/clang:9 + sys-devel/llvm:9 + clang? ( + =sys-devel/lld-9* + pgo? ( =sys-libs/compiler-rt-sanitizers-9*[profile] ) + ) + ) + ) + amd64? ( >=dev-lang/yasm-1.1 ) + x86? ( >=dev-lang/yasm-1.1 ) + !system-av1? ( + amd64? ( >=dev-lang/nasm-2.13 ) + x86? ( >=dev-lang/nasm-2.13 ) + )" + +CDEPEND=" + >=dev-libs/nss-3.61 + >=dev-libs/nspr-4.29 + dev-libs/atk + dev-libs/expat + >=x11-libs/cairo-1.10[X] + >=x11-libs/gtk+-2.18:2 + >=x11-libs/gtk+-3.4.0:3[X] + x11-libs/gdk-pixbuf + >=x11-libs/pango-1.22.0 + >=media-libs/libpng-1.6.35:0=[apng] + >=media-libs/mesa-10.2:* + media-libs/fontconfig + >=media-libs/freetype-2.4.10 + kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) ) + virtual/freedesktop-icon-theme + >=x11-libs/pixman-0.19.2 + >=dev-libs/glib-2.26:2 + >=sys-libs/zlib-1.2.3 + >=dev-libs/libffi-3.0.10:= + media-video/ffmpeg + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrender + x11-libs/libXt + dbus? ( + sys-apps/dbus + dev-libs/dbus-glib + ) + screencast? ( media-video/pipewire:0/0.3 ) + system-av1? ( + >=media-libs/dav1d-0.3.0:= + >=media-libs/libaom-1.0.0:= + ) + system-harfbuzz? ( + >=media-libs/harfbuzz-2.6.8:0= + >=media-gfx/graphite2-1.3.13 + ) + system-icu? ( >=dev-libs/icu-67.1:= ) + system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) + system-libevent? ( >=dev-libs/libevent-2.0:0=[threads] ) + system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] ) + system-webp? ( >=media-libs/libwebp-1.1.0:0= ) + wifi? ( + kernel_linux? ( + sys-apps/dbus + dev-libs/dbus-glib + net-misc/networkmanager + ) + ) + jack? ( virtual/jack ) + selinux? ( sec-policy/selinux-mozilla )" + +RDEPEND="${CDEPEND} + jack? ( virtual/jack ) + openh264? ( media-libs/openh264:*[plugin] ) + pulseaudio? ( + || ( + media-sound/pulseaudio + >=media-sound/apulse-0.1.12-r4 + ) + ) + selinux? ( sec-policy/selinux-mozilla )" + +DEPEND="${CDEPEND} + pulseaudio? ( + || ( + media-sound/pulseaudio + >=media-sound/apulse-0.1.12-r4[sdk] + ) + ) + wayland? ( >=x11-libs/gtk+-3.11:3[wayland] ) + amd64? ( virtual/opengl ) + x86? ( virtual/opengl )" + +S="${WORKDIR}/${PN}-${PV%_*}" + +# Allow MOZ_GMP_PLUGIN_LIST to be set in an eclass or +# overridden in the enviromnent (advanced hackers only) +if [[ -z "${MOZ_GMP_PLUGIN_LIST+set}" ]] ; then + MOZ_GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm ) +fi + +llvm_check_deps() { + if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then + ewarn "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use clang ; then + if ! has_version -b "=sys-devel/lld-${LLVM_SLOT}*" ; then + ewarn "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use pgo ; then + if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then + ewarn "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + fi + + einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2 +} + +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 + si sk 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_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}" +} + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has usersandbox $FEATURES ; then + die "You must enable usersandbox as X server can not run as root!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6400M" + fi + + check-reqs_pkg_pretend + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has userpriv ${FEATURES} ; then + eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6400M" + fi + + check-reqs_pkg_setup + + llvm_pkg_setup + + if use clang && use lto ; then + local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }') + [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}") + [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!" + + # temp fix for https://bugs.gentoo.org/768543 + # we can assume that rust 1.{49,50}.0 always uses llvm 11 + local version_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'release:' | awk '{ print $2 }') + [[ -n ${version_rust} ]] && version_rust=$(ver_cut 1-2 "${version_rust}") + [[ -z ${version_rust} ]] && die "Failed to read version from rustc!" + + if ver_test "${version_rust}" -ge "1.49" && ver_test "${version_rust}" -le "1.50" ; then + local version_llvm_rust="11" + else + local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }') + [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}") + [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!" + fi + + if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then + eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}." + eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:" + eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version" + eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version" + eerror " - Build ${CATEGORY}/${PN} without USE=lto" + die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!" + fi + fi + + python-any-r1_pkg_setup + + # Avoid PGO profiling problems due to enviroment leakage + # These should *always* be cleaned up anyway + unset \ + DBUS_SESSION_BUS_ADDRESS \ + DISPLAY \ + ORBIT_SOCKETDIR \ + SESSION_MANAGER \ + XAUTHORITY \ + XDG_CACHE_HOME \ + XDG_SESSION_COOKIE + + # Build system is using /proc/self/oom_score_adj, bug #604394 + addpredict /proc/self/oom_score_adj + + if ! 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 +} + +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() { + use lto && rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch + eapply "${WORKDIR}/firefox-patches" + + # Allow user to apply any additional patches without modifing ebuild + eapply_user + + # Make LTO respect MAKEOPTS + sed -i \ + -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/build/moz.configure/lto-pgo.configure \ + || die "sed failed to set num_cores" + + # Make ICU respect MAKEOPTS + sed -i \ + -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/intl/icu_sources_data.py \ + || die "sed failed to set num_cores" + + # sed-in toolchain prefix + sed -i \ + -e "s/objdump/${CHOST}-objdump/" \ + "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \ + || die "sed failed to set toolchain prefix" + + sed -i \ + -e 's/ccache_stats = None/return None/' \ + "${S}"/python/mozbuild/mozbuild/controller/building.py \ + || die "sed failed to disable ccache stats call" + + einfo "Removing pre-built binaries ..." + find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die + + # Clearing checksums where we have applied patches + moz_clear_vendor_checksums target-lexicon-0.9.0 + + # 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_src_prepare +} + +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 && ! tc-is-clang ; then + # Force clang + einfo "Enforcing the use of clang due to USE=clang ..." + have_switched_compiler=yes + AR=llvm-ar + CC=${CHOST}-clang + CXX=${CHOST}-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 + export HOST_CC="$(tc-getBUILD_CC)" + export HOST_CXX="$(tc-getBUILD_CXX)" + tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG + + # Pass the correct toolchain paths through cbindgen + if tc-is-cross-compiler ; then + export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}" + fi + + # Set MOZILLA_FIVE_HOME + export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # python/mach/mach/mixin/process.py fails to detect SHELL + export SHELL="${EPREFIX}/bin/bash" + + # Set MOZCONFIG + export MOZCONFIG="${S}/.mozconfig" + + # Initialize MOZCONFIG + mozconfig_add_options_ac '' --enable-application=browser + + # Set Gentoo defaults + export MOZILLA_OFFICIAL=1 + + mozconfig_add_options_ac 'Gentoo default' \ + --allow-addon-sideload \ + --disable-cargo-incremental \ + --disable-crashreporter \ + --disable-install-strip \ + --disable-strip \ + --disable-updater \ + --enable-official-branding \ + --enable-release \ + --enable-system-ffi \ + --enable-system-pixman \ + --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-nspr \ + --with-system-nss \ + --with-system-png \ + --with-system-zlib \ + --with-toolchain-prefix="${CHOST}-" \ + --with-unsigned-addon-scopes=app,system \ + --x-includes="${SYSROOT}${EPREFIX}/usr/include" \ + --x-libraries="${SYSROOT}${EPREFIX}/usr/$(get_libdir)" + + # Set update channel + local update_channel=release + [[ -n ${MOZ_ESR} ]] && update_channel=esr + mozconfig_add_options_ac '' --update-channel=${update_channel} + + if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then + mozconfig_add_options_ac '' --enable-rust-simd + fi + + if [[ -s "${S}/api-google.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-safebrowsing-api-keyfile="${S}/api-google.key" + else + einfo "Building without Google API key ..." + fi + + if [[ -s "${S}/api-location.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-location-service-api-keyfile="${S}/api-location.key" + else + einfo "Building without Location API key ..." + fi + + if [[ -s "${S}/api-mozilla.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-mozilla-api-keyfile="${S}/api-mozilla.key" + else + einfo "Building without Mozilla API key ..." + fi + + mozconfig_use_with system-av1 + mozconfig_use_with system-harfbuzz + mozconfig_use_with system-harfbuzz system-graphite2 + mozconfig_use_with system-icu + mozconfig_use_with system-jpeg + mozconfig_use_with system-libevent system-libevent "${SYSROOT}${EPREFIX}/usr" + mozconfig_use_with system-libvpx + mozconfig_use_with system-webp + + mozconfig_use_enable dbus + + use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme + + mozconfig_use_enable geckodriver + + if use hardened ; then + mozconfig_add_options_ac "+hardened" --enable-hardening + append-ldflags "-Wl,-z,relro -Wl,-z,now" + fi + + mozconfig_use_enable jack + + mozconfig_use_enable pulseaudio + # force the deprecated alsa sound code if pulseaudio is disabled + if use kernel_linux && ! use pulseaudio ; then + mozconfig_add_options_ac '-pulseaudio' --enable-alsa + fi + + mozconfig_use_enable wifi necko-wifi + + if use wayland ; then + mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland + else + mozconfig_add_options_ac '' --enable-default-toolkit=cairo-gtk3 + fi + + if use lto ; then + if use clang ; then + # Upstream only supports lld when using clang + mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld + + mozconfig_add_options_ac '+lto' --enable-lto=cross + else + # ThinLTO is currently broken, see bmo#1644409 + mozconfig_add_options_ac '+lto' --enable-lto=full + fi + + if use pgo ; then + mozconfig_add_options_ac '+pgo' MOZ_PGO=1 + + if use clang ; then + # Used in build/pgo/profileserver.py + export LLVM_PROFDATA="llvm-profdata" + fi + fi + else + # Avoid auto-magic on linker + if use clang ; then + # This is upstream's default + mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld + else + mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd + fi + fi + + # LTO flag was handled via configure + filter-flags '-flto*' + + mozconfig_use_enable debug + if use debug ; then + mozconfig_add_options_ac '+debug' --disable-optimize + else + if is-flag '-g*' ; then + if use clang ; then + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') + else + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols + fi + else + mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols + fi + + if is-flag '-O0' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0 + elif is-flag '-O4' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4 + elif is-flag '-O3' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3 + elif is-flag '-O1' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1 + elif is-flag '-Os' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os + else + mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2 + fi + fi + + # Debug flag was handled via configure + filter-flags '-g*' + + # Optimization flag was handled via configure + filter-flags '-O*' + + # Modifications to better support ARM, bug #553364 + if use cpu_flags_arm_neon ; then + mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon + + if ! tc-is-clang ; then + # thumb options aren't supported when using clang, bug 666966 + mozconfig_add_options_ac '+cpu_flags_arm_neon' \ + --with-thumb=yes \ + --with-thumb-interwork=no + fi + fi + + if [[ ${CHOST} == armv*h* ]] ; then + mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard + + if ! use system-libvpx ; then + sed -i \ + -e "s|softfp|hard|" \ + "${S}"/media/libvpx/moz.build \ + || die + fi + fi + + if use clang ; then + # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822 + # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64') + local disable_elf_hack= + if use amd64 ; then + disable_elf_hack=yes + elif use x86 ; then + disable_elf_hack=yes + elif use arm ; then + disable_elf_hack=yes + fi + + if [[ -n ${disable_elf_hack} ]] ; then + mozconfig_add_options_ac 'elf-hack is broken when using Clang' --disable-elf-hack + fi + elif tc-is-gcc ; then + if ver_test $(gcc-fullversion) -ge 10 ; then + einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..." + append-cxxflags -fno-tree-loop-vectorize + fi + fi + + # Additional ARCH support + case "${ARCH}" in + arm) + # Reduce the memory requirements for linking + if use clang ; then + # Nothing to do + :; + elif tc-ld-is-gold || use lto ; then + append-ldflags -Wl,--no-keep-memory + else + append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads + fi + ;; + esac + + if ! use elibc_glibc ; then + mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc + fi + + # Allow elfhack to work in combination with unstripped binaries + # when they would normally be larger than 2GiB. + append-ldflags "-Wl,--compress-debug-sections=zlib" + + # Make revdep-rebuild.sh happy; Also required for musl + append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags + + # Pass $MAKEOPTS to build system + export MOZ_MAKE_FLAGS="${MAKEOPTS}" + + # Use system's Python environment + export MACH_USE_SYSTEM_PYTHON=1 + + # 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 pgo ; then + virtx_cmd=virtx + + # Reset and cleanup environment variables used by GNOME/XDG + gnome2_environment_reset + + addpredict /root + fi + + local -x GDK_BACKEND=x11 + + ${virtx_cmd} ./mach build --verbose \ + || die +} + +src_install() { + # xpcshell is getting called during install + pax-mark m \ + "${BUILD_DIR}"/dist/bin/xpcshell \ + "${BUILD_DIR}"/dist/bin/${PN} \ + "${BUILD_DIR}"/dist/bin/plugin-container + + DESTDIR="${D}" ./mach install || die + + # Upstream cannot ship symlink but we can (bmo#658850) + rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die + dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin + + # Don't install llvm-symbolizer from sys-devel/llvm package + if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then + rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die + fi + + # Install policy (currently only used to disable application updates) + insinto "${MOZILLA_FIVE_HOME}/distribution" + newins "${FILESDIR}"/distribution.ini distribution.ini + newins "${FILESDIR}"/disable-auto-update.policy.json policies.json + + # Install system-wide preferences + local PREFS_DIR="${MOZILLA_FIVE_HOME}/browser/defaults/preferences" + insinto "${PREFS_DIR}" + newins "${FILESDIR}"/gentoo-default-prefs.js all-gentoo.js + + local GENTOO_PREFS="${ED}${PREFS_DIR}/all-gentoo.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 \ + >>"${GENTOO_PREFS}" \ + || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js" + fi + + if ! use gmp-autoupdate ; then + local plugin + for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do + einfo "Disabling auto-update for ${plugin} plugin ..." + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to disable autoupdate for ${plugin} media plugin" + pref("media.${plugin}.autoupdate", false); + EOF + done + fi + + # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it + if use system-harfbuzz ; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref" + sticky_pref("gfx.font_rendering.graphite.enabled", true); + EOF + fi + + # Install language packs + local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') ) + if [[ -n "${langpacks}" ]] ; then + moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}" + fi + + # Install geckodriver + if use geckodriver ; then + einfo "Installing geckodriver into ${ED}${MOZILLA_FIVE_HOME} ..." + pax-mark m "${BUILD_DIR}"/dist/bin/geckodriver + exeinto "${MOZILLA_FIVE_HOME}" + doexe "${BUILD_DIR}"/dist/bin/geckodriver + + dosym ${MOZILLA_FIVE_HOME}/geckodriver /usr/bin/geckodriver + fi + + # Install icons + local icon_srcdir="${S}/browser/branding/official" + local icon_symbolic_file="${FILESDIR}/icon/firefox-symbolic.svg" + + insinto /usr/share/icons/hicolor/symbolic/apps + newins "${icon_symbolic_file}" ${PN}-symbolic.svg + + local icon size + for icon in "${icon_srcdir}"/default*.png ; do + size=${icon%.png} + size=${size##*/default} + + if [[ ${size} -eq 48 ]] ; then + newicon "${icon}" ${PN}.png + fi + + newicon -s ${size} "${icon}" ${PN}.png + done + + # Install menus + local wrapper_wayland="${PN}-wayland.sh" + local wrapper_x11="${PN}-x11.sh" + local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop" + local display_protocols="auto X11" + local icon="${PN}" + local name="Mozilla ${MOZ_PN^}" + local use_wayland="false" + + if use wayland ; then + display_protocols+=" Wayland" + use_wayland="true" + fi + + local app_name desktop_filename display_protocol exec_command + for display_protocol in ${display_protocols} ; do + app_name="${name} on ${display_protocol}" + desktop_filename="${PN}-${display_protocol,,}.desktop" + + case ${display_protocol} in + Wayland) + exec_command="${PN}-wayland --name ${PN}-wayland" + newbin "${FILESDIR}/${wrapper_wayland}" ${PN}-wayland + ;; + X11) + if ! use wayland ; then + # Exit loop here because there's no choice so + # we don't need wrapper/.desktop file for X11. + continue + fi + + exec_command="${PN}-x11 --name ${PN}-x11" + newbin "${FILESDIR}/${wrapper_x11}" ${PN}-x11 + ;; + *) + app_name="${name}" + desktop_filename="${PN}.desktop" + exec_command="${PN}" + ;; + esac + + 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 + done + + # Install generic wrapper script + [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" + newbin "${FILESDIR}/${PN}.sh" ${PN} + + # Update wrapper + local wrapper + for wrapper in \ + "${ED}/usr/bin/${PN}" \ + "${ED}/usr/bin/${PN}-x11" \ + "${ED}/usr/bin/${PN}-wayland" \ + ; do + [[ ! -f "${wrapper}" ]] && continue + + sed -i \ + -e "s:@PREFIX@:${EPREFIX}/usr:" \ + -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \ + -e "s:@APULSELIB_DIR@:${apulselib}:" \ + -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${wrapper}" \ + || die + done +} + +pkg_preinst() { + xdg_pkg_preinst + + # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse + # does not need to be forced into the LD_LIBRARY_PATH + if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then + einfo "APULSE found; Generating library symlinks for sound support ..." + local lib + pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die + for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do + # A quickpkg rolled by hand will grab symlinks as part of the package, + # so we need to avoid creating them if they already exist. + if [[ ! -L ${lib##*/} ]] ; then + ln -s "${lib}" ${lib##*/} || die + fi + done + popd &>/dev/null || die + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + if ! use gmp-autoupdate ; then + elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or" + elog "installing into new profiles:" + local plugin + for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do + elog "\t ${plugin}" + done + elog + fi + + if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then + elog "Apulse was detected at merge time on this system and so it will always be" + elog "used for sound. If you wish to use pulseaudio instead please unmerge" + elog "media-sound/apulse." + elog + fi + + 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 + else + local replacing_version + for replacing_version in ${REPLACING_VERSIONS} ; do + if ver_test "${replacing_version}" -lt 70 ; then + # Tell user only once about our DoH default + show_doh_information=yes + fi + + if ver_test "${replacing_version}" -lt 74.0-r2 ; then + # Tell user only once about our Normandy default + show_normandy_information=yes + fi + done + 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 +} diff --git a/www-client/google-chrome-beta/Manifest b/www-client/google-chrome-beta/Manifest index 35e2d90c7b06..2eb4a2ebcbbe 100644 --- a/www-client/google-chrome-beta/Manifest +++ b/www-client/google-chrome-beta/Manifest @@ -1,3 +1,3 @@ DIST google-chrome-beta_89.0.4389.72-1_amd64.deb 81415588 BLAKE2B 95df0883bd61ef70f1596ce95a56d84c8b9c91b1736a7e5ffdc8be5c41effe0244004dd316a07b0230dc6e4375de25796d45915df02464391e387857ca7985b4 SHA512 7a65563efc3706f6684b304316bfdd8cd4a6f82d21f746e447757ae39b0c909879da5f6ed5752e0c0d8f526b59726f915a4486054af93d14bfc72c611b910879 -EBUILD google-chrome-beta-89.0.4389.72.ebuild 3004 BLAKE2B f2952b0e4f35062d7927be8b8d1f1cb10105a9827766a56d48c2864a580f2b889b1fb20b293e8ba371f98ac351d85c1f9196a1ed5fae38e5ea39e5150a8591d0 SHA512 3b3f61be007b536dfe0ae85d1a1a542dc8f6c14810a2001a909090f52c74a6453fa4591905b12f26acd7dd7e5ef018f425e91e1e061b5b6feefa4d65a7d9f6ff +EBUILD google-chrome-beta-89.0.4389.72.ebuild 3004 BLAKE2B 618468448e7b4c15afa306e67f1dab580a72e5fb2448eee4fdb0c52a11276d68adbcad4a023f47b09eb9312fc11031a0de1df9df2b870b9caa9680ec9194a935 SHA512 f0fdf2e4f943755844ba7ec512c9be2f29ce5bdca204575baef47114cb1fe3baffe88fce2584917879440550ff865a519f80c06c74c0865b35b42f1631ae038a MISC metadata.xml 436 BLAKE2B 27b8df0153055ab0cd16d5ffac82f87d87a8f6ad1d3d56f9b0714dbc82ef8ec516df85eace40e374598ab5e83b953020d7213400f5a4f959610a034cd8967bb2 SHA512 f2ba37a63b2b9189fb5377a3dc5eaa950daa024b0f785cf39df76edcb4ecb98011c31cfa060c390fd08e232ad7fb40ffba3ebe2fc10125e50cce37a7325d7c57 diff --git a/www-client/google-chrome-beta/google-chrome-beta-89.0.4389.72.ebuild b/www-client/google-chrome-beta/google-chrome-beta-89.0.4389.72.ebuild index 5a9c327ca88b..320b2ef94a53 100644 --- a/www-client/google-chrome-beta/google-chrome-beta-89.0.4389.72.ebuild +++ b/www-client/google-chrome-beta/google-chrome-beta-89.0.4389.72.ebuild @@ -1,4 +1,4 @@ -# Copyright 2011-2020 Gentoo Authors +# Copyright 2011-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" diff --git a/www-client/google-chrome-unstable/Manifest b/www-client/google-chrome-unstable/Manifest index ac0863faffd0..31a4243841a4 100644 --- a/www-client/google-chrome-unstable/Manifest +++ b/www-client/google-chrome-unstable/Manifest @@ -1,3 +1,3 @@ DIST google-chrome-unstable_90.0.4430.11-1_amd64.deb 78571060 BLAKE2B 92ebd4854d0be1212e12ef8bfeb79ea68b9eb952d8d941435c17e5fe07d41008d41d220c7153c7c5e4028d7d0c0e57cd45f262c68af8dceceaac99c56a5fc5c3 SHA512 19e57a6071c1c41ffd81a3ebcd9ffd26a470a661f024792cdd746a84662590d90e52edbd820a49b690436e5e2a2d4748578bbbeeb6907f58a381e620b3e03a32 -EBUILD google-chrome-unstable-90.0.4430.11.ebuild 3004 BLAKE2B f2952b0e4f35062d7927be8b8d1f1cb10105a9827766a56d48c2864a580f2b889b1fb20b293e8ba371f98ac351d85c1f9196a1ed5fae38e5ea39e5150a8591d0 SHA512 3b3f61be007b536dfe0ae85d1a1a542dc8f6c14810a2001a909090f52c74a6453fa4591905b12f26acd7dd7e5ef018f425e91e1e061b5b6feefa4d65a7d9f6ff +EBUILD google-chrome-unstable-90.0.4430.11.ebuild 3004 BLAKE2B 618468448e7b4c15afa306e67f1dab580a72e5fb2448eee4fdb0c52a11276d68adbcad4a023f47b09eb9312fc11031a0de1df9df2b870b9caa9680ec9194a935 SHA512 f0fdf2e4f943755844ba7ec512c9be2f29ce5bdca204575baef47114cb1fe3baffe88fce2584917879440550ff865a519f80c06c74c0865b35b42f1631ae038a MISC metadata.xml 436 BLAKE2B 27b8df0153055ab0cd16d5ffac82f87d87a8f6ad1d3d56f9b0714dbc82ef8ec516df85eace40e374598ab5e83b953020d7213400f5a4f959610a034cd8967bb2 SHA512 f2ba37a63b2b9189fb5377a3dc5eaa950daa024b0f785cf39df76edcb4ecb98011c31cfa060c390fd08e232ad7fb40ffba3ebe2fc10125e50cce37a7325d7c57 diff --git a/www-client/google-chrome-unstable/google-chrome-unstable-90.0.4430.11.ebuild b/www-client/google-chrome-unstable/google-chrome-unstable-90.0.4430.11.ebuild index 5a9c327ca88b..320b2ef94a53 100644 --- a/www-client/google-chrome-unstable/google-chrome-unstable-90.0.4430.11.ebuild +++ b/www-client/google-chrome-unstable/google-chrome-unstable-90.0.4430.11.ebuild @@ -1,4 +1,4 @@ -# Copyright 2011-2020 Gentoo Authors +# Copyright 2011-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" diff --git a/www-client/google-chrome/Manifest b/www-client/google-chrome/Manifest index 6328802d4b60..cded8050dc16 100644 --- a/www-client/google-chrome/Manifest +++ b/www-client/google-chrome/Manifest @@ -1,3 +1,3 @@ -DIST google-chrome-stable_89.0.4389.72-1_amd64.deb 81392912 BLAKE2B 9335fe1bfa9204d03e36f8c91e5a086cf12153d5811718abec5bba7ef9312bc66d6fe39f4678ba66430f5d7c16dde58694c01265ee4176359a4aa9b22604fd4d SHA512 fd2e3eba948717e30e14662e5ecd01a373a67af8f7dfe6134a812deba502a273eada55786dfb5093a5b9a39a552ebd3368c179e78479e8fe94a466aee0138fc2 -EBUILD google-chrome-89.0.4389.72.ebuild 3004 BLAKE2B f2952b0e4f35062d7927be8b8d1f1cb10105a9827766a56d48c2864a580f2b889b1fb20b293e8ba371f98ac351d85c1f9196a1ed5fae38e5ea39e5150a8591d0 SHA512 3b3f61be007b536dfe0ae85d1a1a542dc8f6c14810a2001a909090f52c74a6453fa4591905b12f26acd7dd7e5ef018f425e91e1e061b5b6feefa4d65a7d9f6ff +DIST google-chrome-stable_89.0.4389.82-1_amd64.deb 75879440 BLAKE2B 90698f31b819e376e013ccb88b30cbf06062e0697e7c5c70c63823d439703beed9c27d6981b6c251bc87b996e8d806490df8a157c5e61648548dbaa9ce73f286 SHA512 c81bb1722d136c439e3dee578c84d43898dcfc029d664ebf58458afef0957fdc8cdbbae0391f0d9d74359f72b43588fb5144e02701e1b54fb82aa0fc1cda585d +EBUILD google-chrome-89.0.4389.82.ebuild 3004 BLAKE2B 618468448e7b4c15afa306e67f1dab580a72e5fb2448eee4fdb0c52a11276d68adbcad4a023f47b09eb9312fc11031a0de1df9df2b870b9caa9680ec9194a935 SHA512 f0fdf2e4f943755844ba7ec512c9be2f29ce5bdca204575baef47114cb1fe3baffe88fce2584917879440550ff865a519f80c06c74c0865b35b42f1631ae038a MISC metadata.xml 436 BLAKE2B 27b8df0153055ab0cd16d5ffac82f87d87a8f6ad1d3d56f9b0714dbc82ef8ec516df85eace40e374598ab5e83b953020d7213400f5a4f959610a034cd8967bb2 SHA512 f2ba37a63b2b9189fb5377a3dc5eaa950daa024b0f785cf39df76edcb4ecb98011c31cfa060c390fd08e232ad7fb40ffba3ebe2fc10125e50cce37a7325d7c57 diff --git a/www-client/google-chrome/google-chrome-89.0.4389.72.ebuild b/www-client/google-chrome/google-chrome-89.0.4389.72.ebuild deleted file mode 100644 index 5a9c327ca88b..000000000000 --- a/www-client/google-chrome/google-chrome-89.0.4389.72.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 2011-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -CHROMIUM_LANGS="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 vi zh-CN zh-TW" - -inherit chromium-2 eutils pax-utils unpacker xdg-utils - -DESCRIPTION="The web browser from Google" -HOMEPAGE="https://www.google.com/chrome" - -if [[ ${PN} == google-chrome ]]; then - KEYWORDS="-* amd64" - MY_PN=${PN}-stable -else - KEYWORDS="-* ~amd64" - MY_PN=${PN} -fi - -MY_P="${MY_PN}_${PV}-1" - -SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb" - -LICENSE="google-chrome" -SLOT="0" -IUSE="selinux" -RESTRICT="bindist mirror strip" - -DEPEND="" -RDEPEND=" - app-accessibility/at-spi2-atk:2 - app-accessibility/at-spi2-core:2 - app-arch/bzip2 - app-misc/ca-certificates - dev-libs/atk - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - >=dev-libs/nss-3.26 - dev-libs/wayland - media-libs/alsa-lib - media-libs/fontconfig - media-libs/freetype:2 - media-libs/mesa[gbm] - net-print/cups - sys-apps/dbus - sys-libs/libcap - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3[X] - x11-libs/libdrm - >=x11-libs/libX11-1.5.0 - 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/libXScrnSaver - x11-libs/libXtst - x11-libs/libxcb - x11-libs/libxkbcommon - x11-libs/pango - x11-misc/xdg-utils - selinux? ( sec-policy/selinux-chromium ) -" - -QA_PREBUILT="*" -QA_DESKTOP_FILE="usr/share/applications/google-chrome.*\\.desktop" -S=${WORKDIR} -CHROME_HOME="opt/google/chrome${PN#google-chrome}" - -pkg_nofetch() { - eerror "Please wait 24 hours and sync your tree before reporting a bug for google-chrome fetch failures." -} - -pkg_pretend() { - # Protect against people using autounmask overzealously - use amd64 || die "google-chrome only works on amd64" -} - -pkg_setup() { - chromium_suid_sandbox_check_kernel_config -} - -src_unpack() { - : -} - -src_install() { - dodir / - cd "${ED}" || die - unpacker - - rm -r etc usr/share/menu || die - mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die - - gzip -d usr/share/doc/${PF}/changelog.gz || die - gzip -d usr/share/man/man1/${MY_PN}.1.gz || die - if [[ -L usr/share/man/man1/google-chrome.1.gz ]]; then - rm usr/share/man/man1/google-chrome.1.gz || die - dosym ${MY_PN}.1 usr/share/man/man1/google-chrome.1 - fi - - pushd "${CHROME_HOME}/locales" > /dev/null || die - chromium_remove_language_paks - popd > /dev/null || die - - local suffix= - [[ ${PN} == google-chrome-beta ]] && suffix=_beta - [[ ${PN} == google-chrome-unstable ]] && suffix=_dev - - local size - for size in 16 24 32 48 64 128 256 ; do - newicon -s ${size} "${CHROME_HOME}/product_logo_${size}${suffix}.png" ${PN}.png - done - - pax-mark m "${CHROME_HOME}/chrome" -} - -pkg_postrm() { - xdg_icon_cache_update - xdg_desktop_database_update -} - -pkg_postinst() { - xdg_icon_cache_update - xdg_desktop_database_update -} diff --git a/www-client/google-chrome/google-chrome-89.0.4389.82.ebuild b/www-client/google-chrome/google-chrome-89.0.4389.82.ebuild new file mode 100644 index 000000000000..320b2ef94a53 --- /dev/null +++ b/www-client/google-chrome/google-chrome-89.0.4389.82.ebuild @@ -0,0 +1,134 @@ +# Copyright 2011-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +CHROMIUM_LANGS="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 vi zh-CN zh-TW" + +inherit chromium-2 eutils pax-utils unpacker xdg-utils + +DESCRIPTION="The web browser from Google" +HOMEPAGE="https://www.google.com/chrome" + +if [[ ${PN} == google-chrome ]]; then + KEYWORDS="-* amd64" + MY_PN=${PN}-stable +else + KEYWORDS="-* ~amd64" + MY_PN=${PN} +fi + +MY_P="${MY_PN}_${PV}-1" + +SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb" + +LICENSE="google-chrome" +SLOT="0" +IUSE="selinux" +RESTRICT="bindist mirror strip" + +DEPEND="" +RDEPEND=" + app-accessibility/at-spi2-atk:2 + app-accessibility/at-spi2-core:2 + app-arch/bzip2 + app-misc/ca-certificates + dev-libs/atk + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + >=dev-libs/nss-3.26 + dev-libs/wayland + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype:2 + media-libs/mesa[gbm] + net-print/cups + sys-apps/dbus + sys-libs/libcap + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3[X] + x11-libs/libdrm + >=x11-libs/libX11-1.5.0 + 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/libXScrnSaver + x11-libs/libXtst + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/pango + x11-misc/xdg-utils + selinux? ( sec-policy/selinux-chromium ) +" + +QA_PREBUILT="*" +QA_DESKTOP_FILE="usr/share/applications/google-chrome.*\\.desktop" +S=${WORKDIR} +CHROME_HOME="opt/google/chrome${PN#google-chrome}" + +pkg_nofetch() { + eerror "Please wait 24 hours and sync your tree before reporting a bug for google-chrome fetch failures." +} + +pkg_pretend() { + # Protect against people using autounmask overzealously + use amd64 || die "google-chrome only works on amd64" +} + +pkg_setup() { + chromium_suid_sandbox_check_kernel_config +} + +src_unpack() { + : +} + +src_install() { + dodir / + cd "${ED}" || die + unpacker + + rm -r etc usr/share/menu || die + mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die + + gzip -d usr/share/doc/${PF}/changelog.gz || die + gzip -d usr/share/man/man1/${MY_PN}.1.gz || die + if [[ -L usr/share/man/man1/google-chrome.1.gz ]]; then + rm usr/share/man/man1/google-chrome.1.gz || die + dosym ${MY_PN}.1 usr/share/man/man1/google-chrome.1 + fi + + pushd "${CHROME_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + local suffix= + [[ ${PN} == google-chrome-beta ]] && suffix=_beta + [[ ${PN} == google-chrome-unstable ]] && suffix=_dev + + local size + for size in 16 24 32 48 64 128 256 ; do + newicon -s ${size} "${CHROME_HOME}/product_logo_${size}${suffix}.png" ${PN}.png + done + + pax-mark m "${CHROME_HOME}/chrome" +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} diff --git a/www-client/lynx/Manifest b/www-client/lynx/Manifest index f52d70c8974c..e0eadd506776 100644 --- a/www-client/lynx/Manifest +++ b/www-client/lynx/Manifest @@ -1,7 +1,5 @@ AUX lynx-2.8.6-mint.patch 1001 BLAKE2B 960b2401c262d2b3cb46a443eaa1bf0e8f890745aa2dd8b2455304ff3add46152e3844639fc033d686d0d473e8abc1ba148dbaeecbbd8965e6d941cc75564ca8 SHA512 c3f99d760886139c85aca68d99e4a51d57690c02348c6a5c42bbd640cb848682070e6ca7f13ae7a85ec58659765cb4dc8c58f66919d9276c96dc93f5f31f6674 AUX lynx-2.8.9_p1-parallel.patch 2127 BLAKE2B f78dd62fdf81dfa3403ad358286dc2e27d76b2bb7a65d877317a22635931499687ac75fea6d02866295a65851cfcd7c5ebf5474e1120104d998119eed132e82b SHA512 fe5ea8caab053c0d4240d34c63ee7cfb81254851eaad7e206e2b840b963ad160982566ba5cbee5fa98c732b3ddd3ff8ed88e3b2b8e6328aaa9d8b5350e2d97bc -DIST lynx2.9.0dev.5.tar.bz2 2725365 BLAKE2B 0c8529c301796c66211120faeca204beac79b611efb367ab7861736f8d4bcd5e6f287c07d3ef8c56e7137f6b1ea9fbc0b6f31870d02ea62c4a32ffc1b921aacf SHA512 b5ce8afdab835cb65452c9bc016b861db84d8a971f1e5175118ad481708dfbe6cbd336b49602dd92a4db28ecb407ba472e839115b21ab36f5abf4a9057e1b159 DIST lynx2.9.0dev.6.tar.bz2 2730690 BLAKE2B 2b176db49ac053e6c057b366b625883f0877f0bbf9bc2fbc0dfe6a13af48e0c9d5a64de52e794a4e771d7f6b160c74589a9275543f2657cb678bba149cdba38c SHA512 0c15e00a8e36e43671a093182c69593d50bc5c51a4acd92faa59416055bf4a1fd9ecde903a0209963f1f55d1fd85136e8448ca7867e198100ff749c53e1e1531 -EBUILD lynx-2.9.0_pre5.ebuild 2537 BLAKE2B 7e64a44023ecf2b8942f6fce75fde2e53fdd5032361605800381a39430faa6ea2a35c25854c813f6f608a3ab063a59e653a80bb4da9ab7b47ae29a06ea9c5247 SHA512 65e09ad40a225c819a6a81726d398a2f53e5f05a9a6f48c140d81d9adf7be972ee3263a775f381d277909f2e101a95f02f8a58fcf7fc44553e31312789d9dc55 EBUILD lynx-2.9.0_pre6-r1.ebuild 2587 BLAKE2B 2886603323c7f157e0e91a8e2e96358f6b441486d8b209e55339ad7d00b33557343a1e7cf21c320d2f9dd5c53904f027e6d5e9605e783274723abc05e63025ac SHA512 4178eed98e33d2387b4a35b58d01599559931d6a014c2809ff7be1e0764a15428382c0d71ed60b15dde785007c5bc72be1002749025acbc09dcb7e8ba740b89c MISC metadata.xml 432 BLAKE2B 8500ce18bf9e970a3f5e3daefad3145b9080453a0fdd9690bb9e9b4ce910f2a6a29128100dc3084b67da42541e7d3c1c7dc52996585dee8efead3a37a5d1b9bd SHA512 3719f07840adc1180e08d86b6ae6ad16e6ee437ca849f26389f11065559673ba3b29a845a7f57ebb0ae33f003baea81edca05efbb9b3f9da57c9f24478aaa96b diff --git a/www-client/lynx/lynx-2.9.0_pre5.ebuild b/www-client/lynx/lynx-2.9.0_pre5.ebuild deleted file mode 100644 index c82a90f70e34..000000000000 --- a/www-client/lynx/lynx-2.9.0_pre5.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# VERSIONING SCHEME TRANSLATION -# Upstream : Gentoo -# rel. : _p -# pre. : _rc -# dev. : _pre - -case ${PV} in - *_pre*) MY_P="${PN}${PV/_pre/dev.}" ;; - *_rc*) MY_P="${PN}${PV/_rc/pre.}" ;; - *_p*|*) MY_P="${PN}${PV/_p/rel.}" ;; -esac - -DESCRIPTION="An excellent console-based web browser with ssl support" -HOMEPAGE="https://lynx.invisible-island.net/" -SRC_URI="https://invisible-mirror.net/archives/lynx/tarballs/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="bzip2 cjk gnutls idn ipv6 nls ssl unicode libressl" - -RDEPEND=" - sys-libs/ncurses:0=[unicode?] - sys-libs/zlib - nls? ( virtual/libintl ) - ssl? ( - !gnutls? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:= ) - ) - gnutls? ( - dev-libs/libgcrypt:0= - >=net-libs/gnutls-2.6.4:= - ) - ) - bzip2? ( app-arch/bzip2 ) - idn? ( net-dns/libidn:0= ) -" - -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext ) - virtual/pkgconfig" - -S=${WORKDIR}/${MY_P} - -PATCHES=( - "${FILESDIR}"/${PN}-2.8.6-mint.patch - "${FILESDIR}"/${PN}-2.8.9_p1-parallel.patch -) - -pkg_setup() { - ! use ssl && elog "SSL support disabled; you will not be able to access secure websites." -} - -src_configure() { - local myconf=( - --enable-nested-tables - --enable-cgi-links - --enable-persistent-cookies - --enable-prettysrc - --enable-nsl-fork - --enable-file-upload - --enable-read-eta - --enable-color-style - --enable-scrollbar - --enable-included-msgs - --enable-externs - --with-zlib - $(use_enable nls) - $(use_enable idn idna) - $(use_enable ipv6) - $(use_enable cjk) - $(use_enable unicode japanese-utf8) - $(use_with bzip2 bzlib) - $(usex ssl "--with-$(usex gnutls gnutls ssl)=${EPREFIX}/usr" "") - --with-screen=$(usex unicode "ncursesw" "ncurses") - ) - - econf "${myconf[@]}" -} - -src_compile() { - # generating translation files in parallel is currently broken - use nls && emake -C po -j1 - emake -} - -src_install() { - emake install DESTDIR="${D}" - - sed -i "s|^HELPFILE.*$|HELPFILE:file://localhost/usr/share/doc/${PF}/lynx_help/lynx_help_main.html|" \ - "${ED}"/etc/lynx.cfg || die "lynx.cfg not found" - if use unicode ; then - sed -i '/^#CHARACTER_SET:/ c\CHARACTER_SET:utf-8' \ - "${ED}"/etc/lynx.cfg || die "lynx.cfg not found" - fi - - dodoc CHANGES COPYHEADER PROBLEMS README - dodoc -r docs lynx_help -} diff --git a/www-client/qutebrowser/Manifest b/www-client/qutebrowser/Manifest index 74fdf5f56c59..09eadcb2254f 100644 --- a/www-client/qutebrowser/Manifest +++ b/www-client/qutebrowser/Manifest @@ -1,8 +1,10 @@ DIST qutebrowser-1.14.0.tar.gz 4144761 BLAKE2B cc220990c119904c18932b7f240e428fd36baaf42a592f8fe15e9a1b1e5506cf82291ac0365fd43c75ffa78b403cbe35616f8bd5b362a686db389f5ab7a02345 SHA512 7330b685b5852c7700738bf1063121c6cb19b190143e4b98680563ae1a6ce7affaf9691db8c3a4e3686172be7da26ce841709dbc5d31a941326d7432c857cb25 DIST qutebrowser-1.14.1.tar.gz 4161759 BLAKE2B 5ea4d032cb8137af1ac9add9fe85b7dc0b8d9c78c838bd91b09444035f3e433d7cfd75672fbaafc1eceb2a0e1bac8f54b8419a7ff0d7c3b272d588818194a260 SHA512 2902b1f320c80601195f0a87b4cd1ce6dac7e79df82df692b08d00f1f0be449fcc7d7a855f4fc2cc5773f3b2142f508b0dfc6612778c416401f1117acc081de8 DIST qutebrowser-2.0.2.tar.gz 6190348 BLAKE2B 0646f7879c049f3c754c98d6929f2851507804cc95fe117cafbac8477203799afd9af5c8e6b97fd48a09dffcc17f41982b035a0459737e289f02ab34eef63f7e SHA512 523eb6a46e88fc3bea724867d92042e86f75948a660159e4bf7c21b98737dd67e05fd62840d3de06c5562c8e8833a2178cfd9fd620b95b7521d695044e08f5bd +DIST qutebrowser-2.1.0.tar.gz 6246732 BLAKE2B 8765112265a3b0852ef4f55aae2e69e0d6d623d218ed40c54e0a5d7a76ac9ed83885fa83a3112419f1b01316c3ae06934e89f316d280c2ecfabf70966bde0ddb SHA512 eec5ebc8cd4ba530cccd8296320768a3824c4f0828c806523acd95762a3dc9a40019b22b9e9219b27d1078648b78f861c6f3792ccfe991c0bdd4b3b95a009c2e EBUILD qutebrowser-1.14.0.ebuild 2652 BLAKE2B d6eb715962a5b950bf3792283ed2b73ebbd445226b7d8c20cc503fe53d8790e49c76cab59326bca6c88caccfa70fb0ce987dd812a886666ae8d4b25f663f99cf SHA512 fe94792cb5e3ae5d7aab87e0fe6880460bdb34bd47036759ea0706d16c7354f2cdff915bc40ccfbbca5f051a61afb2918c876a89c66e0a9185d95ff7ee80e0df EBUILD qutebrowser-1.14.1.ebuild 2652 BLAKE2B 47d9f2630c392a4424fe2ef0138adc18df4e787d6be521bce773619f6374fd5020eae9f4544318e0d9afb3d5500988264af48849c1ced2878048051325afcf78 SHA512 c84c3664aa8ec6c2feba3f3a5331179e29afdfcde5b7c56f7b377ca8cfcee49390b644592d5e8be6adb48483293fd74ef32cb1ed398ae9ddfa5424d1fd883d0f EBUILD qutebrowser-2.0.2.ebuild 2749 BLAKE2B 4b8edf2b84f94236c092a1636ef92c7107222cecab1df4b56ebe521280263bdd78cef52db1c47a523a3c88c90804400780877ac1c548a074c0e2d4af7826bb94 SHA512 f1be68c4ceca42c51f24c2c9a6b9b712ba72c822b063e010d3385d83305f2bd5da11361ce5d35af8bc1416239b0f3e23a6a40c33fc64edb5aa7c36d1b4dbcc0a +EBUILD qutebrowser-2.1.0.ebuild 2749 BLAKE2B 4b8edf2b84f94236c092a1636ef92c7107222cecab1df4b56ebe521280263bdd78cef52db1c47a523a3c88c90804400780877ac1c548a074c0e2d4af7826bb94 SHA512 f1be68c4ceca42c51f24c2c9a6b9b712ba72c822b063e010d3385d83305f2bd5da11361ce5d35af8bc1416239b0f3e23a6a40c33fc64edb5aa7c36d1b4dbcc0a EBUILD qutebrowser-9999.ebuild 2941 BLAKE2B dee8c19bf858809a1e5cde8afa8d4398c5c37bae0b55874b479d6724f08a931e952e98240e4d46db883029dd3f8cfb4a70f934f14aa38413ad0b6d436f1c0578 SHA512 63804c31cb48ce5d857d7833d15277fad73fe95b294a2de7379294380980707a56ddcbe92c1841383cb97b6d94451406c7955a87459d52d1d3dad8c056ed04d4 MISC metadata.xml 712 BLAKE2B 1ecb84f337927d3b9fa2f827a2296457322823c647ee033d803ae044f6d7bc6045d8e811e3c28024c45130ef3273f223605b8d604fe3da4e47751d9e0a9b2bcc SHA512 4e0ce844dd53b7beb6da2baab54adedaddf2bd075eac4904da20d9aeef0f75007a4e53cf3fe2954462c5f7e717cf7008fc6b878402fa787549766e9175e2d056 diff --git a/www-client/qutebrowser/qutebrowser-2.1.0.ebuild b/www-client/qutebrowser/qutebrowser-2.1.0.ebuild new file mode 100644 index 000000000000..defe2baa7c46 --- /dev/null +++ b/www-client/qutebrowser/qutebrowser-2.1.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit desktop distutils-r1 optfeature xdg-utils + +DESCRIPTION="A keyboard-driven, vim-like browser based on PyQt5 and QtWebEngine" +HOMEPAGE="https://www.qutebrowser.org/ https://github.com/qutebrowser/qutebrowser" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="scripts test" + +BDEPEND=" + app-text/asciidoc" +RDEPEND=" + dev-python/colorama[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' python3_{7,8}) + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/markupsafe[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/PyQt5[${PYTHON_USEDEP},declarative,multimedia,gui,network,opengl,printsupport,sql,widgets] + dev-python/PyQtWebEngine[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP},libyaml] +" + +distutils_enable_tests setup.py + +# Tests restricted as the deplist (misc/requirements/requirements-tests.txt) +# isn't complete and X11 is required in order to start up qutebrowser. +RESTRICT="test" + +python_compile_all() { + a2x -f manpage doc/${PN}.1.asciidoc || die "Failed generating man page" +} + +python_install_all() { + doman doc/${PN}.1 + domenu misc/org.${PN}.${PN}.desktop + doicon -s scalable icons/${PN}.svg + + if use scripts; then + insinto /usr/share/qutebrowser/userscripts/ + doins misc/userscripts/README.md + exeinto /usr/share/qutebrowser/userscripts/ + doexe misc/userscripts/add-nextcloud-bookmarks \ + misc/userscripts/add-nextcloud-cookbook \ + misc/userscripts/cast \ + misc/userscripts/dmenu_qutebrowser \ + misc/userscripts/format_json \ + misc/userscripts/getbib \ + misc/userscripts/kodi \ + misc/userscripts/open_download \ + misc/userscripts/openfeeds \ + misc/userscripts/password_fill \ + misc/userscripts/qr \ + misc/userscripts/qute-bitwarden \ + misc/userscripts/qutedmenu \ + misc/userscripts/qute-keepass \ + misc/userscripts/qute-lastpass \ + misc/userscripts/qute-pass \ + misc/userscripts/readability \ + misc/userscripts/readability-js \ + misc/userscripts/ripbang \ + misc/userscripts/rss \ + misc/userscripts/taskadd \ + misc/userscripts/tor_identity \ + misc/userscripts/view_in_mpv + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "PDF display support" www-plugins/pdfjs + xdg_desktop_database_update + xdg_icon_cache_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update + xdg_mimeinfo_database_update +} diff --git a/www-client/seamonkey/Manifest b/www-client/seamonkey/Manifest index 1ddf8f9c9005..b45d0ea5bf1b 100644 --- a/www-client/seamonkey/Manifest +++ b/www-client/seamonkey/Manifest @@ -4,5 +4,8 @@ DIST seamonkey-2.53.3-system_libvpx-1.8.patch.xz 3128 BLAKE2B f73802d2715a11964a DIST seamonkey-2.53.6.source-l10n.tar.xz 13520676 BLAKE2B cae6fad22f30c0e685ef3829e4a67f09420a1114e259e71a998819e7bf33ecf7428959aa99bb4299482e5d149fe85575e8f4ea5ba254dae0fe10e2a634be2aa5 SHA512 aabbe7a93c2a78ad5dde819265540ea7516f0bc1cbc876a64b81969697e6389467d3ea682a02d15ebdd182a5d0c5ae122ecce9ce18874910ab968ee7664fe501 DIST seamonkey-2.53.6.source.tar.xz 283905464 BLAKE2B 77ecb3df1b4f0a8f2fd4fa1899d3f4459d3630fc7f0dacd050ba53709d9db5af1ab49c465ba6ef264036aaac834897c0f035c1ca49a3ab34250eb4f3b244d220 SHA512 1854862b5b4781e21cb14bdb6be95e219195459202f55cde3800594174307a9ff23e8b29304494489e947a2749765cdb75ca56633f2fcff8afaf277da972a573 DIST seamonkey-2.53.6_beta1-patches-01.tar.xz 44160 BLAKE2B f6a959a983e726cd919ab5004b27cd496a78cd58759168d6dd64e155059c7b52f269bc42143ddb69a1e8880c72779257216d942a1abc58800491fde9eaaea061 SHA512 710e668209f76f2ca4112923c61219e435123791dfcfcb202af1f7975436d17f13ab025722e9725f219e9de9d024091514d23c71a851d68f750c11ea8d56c2b9 +DIST seamonkey-2.53.7_beta1.source-l10n.tar.xz 13540528 BLAKE2B 535022e9edba3cfd2de208475aaaa94b464d309c739433015722aaef02064cd04e27865c3dee718caede6b665ad69bb8340f9d21c124c6fd2fd3d6c2aef6d782 SHA512 55eca32a2784f2391bd8307c48e264c8cf67908b4e3e2f147ad51c75fddbf95a67ab2285d3df9134cc75e4440e01a253dc9cfeffbd4973152940720c6bf86e76 +DIST seamonkey-2.53.7_beta1.source.tar.xz 283721976 BLAKE2B baf95f81f1cb167d8414b8671c92f477ef38af0631745f44bc8bda93a1618f26a8b4ffd786525ba0a3092325941c1745c09aaa6c7882318d2d492c437bfd23fb SHA512 6e1fad11e71a100fce66ba193beb56369725812bd26455386c9a5a5c6ad8254ccb63d70fe4d5dd9844b7c29656ae9ee99ee46a3b6648ca67d1170cf9e71c239f EBUILD seamonkey-2.53.6.ebuild 16702 BLAKE2B 45fcbb8369324a98cc1382ff975664d672561c695c2cfd0b0e17d67197d546fb733aa74b59be51baa82bf0fc2329fb8fdc69e933495657a8c7bfb97cc6ceefc7 SHA512 6af5513259f49ce716b4f2b19c3dbc65666215f0bf9d47825f75ac911c6130760ce1b886eafcce891c906bff2937f3fdc6fec36e1fc9d8df3e3f4cd0cee31cbd +EBUILD seamonkey-2.53.7_beta1.ebuild 16745 BLAKE2B 09195625d126331d9cd8b0f6de0cc5c3d415ec20d4d80d9ddc17ce9084f5206607988097b18caa4f406d7563030b38ae595e1646bdc980121d82cc2748082afe SHA512 41a654ce32012024a21929261c99be1da9f7e24b0dea99892538bcb6a90f7f4e6b27744e24faa171c7125afed7e09aad7912d9ff6d6504e0580fde44ffe7ce86 MISC metadata.xml 1931 BLAKE2B 3cb5bb9f57b5b669b2c9c0d90616bd04928483f51bf0c0909e63836e069f6a87cfd0a2f37b8753abe8976a11219c7daa577ac0d9ee6f2335eec7c375614333ee SHA512 9ee6b67335f7a66a8ad1d211f257042fe9b741432691502be8b39d71888a1f783310fb1049757cb5059c530aa3b6e0c1d6b94f86feaf74fd096168c21611f524 diff --git a/www-client/seamonkey/seamonkey-2.53.7_beta1.ebuild b/www-client/seamonkey/seamonkey-2.53.7_beta1.ebuild new file mode 100644 index 000000000000..24e958206839 --- /dev/null +++ b/www-client/seamonkey/seamonkey-2.53.7_beta1.ebuild @@ -0,0 +1,553 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +WANT_AUTOCONF="2.1" + +PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_REQ_USE='ncurses,sqlite,ssl,threads(+)' + +# This list can be updated with scripts/get_langs.sh from the mozilla overlay +# note - could not roll langpacks for: ca fi +#MOZ_LANGS=(ca cs de en-GB es-AR es-ES fi fr gl hu it ja lt nb-NO nl pl pt-PT +# ru sk sv-SE tr uk zh-CN zh-TW) +MOZ_LANGS=(cs de en-GB es-AR es-ES fr hu it ja lt nl pl pt-PT + ru sk sv-SE zh-CN zh-TW) + +MOZ_PV="${PV/_pre*}" +MOZ_PV="${MOZ_PV/_alpha/a}" +MOZ_PV="${MOZ_PV/_beta/b}" +MOZ_PV="${MOZ_PV/_rc/rc}" +MOZ_P="${P}" +MY_MOZ_P="${PN}-${MOZ_PV}" + +if [[ ${PV} == *_pre* ]] ; then + MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/candidates/${MOZ_PV}-candidates/build${PV##*_pre}" +else + MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases/${MOZ_PV}" +fi + +SRC_URI="${MOZ_HTTP_URI}/source/${MY_MOZ_P}.source.tar.xz -> ${P}.source.tar.xz + ${MOZ_HTTP_URI}/source/${MY_MOZ_P}.source-l10n.tar.xz -> ${P}.source-l10n.tar.xz" +S="${WORKDIR}/${MY_MOZ_P}" + +MOZ_GENERATE_LANGPACKS=1 +MOZ_L10N_SOURCEDIR="${S}/${P}-l10n" +inherit autotools check-reqs desktop flag-o-matic mozcoreconf-v6 mozextension mozlinguas-v2 pax-utils toolchain-funcs xdg-utils + +DESCRIPTION="Seamonkey Web Browser" +HOMEPAGE="https://www.seamonkey-project.org/" + +PATCH="${PN}-2.53.6_beta1-patches-01" +SRC_URI+=" + https://dev.gentoo.org/~polynomial-c/mozilla/patchsets/${PATCH}.tar.xz + system-libvpx? ( https://dev.gentoo.org/~polynomial-c/mozilla/${PN}-2.53.3-system_libvpx-1.8.patch.xz ) +" + +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +SLOT="0" +SYSTEM_IUSE=( +system-{av1,harfbuzz,icu,jpeg,libevent,libvpx,sqlite} ) +IUSE="+chatzilla +crypt dbus debug +gmp-autoupdate +ipc jack lto minimal neon +pulseaudio +roaming selinux startup-notification ${SYSTEM_IUSE[@]} test wifi" +KEYWORDS="~amd64 ~ppc64 ~x86" + +RESTRICT="!test? ( test )" + +ASM_DEPEND=">=dev-lang/yasm-1.1" + +BDEPEND=" + app-arch/unzip + app-arch/zip + dev-lang/perl + sys-apps/findutils + >=sys-devel/binutils-2.16.1 + virtual/pkgconfig + >=virtual/rust-1.34.0 + amd64? ( ${ASM_DEPEND} ) + lto? ( sys-devel/binutils[gold] ) + x86? ( ${ASM_DEPEND} ) +" +COMMON_DEPEND=" + >=app-text/hunspell-1.5.4:= + dev-libs/atk + >=dev-libs/glib-2.26:2 + >=dev-libs/libffi-3.0.10:= + >=dev-libs/nspr-4.23 + >=dev-libs/nss-3.47.1 + media-libs/fontconfig + >=media-libs/freetype-2.4.10 + >=media-libs/libpng-1.6.31:0=[apng] + >=media-libs/mesa-10.2:= + >=sys-libs/zlib-1.2.3 + >=x11-libs/cairo-1.10[X] + x11-libs/gdk-pixbuf + >=x11-libs/gtk+-2.18:2 + >=x11-libs/gtk+-3.4.0:3 + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrender + x11-libs/libXt + >=x11-libs/pango-1.22.0 + >=x11-libs/pixman-0.19.2 + media-video/ffmpeg + virtual/freedesktop-icon-theme + dbus? ( + >=dev-libs/dbus-glib-0.72 + >=sys-apps/dbus-0.60 + ) + jack? ( virtual/jack ) + crypt? ( =media-sound/apulse-0.1.9 + ) ) + startup-notification? ( >=x11-libs/startup-notification-0.8 ) + system-av1? ( + >=media-libs/dav1d-0.3.0:= + >=media-libs/libaom-1.0.0:= + ) + system-harfbuzz? ( + >=media-gfx/graphite2-1.3.9-r1 + >=media-libs/harfbuzz-1.3.3:0= + ) + system-icu? ( >=dev-libs/icu-59.1:= ) + system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) + system-libevent? ( >=dev-libs/libevent-2.0:0= ) + system-libvpx? ( >=media-libs/libvpx-1.8.0:0=[postproc] ) + system-sqlite? ( >=dev-db/sqlite-3.19.3:3[secure-delete,debug=] ) + wifi? ( + kernel_linux? ( + >=dev-libs/dbus-glib-0.72 + net-misc/networkmanager + >=sys-apps/dbus-0.60 + ) + ) +" +RDEPEND="${COMMON_DEPEND} + selinux? ( sec-policy/selinux-mozilla ) +" +DEPEND="${COMMON_DEPEND} + amd64? ( virtual/opengl ) + x86? ( virtual/opengl ) +" + +# allow GMP_PLUGIN_LIST to be set in an eclass or +# overridden in the enviromnent (advanced hackers only) +[[ -z ${GMP_PLUGIN_LIST} ]] && GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm ) + +BUILD_OBJ_DIR="${S}/seamonk" + +pkg_setup() { + if [[ ${PV} == *_beta* ]] || [[ ${PV} == *_pre* ]] ; then + ewarn "You're using an unofficial release of ${PN}. Don't file any bug in" + ewarn "Gentoo's Bugtracker against this package in case it breaks for you." + ewarn "Those belong to upstream: https://bugzilla.mozilla.org" + fi + + moz_pkgsetup +} + +pkg_pretend() { + # Ensure we have enough disk space to compile + if use debug || use lto || use test ; then + CHECKREQS_DISK_BUILD="16G" + else + CHECKREQS_DISK_BUILD="12G" + fi + check-reqs_pkg_setup +} + +spkg_setup() { + # Ensure we have enough disk space to compile + if use debug || use lto || use test ; then + CHECKREQS_DISK_BUILD="16G" + else + CHECKREQS_DISK_BUILD="12G" + fi + check-reqs_pkg_setup +} + +src_unpack() { + local l10n_sources="${P}.source-l10n.tar.xz" + unpack ${A/ ${l10n_sources}} + + mkdir "${S}/${P}-l10n" || die + cd "${S}/${P}-l10n" || die + unpack ${l10n_sources} +} + +src_prepare() { + rm "${WORKDIR}/mozilla/6009_musl_sandbox_membarrier.patch" || die + + # Apply our patches + eapply "${WORKDIR}"/mozilla + + # Shell scripts sometimes contain DOS line endings; bug 391889 + grep -rlZ --include="*.sh" $'\r$' . | + while read -r -d $'\0' file ; do + einfo edos2unix "${file}" + edos2unix "${file}" + done + + use system-libvpx \ + && eapply -p2 "${WORKDIR}/${PN}-2.53.3-system_libvpx-1.8.patch" + + # Allow user to apply any additional patches without modifing ebuild + eapply_user + + # Don't error for format with gcc-9 + grep -rl -- '-Werror=format' | xargs sed -i 's/error=format/no-&/' || die + + # Enable gnomebreakpad + if use debug ; then + sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \ + build/unix/run-mozilla.sh || die + fi + + # Ensure that are plugins dir is enabled as default + sed -i -e "s:/usr/$(get_libdir)/mozilla/plugins:/usr/$(get_libdir)/${PN}/plugins:" \ + xpcom/io/nsAppFileLocationProvider.cpp || die + + # Don't exit with error when some libs are missing which we have in + # system. + sed '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' \ + -i comm/suite/installer/Makefile.in || die + # Don't error out when there's no files to be removed: + sed 's@\(xargs rm\)$@\1 -f@' \ + -i toolkit/mozapps/installer/packager.mk || die + + # Don't build libs-% locale files for chatzilla if we are not building chatzilla + # (this is hard-coded in the build system at present rather than being based on configuration) + if ! use chatzilla ; then + sed '/extensions\/irc\/locales libs-/s@^@#@' \ + -i comm/suite/locales/Makefile.in || die + fi + + eautoreconf old-configure.in + cd js/src || die + eautoconf old-configure.in +} + +src_configure() { + MEXTENSIONS="default" + # 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. + _google_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc + + ###################################### + # + # mozconfig, CFLAGS and CXXFLAGS setup + # + ###################################### + + mozconfig_init + + ################################## + # Former mozconfig_config() part # + ################################## + + # Migrated from mozcoreconf-2 + mozconfig_annotate 'system_libs' --with-system-bz2 + mozconfig_annotate 'system_libs' --with-system-zlib + + # Disable for testing purposes only + mozconfig_annotate 'Upstream bug 1341234' --disable-stylo + + # Must pass release in order to properly select linker via gold useflag + mozconfig_annotate 'Enable by Gentoo' --enable-release + + # Must pass --enable-gold if using ld.gold + if tc-ld-is-gold ; then + mozconfig_annotate 'tc-ld-is-gold=true' --enable-gold + else + mozconfig_annotate 'tc-ld-is-gold=false' --disable-gold + fi + + # Enable position independent executables + mozconfig_annotate 'enabled by Gentoo' --enable-pie + + mozconfig_use_enable debug + mozconfig_use_enable debug tests + if ! use debug ; then + mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols + else + mozconfig_annotate 'enabled by Gentoo' --enable-debug-symbols + fi + + mozconfig_use_enable startup-notification + + # wifi pulls in dbus so manage both here + mozconfig_use_enable wifi necko-wifi + if use kernel_linux && use wifi && ! use dbus ; then + echo "Enabling dbus support due to wifi request" + mozconfig_annotate 'dbus required by necko-wifi on linux' --enable-dbus + else + mozconfig_use_enable dbus + mozconfig_annotate 'disabled' --disable-necko-wifi + fi + + # These are enabled by default in all mozilla applications + mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${SYSROOT}${EPREFIX}"/usr + mozconfig_annotate '' --with-system-nss --with-nss-prefix="${SYSROOT}${EPREFIX}"/usr + mozconfig_annotate '' --x-includes="${SYSROOT}${EPREFIX}"/usr/include --x-libraries="${SYSROOT}${EPREFIX}"/usr/$(get_libdir) + if use system-libevent ; then + mozconfig_annotate '' --with-system-libevent="${SYSROOT}${EPREFIX}"/usr + fi + mozconfig_annotate '' --prefix="${EPREFIX}"/usr + mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir) + mozconfig_annotate 'Gentoo default' --enable-system-hunspell + mozconfig_annotate '' --disable-crashreporter + mozconfig_annotate 'Gentoo default' --with-system-png + mozconfig_annotate '' --enable-system-ffi + mozconfig_annotate '' --disable-gconf + mozconfig_annotate '' --with-intl-api + + # skia has no support for big-endian platforms + if [[ $(tc-endian) == "big" ]] ; then + mozconfig_annotate 'big endian target' --disable-skia + else + mozconfig_annotate '' --enable-skia + fi + + # default toolkit is cairo-gtk3, optional use flags can change this + mozconfig_annotate '' --enable-default-toolkit=cairo-gtk3 + + # Instead of the standard --build= and --host=, mozilla uses --host instead + # of --build, and --target intstead of --host. + # Note, mozilla also has --build but it does not do what you think it does. + # Set both --target and --host as mozilla uses python to guess values otherwise + mozconfig_annotate '' --target="${CHOST}" + mozconfig_annotate '' --host="${CBUILD:-${CHOST}}" + + mozconfig_use_enable pulseaudio + # force the deprecated alsa sound code if pulseaudio is disabled + if use kernel_linux && ! use pulseaudio ; then + mozconfig_annotate '-pulseaudio' --enable-alsa + fi + + # For testing purpose only + mozconfig_annotate 'Sandbox' --enable-content-sandbox + + mozconfig_use_enable system-sqlite + mozconfig_use_with system-jpeg + mozconfig_use_with system-icu + mozconfig_use_with system-libvpx + mozconfig_use_with system-harfbuzz + mozconfig_use_with system-harfbuzz system-graphite2 + mozconfig_use_with system-av1 + + # Modifications to better support ARM, bug 553364 + if use neon ; then + mozconfig_annotate '' --with-fpu=neon + mozconfig_annotate '' --with-thumb=yes + mozconfig_annotate '' --with-thumb-interwork=no + fi + if [[ ${CHOST} == armv* ]] ; then + mozconfig_annotate '' --with-float-abi=hard + if ! use system-libvpx ; then + sed -i -e "s|softfp|hard|" media/libvpx/moz.build || die + fi + fi + + if use lto ; then + # Linking only works when using ld.gold when LTO is enabled + mozconfig_annotate "forcing ld=gold due to USE=lto" --enable-linker=gold + # ThinLTO is currently broken, see bmo#1644409 + mozconfig_annotate '+lto' --enable-lto=full + else + if tc-ld-is-gold ; then + mozconfig_annotate "linker is set to gold" --enable-linker=gold + else + mozconfig_annotate "linker is set to bfd" --enable-linker=bfd + fi + fi + # LTO flag was handled via configure + filter-flags '-flto*' + + ################################## + # Former mozconfig_config() end # + ################################## + + # enable JACK, bug 600002 + mozconfig_use_enable jack + + # It doesn't compile on alpha without this LDFLAGS + use alpha && append-ldflags "-Wl,--no-relax" + + # Linking fails without this due to memory exhaustion + use x86 && append-ldflags "-Wl,--no-keep-memory" + + if ! use chatzilla ; then + MEXTENSIONS+=",-irc" + fi + if ! use roaming ; then + MEXTENSIONS+=",-sroaming" + fi + + # Setup api key for location services + echo -n "${_google_api_key}" > "${S}"/google-api-key + mozconfig_annotate '' --with-google-location-service-api-keyfile="${S}/google-api-key" + mozconfig_annotate '' --with-google-safebrowsing-api-keyfile="${S}/google-api-key" + + mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" + + # use startup-cache for faster startup time + mozconfig_annotate '' --enable-startupcache + + # Use an objdir to keep things organized. + echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" >> "${S}"/.mozconfig + echo "mk_add_options XARGS=/usr/bin/xargs" >> "${S}"/.mozconfig + + mozlinguas_mozconfig + + # Finalize and report settings + mozconfig_final + + # Work around breakage in makeopts with --no-print-directory + MAKEOPTS="${MAKEOPTS/--no-print-directory/}" + + if [[ $(gcc-major-version) -lt 4 ]] ; then + append-cxxflags -fno-stack-protector + elif [[ $(gcc-major-version) -gt 4 || $(gcc-minor-version) -gt 3 ]] ; then + if use amd64 || use x86 ; then + append-flags -mno-avx + fi + fi + + # Pass $MAKEOPTS to build system + export MOZ_MAKE_FLAGS="${MAKEOPTS}" + # Use system's Python environment + #export MACH_USE_SYSTEM_PYTHON=1 + # Disable notification when build system has finished + export MOZ_NOSPAM=1 + + # workaround for funky/broken upstream configure... + SHELL="${SHELL:-${EPREFIX}/bin/bash}" \ + emake V=1 -f client.mk configure + #./mach configure || die +} + +src_compile() { + MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" \ + emake V=1 -f client.mk + #./mach build --verbose || die + + mozlinguas_src_compile +} + +src_install() { + MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + DICTPATH="\"${EPREFIX}/usr/share/myspell\"" + + local emid + cd "${BUILD_OBJ_DIR}" || die + + # Pax mark xpcshell for hardened support, only used for startupcache creation. + pax-mark m dist/bin/xpcshell + + # Copy our preference before omnijar is created. + sed "s|SEAMONKEY_PVR|${PVR}|" "${FILESDIR}"/all-gentoo-1.js > \ + dist/bin/defaults/pref/all-gentoo.js \ + || die + + # Set default path to search for dictionaries. + echo "pref(\"spellchecker.dictionary_path\", ${DICTPATH});" \ + >> dist/bin/defaults/pref/all-gentoo.js \ + || die + + echo 'pref("extensions.autoDisableScopes", 3);' >> \ + dist/bin/defaults/pref/all-gentoo.js \ + || die + + local plugin + if ! use gmp-autoupdate ; then + for plugin in "${GMP_PLUGIN_LIST[@]}" ; do + echo "pref(\"media.${plugin}.autoupdate\", false);" >> \ + dist/bin/defaults/pref/all-gentoo.js || die + done + fi + + MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX}/bin/bash}" \ + emake DESTDIR="${D}" install + MOZ_P="${MY_MOZ_P}" mozlinguas_src_install + + cp "${FILESDIR}"/${PN}.desktop "${T}" || die + + sed 's|^\(MimeType=.*\)$|\1text/x-vcard;text/directory;application/mbox;message/rfc822;x-scheme-handler/mailto;|' \ + -i "${T}"/${PN}.desktop || die + sed 's|^\(Categories=.*\)$|\1Email;|' -i "${T}"/${PN}.desktop \ + || die + + # Install icon and .desktop for menu entry + newicon "${S}"/comm/suite/branding/${PN}/default64.png ${PN}.png + domenu "${T}"/${PN}.desktop + + # Required in order to use plugins and even run seamonkey on hardened. + pax-mark m "${ED}"/${MOZILLA_FIVE_HOME}/{seamonkey,seamonkey-bin,plugin-container} + + if use minimal ; then + rm -r "${ED}"/usr/include "${ED}/${MOZILLA_FIVE_HOME}"/{idl,include,lib,sdk} || die + fi + + if use chatzilla ; then + emid='{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}' + + # remove the en_US-only xpi file so a version with all requested locales can be installed + if [[ -e "${ED}"/${MOZILLA_FIVE_HOME}/distribution/extensions/${emid}.xpi ]] ; then + rm -f "${ED}"/${MOZILLA_FIVE_HOME}/distribution/extensions/${emid}.xpi || die + fi + + # merge the extra locales into the main extension + mozlinguas_xpistage_langpacks dist/xpi-stage/chatzilla + + # install the merged extension + mkdir -p "${T}/${emid}" || die + cp -RLp -t "${T}/${emid}" dist/xpi-stage/chatzilla/* || die + insinto ${MOZILLA_FIVE_HOME}/distribution/extensions + doins -r "${T}/${emid}" + fi + + # Provide a place for plugins + keepdir "${MOZILLA_FIVE_HOME}/plugins" + + # revdep-rebuild entry + insinto /etc/revdep-rebuild + echo "SEARCH_DIRS_MASK=${MOZILLA_FIVE_HOME}*" >> ${T}/11${PN} + doins "${T}"/11${PN} + +} + +pkg_preinst() { + SEAMONKEY_PLUGINS_DIR="${ROOT}/usr/$(get_libdir)/${PN}/plugins" + + if [[ -L "${SEAMONKEY_PLUGINS_DIR}" ]] ; then + rm "${SEAMONKEY_PLUGINS_DIR}" || die + fi +} + +pkg_postinst() { + # Update mimedb for the new .desktop file + xdg_desktop_database_update + + 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 "${GMP_PLUGIN_LIST[@]}"; do elog "\t ${plugin}" ; done + fi + + if use chatzilla ; then + elog "chatzilla is now an extension which can be en-/disabled and configured via" + elog "the Add-on manager." + fi +} + +pkg_postrm() { + xdg_desktop_database_update +} diff --git a/www-client/surfraw/Manifest b/www-client/surfraw/Manifest index 6a3dd2250c61..df5612267b98 100644 --- a/www-client/surfraw/Manifest +++ b/www-client/surfraw/Manifest @@ -1,8 +1,6 @@ AUX surfraw-2.3.0-completion.patch 1202 BLAKE2B 5ee51e874e51c9007e4d1948fb197caf5cb4f62845b56e75baa45741efe3c3405bec7735c77165dc4f9a03047125cc3e35d68cb3e768ef411668f90adf125218 SHA512 6bee4b435d3c52d2165ff76029ab3f7b898d358468c52304f9bf70f5c991e0387928d154d1097cfdd08d826f9c8695e85f587ef529978f7d97cbe07caf183443 AUX surfraw-99999-sr-completion-path.patch 463 BLAKE2B f13c4436756532f6ea15718ae40f01dc257cd0ebcd17a890466d27027149de49da80872e9050440aeabaff7e3379136ae4747230ea5345584fb11c2485be466e SHA512 80d110e18c4e7d1b258b9bbb809973d0f83f20f137889593e1cc90bc192eb4d54c1a39eac3145610b184e7f40de6e0bd5c75a59fbb543f90f58ca3ff253dadd5 DIST Surfraw-surfraw-2.3.0.tar.bz2 114065 BLAKE2B 91105b225737fe8f3a016e8c723421a2386c48f0c245b6ed119e4cc0f1032c9362e83a062134d0fef8b1cb14f58af07d3d9abe72c4efef9e79c6eb4c93bab25c SHA512 43f0dd2b48a045a47e73e8ef8058e0590a0409367e8378a086497ef912c58317614ba318b006913803529a51a641858a58c1f9f6a2f93dcdea9a45a26484af02 -EBUILD surfraw-2.3.0-r1.ebuild 2552 BLAKE2B c67934ca16a0444346e7634c36b42f17053f3d754ab37937a82324a79eb4b127fcec2e306c5c5ff086663684b95f4cc3584d8ad8c4004a99e8b68b93f6cb6f52 SHA512 e5027ff3f0330ff15841bd385d5c22f63971833f7621284c1b4b5b2e58bb80a5e6ae0d365c4c9a7125fd058fabb8be1ec5ed591e14ef7b1b3f0f88c161593d14 -EBUILD surfraw-2.3.0-r2.ebuild 2510 BLAKE2B db46028bea6faa656ff5b3c853c0d8827b20b7e3288da1a873222e73d8588af72f6fee01e3b7f7f1903b8cc11ab8de04a650a7cafca7823c48fc97a52573c48b SHA512 49155576c86f0887eb78ec467c4e797029a765563913518e39ffc42e9fe6444fe626ee0e4799d33d789f6e4ae54bb71f9b003662198655e3603ef2bb994fc73a -EBUILD surfraw-2.3.0-r3.ebuild 2934 BLAKE2B 7a58369d63f26a2fd54edcd6b7e12e77c3ee483f6b6345df76a2563b86dedcb929cb14240bd15f2cedd6dce6bfa01bb073c4dd253dda9b7fdc824fa89b3fdd6f SHA512 9f4b9722b3e7f3a44a0dc0dd7599ad4dc854c83ee9ad9d1926a0d4c8d135737ae534d1062cf30cf1f8fddb17ae1ad57a7bb9d215e3b74af69997f113a67e7695 +EBUILD surfraw-2.3.0-r3.ebuild 2932 BLAKE2B 3694687de79f6ebb72bd940c85b7b77fa0fc5d516b69a3b8aa9a6443a04a0b04f4e1f0d05a0f9a2a7eb8b21c78f5b31a0b6633c3e079ef65b2b3d645886110cd SHA512 63de6aa40dcbe0558330ca0a2db424bd01afad07d28b2eaa2d17d5dcc18ac572c5c5ed2d788bbbf951f291164fa0ec3f2134f445b2182a9b9415223f8cd01117 EBUILD surfraw-99999.ebuild 1274 BLAKE2B 30a2f4f4a90ddfa92bccef0f47e75af6bbdc8535644ec378b68bd7bee11581886ee80d11e105ef92b87af148a28a75e384bdd46a1d4b64d9012cc4b1a4fa671b SHA512 ba478cafb5c958adabe27bba76da46a1c4a08bc5bbdd7a2f7132d43687b7a42fb68f981147793dd49d1e3775083a16fe476aeb2c153959744bf62363542580f6 MISC metadata.xml 1142 BLAKE2B c6baed37a426be4c0e4f5f23913c0b57f50414e2c14c09db9338bf3669784d5d6f11b32e9dd1c7c460d8759f1b85bad0ddcd078de90cfc34c540bfe60f83627b SHA512 6c7abfd37e1785d57c353224c030e45116db623adb01eac159ebd9b9ec282f2d7a9ba75dfd0e8fb6afc7dba350307651b526104fa8215caa210d3782a37e5094 diff --git a/www-client/surfraw/surfraw-2.3.0-r1.ebuild b/www-client/surfraw/surfraw-2.3.0-r1.ebuild deleted file mode 100644 index 451419a8fe8c..000000000000 --- a/www-client/surfraw/surfraw-2.3.0-r1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools bash-completion-r1 - -DESCRIPTION="A fast unix command line interface to WWW" -HOMEPAGE="https://gitlab.com/surfraw/Surfraw" -SRC_URI="https://gitlab.com/surfraw/Surfraw/-/archive/${P}/${PN^}-${P}.tar.bz2" -SLOT="0" -LICENSE="public-domain" -KEYWORDS="amd64 ~hppa ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" - -RDEPEND=" - dev-lang/perl -" -RESTRICT="test" -DOCS=( - AUTHORS ChangeLog HACKING NEWS README TODO -) -PATCHES=( - "${FILESDIR}"/${PN}-2.3.0-completion.patch -) -S=${WORKDIR}/${PN^}-${P} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf --with-elvidir='$(datadir)'/surfraw -} - -src_install() { - default - - newbashcomp surfraw-bash-completion ${PN} - bashcomp_alias ${PN} sr - - docinto examples - dodoc examples/README - insinto /usr/share/doc/${PF}/examples - doins examples/uzbl_load_url_from_surfraw -} - -pkg_preinst() { - has_version "=${CATEGORY}/${PN}-1.0.7" - upgrade_from_1_0_7=$? -} - -pkg_postinst() { - local moves f - - einfo - einfo "You can get a list of installed elvi by just typing 'surfraw' or" - einfo "the abbreviated 'sr'." - einfo - einfo "You can try some searches, for example:" - einfo "$ sr ask why is jeeves gay? " - einfo "$ sr google -results=100 RMS, GNU, which is sinner, which is sin?" - einfo "$ sr rhyme -method=perfect Julian" - einfo - einfo "The system configuration file is /etc/surfraw.conf" - einfo - einfo "Users can specify preferences in '~/.surfraw.conf' e.g." - einfo "SURFRAW_graphical_browser=mozilla" - einfo "SURFRAW_text_browser=w3m" - einfo "SURFRAW_graphical=no" - einfo - einfo "surfraw works with any graphical and/or text WWW browser" - einfo - if [[ $upgrade_from_1_0_7 = 0 ]] ; then - ewarn "surfraw usage has changed slightly since version 1.0.7, elvi are now called" - ewarn "using the 'sr' wrapper script as described above. If you wish to return to" - ewarn "the old behaviour you can add /usr/share/surfraw to your \$PATH" - fi - # This file was always autogenerated, and is no longer needed. - if [ -f "${EROOT}"/etc/surfraw_elvi.list ]; then - rm -f "${EROOT}"/etc/surfraw_elvi.list - fi - - # Config file location changes in v2.2.6 - for f in /etc/surfraw.{bookmarks,conf}; do - if [ -f "${EROOT}"${f} ]; then - ewarn "${f} has moved to /etc/xdg/config/surfraw/${f##*.} in v2.2.6." - moves=1 - fi - done - if [ "${moves}" == 1 ]; then - ewarn "You must manually move, and update, the config files listed" - ewarn "above for surfraw v2.2.6 and above to use them." - fi -} diff --git a/www-client/surfraw/surfraw-2.3.0-r2.ebuild b/www-client/surfraw/surfraw-2.3.0-r2.ebuild deleted file mode 100644 index 1f4577690fc4..000000000000 --- a/www-client/surfraw/surfraw-2.3.0-r2.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools bash-completion-r1 - -DESCRIPTION="A fast unix command line interface to WWW" -HOMEPAGE="https://gitlab.com/surfraw/Surfraw" -SRC_URI="https://gitlab.com/surfraw/Surfraw/-/archive/${P}/${PN^}-${P}.tar.bz2" -SLOT="0" -LICENSE="public-domain" -KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" - -RDEPEND=" - dev-lang/perl -" -RESTRICT="test" -DOCS=( - AUTHORS ChangeLog HACKING NEWS README TODO -) -PATCHES=( - "${FILESDIR}"/${PN}-2.3.0-completion.patch -) -S=${WORKDIR}/${PN^}-${P} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf --with-elvidir='$(datadir)'/surfraw -} - -src_install() { - default - - newbashcomp surfraw-bash-completion ${PN} - bashcomp_alias ${PN} sr - - docinto examples - dodoc examples/README examples/uzbl_load_url_from_surfraw -} - -pkg_preinst() { - has_version "=${CATEGORY}/${PN}-1.0.7" - upgrade_from_1_0_7=$? -} - -pkg_postinst() { - local moves f - - einfo - einfo "You can get a list of installed elvi by just typing 'surfraw' or" - einfo "the abbreviated 'sr'." - einfo - einfo "You can try some searches, for example:" - einfo "$ sr ask why is jeeves gay? " - einfo "$ sr google -results=100 RMS, GNU, which is sinner, which is sin?" - einfo "$ sr rhyme -method=perfect Julian" - einfo - einfo "The system configuration file is /etc/surfraw.conf" - einfo - einfo "Users can specify preferences in '~/.surfraw.conf' e.g." - einfo "SURFRAW_graphical_browser=mozilla" - einfo "SURFRAW_text_browser=w3m" - einfo "SURFRAW_graphical=no" - einfo - einfo "surfraw works with any graphical and/or text WWW browser" - einfo - if [[ $upgrade_from_1_0_7 = 0 ]] ; then - ewarn "surfraw usage has changed slightly since version 1.0.7, elvi are now called" - ewarn "using the 'sr' wrapper script as described above. If you wish to return to" - ewarn "the old behaviour you can add /usr/share/surfraw to your \$PATH" - fi - # This file was always autogenerated, and is no longer needed. - if [ -f "${EROOT}"/etc/surfraw_elvi.list ]; then - rm -f "${EROOT}"/etc/surfraw_elvi.list - fi - - # Config file location changes in v2.2.6 - for f in /etc/surfraw.{bookmarks,conf}; do - if [ -f "${EROOT}"${f} ]; then - ewarn "${f} has moved to /etc/xdg/config/surfraw/${f##*.} in v2.2.6." - moves=1 - fi - done - if [ "${moves}" == 1 ]; then - ewarn "You must manually move, and update, the config files listed" - ewarn "above for surfraw v2.2.6 and above to use them." - fi -} diff --git a/www-client/surfraw/surfraw-2.3.0-r3.ebuild b/www-client/surfraw/surfraw-2.3.0-r3.ebuild index 34027c7748d7..ea45f0272ea7 100644 --- a/www-client/surfraw/surfraw-2.3.0-r3.ebuild +++ b/www-client/surfraw/surfraw-2.3.0-r3.ebuild @@ -9,7 +9,7 @@ HOMEPAGE="https://gitlab.com/surfraw/Surfraw" SRC_URI="https://gitlab.com/surfraw/Surfraw/-/archive/${P}/${PN^}-${P}.tar.bz2" SLOT="0" LICENSE="public-domain" -KEYWORDS="amd64 ~hppa ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" +KEYWORDS="amd64 ~hppa ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" RDEPEND=" dev-lang/perl diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index c71bcd0b8d20..cdc2e0979fdc 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -2,10 +2,15 @@ DIST vivaldi-snapshot_3.6.2165.32-1_amd64.deb 77537504 BLAKE2B 5104b2ca7878512af DIST vivaldi-snapshot_3.6.2165.32-1_arm64.deb 69777460 BLAKE2B 3bd957ecd1547d79183b955ecbc8aa6d53e9966c8f03810b5f40ac91b5752022f6c91111ab3680f220ba1f8ac1a7748f366a5b0a26ce528fa00cb1be87ec4b3a SHA512 98f2061f5f32be702e55927e58ef8af03bbb5f16c2d6fbd9f4959b9b9732313c3663f4b720243505fbff3f58677a06e49957754efb03fa28b02065edbe338682 DIST vivaldi-snapshot_3.6.2165.32-1_armhf.deb 68597612 BLAKE2B de4c564394972fb9a85b02541adc67c0841b0b21c00367883527e383af80988969ab6a9c0abc64bb55a7ecad83a1b626f8a62ae383d7818e464f9aac1a3b78af SHA512 efa2a53144791e1bf42515932cc08b3308755feb797c00d64a283880b4c0e9d2aefaa0d7fd0d44eb3354e3bf289b0a087381af62202430dcf0fbae9e58c5a2d8 DIST vivaldi-snapshot_3.6.2165.32-1_i386.deb 73641588 BLAKE2B 49c95c3d8cd90d1eb69b46df7e99cc5a267a6e0f1ea051e011f9e032fb130b4db63b542015192ebac72840aed11abb650d0b221b84b387cbf72ca4e1432d0bfd SHA512 5dda40708f005862ae214a87d14f5f88f3673615402f07fb1c3317d40cdfb922ace38d897ec3bf88a0975b3f95045cf4d7022a3a3e06fc8edf49c85e9990b68f -DIST vivaldi-snapshot_3.7.2209.3-1_amd64.deb 78672360 BLAKE2B 799c9dd56d0b425dbb1a46764cc812151c589d1dcce51155caf337079227a62ac42c47ac0eafcade143dc2b3a5d5ebfe4764fbec0a28afac6ef405ebd0209301 SHA512 d104a9c5ebcbe17110fb396ba0ea0f2f94c746d44cffb0b281107b386103cfb88301184dc9238b487358379a8cf6e7e9fe7d422fd58945ea358298cbbbf1edc8 -DIST vivaldi-snapshot_3.7.2209.3-1_arm64.deb 70757212 BLAKE2B 587c1e88e9522ac32328c1e08645e54bd2fa9d21618a4806962d5fa41643a1ec5487b0d6a23deb553e8ad936c5c81e52149fe41ed138c8266007cdbc484eb1d1 SHA512 c5abf5eac3911fefaa64fb1ced6f6a24ff327f71e4fb99c0948cf3af07078dcd0c1137435bf7b2033071a6dc009ad0d03d4285b1b41ebf04fd78ebbc12eae007 -DIST vivaldi-snapshot_3.7.2209.3-1_armhf.deb 69583268 BLAKE2B cf6e931a398c8b58b03634fdbdefbe2d5bd4c7b84456ee4bda1757819cdbee7ce8de7159a2b222fce1ca34318e1ffa5fa4f0bc7652580d2ded6709f8dafc7c1d SHA512 909923b020bf37f0922e60d0e32fa245143f65d4accb888e2a9c303826af072afb022bb52895d05491e4238da0f2bf58efb2ec7099e719aec22361addebfd8e7 -DIST vivaldi-snapshot_3.7.2209.3-1_i386.deb 75693932 BLAKE2B 80381463774a15b8e9f7af74b8b12e2ee9f8cf4135edeaf55311cd9132d2bb7a03a8ba27c26d502ebc749d146a38d0f5f889018a60837c0e5f221096c6137d5f SHA512 47da7f78e739dcbc00c5614791caa5dca8029f0428ccb2d894bd6a6a0a3d461c1359c558d6384b921e52c769f31bd9a89a6dcd27b1b7c91a65ee3f663ca01cb6 +DIST vivaldi-snapshot_3.7.2218.25-1_amd64.deb 78709784 BLAKE2B 9b014340c5cac95b0fe3e05b7aa070ea0ee642d9d7604d83c1cec1c95cde3f8c03d6f4c961d035c6674f118cc29fe380e6939d3b80619c404cab115985f655ca SHA512 e41a098169af40b0d75f9bbfdd405f86e3cb842e49cc5cfa3ba9579573633bf1a7e451b58492f82e162f55850148edaa5287f6d60645140f506fa9e074806fa6 +DIST vivaldi-snapshot_3.7.2218.25-1_arm64.deb 70823924 BLAKE2B 1b14ae98af1efef91b3b2df574d8195bbba1882c72930780b8b499af22eed6a6e08d21b6a294eeefea2c60c081e5f6285a7b90a3d5974d2e0bdfd8c5e07a131e SHA512 069a987094f4a58e679dffb183bfad0088d57ee1875feca6c7235cdebadd35bbd790e1189dce3163fa5380826adb230d5270f778429bd2f216a6ed81a24e9084 +DIST vivaldi-snapshot_3.7.2218.25-1_armhf.deb 69655016 BLAKE2B 104d1646799c24da61add66492c575b47f848df8c686cc95f5074523c668880c8c8ec2fb18407da843a33f0db68e81d69129e0a3820b297c96441b58a2ef835d SHA512 3f64fb39e650a11f9850b6e0a7ef66536e57b9c5a2f62ad8acfd11d4280d128d42aaf3991446e4a1dff20de84b81d45e417c6ce45e993f98462643d73a7a2207 +DIST vivaldi-snapshot_3.7.2218.25-1_i386.deb 75771152 BLAKE2B ff7d64d892409c29de8bd2bf79561dbb2091bfa436ac4a1d1bfbc479a61c107a5c6eaec85ffbc490389528f2211129159a993e90f342911f38a6f6d0e21c7ab8 SHA512 1f50ad5b3b8123e233c8f05dfec2aaac636c7d902411a241307bea3ce75f99027a2ce2b311ebcdc799cc2cd8cfc4287ac9e7b6fdc85896f7b3ea4d6b5351e913 +DIST vivaldi-snapshot_3.7.2218.3-1_amd64.deb 78724140 BLAKE2B 8f939c2723a7ae2e580cf9285c13d7434b62805fef26c494aceb4307aed1f51f4b6bc77203423ca464baf6b10029fb486afe805cfacb5bef35199db33106ee12 SHA512 6c4e6d16877441d3b5dc2945592cdd48f45217ca52fefb88d681296658ded86b670ae3e14b4d1b929e89e13e3b408df8aa12d2ceea8f3689d2383af21c87bd13 +DIST vivaldi-snapshot_3.7.2218.3-1_arm64.deb 70800716 BLAKE2B 579d53a12c6eefa8c69fda681876f9216a78cc960db6a9043065a698b0e26d0a2a7cf9ee52fc2cdfa0b19599f17aa9cfcab3ac94921899f771389a276f501713 SHA512 f0b59a3a96d463c78185aef41597b013b5c2c95583c51f0023d1af994bb643811318a606fdc2600df7e001740487dc942aceae4e8613103210277c2f38e0a7c7 +DIST vivaldi-snapshot_3.7.2218.3-1_armhf.deb 69635832 BLAKE2B 4b8ed5c5b7a454dc4def3c4c6ac7971b125c85bc6a6f8d0cbc2ac5b10df36623adf099f0fb54fb0cbe29859d582f62dc47eb247971b82ebc89ce229439332b35 SHA512 cb59e237239e70f3c317e27f76da7d087291d825b472041548dc0303f384fa4fbd2ccae7138377090207ad8ccce82706f123cb95d718a79b4a8c55a02a9d4566 +DIST vivaldi-snapshot_3.7.2218.3-1_i386.deb 75736164 BLAKE2B 02bec228bb256a910edf8567448603b6d5645146324fb48b75fa10995ac679393454cd2d17dda75e6d730e060e502fa45d1498468896e5dab650f6b4d89421de SHA512 e8aaf7fd1d2cff38fe3de69d27521f12519373d17323e75ed747c5313e3819ac8d2d1facd863c8590db8910870dc7477b42c9d5e1c95c78199c98b2c2fc535b4 EBUILD vivaldi-snapshot-3.6.2165.32.ebuild 3320 BLAKE2B 66c809094b492e9261c7dad09b0a6fc8b42c4a0a6d49324ae89ec4d3201025755ac56fd14f80e0436901c9390a95d91c8d30fc3b029f540ead0941adcacdfb09 SHA512 274807213ca2c626d0d68c95bcd8f017a7d68147d1ff8d5d7b00887499934b9b3bd5e4bc394dc86f6c061425a8a42a805f500de43712731e0273f9a4e96eb5f2 -EBUILD vivaldi-snapshot-3.7.2209.3.ebuild 3320 BLAKE2B 66c809094b492e9261c7dad09b0a6fc8b42c4a0a6d49324ae89ec4d3201025755ac56fd14f80e0436901c9390a95d91c8d30fc3b029f540ead0941adcacdfb09 SHA512 274807213ca2c626d0d68c95bcd8f017a7d68147d1ff8d5d7b00887499934b9b3bd5e4bc394dc86f6c061425a8a42a805f500de43712731e0273f9a4e96eb5f2 +EBUILD vivaldi-snapshot-3.7.2218.25.ebuild 3325 BLAKE2B a16904e33b1446840f651d6e5a9a86ab142da616ab94ea12382ea2e67e3f26624cb573330238429347bdee3426c2a99a5363c48e3834f595b08ce35d2292d5ec SHA512 8fe07a91d2036575cbf130e3c2f1b393f3652a4020f38bc3462a906875d5ff7570d0ff6c6e920e5844e01364277a13c64c172c0bc82948c330e8234113d9f32c +EBUILD vivaldi-snapshot-3.7.2218.3.ebuild 3320 BLAKE2B 66c809094b492e9261c7dad09b0a6fc8b42c4a0a6d49324ae89ec4d3201025755ac56fd14f80e0436901c9390a95d91c8d30fc3b029f540ead0941adcacdfb09 SHA512 274807213ca2c626d0d68c95bcd8f017a7d68147d1ff8d5d7b00887499934b9b3bd5e4bc394dc86f6c061425a8a42a805f500de43712731e0273f9a4e96eb5f2 MISC metadata.xml 484 BLAKE2B d42a35d2fe225a512c00ca9eaad5c30dc5f214f3ef90c25190b098b804cea3879c68bdcfa31add4253f9ffa37bc3514d26ae5ba89f8beb3c9727f201263e7329 SHA512 e5745b041627b0ee9242ae8e65bf3c065c6fa82cc45c93de3d1e41e1f53e7412b1d13b06f6dab1bc45ebcfd1861b5709a09c960f2bb4d0c221ae0d51b6e3b252 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2209.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2209.3.ebuild deleted file mode 100644 index e3d12da4e30f..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2209.3.ebuild +++ /dev/null @@ -1,202 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CHROMIUM_LANGS=" - af - am - ar - be - bg - bn - ca - 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 - kn - ko - ku - lt - lv - mk - ml - mr - ms - nb - nl - nn - pl - pt-BR - pt-PT - ro - ru - sc - sk - sl - sq - sr - sv - sw - ta - te - th - tr - uk - vi - zh-CN - zh-TW -" - -inherit chromium-2 desktop 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 ) - arm64? ( ${VIVALDI_BASE_URI}arm64.deb ) - arm? ( ${VIVALDI_BASE_URI}armhf.deb ) - x86? ( ${VIVALDI_BASE_URI}i386.deb ) -" - -LICENSE="Vivaldi" -SLOT="0" -KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86" -IUSE="proprietary-codecs widevine" -RESTRICT="bindist mirror" - -RDEPEND=" - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - media-libs/alsa-lib - media-libs/fontconfig - media-libs/freetype - media-libs/speex - net-print/cups - sys-apps/dbus - sys-libs/libcap - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:3 - x11-libs/libX11 - x11-libs/libXScrnSaver - 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/libXtst - x11-libs/pango[X] - proprietary-codecs? ( media-video/ffmpeg:0/56.58.58[chromium(-)] ) - widevine? ( www-plugins/chrome-binary-plugins ) -" - -QA_PREBUILT="*" -S="${WORKDIR}" - -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 ${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. - chromium_remove_language_paks - popd > /dev/null || die - - if use proprietary-codecs; then - rm ${VIVALDI_HOME}/lib/libffmpeg.so || die - rmdir ${VIVALDI_HOME}/lib || die - fi - - eapply_user -} - -src_install() { - mv */ "${D}" || die - dosym /${VIVALDI_HOME}/${PN} /usr/bin/${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 \ - /${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 - - [[ ${PN} = vivaldi-snapshot ]] && - dosym ${PN} /${VIVALDI_HOME}/vivaldi -} diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.25.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.25.ebuild new file mode 100644 index 000000000000..beede0dd59ab --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.25.ebuild @@ -0,0 +1,203 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CHROMIUM_LANGS=" + af + am + ar + be + bg + bn + ca + 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 + ku + lt + lv + mk + ml + mr + ms + nb + nl + nn + pl + pt-BR + pt-PT + ro + ru + sc + sk + sl + sq + sr + sv + sw + ta + te + th + tr + uk + vi + zh-CN + zh-TW +" + +inherit chromium-2 desktop 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 ) + arm64? ( ${VIVALDI_BASE_URI}arm64.deb ) + arm? ( ${VIVALDI_BASE_URI}armhf.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86" +IUSE="proprietary-codecs widevine" +RESTRICT="bindist mirror" + +RDEPEND=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/speex + net-print/cups + sys-apps/dbus + sys-libs/libcap + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXScrnSaver + 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/libXtst + x11-libs/pango[X] + proprietary-codecs? ( media-video/ffmpeg:0/56.58.58[chromium(-)] ) + widevine? ( www-plugins/chrome-binary-plugins ) +" + +QA_PREBUILT="*" +S="${WORKDIR}" + +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 ${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. + chromium_remove_language_paks + popd > /dev/null || die + + if use proprietary-codecs; then + rm ${VIVALDI_HOME}/lib/libffmpeg.so || die + rmdir ${VIVALDI_HOME}/lib || die + fi + + eapply_user +} + +src_install() { + mv */ "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${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 \ + /${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 + + [[ ${PN} = vivaldi-snapshot ]] && + dosym ${PN} /${VIVALDI_HOME}/vivaldi +} diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.3.ebuild new file mode 100644 index 000000000000..e3d12da4e30f --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.3.ebuild @@ -0,0 +1,202 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CHROMIUM_LANGS=" + af + am + ar + be + bg + bn + ca + 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 + kn + ko + ku + lt + lv + mk + ml + mr + ms + nb + nl + nn + pl + pt-BR + pt-PT + ro + ru + sc + sk + sl + sq + sr + sv + sw + ta + te + th + tr + uk + vi + zh-CN + zh-TW +" + +inherit chromium-2 desktop 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 ) + arm64? ( ${VIVALDI_BASE_URI}arm64.deb ) + arm? ( ${VIVALDI_BASE_URI}armhf.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86" +IUSE="proprietary-codecs widevine" +RESTRICT="bindist mirror" + +RDEPEND=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/speex + net-print/cups + sys-apps/dbus + sys-libs/libcap + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXScrnSaver + 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/libXtst + x11-libs/pango[X] + proprietary-codecs? ( media-video/ffmpeg:0/56.58.58[chromium(-)] ) + widevine? ( www-plugins/chrome-binary-plugins ) +" + +QA_PREBUILT="*" +S="${WORKDIR}" + +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 ${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. + chromium_remove_language_paks + popd > /dev/null || die + + if use proprietary-codecs; then + rm ${VIVALDI_HOME}/lib/libffmpeg.so || die + rmdir ${VIVALDI_HOME}/lib || die + fi + + eapply_user +} + +src_install() { + mv */ "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${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 \ + /${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 + + [[ ${PN} = vivaldi-snapshot ]] && + dosym ${PN} /${VIVALDI_HOME}/vivaldi +} -- cgit v1.2.3