From de4d8cf4db7acdac83986d0ef4105dc38b9a3421 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 9 Sep 2024 12:11:05 +0100 Subject: [PATCH 01/11] dev-ruby/net-ssh: Stabilize 7.2.3 x86, #939360 Signed-off-by: Sam James --- dev-ruby/net-ssh/net-ssh-7.2.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/net-ssh/net-ssh-7.2.3.ebuild b/dev-ruby/net-ssh/net-ssh-7.2.3.ebuild index 3d9b5e520a7cf..10c2c0e72a167 100644 --- a/dev-ruby/net-ssh/net-ssh-7.2.3.ebuild +++ b/dev-ruby/net-ssh/net-ssh-7.2.3.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> net-ssh-git-${P LICENSE="GPL-2" SLOT="$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 x86" IUSE="chacha20 ed25519 test" RESTRICT="!test? ( test )" From dc7a7f225ebdedef1de55b15c5db4f3f3998096a Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 9 Sep 2024 12:11:06 +0100 Subject: [PATCH 02/11] dev-ruby/bcrypt_pbkdf: Stabilize 1.1.1 x86, #939360 Signed-off-by: Sam James --- dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.1.ebuild b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.1.ebuild index ce318b891e44a..5607e76af945c 100644 --- a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.1.ebuild +++ b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/net-ssh/bcrypt_pbkdf-ruby" LICENSE="MIT" SLOT="1" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 x86" IUSE="test" ruby_add_bdepend "test? ( dev-ruby/minitest:5 virtual/ruby-ssl )" From add5e5673c2ec3cdf773642e6d6a0dca03b8e320 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 9 Sep 2024 12:11:07 +0100 Subject: [PATCH 03/11] dev-ruby/base64: Stabilize 0.2.0 x86, #939360 Signed-off-by: Sam James --- dev-ruby/base64/base64-0.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/base64/base64-0.2.0.ebuild b/dev-ruby/base64/base64-0.2.0.ebuild index 8cecfd8aee84e..346d4896e4510 100644 --- a/dev-ruby/base64/base64-0.2.0.ebuild +++ b/dev-ruby/base64/base64-0.2.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/ruby/base64/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="$(ver_cut 1-2)" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="" all_ruby_prepare() { From dcf69a49ffabcd260e0f68d25c26d15a207133d5 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 9 Sep 2024 12:11:08 +0100 Subject: [PATCH 04/11] dev-ruby/net-ssh: Stabilize 7.2.3 amd64, #939360 Signed-off-by: Sam James --- dev-ruby/net-ssh/net-ssh-7.2.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/net-ssh/net-ssh-7.2.3.ebuild b/dev-ruby/net-ssh/net-ssh-7.2.3.ebuild index 10c2c0e72a167..46d98e138fbd3 100644 --- a/dev-ruby/net-ssh/net-ssh-7.2.3.ebuild +++ b/dev-ruby/net-ssh/net-ssh-7.2.3.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> net-ssh-git-${P LICENSE="GPL-2" SLOT="$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" IUSE="chacha20 ed25519 test" RESTRICT="!test? ( test )" From fad6af993e3f4f9f10236f996e3c6f7fc32f49e6 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 9 Sep 2024 12:11:08 +0100 Subject: [PATCH 05/11] dev-ruby/bcrypt_pbkdf: Stabilize 1.1.1 amd64, #939360 Signed-off-by: Sam James --- dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.1.ebuild b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.1.ebuild index 5607e76af945c..cccace49dac2a 100644 --- a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.1.ebuild +++ b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/net-ssh/bcrypt_pbkdf-ruby" LICENSE="MIT" SLOT="1" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" IUSE="test" ruby_add_bdepend "test? ( dev-ruby/minitest:5 virtual/ruby-ssl )" From 38e3e568bc36fcdf89277d6b68301472f34a04ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ulc?= Date: Mon, 9 Sep 2024 13:11:42 +0200 Subject: [PATCH 06/11] dev-java/rxtx: added missing include + scrubbed patches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/927898 Signed-off-by: Miroslav Šulc --- .../rxtx/files/rxtx-2.2_pre2-fix-for-java-10+.patch | 4 ---- .../rxtx/files/rxtx-2.2_pre2-fix-invalid-javadoc.patch | 6 ------ .../rxtx/files/rxtx-2.2_pre2-format-security.patch | 5 ----- dev-java/rxtx/files/rxtx-2.2_pre2-limits.patch | 4 ++-- .../rxtx/files/rxtx-2.2_pre2-missing-include.patch | 10 ++++++++++ dev-java/rxtx/rxtx-2.2_pre2-r2.ebuild | 3 ++- 6 files changed, 14 insertions(+), 18 deletions(-) create mode 100644 dev-java/rxtx/files/rxtx-2.2_pre2-missing-include.patch diff --git a/dev-java/rxtx/files/rxtx-2.2_pre2-fix-for-java-10+.patch b/dev-java/rxtx/files/rxtx-2.2_pre2-fix-for-java-10+.patch index 366bb78c2cbaf..9ed045fef2506 100644 --- a/dev-java/rxtx/files/rxtx-2.2_pre2-fix-for-java-10+.patch +++ b/dev-java/rxtx/files/rxtx-2.2_pre2-fix-for-java-10+.patch @@ -16,10 +16,6 @@ https://salsa.debian.org/java-team/rxtx/-/blob/6500bd55f265de7d2dfef68dc1df5d8b9 Bug: https://bugs.gentoo.org/831394 ---- -Description: Fixes the build failure with Java 10 -Author: Emmanuel Bourg -Forwarded: no --- a/Makefile.am +++ b/Makefile.am @@ -111,11 +111,6 @@ diff --git a/dev-java/rxtx/files/rxtx-2.2_pre2-fix-invalid-javadoc.patch b/dev-java/rxtx/files/rxtx-2.2_pre2-fix-invalid-javadoc.patch index a00ed96f7e5a9..b734ac7ffd25b 100644 --- a/dev-java/rxtx/files/rxtx-2.2_pre2-fix-invalid-javadoc.patch +++ b/dev-java/rxtx/files/rxtx-2.2_pre2-fix-invalid-javadoc.patch @@ -5,12 +5,6 @@ Subject: [PATCH] Fix invalid Javadoc syntax that leads to errors Bug: https://bugs.gentoo.org/642030 Signed-off-by: Yuan Liao ---- - src/gnu/io/RXTXPort.java | 50 ++++++++++++++++++++++------------------ - 1 file changed, 27 insertions(+), 23 deletions(-) - -diff --git a/src/gnu/io/RXTXPort.java b/src/gnu/io/RXTXPort.java -index 622a6a8..77a23ea 100644 --- a/src/gnu/io/RXTXPort.java +++ b/src/gnu/io/RXTXPort.java @@ -1732,7 +1732,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS diff --git a/dev-java/rxtx/files/rxtx-2.2_pre2-format-security.patch b/dev-java/rxtx/files/rxtx-2.2_pre2-format-security.patch index 1337cce3c546a..2d060c3384295 100644 --- a/dev-java/rxtx/files/rxtx-2.2_pre2-format-security.patch +++ b/dev-java/rxtx/files/rxtx-2.2_pre2-format-security.patch @@ -4,11 +4,6 @@ https://salsa.debian.org/java-team/rxtx/-/blob/6500bd55f265de7d2dfef68dc1df5d8b9 Bug: https://bugs.gentoo.org/550534 ---- -From: tony mancill -Forwarded: no -Description: use format specifiers in fprintf statements for hardening flags - --- a/src/SerialImp.c +++ b/src/SerialImp.c @@ -5108,7 +5108,7 @@ diff --git a/dev-java/rxtx/files/rxtx-2.2_pre2-limits.patch b/dev-java/rxtx/files/rxtx-2.2_pre2-limits.patch index 1e4ff4af57b76..9a69c64029db9 100644 --- a/dev-java/rxtx/files/rxtx-2.2_pre2-limits.patch +++ b/dev-java/rxtx/files/rxtx-2.2_pre2-limits.patch @@ -1,5 +1,5 @@ ---- src/lfd/lockdaemon.c.orig 2007-04-26 06:26:07.000000000 +0100 -+++ src/lfd/lockdaemon.c 2016-02-17 20:41:09.137509089 +0000 +--- src/lfd/lockdaemon.c.orig ++++ src/lfd/lockdaemon.c @@ -69,6 +69,7 @@ #include #include diff --git a/dev-java/rxtx/files/rxtx-2.2_pre2-missing-include.patch b/dev-java/rxtx/files/rxtx-2.2_pre2-missing-include.patch new file mode 100644 index 0000000000000..b56fe43092d0f --- /dev/null +++ b/dev-java/rxtx/files/rxtx-2.2_pre2-missing-include.patch @@ -0,0 +1,10 @@ +--- a/src/SerialImp.c ++++ b/src/SerialImp.c +@@ -146,6 +146,7 @@ + #ifdef LIBLOCKDEV + #include + #endif /* LIBLOCKDEV */ ++#include + + extern int errno; + diff --git a/dev-java/rxtx/rxtx-2.2_pre2-r2.ebuild b/dev-java/rxtx/rxtx-2.2_pre2-r2.ebuild index 2d39447cb63bd..460474c3ba23d 100644 --- a/dev-java/rxtx/rxtx-2.2_pre2-r2.ebuild +++ b/dev-java/rxtx/rxtx-2.2_pre2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -46,6 +46,7 @@ src_prepare() { eapply "${FILESDIR}/${P}-format-security.patch" eapply "${FILESDIR}/${P}-fix-invalid-javadoc.patch" eapply "${FILESDIR}/${P}-fix-for-java-10+.patch" + eapply "${FILESDIR}/${P}-missing-include.patch" eapply_user rm acinclude.m4 || die From c61660d90192dc0e0c9baa7045213dd4fbbd3609 Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Sun, 4 Aug 2024 11:17:49 +0200 Subject: [PATCH 07/11] sci-geosciences/bt747: build without BSFIX, drop java-ant-2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/939021 Signed-off-by: Volkmar W. Pogatzki Signed-off-by: Miroslav Šulc --- sci-geosciences/bt747/bt747-2.1.7-r4.ebuild | 90 +++++++++++++++++++ .../files/bt747-2.1.7-source-target.patch | 33 +++++++ 2 files changed, 123 insertions(+) create mode 100644 sci-geosciences/bt747/bt747-2.1.7-r4.ebuild create mode 100644 sci-geosciences/bt747/files/bt747-2.1.7-source-target.patch diff --git a/sci-geosciences/bt747/bt747-2.1.7-r4.ebuild b/sci-geosciences/bt747/bt747-2.1.7-r4.ebuild new file mode 100644 index 0000000000000..b5b2ecc0515f2 --- /dev/null +++ b/sci-geosciences/bt747/bt747-2.1.7-r4.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop java-pkg-2 + +DESCRIPTION="MTK GPS Datalogger Device Control" +HOMEPAGE="https://www.bt747.org" +SRC_URI="https://downloads.sourceforge.net/project/bt747/Development/BT747_${PV}_full.zip + https://www.bt747.org/icon/bt747_128x128.gif -> ${PN}.gif" +S="${WORKDIR}" + +LICENSE="GPL-3" +SLOT="1" +KEYWORDS="~amd64" + +BDEPEND="app-arch/unzip:0 + >=dev-java/ant-1.10.14-r3:0" +CDEPEND=" + dev-java/commons-imaging:0 + dev-java/jcalendar:1.2 + dev-java/jchart2d:0 + dev-java/jopt-simple:0 + >=dev-java/rxtx-2.2_pre2:2 + dev-java/swing-layout:1 + dev-java/swingx:1.6 + dev-java/swingx-ws:bt747 +" + +# Java 11 because of compile error with 1.8 +# /var/tmp/portage/sci-geosciences/bt747-2.1.7-r3/work/build.xml:1478: +# java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer; +DEPEND="${CDEPEND} + >=virtual/jdk-11:* +" +RDEPEND="${CDEPEND} + dev-libs/glib:2[dbus] + >=virtual/jre-1.8:* +" + +DOCS=( ChangeLog.txt ) +PATCHES=( + "${FILESDIR}/bt747-2.1.7-source-target.patch" + # Fix for newer jchart2d. + "${FILESDIR}/jchart2d-3.2.patch" +) + +src_prepare() { + default #780585 + java-pkg-2_src_prepare + + # Remove all the bundled stuff. + rm -rv dist/ lib/ || die + + # GraphicsUtilities moved in later SwingX versions. + sed -i "s:org\.jdesktop\.swingx\.graphics\.GraphicsUtilities:org.jdesktop.swingx.util.GraphicsUtilities:g" \ + src_j2se/net/sf/bt747/j2se/app/list/FileListCellRenderer.java || die + + # EANT_EXTRA_ARGS="-Dskip.proguard=yes -Dsvn=true -Dsvnversion=true -Dbuild.current.revision=Gentoo" + cat > build.properties <<-EOF || die + skip.proguard=yes + svn=true + svnversion=true + build.current.revision=Gentoo + ant.build.javac.source=$(java-pkg_get-source) + ant.build.javac.target=$(java-pkg_get-target) + jcalendar.jar=$(java-pkg_getjars jcalendar-1.2) + jchart.jar=$(java-pkg_getjars jchart2d) + jopt-simple.jar=$(java-pkg_getjars jopt-simple) + rxtxcomm.jar=$(java-pkg_getjars rxtx-2) + sanselan.jar=$(java-pkg_getjars commons-imaging) + swing-layout.jar=$(java-pkg_getjars swing-layout-1) + swingx.jar=$(java-pkg_getjars swingx-1.6) + swingx-ws.jar=$(java-pkg_getjars swingx-ws-bt747) + EOF +} + +src_compile() { + eant dist.j2se +} + +src_install() { + java-pkg_dojar dist/*.jar + java-pkg_dolauncher ${PN} --main bt747.j2se_view.BT747Main \ + --java-args="-Xmx192m" + + doicon "${DISTDIR}/${PN}.gif" + make_desktop_entry ${PN} BT747 bt747.gif +} diff --git a/sci-geosciences/bt747/files/bt747-2.1.7-source-target.patch b/sci-geosciences/bt747/files/bt747-2.1.7-source-target.patch new file mode 100644 index 0000000000000..aa9c467513715 --- /dev/null +++ b/sci-geosciences/bt747/files/bt747-2.1.7-source-target.patch @@ -0,0 +1,33 @@ +Hardcoded javac options prevent configuration. +In order to allow using -Dant.build.javac.source +and -Dant.build.javac.target we remove them. + +--- a/build.xml ++++ b/build.xml +@@ -411,7 +411,7 @@ + + + +- ++ + + + +@@ -442,7 +442,7 @@ + + + +- ++ + + + +@@ -971,7 +971,7 @@ + + + +- ++ + + + From 359b9413f7eefbd37d6610125c30cd436e885505 Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Tue, 27 Aug 2024 10:52:03 +0200 Subject: [PATCH 08/11] sci-geosciences/bt747: drop 2.1.7-r3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/939021 Closes: https://bugs.gentoo.org/833946 Signed-off-by: Volkmar W. Pogatzki Closes: https://github.com/gentoo/gentoo/pull/37945 Signed-off-by: Miroslav Šulc --- sci-geosciences/bt747/bt747-2.1.7-r3.ebuild | 64 --------------------- 1 file changed, 64 deletions(-) delete mode 100644 sci-geosciences/bt747/bt747-2.1.7-r3.ebuild diff --git a/sci-geosciences/bt747/bt747-2.1.7-r3.ebuild b/sci-geosciences/bt747/bt747-2.1.7-r3.ebuild deleted file mode 100644 index 124e05d651115..0000000000000 --- a/sci-geosciences/bt747/bt747-2.1.7-r3.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop java-pkg-2 java-ant-2 - -DESCRIPTION="MTK GPS Datalogger Device Control" -HOMEPAGE="https://www.bt747.org" -SRC_URI="https://downloads.sourceforge.net/project/bt747/Development/BT747_${PV}_full.zip - https://www.bt747.org/icon/bt747_128x128.gif -> ${PN}.gif" -S="${WORKDIR}" - -LICENSE="GPL-3" -SLOT="1" -KEYWORDS="~amd64" - -BDEPEND="app-arch/unzip:0" -CDEPEND=" - dev-java/commons-imaging:0 - dev-java/jcalendar:1.2 - dev-java/jchart2d:0 - dev-java/jopt-simple:0 - >=dev-java/rxtx-2.2_pre2:2 - dev-java/swing-layout:1 - dev-java/swingx:1.6 - dev-java/swingx-ws:bt747 -" -RDEPEND="${CDEPEND} - dev-libs/glib:2[dbus] - >=virtual/jre-1.8:* -" -DEPEND="${CDEPEND} - >=virtual/jdk-1.8:* -" - -EANT_BUILD_TARGET="dist.j2se" -EANT_EXTRA_ARGS="-Dskip.proguard=yes -Dsvn=true -Dsvnversion=true -Dbuild.current.revision=Gentoo" -EANT_GENTOO_CLASSPATH="commons-imaging,jcalendar-1.2,jchart2d,jopt-simple,rxtx-2,swing-layout-1,swingx-1.6,swingx-ws-bt747" -JAVA_ANT_REWRITE_CLASSPATH="yes" - -src_prepare() { - java-pkg-2_src_prepare - # Fix for newer jchart2d. - eapply "${FILESDIR}/jchart2d-3.2.patch" - - # Remove all the bundled stuff. - rm -rv dist/ lib/ || die - - # GraphicsUtilities moved in later SwingX versions. - sed -i "s:org\.jdesktop\.swingx\.graphics\.GraphicsUtilities:org.jdesktop.swingx.util.GraphicsUtilities:g" \ - src_j2se/net/sf/bt747/j2se/app/list/FileListCellRenderer.java || die -} - -src_install() { - dodoc {ChangeLog,README}.txt - - java-pkg_dojar dist/*.jar - java-pkg_dolauncher ${PN} --main bt747.j2se_view.BT747Main \ - --java-args="-Xmx192m" - - doicon "${DISTDIR}/${PN}.gif" - make_desktop_entry ${PN} BT747 bt747.gif -} From 2d27e68dcfdef0352092d5e4fb1c4d3907eeb151 Mon Sep 17 00:00:00 2001 From: Joonas Niilola Date: Mon, 9 Sep 2024 13:15:56 +0300 Subject: [PATCH 09/11] www-client/firefox: add 115.15.0 Signed-off-by: Joonas Niilola --- www-client/firefox/Manifest | 100 ++ www-client/firefox/firefox-115.15.0.ebuild | 1393 ++++++++++++++++++++ 2 files changed, 1493 insertions(+) create mode 100644 www-client/firefox/firefox-115.15.0.ebuild diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest index c5e7b84a0457f..186a4318e31ea 100644 --- a/www-client/firefox/Manifest +++ b/www-client/firefox/Manifest @@ -198,6 +198,106 @@ DIST firefox-115.14.0esr-xh.xpi 414958 BLAKE2B 1af9337e005c4e0f41417b5ef8531b538 DIST firefox-115.14.0esr-zh-CN.xpi 657110 BLAKE2B f47b3c47f1cf85113d54ae55ee271d5630aedfdf8ead93a642a183a8c2c3be6a1bfba773041f4bd85196bc0accf86c43933863719e9dbd8cb010692fef9da197 SHA512 c6d950a9f7b47a4e354ace74f3029fd81c2eb22a9fb164fe8516faf3c1d3151881580273c29a6fb3bbdab3ba440eb78a6087e5e7ceae26fc230156def218529f DIST firefox-115.14.0esr-zh-TW.xpi 659310 BLAKE2B 2f552df1a66f7c4f05e598c55d977058fb625aa256f3e252e69a3511a34dcb294737a5ae44f5cb836e595581aa6886e5a37488fdb9cd78915eb152fdc40e9092 SHA512 263a0bf61992005d76570f13c3472fc7ea7d04dfcb3b5dc468577c6be6d95045d7d0ac743fe636650e3dcd056063ed9cd6e25983d8fd8f5078fa68c774d8dde1 DIST firefox-115.14.0esr.source.tar.xz 507310580 BLAKE2B ffca6b7dce6ae6a470c9d5506b4236077b2151732bff811aa0bf0367be80aec5ea4918ee5dcd611b0e19a025156def3e9524a4f5d741343e9fda5a2e693e15fa SHA512 dd40c1fd3cf454dbf33a85d38e47bb0e736ed89b829643653e239f43232441f4e9f3c7876f058ff2e6f19daf2b50a8f2d13274e9a107d8a258a6067d1fc43f54 +DIST firefox-115.15.0esr-ach.xpi 459032 BLAKE2B 13e159c7270e5a220054444107568fd1f91e13abbc16ba00f2bf6acdddf5b8cf138fea437f2f115a2fd47bfdb5b4b461e8d69b0055402f2a2246afd15da165ec SHA512 2dfbd17fe8069ccbcb79bfe4d777cefd99d170aa692776373f3d89d79d97369df04158f338c4dcd1811c87432b10d2d89ab2854840ee4585008e7931ed4090c1 +DIST firefox-115.15.0esr-af.xpi 415184 BLAKE2B 6a6b02bdaed92601de9b04f45fd8b375dcf30719d4a911f03cb56bb75d7a1ee63f8e96955bbd3c24a8c28ee3f67fe138225cd229a7f393888fb4d314d8a7c0d9 SHA512 fcf0974406aadaa7ac26415071c19f413a4cc8617f8db9812ba72d18493e4165f1071918067054b6c8f9bb16709884d1711c964adf6ce8586e7568e074043325 +DIST firefox-115.15.0esr-an.xpi 499567 BLAKE2B bd5f21f0b62d3f27eb9515c90f10ff2455c410661ff7d0cad205dc5fe85bd5ad57a02661e18fab4e843f7021ccb1a1e3e14916eea752ce3445f6d9996ff1fa04 SHA512 239c2a53a27250c28a9719088f166c1d5f265d096bba37f63cada8ad60b33a9aa41fecb57c68b2b6c0805c8d1cdde4dc07babf43f116cd1a0ec0c4eb68b4d3fa +DIST firefox-115.15.0esr-ar.xpi 606286 BLAKE2B 6efb4de8944e9fbcc38917534d6c5cb7d730d16fa0ff4d02d0fc97e2e7dbd21bfc8b3f87450bc393b181feba4e35dab2f928594ee95efe813760597092c07ae0 SHA512 3294354361ae59ecf9bbc668e6e10dfa9d0c1d37579e271341cce02017a9c8fd6a864fa2f0208382719199049537f7b05d6aefe9a71ef952edef15e96b632528 +DIST firefox-115.15.0esr-ast.xpi 491345 BLAKE2B d122be5c30720e63f3e1b304f0e2d439783478353d4a7a02a7f2678a4740eb860467a90c4cb8be92cf644308af0abb3115bb86deec82e5139f37ec03d2f8b5a9 SHA512 d352c7a25bd428a02f6909a3cdab24131ababd12b6e8d0697c2c838b86919123f6e70b4056e7eeed70fe84c5bd604546c86110dd47cb08abebc0a0d198b18b44 +DIST firefox-115.15.0esr-az.xpi 486087 BLAKE2B 4e8970966673b49e81ed8316c1b605a73c6981f0047dfbf252129877c607ab21a57d1e020416e84b5a2dad7063416d3b49d948b9206b09dc87cccbf486714199 SHA512 d4c7ba927cf036e90f6dd5b420a8e1245fa9508c8ad82df438c10b334f13ade77a1b0ff7350b6b0504af0a8a6af5a3b8e141974f20f7a20695026f7c2e57e22e +DIST firefox-115.15.0esr-be.xpi 715649 BLAKE2B 8d88effde67725519870d237865de84a5cd282895e949f68e261068f88e16c8d4c87514df09a7d573bcd5ca7dc896a44e8a824e8924d85c514b37b9f38ca3fa0 SHA512 5fa6e1bd429d6d430fe3feeb79a19c1f60257677f9a1036a31deaa772ddb70b5d09d23d6b88257dcdd68f27c685cfd5741fd252b2e5c13f05073604571a00747 +DIST firefox-115.15.0esr-bg.xpi 600392 BLAKE2B 15c6a5ea2b953a6d2e06754422e773d07177ed6ed9f3985bec6bcb9f40885054b423e50d1bc1371b63f120d5fa6c644cbdf2e32c38c150d6dd1aa67a61c26b24 SHA512 a0de80f4cef8f3b8ae19b5ea47e17433e81b6910ea537bccecbfe18c521c1df0f1ccd4e0cf0fd2c533e0013ac989d9e31e90d7ed7fbabbe22c9c56e20b9fc996 +DIST firefox-115.15.0esr-bn.xpi 576362 BLAKE2B a70a8daf6e486ce2b32b3c00d307dc93ce92c511abfe9088b1124fb9a0f99ad22923a188fc357264c3c2d8bc4ae01cf1e6a7966020a565b2469be41eea09c17a SHA512 3e8770a8bdaca4d12f1534f5436eef77f191aa1275c236c49732f76f4e39e5753ceadbeef25a2658d34446301948469939236bcb10ce59e89ae6ebf104d12174 +DIST firefox-115.15.0esr-br.xpi 585005 BLAKE2B df78592aa869ecba8831a5d323f33a039ab07b6cbc656ca73aa27d00045cb7c8fe82ad23e82e6203d50c2c0f3d413b56dc9d58c2d206ffd9db4a55f9c8eb4c5f SHA512 041b6abec3800a133f99283088569a70beb52daaa31a94912729e44164f6e97089aad5fb9db3f514e5383eb8c6c2e26e2ad39e3024cf9112c68f856f6ad4fcec +DIST firefox-115.15.0esr-bs.xpi 496786 BLAKE2B 523391d255436a8c804a6deb51be0247d2e40cd661f8e4781c90dccaa656020de25588ac943113509e0667f5757687ae05f719c66b104f0d824dc328bdb2d382 SHA512 12b02b42e016b7358af0e7ea21f1ee726d92d072368480d7f425bcdc1adc96e18cdfb350386abd4da2cf7492cc0ab21eb5ff21811d262b4b952ada585fdf3934 +DIST firefox-115.15.0esr-ca-valencia.xpi 539254 BLAKE2B cac2338038d1e7cf25002af7c40eba556ef0c4ca7b7107581974828f2aaf5c2d5bd3230d00daa36586ae831f5b8217d4e75c2aa163e91740f04242c6201e13b6 SHA512 db509d27b7f83f135043afcd1c08f6a5af748a4819c71086e061d357d0116b148ae42de7db8b2060c3e213686a7e18cee11d4d9cfcd601143f8fa07cfcc69a4c +DIST firefox-115.15.0esr-ca.xpi 591046 BLAKE2B cbd35d4419d2b50dda8a4baa5e3abb852e81681d96ed74ae974c20809c2353ac17f88b3662800ff9328188abafafcdd6aa39e9bd41b579cf296d1ae9bfba811b SHA512 8c634dcaece23fdd5db497f5bf9c52afaa34928323d01df8421acb01685f1e1bc845e4f293133cbd3de6cb07697e341d387b7e25c6e04cff34e3e36ed738cda6 +DIST firefox-115.15.0esr-cak.xpi 586723 BLAKE2B 5102347faad6a52de90c457310fa9277ad403ae56f0e23f2e89d1fc32f315bfbaae0baf9d0f1290f930ffda28c0d4acaf14ca04ff13f3af5c4fe1e3cbf272089 SHA512 0cdaeaf8e54b82eb42f300a60609a787a470f2f2205e912fdecd76dbad8e8150c4b95435591db8f528c7bfbfbf238216685ab007d37409ee78a4d9574de24823 +DIST firefox-115.15.0esr-cs.xpi 659583 BLAKE2B ceca94afd0dda46148ecfdee17ef37e8a6dfb50ea133319b835c3f09bea3b2c6c4fa9747df31371d0f7ecc7749e4f89508ead5291e763de761a39c7b08940cea SHA512 569b69f8544596bcf1edd503eb35d5d86d2679c1b43b883a2d2ed2f489505610b27f0f825839a9f956dded11ba036cdcc566388120cdb6c3a3acbb0b3ffec2ad +DIST firefox-115.15.0esr-cy.xpi 622581 BLAKE2B a475ff2b9d7c2661edad4434d9a7d54c684b0be2800609decab9ed1da344abe627132bba450fccc3feb0865959333fbdc2c8162ecd97d1c5fa4c203881ae86d1 SHA512 05072d816323c4618a913ec75d34f4250e1ec01ebe74651abbf8db40e2518ed4b87c8db3b8955ed05c8d95b8280ccd0bbfa7c3435940c105a938bcad581a095a +DIST firefox-115.15.0esr-da.xpi 611176 BLAKE2B 0b688f6dc7fe68bc427594711f6deee99e6340908eed43cf010849aaab8f63d8e5837506885b5cf63fa472853523ffd60d215193d9954af037aaee8806ed8421 SHA512 6414dc38090b94d146577069a46e1e50dee7cdf9ddbc0f3ffa7dd17e7ce4bb29454456335b16018ad1824c404c4373952fd79fe7c83dd1c90cc7f86696905302 +DIST firefox-115.15.0esr-de.xpi 632366 BLAKE2B 4c62439e65195152ada44ac7bf37d7a6a294d262f6e2e0b389355e0e7c16fa435361e1974734a2fb082bc0df9ed827c795c9c98657164385ab0f9d10b828f637 SHA512 fdbcac24c9039d54eae64f1d2e7a2ca935a6f38ac850b542da81c556d56cd3581adb0e750b688af3d02e9b4fd37a449959b1379fe6b44b53ef9952bac4bf0d7b +DIST firefox-115.15.0esr-dsb.xpi 651468 BLAKE2B 21415a574071e180a2070484b1265f8e99979ac6be38ef8c52d7a116030c483be258b7461bafaf11a500b89dc4a61e80bf896b205cc965cb0df7a37908c0d8e2 SHA512 a82e2071c292c0eca7d6fc31846024c1818c5455b6ec943b5b2af02d38e47514032d41fc5b47b9c4d7fe3a7300521594c1892598c64768e24e0c727deb79106f +DIST firefox-115.15.0esr-el.xpi 734619 BLAKE2B d67b2ddf4925a02309322efd492e9c3a8275b381af54bb086c53ee6ba1393746bb6dd841ed46c098dcc785c153f32bace49b65a707ca512fec47deb8ee1fb3fc SHA512 56e9372ac8b197b09cc52ba4b3d9648ef883e3b1e3eb8f9af6350ab54e35a0cc24acde5cc9b86e8aced3504dbd1f20eab8c7ddbe66472a3561faf921a44d21ec +DIST firefox-115.15.0esr-en-CA.xpi 584134 BLAKE2B bccf63a2abf8cb870fe3ece525d147875cb7a1d6ab558588a0e1ae3dadfacc73ae08f2f72505b5843667b01d6d50938a171e2581671f214177608fefefccab0a SHA512 1329e72c56b9682dcbcfa22b792721e73bd0b7a81c03707d22e46d60d4ffedf89ce476684c755f31e41a02ff9d33934e0b65b3f8e83ed034fa55ff0c949f80a9 +DIST firefox-115.15.0esr-en-GB.xpi 585201 BLAKE2B 34b84adbb89734c2a885a425eda97ca7cf76a9ca92a8918b92a737bad5b62d6f2569327c2e0e514eccbac9fc76d429561834240be6bf990adaf443b19c77f35a SHA512 a7d22b9eadec2db2031caf88ee2f7e7d2ad345201abaa5a1258123a933a03ddf8a7eaea264c193d5d35257a73692ccc94a42302eec7197d9ddf8b61b614a0a15 +DIST firefox-115.15.0esr-eo.xpi 613407 BLAKE2B be8a680854b28c13a06da259d37a2d42d86b60fa57f4e34a8e7a635e0e58aef8776fac40499ec11cb9355fb22dda206b391ea960d52d00975c399aa332585abd SHA512 2c41e17c7e92c0f199d3060895e5229c7a56fa9e124fd1ae3ebf1f9ebf520c236deaa326c55660a5a2af2214f7a844e7e71ea8389d1a8e27d813d5c76c5aceb2 +DIST firefox-115.15.0esr-es-AR.xpi 628385 BLAKE2B c0c72aff83e26d4e7692b82907bc489b85247af6a7904c7ed4b24adc2d6914db3e0760574e1d36665a3abb7d3e6521b5844a22bb19dbf3cead9b89f55ade0c76 SHA512 66e342aea251e5a0db36859254079b9924f6dd1471c10c79de7934761b9659bae0c1a46c018d9dce41d6dcb8f9bacced265bd08d04eb07db565111dd7e248652 +DIST firefox-115.15.0esr-es-CL.xpi 627698 BLAKE2B ea4fe1370700c812cfdd7d5098477a125fbde4e04ce5321907e0724257d0056cbe4993fb5253d78396448257d1a5e759ed0a3f4cf79f864ea329961396526ec8 SHA512 6454a73cc45de6ca891c42c11caca2ba961b18f0b1a521f2f0b35c2c9e102c62ae53996f8aca59feda0bb80b12f42d5df917e8b08942c4822853af6b4c54287c +DIST firefox-115.15.0esr-es-ES.xpi 621481 BLAKE2B 7cee3a0980a8fb4c8f439c16935eb465792d3b6171305354bd5f526547e597dc5ecd95e3b25d6b906f81aae8a29b8cd22e3888994b2e51c3507270a3b2fe8ce0 SHA512 54b9db8ffa66a2ce2810ce6d2a93d8ea8b21bdc418e802f66ad4e3e4359fabd89b62bbbeb6dbbbbac89526e051d329453900b0da5def7d881fc444053006457f +DIST firefox-115.15.0esr-es-MX.xpi 597929 BLAKE2B e464dc013dee0e9774d9bf9e206312d1f0b050bb83409e34bd498fd79e0314081a111c5da46b0674a98300372c197cad70d6a4993291e10d911cc1ec29d1f836 SHA512 3d5c3781f224735303e253885ebcf0821b3bf3a59794eb019f9b611af11f8632ded45843a6e8dd66631619e23db1895b45f051166ae42101c6ea6004cb1d19ea +DIST firefox-115.15.0esr-et.xpi 533023 BLAKE2B 18abe9f4a96bf37d17d6274b658890aaa24193a34d0ca2d9b17e81059b6cafa34f72680cd45477d46f3a5aaa3b20c84394e755c9668d8e716381460a83610823 SHA512 f3353090f7e4eb43cf4de7c83c562f501acb92be643e4631053243bfaf8d52945ed9a2cf313a9218b31f1d1c86e62ac2f6be0828009dffb004064269541fc5f2 +DIST firefox-115.15.0esr-eu.xpi 594650 BLAKE2B 5b6ebbb75cb6b297c5d469010f0f4bab7a18bb2dc96c0893535ea4737d98552a59e1b585cdf071749c1d9b4b282e0d9214fe9729a6f1d17e18060faf4952fd16 SHA512 6824bc9601da77016e8df2350c932dfafaf45949a1aaef9517e2e61df0f714ad75a2b84640c5b47803cd39e16dedda5cba0edfd01318ee51204ba1b7fc8fa825 +DIST firefox-115.15.0esr-fa.xpi 584362 BLAKE2B 22f30ddc9a4e0603b6081724d4eb5841b6089be5244ef3ecd22e1b9f36a31bbb08479dac88876ec5bafc32196041e75b641074551f07ab9e5f5e665000066643 SHA512 f53fa0ff18a4251f32fbddb5b518d87378f47398dddbb43ada7aed105ca41a8b76b35ef99e56d76ce4692b0b2ef4db89207ee0f2d69dd6b611d0fb9de4ba160c +DIST firefox-115.15.0esr-ff.xpi 471727 BLAKE2B faa9b69ddd9288255dfb37f0478ab586461941e7815522c24a22721b5231437e81f120b0cc5d8e5507202366e477372c104af41df95235b2bf295599bf6461df SHA512 04014b752a72c00562b1a3c84c78afb9f432d179e0ea64fc6bb2d3d014398ac9ca3f1c8fafec88a68f866e4dee8d367d238b8d7a0cee9f68cae2dc77600d792b +DIST firefox-115.15.0esr-fi.xpi 604629 BLAKE2B 8eff22d2ce866b2fdba1e36db28e100e6bea35cb3f193fc9f35072da50864674f8035984e272c5e67c3778e8acc89b6ba932fd7aef77c5e6a37f6003cb40879b SHA512 999ad990795f496333e59c06e7a6358336cfbd32bd2b484896690a90a44e3ff5484dea392d8224b7eb941a2f2740014038da231131c4cc4807eee04702f5982f +DIST firefox-115.15.0esr-fr.xpi 640836 BLAKE2B d4cb841f4c7215f63fee694cc946e6e9a97f8b062b6c1ce594402d021001e070d084344e7f139b75f8cedfda5deb08a5aef6767bd1d4bbb5dcd61d2ab292a59e SHA512 3baaa8345b7475e257a383f93c661f9e4ba4196e337ccfa26993a016c47e1018e3ab0ae41f6ac007c8e1e066b75d7ee84e5d0932b9dae7a29dcf9a882582cacf +DIST firefox-115.15.0esr-fur.xpi 634495 BLAKE2B b90c96827a4761d49e7dc78b6b4d288b59c77ff4eba92055edf93283c230ee95aab821fee4a7b4b8a2a379223e4a968b5d6f0122f3bbc7cb0d1b0284fd650bed SHA512 6944f57a842d683acffbbb21b23240a2f61fcce61d1081c6192cb175d50882c639dc70ca13040a2cad92909b18cb4b89d61d76e7f8368258dc305d02b7eb57b2 +DIST firefox-115.15.0esr-fy-NL.xpi 624085 BLAKE2B 485e980142784898340b00a4ef66dcb0951d90c2e169c4bcf35973b596a8b7a158aab9594b102364c448a62d1113ea70c94d5c3555908e3b351eb3a36546c3fb SHA512 d5cfcc02ac0e1ab9b0a53f9d982699e2f0824424cc9ac788cd051a8b99019a200e99a772e59b22efb5060ffc6528adde707822c8b8177661eb55415075e8b153 +DIST firefox-115.15.0esr-ga-IE.xpi 467645 BLAKE2B ba664e34687ad47cb3559f9acf2ff04dcb9e27c2d6c7ee98bc643a6acec0272148963dfcddbfce3a448fca5f7b247dc3ed9a38034d8fcdbf59aa343c03fcc6e6 SHA512 4f619ec5e10ad703e4ee588c5fbcc31bc8bf2db3f3b5fedf4c5d7564d26dc03258a6bca5e1bfdd278c553de4e71908849ef0353eab2f54d6687f5b90d0809bce +DIST firefox-115.15.0esr-gd.xpi 589971 BLAKE2B 9647b6a16f7265c6abcf637e94b5b123d395359821e18becadce6b5f7f5ddffaf8c55203036c5867394016a4cad1472b7de8b23308a1359f9577e62f5fedcd4d SHA512 69f87f54034d5c0f9f2426646640dd256f3f247844d475e556832ea3ef4b262643c73c332bd10d17203c8c5664aa6138d1977633d7d7630664f99160a922b087 +DIST firefox-115.15.0esr-gl.xpi 599983 BLAKE2B dce7bbe068b9d38a94eea85b740d7ccc1e0ba1538b48b2a6e8e8cdcf0fc5b51d30df4a6aba816a17319c8e54d092521f8e4bb51136cb7e3362cb776d7f5e2922 SHA512 f2d82b7793025b716088b7136cecdd2defe0c6d2d2917a28bef9906498b0b67334832da44bf5ba53b2ae36daa4ed31da891c6d0af97d8e7ac759afc4d8eab426 +DIST firefox-115.15.0esr-gn.xpi 637897 BLAKE2B 6b31a8777b61374a1450999f7c9340aaf32dcbbe9c1d30a0edfe697acea067bf341e994f3b20a999bbc811d8014c4a9ea7fceefae3792f2ee7c8e3adfab18000 SHA512 095c6b0d4263aebbfe807e9673a38b9e6ce156a94ece2d3a5df6b6499c58dca330c473c74fa5b579933bab25a97786922fecfb44bb0e663ec04494b60d0dac51 +DIST firefox-115.15.0esr-gu-IN.xpi 523385 BLAKE2B 60db6daf819def79516795c658cab7ec3fcb2606f564d604f591526689a6c68aab5f8ba461a728c0fd897a9e9db84334ea0b0f8ab798a256943a37c694af845e SHA512 1b473084986976fdb38621be58eebcfd3dda968b3cbe0954a0ce4a39072353eab3d8a8849ef4b44670c31fb123b2e0467335c09f0ea8d01b4d240fa6eb710891 +DIST firefox-115.15.0esr-he.xpi 629098 BLAKE2B 288312dd1492a5ea47ece438608e551ddc6fd82c2940255dbdb51296650326da2ab5fe0e5471be1a99a25bef138665b6324f47f3f1e759ff35ca407ce48d9814 SHA512 f9d2000b6f2dd94436529403e5ec263c0e15ccbcf203a561798f127cb92a09ebacf66976b22ee5d0e2f6cb1022ba35b0b7d05836947b1100a7766147b2f4a63f +DIST firefox-115.15.0esr-hi-IN.xpi 561258 BLAKE2B f7be2296af26cf47b6c5dd6237251394685df9ccb5b7c1a493792b8d02049dab3b6526ab2c7427f6d6272d6baaf5d2bc6eaa9c359c2709ae5c9e48fad8eecd36 SHA512 0413323503fd8b09fdadf51c81973ad58c6a3ed0169ba20f521be2f02e3a24bcf48315711a4f60166f30c927de515eb660603dadf7e7500436a4b835e2225e91 +DIST firefox-115.15.0esr-hr.xpi 554546 BLAKE2B 334a747409c184e1d1270417f04c18657c48a97eff4ed3c26f213f3783b2e72f97aab6f600327c179da4feb8ef68bdd7bf8bccdd4675246e38aaeeef2eac5eea SHA512 b9e75a8005d4bd5f5d91af647bc46d4f910a70d83c7b03a83f1b5c94ac7918ad85d568f048fc53db5c2b402644c269f6427ed014d9b835fa0243ad24d8c97d86 +DIST firefox-115.15.0esr-hsb.xpi 647509 BLAKE2B 88f530c52e9bf0648cb91b6e3ef1585b839c5fd9782b0445fb0f557167ddbac72121c6ff1d3b043dfd02080b30ee29e7f55b9bd19ffed985e843b243fc89c5b2 SHA512 2aaf10dd94aab86725153024558e83c043c5413fc2ced708e30c8a0a8823fe56b9a862802695b626a3d4a4265dd759e6291e2abe9aca2d89fc83b9a461d70040 +DIST firefox-115.15.0esr-hu.xpi 649863 BLAKE2B 00785799173237656cfeaea8c747c2a3b506f2c2a657073d4eb7da682fc084b2ea8b12cf5f833fbcddc0f4a7c815712128d8858acfec31dd1d218725eb96ef07 SHA512 1e243c6e466d2c68c253006382105c0bebe53b57a1904ce81b0d51b7be5f4b8c388ac7c44932de8f702cae61096361b61c5853dcaa5dc587ebb98d4938d83213 +DIST firefox-115.15.0esr-hy-AM.xpi 647653 BLAKE2B 5eef383a89734b582751d1a690cc1828263d83f0bf3f517204362ead6c30dd5a2f2cbe7bfbd072d70e2be7d9da5d01e1beee76ccad23c46740427ac9f78741dc SHA512 4384dba6db54fc6d03cdaf91b81484cd09a0feeac7f770f85c6df23990493a47608f355640203b22d24731f046e9e7f82a037f7ba3a11a0e873b1fa5ffc4a3c7 +DIST firefox-115.15.0esr-ia.xpi 610846 BLAKE2B 7d3bfa4c9c9365fe8b55f2e958a960ce85351487122d7892e2ed0fdbd3f1bd082274f47f7d92db1437101baae2eca38c8533a1627ca6d669ddb19c39b96959e1 SHA512 5aacbf68d32b127c605461c0e9d5846e7ada85d6232eb91822b0814ebc2141c6d55c5d250d8968a5bc7620fb18e9d5eacd2e278908d17a47e34f4cb0d8145f4e +DIST firefox-115.15.0esr-id.xpi 573434 BLAKE2B 0625ff93599c33ab92bd7bbdfde4d92de3e4c5f0d82b3fa12a75a5c820913b9457312ae416fc3fd30ad10c491ac8d202bebaf414dd04756f8efe64cb91bb931a SHA512 18b0660cdf8662229be776bd61c906cc747f143e83a2b713c9364463e066ce718b995d3bdef9bdc212de5b9e277dcd1bf8c5506c6493448faac8667d7de4435c +DIST firefox-115.15.0esr-is.xpi 611651 BLAKE2B 281f87160d7a72f85ca9ae14b559b634327c9027e40385416a9755d20dcded9ecb26f5fd8d2248af6768bc7c50ddd372f32811f46d4aaff96db3a1c2c6cef3ff SHA512 ae9392dcbb734c2b8ee17a1de03cefb717e236210bdbe0bee299c533df9722cf6b99d1b3bcd0a94743707ab1f5989d4de96e1257d63ee939e20911b50ac1050c +DIST firefox-115.15.0esr-it.xpi 567120 BLAKE2B 58d1d1a0800280a31fdf3b281bce50f38de4525abc378e1aa47d7b913b1fb6207b12c33faad9d89e125637f547a8abc8ac61aa0274364b6fdeec8ed2b60a476b SHA512 4eaecc1c35a58d4b9ef7573c14e8ec23180ad3edc3d2fb8f032f679cdd8d24a2da22a014d12407555e857cc61b66b7bad72cdd2740ab681d8c554be892d4b02a +DIST firefox-115.15.0esr-ja.xpi 676031 BLAKE2B 2776bb279f1091f337d9500971022e0912b5d606c719b5fba1419662c4b92a7a1e59e1bb3d7f80a94ea42f8655d6ce8b695aaf0103c7f4e39518ec72c3e0bb35 SHA512 982b9c727654b364fb744d9f6d993fafb2407f434e0f43a2d1a067885bd4b803e32c1e8a3c72f3e2c05289a0916a5fbcbd7b377d3e04f5c6e67274f93de0798c +DIST firefox-115.15.0esr-ka.xpi 657991 BLAKE2B 53c0cf206d77ea7aa9157a85c50a7657fbe56881e6b20b63193a0f8599273d06e0f6fae4c135b00b9b3ccf3c316fd1d36bcbdb3e5659d0263055d6c218273d90 SHA512 f7f12bc6ac222b78a8606452e1eefe65e2bf77739a6d0b2a6c382d565d68a227881921dc059e568d395120e0e09d419e148056ab3e4090227c20e35b55943409 +DIST firefox-115.15.0esr-kab.xpi 604028 BLAKE2B 6ecad3b0cb351d8c4da3b65ede52f951edb4cfb3167a6e2c24b8baef2900379c03e929b4a312688e4b6646dbbed5ea4d885528ffde131eb509bdc1bc74798793 SHA512 ca42cc9601f6df4f6d8c617372b5b37d2f0c4b8c33f72409b3bc09ccbcd97144ce0eb7c50c4306b64dabe85f6256ffe2c4aa8544e1dcb1ca057e112ac83607af +DIST firefox-115.15.0esr-kk.xpi 709054 BLAKE2B 90bd32cc90d3ed321deb2a8acf79f7fb6ed2072d83716854360e4cab838b90720b3a0ea66aac071d1a3927bb677f7e7ef1bd72f332f80dba17eee5538b836625 SHA512 078b79b3229e3241f24f99a30064b2ccac5f8b0f148dab25f748cdc37fe30ac3a1dd5f578f75147457f3bc18932453ddc4e6b19d40da4bd860de848a293c195b +DIST firefox-115.15.0esr-km.xpi 522330 BLAKE2B 438be3000bd425f081184c998f1c50460aa8e99bf1d8e63a7dd0b22cae39cb4227dffcf85a529f4c586d783cdeef01be139e988b44cc3a29899915aa0198a3ad SHA512 5d889e572b22cc247ae418726ad702d184069a4afa0c59e3653ae243fb89ea489c399b83bcefc9e64ae9c079eb53262e3006984f8a16c224034f3526e1afd368 +DIST firefox-115.15.0esr-kn.xpi 488198 BLAKE2B 3d2704129a3a340bd2fc64018e7984a0a170892f98fb607da22e3680ad016c31f30044e40950ca6f70e86df254ff8c935996fdfce5f2bb5376e22d63eaf7cc19 SHA512 4808474f149d24e13fd8a5bca292087488948ed03d902a39f41fb71205781d1afa10143b80e42e4906dd260084be80349b3a45fe0fe97d463f4c90e623246537 +DIST firefox-115.15.0esr-ko.xpi 662480 BLAKE2B 96b8326b941f134d7bf0ab1a13aa8544f9e3e98ddbb661d04749d34613b3fdcbdd32bbe8157536f796b4fc68dd820d0677db8f77adff151d31cc7fbe4e60d22a SHA512 67376a7067c21c6b331332f2874ab1260643d1c9182410ee4068606bfee714a2f31010d7c7d14bcb7cabd218656cc274d31530d6fd3f0e3123175849e6754de7 +DIST firefox-115.15.0esr-lij.xpi 479126 BLAKE2B ade5a5adf13b7d6e3082bb667680a7845f5859c8e2c6a915002172af46ef3be3b3193107dddfd72cab6fa6798234e0a781e2ff50829ce5958152427754cf9c4a SHA512 e38985f36eb8fc7ff92dfbe923da8ecdf260dae60a568c5df4c1bd43055a670a323fe9d735cff61bc6288b820acfc0f4c74fbaf2365dd04a473d36a0ac942a8c +DIST firefox-115.15.0esr-lt.xpi 566224 BLAKE2B 90fa117a8e4a32d6a467846babc5ce4417706b385b0b3a8d6aabca391acbe0630ef8b2ba268b1271d80b17256c8b8720916a15ab678430a2baa1d6f33adef750 SHA512 821f4ce96289d2eb9c83bcc69cb665047c4c9f85e02490245569d51cbb243739057fb1f0b174299f2730ed843776375f939cf2473f45b07a3c0aadd154293281 +DIST firefox-115.15.0esr-lv.xpi 568810 BLAKE2B fd3d1117bd90141a4b9bb8c7384d687971ace2fe81df02c41014a09fd2853d7029320defb2dd32ae2a1343de7dae760200e2133224afa472a743d0d4448f9001 SHA512 82a6f43723e36f0fde0d633b3693bef268e702cd782a96e0bde541cd940fa795fe0fdf0643f19fe53ead15a790fe243c5ed6a588813ecbee4c6aa23c848488c7 +DIST firefox-115.15.0esr-mk.xpi 490535 BLAKE2B 3a09bfa3217466aacd3462fa9229deac0732c65c684a856e6bc5f51955db8c92911db33006d318bc15171dfcfe5dc3601c5354be25f7d16e0e384fd813f426c5 SHA512 5b00a766c9a16702dff795a6243c430a266f2ab9e7af27fe2d9f57e5951ffb65247f842a9847b1c9ad87df836c68070c3f9dd963b508de297c90cb5dd3fc7545 +DIST firefox-115.15.0esr-mr.xpi 526883 BLAKE2B 09946b06ace5a5dcb09b145e0feeb9ac83468a6cc9cca478819cdd5156549779c32f57879c47ea320dbe5a089c8144bb2fb66ba9c18315b50f4eb131fd142181 SHA512 ddbc1f9b3a2dfa664a8ebb36a841f07a8f7f88823914d4212aef21abee642a4c0ebd95029a0d62b0bdfa476f010a4f4fa245df4bc277da9448de97fec9eb19ea +DIST firefox-115.15.0esr-ms.xpi 445508 BLAKE2B af4a376cec0b6ebb0547e3985ad7521b7a7d3b84e35fb22ce2f49656efae6105eec2f07f6232a328b335c26d566abe63137ab4458dc7d3b030f1ce44d424fc6d SHA512 8adb5028ad31f833adfe4f8dbc87029f124ad42ea40b562a549fe26a6344a24d72d0c3d62f5f0ee93597114f1ae5f7ecd803a82233264306b88c9066983e6b8d +DIST firefox-115.15.0esr-my.xpi 514929 BLAKE2B ad2455bba5fc940a6d82f237d229cdc565bba902ed46935d9787c78fe1129a6433101c79952b8c12b3ef77268c67f8d02f7f4d598c1ab34df6edad9462387969 SHA512 f43a7e34365c2dc278aa8fa3061c2d68c805489d54d9658e8b034aed5c480412b3bb950098bd6c446f0be6fdb6bbad6ef4d66a78cb22b8e1b7802d0b01a9aded +DIST firefox-115.15.0esr-nb-NO.xpi 607316 BLAKE2B fce0b6a75463864e08d1087af58666b184dc7b68572200cca6d02018c60a85330bec4b21f1f4c8d42e85c213a06ab73c9e2b4ca761bbb8a5f1aad4b72ad71b3a SHA512 df402ea7c8156132d69bbc24827efbb302ffd45c094e252ac1bbfcea0636a29d070c6a18f464d898d3a54f028b8571f2e18faf30b7bcefddcb8162fb1d177266 +DIST firefox-115.15.0esr-ne-NP.xpi 506993 BLAKE2B 24ed6ecc00c452d07c2470ef221106c5bf60280272daec88daf86abe8ef1c7d425096cf983ed187c60c5038cfaa1cdb6ba773860f9186ee794d325e17da9d030 SHA512 4274e37a3dd0f509f979a321c04c0da4b27ac33bb02e47945c59d9947c1428159e5ce54070e8c9f26d0702fec6119bab9c859cfd39f7a34d0d6fa0b99d1f4e6f +DIST firefox-115.15.0esr-nl.xpi 617743 BLAKE2B 1652dc4ce9b1521e6f5c2f2a29e225de915619afe3f25f624fa0555dbe3af80cd217e05d6b134b0b608843dcb86a67adf2f9a050cdf345c9ba869057860320d8 SHA512 f7dac94ef771233fea2de1ba31923d9a561cbe10fddc74796177adb0828a3312ae19bd9b128a80e5bc30577767cbb96b42bd8721b3ff17fe9d5f01ca4158e78b +DIST firefox-115.15.0esr-nn-NO.xpi 609739 BLAKE2B f5be55c5932c378b3353340bad592ab2920176d2291763c73b2f3181aa9459c4b475a4d578c8225f730f5451e9466f3b0585cb8d0419612bf2b45bb13d8d119d SHA512 1b7133b5e4fbe8e8a844713d0e3d8fc7d559cf18bb87adcff8ebc37517991053a3a725a0328d22cca4d882344f643cfef7d9eae3d79f5a611dd76a643639734f +DIST firefox-115.15.0esr-oc.xpi 607919 BLAKE2B 2cf1f970ead52332725e05625a809575239b3dc0a013ec2b5996557889338b298cee6d8ce008284aa20edd14d90b0a14d6c6924bcfb53de55675e4a82337a6d2 SHA512 e9f50e126e0f06f9343e5bab2b38b69d983ec1d70822c07226a1148f8d56d42047a83727f21c88b33ebf6c5c57d19116ea19fc42c4712d9e38cf8a2f5cceaa74 +DIST firefox-115.15.0esr-pa-IN.xpi 687719 BLAKE2B 4fbae6886f73e35a4cae817355463fcdfa8397e0ac2c21be48476069111423e4ed75be05edf966103bf51653f55226db56aa15443d03f084c00c7e3a0aff1167 SHA512 5a700d057bcfa5062960e3c6e1d3ff2949e445b1e1e4f5edb1c5e2dd77497e0069a4147fc4ae92c27fde7a6d0de564a461d471a0db85b4e1a579eaedf6074298 +DIST firefox-115.15.0esr-pl.xpi 636472 BLAKE2B 6c24a7d828d8e2159982ea1bb51c352f6282de574e357ae822e50866daab78c8be2f506167cbfb593bf907517e43d194953f5b97136acf4ba5ffa467ab81cc29 SHA512 f28998c96b6fa47f31653e5f49d5dd28cb1480f891a50fd1a33a5c5420f2df4fcbeabb4157d2d419811bb3fd0fc895b473734310e17f4aacaac9aed4731be0dc +DIST firefox-115.15.0esr-pt-BR.xpi 622537 BLAKE2B cac1dd6c177b743f70b1900aa8d27da997d3408db4ab285f6dd896c2c7b3f768c733705414a88196b197f457ed054dcb5ea73dd68d7be5039885c77a66117e2b SHA512 5f34f5b6df8c798d9c825c102f0b9888191280989e5569cf0420dce3356c36e46a7698a829aa007fa28a2e02b46d74c0d6430c9da936451ac838b1a6ed85f0b5 +DIST firefox-115.15.0esr-pt-PT.xpi 626589 BLAKE2B ca43bb0dd4e0da95c3f64d1c41c6bf3139d17fce32883573760097c93e2cf27b353205e84f05aba0adcf4aa87ccee05aa4dbe826eb12312be4d8c82346dc5a18 SHA512 1170ec442afaa68ded871b528b0efe32938ac44dd383251f1e40ff19e2bb61fc9d2e5e9004d163b56e262d4b7113fe6937de535701c5ad0823528023cc90b85c +DIST firefox-115.15.0esr-rm.xpi 617339 BLAKE2B 810e207b10509125b97b1f55159c6f22e154fe83954fcf2ded60b73b9e79c47a6fd6295434d4daad811c2d10387ac6c5f273daa17233d98694e8e08023612080 SHA512 7b52e8331f675c0c615cbc40ecdc6417ed3fc3d1122650eadd2d33877e032385c0b5b979ab621678892dc6f29668d6b3dee691cb37836fd545c0c1932c551dab +DIST firefox-115.15.0esr-ro.xpi 543552 BLAKE2B 5c9861853379c4602aaf6863b43cdbe2a23c4727d535d3681ed43dc2ac901a88dd740fda1d43517f5dfcb586803789d3c7822d1b57525136093cfe6a5dad5011 SHA512 1afa5cd4377b1e7185bfd6d24e40c0b9c03e3940abb58a674eb19b8133851b699fc06e73633d038384fe1b99b4fb033efc7d72921398a34bdd2cf31bc0b4b908 +DIST firefox-115.15.0esr-ru.xpi 721763 BLAKE2B c9e7cbd3c541fb498b3106c45ea8d4dc122e496f92f8670ecf037ea0ff42e12b9798de679ab2d8f030e53f74e3e25c2ec2badf490aa0b4941cb6dbfe9361c12b SHA512 1a50181d7ec0d3d0153466809c985596ff2be21b09a1fefdbf9c9abfe599e476f84eab96a7ecb281ed34f9f78d18e3b9d3f1942a9bf943ea869e04f138b007f6 +DIST firefox-115.15.0esr-sc.xpi 582735 BLAKE2B efaa5f3f53a50cb3d5c835b02a4b9dee04174cc0623566c9c7d63532efc48f4b9e4164b40575d003dd5f3815343c5396142e1f0dfbe9eecea77dc83450e91d4a SHA512 f4fd4b119f65c0d8099423dc967470a55232a5a6393b22e323e1968d199c64326a971957fd58aa64a3c676054bd6a60f44b7b28f482fe2078a6b099ae446c57c +DIST firefox-115.15.0esr-sco.xpi 505680 BLAKE2B 66dfac8c6eb7bcbc0b55fed17aa1984fc83321f275daa07fa2539993ef5c985577b81c8b046293a6b71f311ff9b0d90e35a1253558f7dcdf6f683bb9039eafce SHA512 260424c3a1e0331dd2a086aeeabd8f06e700f5c72f3926a5483ec3ae834924905bf1630448ce26c076152977393048044ff2073d622d8763b76b6e25b34be02b +DIST firefox-115.15.0esr-si.xpi 606451 BLAKE2B f0e35c895ce9f09fd63a753346e89e66b8422e963c11da0cdd57748aed5d1b91128399b97fc31d871cd873c8294d5d96ced02d45cbdaca2a900c5c89fbbfd4b5 SHA512 45a029b29c8140f3f4b3f891d853fea8b02f3c8d91e0e9fdbf264cf2b63c5ad2bd73d947ebd76dea91d99920054b4147d784c0120dad0b09ecf47b4c0c6fbc4c +DIST firefox-115.15.0esr-sk.xpi 652374 BLAKE2B 7a28fd4abbbefd5017c20f9e7ffb3b670e8297f7f9790deabaf516952e6d9839a888de766d6cc1afb804b836f294f4fd6ab5b4d43ff516daa6aafa57fe8f85ad SHA512 b21b2b006b432a05d997d9c592f1e2c4f5a1101c014ad2904417d790381ba95bf95dcae3e66a810f03904d61417704ec0cd545b3d1ece943a2cc08045183b96d +DIST firefox-115.15.0esr-sl.xpi 615203 BLAKE2B 6a3f36cab2bce1f5179a1f164ccae1a4cca40e4ebbc61d11e8077dd96072e1cd6439a96bc01670eba0658ead6674c5657fba20a15841c976dea911da6d577c7f SHA512 e60d61aa1dcc7e74c4450fbe36ac9816ff63ecfe4cbe81d96d9a410a058e7d86b221fc92c4c9423a71ea8c7f3d75468541dbe120d77ccf03b89b85df92b0736a +DIST firefox-115.15.0esr-son.xpi 413679 BLAKE2B b99890be683244f7523b61950eb3dca4b73f8ea9ec2a9257b30bfcfaf46ee45294193a2fd120c62ac77662cf7141a1cd0e2047c9b4bc5a662dd5ca49ccb8ab95 SHA512 fd9669ab4abac40ac04cbbc3369a9ffa84cb918748f8a8493f71557cfbd2de0704a084856de92a2cfc47c4219753b4eb956bce906a4bcbf917b228c50f9c83e7 +DIST firefox-115.15.0esr-sq.xpi 636141 BLAKE2B fa408ab79af3d2cf5dd7ecb24dbe5a938b06d6d6c5588474a6ad6ba6c958b36c5686541b438f3f9dbf361faa423b678d220404359add6f9d83c9113bfea9f8be SHA512 19c6f0de19e6315404bc3cb67534d8753d30954ab747a873b5bdc3e6db90f18513ff6f8a72e506d0b7ae2b8b5b3ae8a4d6f41a89ffcdd6f5d43d41821a028e59 +DIST firefox-115.15.0esr-sr.xpi 633260 BLAKE2B 763687d9acb9ffa59204bb3bbf5ed72cd73f4f2a2b0c4a27ba1ace55dc96990d296e64267e189cca3f0352f3056f19fa749412423906f8de012ced68ff54d7d1 SHA512 7e44d18a448a5fc8a0edd3b48188ed7d3d8748e60ebb455b04929561b002839189a0b35ae9295979930f66134f1c1de3bec58826f2f6379b292860b02ff104d6 +DIST firefox-115.15.0esr-sv-SE.xpi 619433 BLAKE2B 8bd3a3a9f7cbc403a560182fb33914300865145cca750a0bbfafd7dcb179017fe2d074f7d1becffed3195fef931f3f3224f2dee98d1b2ad8a96851ac5ce6ba53 SHA512 8c24b18e62838b8739ea24abe3095f52b6c4dafc7c05389cc3ee63560c331c35966cb57008fe9f72dcc8ad53021472ee3449a2cdf37a668fd3bed1b4f096a3eb +DIST firefox-115.15.0esr-szl.xpi 521048 BLAKE2B 24ca3c2c7bf5848d19d16cc6b77189331ec60999420a8d604e08f56704b899abbb9fc53226b1820ae7812f3b6adc99541f77890c521e7ad5f4e02c4e77867370 SHA512 c13fe1af0d010a74726ce55fa12ea88672848d9f54076a7e5b1a5a0024dc8089ae0a888781106b40ffaea7266826aeed26e3104a5838bcabb45231efb18bbf98 +DIST firefox-115.15.0esr-ta.xpi 503639 BLAKE2B 12e3897ad4db9146baed49d5caf8da5e396c48c92b0f0ade306e4a4dfb56c5134f146d97c0fb320e4d48929580b34d0bcd0d7ec590bcb4b5ddc83299fe7e314a SHA512 de4788d1b8beff9b1ead7612a2cde153783428046ec838c95aa7e2ab4dca7ae2ccdb96528cc138004dd66974117257c87a45a434c1403d1db59bf9f5f164fa6c +DIST firefox-115.15.0esr-te.xpi 556764 BLAKE2B 4f3ab1435b184929d1afdf8127b5fec0d3f78cf2895c8a4a5fa0978e7ac54d98893c25115e59b66439d360652a8b89621e39024ee5181fd440747dc176e68521 SHA512 1325e6b22eac02f8d06020ebfb27f827ed5e9fdead7cf4241b8e1ce8e4c184c994dfd66c068fbef988b84439e495218bb0ec5eb175e9a52e0c2c5161d3c74e37 +DIST firefox-115.15.0esr-th.xpi 693426 BLAKE2B 0cb4abfdd80a7cea1bd365f17205d9139042811d44a297a103258dd208aefb35a9aa0985b75b71e49215f21ef7f83c37bf1db2cb2ecdcc2b7079455042fe54e4 SHA512 bb35ea24063cf9326518d4a5d9da76147d05bb140ee06620c08c941e5134c0eca6db79823a7435c1b7a1dbd793aa396a9747052cfccae30d01df655913c680f6 +DIST firefox-115.15.0esr-tl.xpi 527807 BLAKE2B 3dcf0f738b80573eb4c28a0839bec67f1deef3bd774d495f8f6e6736041e505a47995a585528cf4b507fbf7d2437de94053c331e3b2d368a1cdb0454b20e590a SHA512 dfb4052f585dc8eb026dcbdb07c64ea251cda8fd19afd8c1c4875402aa7cbd33f60872f93b8db69fcf521d49a9742c76bfc292d2b0de22ea440296327f06ff87 +DIST firefox-115.15.0esr-tr.xpi 631874 BLAKE2B b338bbd0396add27a438841eb4150a33c4124bac24f6045c919b0216e3e68227fb287d04903f2912b218b1a9b41f1e51fc292d36c785e1d01b1603d05d7513fe SHA512 62685e561fbca4585844cb7937d1c9c80e7cf84e9dc541e022e41ce0c650213a3efc84abacd347e44391292c0be18267bb80dcda76ec1b559195c763a1c4eda7 +DIST firefox-115.15.0esr-trs.xpi 498682 BLAKE2B 355962c70fc9e68bb39f552414c3d53a6cfe41d8987a93c52a9dfaea29613b21ade959f5f729bfdb4a9feb76cab89f0efd925bc70bd72394f3f864246c6625e0 SHA512 e07f178a9a4df1b8714d070ea58e880f8b34c4b88963bfa4f0c338790e7b7438209449bc26b153b8f25f4a8bb7f18d5310b1ec10e37db4d0913ae9660c5f1505 +DIST firefox-115.15.0esr-uk.xpi 707292 BLAKE2B 8c80608e9e8cb19f19e962deaedb9b3921e70668c007c71f27d0ee789d46aefd1d5ac9a36da3bce7c8687aeeb129dbd1ab64786e532730426f7c4b02544e3f8a SHA512 43a00b956ecba124d127380948c38aceead09efddcdac761a7f1028f06ec14aa49780d89a535ce8a166fb1adf842820e4014f5095a568757b41a2c33a557af2c +DIST firefox-115.15.0esr-ur.xpi 554809 BLAKE2B 8f28e72f52066d83ded968099da261d5b5a5eb62641aefef3ad0c7354437c134500b78767b75f012b495ec2cdfc51e14d1f0c9abcac779b8e53c7c215ce11ed8 SHA512 aa18bb41738f156517672ee8bfb6cc263f3e4a83f602185f7fc405ef77e65b8901c36958a86c083e49d130046fbfb7e95cdb595f9216bb40faa08e19769fc572 +DIST firefox-115.15.0esr-uz.xpi 474685 BLAKE2B db4513fa6747f8731d92a044f383d70e9ca245759f36ea824a0d9fe5247669d5bca93dfe0d0f75953da29a63a44bc5a7b397e59a7d0eec47cb61711d73f9ab38 SHA512 6225f19584e1d3c34ef2f94cbce9d251f3004174623e6cfca951ad62858ce8d6eac7df6df1cfe7b7af450a6e64e71e9d267a02851d232562b92a4a14dbd12bfc +DIST firefox-115.15.0esr-vi.xpi 654024 BLAKE2B 03c1d2214b899cc31385ae2c12e56c492fdf5b298c257127540b5f497cd0a077df68e58b722279ba6fab6ed9b025499fe55e93a5d7504c7202559da0274a9122 SHA512 75e5d401bc6a5c3f42a33390167f02714187bafbcd9b2bfe501608928bb715d33b9b9948b736d7c53aa8b7c9d1eed28557f5448e895ef4fa98bde8ac45a5f730 +DIST firefox-115.15.0esr-xh.xpi 414955 BLAKE2B fcbe5f7b559c90382d4d45b808ba35242f9a17905ccb1a4a8470c4b149710abb41a8185049c73309572408debfcf62df3ebcf1f36af135d746db44e4c0ff974b SHA512 85808966db817088eb89bf516057ac38ac16458d9e0f6da76ad58312d204ad645aed8da683383a35cdb1cce833090d044edfcc16f947e928ce144554232fea2e +DIST firefox-115.15.0esr-zh-CN.xpi 657103 BLAKE2B a7927017d440780ee1ab7a4f2a9075bb071db4ca38f9bd05499606d8a3a28d9daa3bdfa1895bce263e9a81dcf984042e1447bbbd96d4b3e34249045a6567ac28 SHA512 af3399e9eafd53a9644bbc7c8e714e4b497f0ef64f98b3b4e2bd0d28949031aa3f23f78e973baa4286622673ddc5f55c03906bc6059ba6a10448fe0da68f4996 +DIST firefox-115.15.0esr-zh-TW.xpi 659312 BLAKE2B a73185e11f1b6db6def7ebf6ac1bc54aedb459822cb97768c7699a2fcc0ed74ee4dc96c2cc9a7a9952d3dd3c58da9340042e6a75f4fa0f9b52dcf98a88066a46 SHA512 ae7d6d80e645e5a69d8d0fb9a245e7ba0cce82ebcb7a167cf0a4d5a5e306dd58130bd550c66aa814bc0b30a2d57282dcbd44acea47370a6137ff4404eb124034 +DIST firefox-115.15.0esr.source.tar.xz 507920832 BLAKE2B 997a3148b7019fbec95e1e003561a1135c27a769ff92a675debff540b20213a21cf96f9f2e9cb1db4e8c81702b7fcf7e1ba35045dc7dfd705957d099350ea9f3 SHA512 0df4c498c99cce08903004d2e0f9e977a19f7de86240aa82dba179b60f1d67ca3021eb474f56bddc38035e773eeb5d99bb3e1b0756d9f7583dc8e1f747f477ba DIST firefox-115esr-patches-12.tar.xz 50732 BLAKE2B 821ea063bd14085458967e33570bb28a1457672d2c210368507532024db25dfbb7d30d37084a2cc60a4cc34dde453669ad9046c664e7e8459a8c7fab33485068 SHA512 e80b0eb9a4efa8e6a872a875a31e384a5d3ac2f7000a3d12b03cbe2dff43baf8e3e544b7b7baadcb46ae714e3709ecbc53742b9562fcb1b1caf85b037b5ad501 DIST firefox-115esr-patches-13.tar.xz 51360 BLAKE2B a048bfadba989ebbd4c6e3df97d303d6853844e66ed92f5f5f322acf18866218b91d52dbbece63827de283eef855c932d67e329c8d93200aa83f11268a5d1b2f SHA512 186ec72323e621362dcef1bc67c476716aff97dfad701faa9220a7302e798d3cb4ed90d5ea59e3e92f016be29875bb5219787635db99a8848b7c76e4e2e09e90 DIST firefox-128.1.0esr-ach.xpi 464065 BLAKE2B 168762d0890e65d5ef0033a96d0b9b00f1b12df24a2f5debc56ff8010421cf2e2c561cc7d105853338244edcbcbf3a3a2a4f174568740f4b82d4dc11b164bcc1 SHA512 4f4818a789f7da04a71fc257317e9d2341ead3209c815e25326f13be1501aeacd7da77e86e4bbc2560d1b6952f91466ff1fc90efd16f02762c85ab06e461bac8 diff --git a/www-client/firefox/firefox-115.15.0.ebuild b/www-client/firefox/firefox-115.15.0.ebuild new file mode 100644 index 0000000000000..31b6c0937aff7 --- /dev/null +++ b/www-client/firefox/firefox-115.15.0.ebuild @@ -0,0 +1,1393 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-115esr-patches-13.tar.xz" + +LLVM_MAX_SLOT=18 + +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="ncurses,sqlite,ssl" + +WANT_AUTOCONF="2.1" + +VIRTUALX_REQUIRED="manual" + +MOZ_ESR=yes + +MOZ_PV=${PV} +MOZ_PV_SUFFIX= +if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then + MOZ_PV_SUFFIX=${BASH_REMATCH[1]} + + # Convert the ebuild version to the upstream Mozilla version + MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI + MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI + MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI +fi + +if [[ -n ${MOZ_ESR} ]] ; then + # ESR releases have slightly different version numbers + MOZ_PV="${MOZ_PV}esr" +fi + +MOZ_PN="${PN%-bin}" +MOZ_P="${MOZ_PN}-${MOZ_PV}" +MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" +MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" + +inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info llvm multiprocessing \ + optfeature pax-utils python-any-r1 readme.gentoo-r1 toolchain-funcs virtualx xdg + +MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" + +if [[ ${PV} == *_rc* ]] ; then + MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" +fi + +PATCH_URIS=( + https://dev.gentoo.org/~juippis/mozilla/patchsets/${FIREFOX_PATCHSET} +) + +DESCRIPTION="Firefox Web Browser" +HOMEPAGE="https://www.mozilla.com/firefox" +SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz + ${PATCH_URIS[@]}" +S="${WORKDIR}/${PN}-${PV%_*}" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +SLOT="esr" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel" +IUSE+=" jack libproxy lto openh264 pgo pulseaudio sndio selinux" +IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp" +IUSE+=" wayland wifi +X" + +# Firefox-only IUSE +IUSE+=" geckodriver +gmp-autoupdate screencast" + +REQUIRED_USE="|| ( X wayland ) + debug? ( !system-av1 ) + pgo? ( lto ) + wifi? ( dbus )" + +FF_ONLY_DEPEND="!www-client/firefox:0 + !www-client/firefox:rapid + screencast? ( media-video/pipewire:= ) + selinux? ( sec-policy/selinux-mozilla )" +BDEPEND="${PYTHON_DEPS} + || ( + ( + sys-devel/clang:18 + sys-devel/llvm:18 + clang? ( + sys-devel/lld:18 + virtual/rust:0/llvm-18 + pgo? ( =sys-libs/compiler-rt-sanitizers-18*[profile] ) + ) + ) + ( + sys-devel/clang:17 + sys-devel/llvm:17 + clang? ( + sys-devel/lld:17 + virtual/rust:0/llvm-17 + pgo? ( =sys-libs/compiler-rt-sanitizers-17*[profile] ) + ) + ) + ( + sys-devel/clang:16 + sys-devel/llvm:16 + clang? ( + sys-devel/lld:16 + virtual/rust:0/llvm-16 + pgo? ( =sys-libs/compiler-rt-sanitizers-16*[profile] ) + ) + ) + ( + sys-devel/clang:15 + sys-devel/llvm:15 + clang? ( + sys-devel/lld:15 + virtual/rust:0/llvm-15 + pgo? ( =sys-libs/compiler-rt-sanitizers-15*[profile] ) + ) + ) + ) + app-alternatives/awk + app-arch/unzip + app-arch/zip + >=dev-util/cbindgen-0.24.3 + net-libs/nodejs + virtual/pkgconfig + !clang? ( virtual/rust ) + !elibc_glibc? ( + || ( + dev-lang/rust + =dev-lang/nasm-2.14 ) + x86? ( >=dev-lang/nasm-2.14 ) + pgo? ( + X? ( + sys-devel/gettext + x11-base/xorg-server[xvfb] + x11-apps/xhost + ) + !X? ( + || ( + gui-wm/tinywl + &2 + return 1 + fi + + if use clang && ! tc-ld-is-mold ; then + if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then + einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then + einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use pgo ; then + if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then + einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" + einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + fi + + einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2 +} + +MOZ_LANGS=( + af ar ast be bg br ca cak cs cy da de dsb + el en-CA en-GB en-US es-AR es-ES et eu + fi fr fy-NL ga-IE gd gl he hr hsb hu + id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO + pa-IN pl pt-BR pt-PT rm ro ru + sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW +) + +# Firefox-only LANGS +MOZ_LANGS+=( ach ) +MOZ_LANGS+=( an ) +MOZ_LANGS+=( az ) +MOZ_LANGS+=( bn ) +MOZ_LANGS+=( bs ) +MOZ_LANGS+=( ca-valencia ) +MOZ_LANGS+=( eo ) +MOZ_LANGS+=( es-CL ) +MOZ_LANGS+=( es-MX ) +MOZ_LANGS+=( fa ) +MOZ_LANGS+=( ff ) +MOZ_LANGS+=( fur ) +MOZ_LANGS+=( gn ) +MOZ_LANGS+=( gu-IN ) +MOZ_LANGS+=( hi-IN ) +MOZ_LANGS+=( hy-AM ) +MOZ_LANGS+=( ia ) +MOZ_LANGS+=( km ) +MOZ_LANGS+=( kn ) +MOZ_LANGS+=( lij ) +MOZ_LANGS+=( mk ) +MOZ_LANGS+=( mr ) +MOZ_LANGS+=( my ) +MOZ_LANGS+=( ne-NP ) +MOZ_LANGS+=( oc ) +MOZ_LANGS+=( sc ) +MOZ_LANGS+=( sco ) +MOZ_LANGS+=( si ) +MOZ_LANGS+=( son ) +MOZ_LANGS+=( szl ) +MOZ_LANGS+=( ta ) +MOZ_LANGS+=( te ) +MOZ_LANGS+=( tl ) +MOZ_LANGS+=( trs ) +MOZ_LANGS+=( ur ) +MOZ_LANGS+=( xh ) + +mozilla_set_globals() { + # https://bugs.gentoo.org/587334 + local MOZ_TOO_REGIONALIZED_FOR_L10N=( + fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE + ) + + local lang xflag + for lang in "${MOZ_LANGS[@]}" ; do + # en and en_US are handled internally + if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then + continue + fi + + # strip region subtag if $lang is in the list + if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then + xflag=${lang%%-*} + else + xflag=${lang} + fi + + SRC_URI+=" l10n_${xflag/[_@]/-}? (" + SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi" + SRC_URI+=" )" + IUSE+=" l10n_${xflag/[_@]/-}" + done +} +mozilla_set_globals + +moz_clear_vendor_checksums() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -ne 1 ]] ; then + die "${FUNCNAME} requires exact one argument" + fi + + einfo "Clearing cargo checksums for ${1} ..." + + sed -i \ + -e 's/\("files":{\)[^}]*/\1/' \ + "${S}"/third_party/rust/${1}/.cargo-checksum.json \ + || die +} + +moz_install_xpi() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local DESTDIR=${1} + shift + + insinto "${DESTDIR}" + + local emid xpi_file xpi_tmp_dir + for xpi_file in "${@}" ; do + emid= + xpi_tmp_dir=$(mktemp -d --tmpdir="${T}") + + # Unpack XPI + unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die + + # Determine extension ID + if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then + emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf") + [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf" + elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then + emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json") + [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json" + else + die "failed to determine extension id" + fi + + einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..." + newins "${xpi_file}" "${emid}.xpi" + done +} + +mozconfig_add_options_ac() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_add_options_mk() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_use_enable() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_enable "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +mozconfig_use_with() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_with "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +# This is a straight copypaste from toolchain-funcs.eclass's 'tc-ld-is-lld', and is temporarily +# placed here until toolchain-funcs.eclass gets an official support for mold linker. +# Please see: +# https://github.com/gentoo/gentoo/pull/28366 || +# https://github.com/gentoo/gentoo/pull/28355 +tc-ld-is-mold() { + local out + + # Ensure ld output is in English. + local -x LC_ALL=C + + # First check the linker directly. + out=$($(tc-getLD "$@") --version 2>&1) + if [[ ${out} == *"mold"* ]] ; then + return 0 + fi + + # Then see if they're selecting mold via compiler flags. + # Note: We're assuming they're using LDFLAGS to hold the + # options and not CFLAGS/CXXFLAGS. + local base="${T}/test-tc-linker" + cat <<-EOF > "${base}.c" + int main() { return 0; } + EOF + out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version "${base}.c" -o "${base}" 2>&1) + rm -f "${base}"* + if [[ ${out} == *"mold"* ]] ; then + return 0 + fi + + # No mold here! + return 1 +} + +virtwl() { + debug-print-function ${FUNCNAME} "$@" + + [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument" + [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset" + tinywl -h >/dev/null || die 'tinywl -h failed' + + local VIRTWL VIRTWL_PID + coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; } + local -x WAYLAND_DISPLAY + read WAYLAND_DISPLAY <&${VIRTWL[0]} + + debug-print "${FUNCNAME}: $@" + "$@" + local r=$? + + [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly" + exec {VIRTWL[0]}<&- {VIRTWL[1]}>&- + return $r +} + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has usersandbox $FEATURES ; then + die "You must enable usersandbox as X server can not run as root!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6600M" + fi + + check-reqs_pkg_pretend + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has userpriv ${FEATURES} ; then + eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6400M" + fi + + check-reqs_pkg_setup + + llvm_pkg_setup + + if use clang && use lto && tc-ld-is-lld ; then + local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }') + [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}") + [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!" + + local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }') + [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}") + [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!" + + if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then + eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}." + eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:" + eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version" + eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version" + eerror " - Build ${CATEGORY}/${PN} without USE=lto" + eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole " + eerror " llvm/clang/lld/rust chain depending on your @world updates)" + die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!" + fi + fi + + python-any-r1_pkg_setup + + # Avoid PGO profiling problems due to enviroment leakage + # These should *always* be cleaned up anyway + unset \ + DBUS_SESSION_BUS_ADDRESS \ + DISPLAY \ + ORBIT_SOCKETDIR \ + SESSION_MANAGER \ + XAUTHORITY \ + XDG_CACHE_HOME \ + XDG_SESSION_COOKIE + + # Build system is using /proc/self/oom_score_adj, bug #604394 + addpredict /proc/self/oom_score_adj + + if use pgo ; then + # Update 105.0: "/proc/self/oom_score_adj" isn't enough anymore with pgo, but not sure + # whether that's due to better OOM handling by Firefox (bmo#1771712), or portage + # (PORTAGE_SCHEDULING_POLICY) update... + addpredict /proc + + # Clear tons of conditions, since PGO is hardware-dependant. + addpredict /dev + fi + + if ! mountpoint -q /dev/shm ; then + # If /dev/shm is not available, configure is known to fail with + # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py + ewarn "/dev/shm is not mounted -- expect build failures!" + fi + + # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then + MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc" + fi + + if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then + MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ" + fi + + # Mozilla API keys (see https://location.services.mozilla.com/api) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then + MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005" + fi + + # Ensure we use C locale when building, bug #746215 + export LC_ALL=C + fi + + CONFIG_CHECK="~SECCOMP" + WARNING_SECCOMP="CONFIG_SECCOMP not set! This system will be unable to play DRM-protected content." + linux-info_pkg_setup +} + +src_unpack() { + local _lp_dir="${WORKDIR}/language_packs" + local _src_file + + if [[ ! -d "${_lp_dir}" ]] ; then + mkdir "${_lp_dir}" || die + fi + + for _src_file in ${A} ; do + if [[ ${_src_file} == *.xpi ]]; then + cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!" + else + unpack ${_src_file} + fi + done +} + +src_prepare() { + if use lto; then + rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die + fi + + if ! use ppc64; then + rm -v "${WORKDIR}"/firefox-patches/*ppc64*.patch || die + fi + + if use x86 && use elibc_glibc ; then + rm -v "${WORKDIR}"/firefox-patches/*-musl-non-lfs64-api-on-audio_thread_priority-crate.patch || die + fi + + # Workaround for bgo#917599 + if has_version ">=dev-libs/icu-74.1" && use system-icu ; then + eapply "${WORKDIR}"/firefox-patches/0029-bmo-1862601-system-icu-74.patch + fi + rm -v "${WORKDIR}"/firefox-patches/0029-bmo-1862601-system-icu-74.patch || die + + # Workaround for bgo#915651 on musl + if use elibc_glibc ; then + rm -v "${WORKDIR}"/firefox-patches/*bgo-748849-RUST_TARGET_override.patch || die + fi + + eapply "${WORKDIR}/firefox-patches" + + # Allow user to apply any additional patches without modifing ebuild + eapply_user + + # Make cargo respect MAKEOPTS + export CARGO_BUILD_JOBS="$(makeopts_jobs)" + + # Workaround for bgo#915651 + if ! use elibc_glibc ; then + if use amd64 ; then + export RUST_TARGET="x86_64-unknown-linux-musl" + elif use x86 ; then + export RUST_TARGET="i686-unknown-linux-musl" + elif use arm64 ; then + export RUST_TARGET="aarch64-unknown-linux-musl" + else + die "Unknown musl chost, please post your rustc -vV along with emerge --info on Gentoo's bug #915651" + fi + fi + + # Make LTO respect MAKEOPTS + sed -i \ + -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/build/moz.configure/lto-pgo.configure \ + || die "sed failed to set num_cores" + + # Make ICU respect MAKEOPTS + sed -i \ + -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/intl/icu_sources_data.py \ + || die "sed failed to set num_cores" + + # sed-in toolchain prefix + sed -i \ + -e "s/objdump/${CHOST}-objdump/" \ + "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \ + || die "sed failed to set toolchain prefix" + + sed -i \ + -e 's/ccache_stats = None/return None/' \ + "${S}"/python/mozbuild/mozbuild/controller/building.py \ + || die "sed failed to disable ccache stats call" + + einfo "Removing pre-built binaries ..." + + find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die + + # Clear cargo checksums from crates we have patched + # moz_clear_vendor_checksums crate + moz_clear_vendor_checksums audio_thread_priority + moz_clear_vendor_checksums bindgen + moz_clear_vendor_checksums encoding_rs + moz_clear_vendor_checksums any_all_workaround + moz_clear_vendor_checksums packed_simd + + # Create build dir + BUILD_DIR="${WORKDIR}/${PN}_build" + mkdir -p "${BUILD_DIR}" || die + + # Write API keys to disk + echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die + echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die + echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die + + xdg_environment_reset +} + +src_configure() { + # Show flags set at the beginning + einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + local have_switched_compiler= + if use clang; then + # Force clang + einfo "Enforcing the use of clang due to USE=clang ..." + + local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }') + [[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}") + [[ -z ${version_clang} ]] && die "Failed to read clang version!" + + if tc-is-gcc; then + have_switched_compiler=yes + fi + + AR=llvm-ar + CC=${CHOST}-clang-${version_clang} + CXX=${CHOST}-clang++-${version_clang} + NM=llvm-nm + RANLIB=llvm-ranlib + + elif ! use clang && ! tc-is-gcc ; then + # Force gcc + have_switched_compiler=yes + einfo "Enforcing the use of gcc due to USE=-clang ..." + AR=gcc-ar + CC=${CHOST}-gcc + CXX=${CHOST}-g++ + NM=gcc-nm + RANLIB=gcc-ranlib + fi + + if [[ -n "${have_switched_compiler}" ]] ; then + # Because we switched active compiler we have to ensure + # that no unsupported flags are set + strip-unsupported-flags + fi + + # Ensure we use correct toolchain, + # AS is used in a non-standard way by upstream, #bmo1654031 + export HOST_CC="$(tc-getBUILD_CC)" + export HOST_CXX="$(tc-getBUILD_CXX)" + export AS="$(tc-getCC) -c" + tc-export CC CXX LD AR AS NM OBJDUMP RANLIB PKG_CONFIG + + # Pass the correct toolchain paths through cbindgen + if tc-is-cross-compiler ; then + export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}" + fi + + # Set MOZILLA_FIVE_HOME + export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # python/mach/mach/mixin/process.py fails to detect SHELL + export SHELL="${EPREFIX}/bin/bash" + + # Set state path + export MOZBUILD_STATE_PATH="${BUILD_DIR}" + + # Set MOZCONFIG + export MOZCONFIG="${S}/.mozconfig" + + # Initialize MOZCONFIG + mozconfig_add_options_ac '' --enable-application=browser + mozconfig_add_options_ac '' --enable-project=browser + + # Set Gentoo defaults + mozconfig_add_options_ac 'Gentoo default' \ + --allow-addon-sideload \ + --disable-cargo-incremental \ + --disable-crashreporter \ + --disable-gpsd \ + --disable-install-strip \ + --disable-parental-controls \ + --disable-strip \ + --disable-tests \ + --disable-updater \ + --disable-wmf \ + --enable-legacy-profile-creation \ + --enable-negotiateauth \ + --enable-new-pass-manager \ + --enable-official-branding \ + --enable-release \ + --enable-system-ffi \ + --enable-system-pixman \ + --enable-system-policies \ + --host="${CBUILD:-${CHOST}}" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --prefix="${EPREFIX}/usr" \ + --target="${CHOST}" \ + --without-ccache \ + --without-wasm-sandboxed-libraries \ + --with-intl-api \ + --with-libclang-path="$(llvm-config --libdir)" \ + --with-system-nspr \ + --with-system-nss \ + --with-system-zlib \ + --with-toolchain-prefix="${CHOST}-" \ + --with-unsigned-addon-scopes=app,system \ + --x-includes="${ESYSROOT}/usr/include" \ + --x-libraries="${ESYSROOT}/usr/$(get_libdir)" + + # Set update channel + local update_channel=release + [[ -n ${MOZ_ESR} ]] && update_channel=esr + mozconfig_add_options_ac '' --update-channel=${update_channel} + + if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then + mozconfig_add_options_ac '' --enable-rust-simd + fi + + # For future keywording: This is currently (97.0) only supported on: + # amd64, arm, arm64 & x86. + # Might want to flip the logic around if Firefox is to support more arches. + # bug 833001, bug 903411#c8 + if use ppc64 || use riscv; then + mozconfig_add_options_ac '' --disable-sandbox + else + mozconfig_add_options_ac '' --enable-sandbox + fi + + # Enable JIT on riscv64 explicitly + # Can be removed once upstream enable it by default in the future. + use riscv && mozconfig_add_options_ac 'Enable JIT for RISC-V 64' --enable-jit + + if [[ -s "${S}/api-google.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-safebrowsing-api-keyfile="${S}/api-google.key" + else + einfo "Building without Google API key ..." + fi + + if [[ -s "${S}/api-location.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-location-service-api-keyfile="${S}/api-location.key" + else + einfo "Building without Location API key ..." + fi + + if [[ -s "${S}/api-mozilla.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-mozilla-api-keyfile="${S}/api-mozilla.key" + else + einfo "Building without Mozilla API key ..." + fi + + mozconfig_use_with system-av1 + mozconfig_use_with system-harfbuzz + mozconfig_use_with system-harfbuzz system-graphite2 + mozconfig_use_with system-icu + mozconfig_use_with system-jpeg + mozconfig_use_with system-libevent + mozconfig_use_with system-libvpx + mozconfig_use_with system-png + mozconfig_use_with system-webp + + mozconfig_use_enable dbus + mozconfig_use_enable libproxy + + use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme + + mozconfig_use_enable geckodriver + + if use hardened ; then + mozconfig_add_options_ac "+hardened" --enable-hardening + append-ldflags "-Wl,-z,relro -Wl,-z,now" + fi + + local myaudiobackends="" + use jack && myaudiobackends+="jack," + use sndio && myaudiobackends+="sndio," + use pulseaudio && myaudiobackends+="pulseaudio," + ! use pulseaudio && myaudiobackends+="alsa," + + mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}" + + mozconfig_use_enable wifi necko-wifi + + if use X && use wayland ; then + mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland + elif ! use X && use wayland ; then + mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland-only + else + mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3 + fi + + if use lto ; then + if use clang ; then + # Upstream only supports lld or mold when using clang. + if tc-ld-is-mold ; then + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld + fi + + mozconfig_add_options_ac '+lto' --enable-lto=cross + + else + # ThinLTO is currently broken, see bmo#1644409. + # mold does not support gcc+lto combination. + mozconfig_add_options_ac '+lto' --enable-lto=full + mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd + fi + + if use pgo ; then + mozconfig_add_options_ac '+pgo' MOZ_PGO=1 + + if use clang ; then + # Used in build/pgo/profileserver.py + export LLVM_PROFDATA="llvm-profdata" + fi + fi + else + # Avoid auto-magic on linker + if use clang ; then + # lld is upstream's default + if tc-ld-is-mold ; then + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld + fi + + else + if tc-ld-is-mold ; then + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "linker is set to bfd due to USE=-clang" --enable-linker=bfd + fi + fi + fi + + # LTO flag was handled via configure + filter-lto + + mozconfig_use_enable debug + if use debug ; then + mozconfig_add_options_ac '+debug' --disable-optimize + mozconfig_add_options_ac '+debug' --enable-real-time-tracing + else + mozconfig_add_options_ac 'Gentoo defaults' --disable-real-time-tracing + + if is-flag '-g*' ; then + if use clang ; then + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') + else + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols + fi + else + mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols + fi + + if is-flag '-O0' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0 + elif is-flag '-O4' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4 + elif is-flag '-O3' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3 + elif is-flag '-O1' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1 + elif is-flag '-Os' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os + else + mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2 + fi + fi + + # Debug flag was handled via configure + filter-flags '-g*' + + # Optimization flag was handled via configure + filter-flags '-O*' + + # Modifications to better support ARM, bug #553364 + if use cpu_flags_arm_neon ; then + mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon + + if ! tc-is-clang ; then + # thumb options aren't supported when using clang, bug 666966 + mozconfig_add_options_ac '+cpu_flags_arm_neon' \ + --with-thumb=yes \ + --with-thumb-interwork=no + fi + fi + + if [[ ${CHOST} == armv*h* ]] ; then + mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard + + if ! use system-libvpx ; then + sed -i \ + -e "s|softfp|hard|" \ + "${S}"/media/libvpx/moz.build \ + || die + fi + fi + + # With profile 23.0 elf-hack=legacy is broken with gcc. + # With Firefox-115esr elf-hack=relr isn't available (only in rapid). + # Solution: Disable build system's elf-hack completely, and add "-z,pack-relative-relocs" + # manually with gcc. + # + # elf-hack configure option isn't available on ppc64/riscv, #916259, #929244, #930046. + if use ppc64 || use riscv ; then + :; + else + mozconfig_add_options_ac 'elf-hack disabled' --disable-elf-hack + fi + + if use amd64 || use x86 ; then + ! use clang && append-ldflags "-z,pack-relative-relocs" + fi + + # Additional ARCH support + case "${ARCH}" in + arm) + # Reduce the memory requirements for linking + if use clang ; then + # Nothing to do + :; + elif use lto ; then + append-ldflags -Wl,--no-keep-memory + else + append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads + fi + ;; + esac + + if ! use elibc_glibc; then + mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc + fi + + # Allow elfhack to work in combination with unstripped binaries + # when they would normally be larger than 2GiB. + append-ldflags "-Wl,--compress-debug-sections=zlib" + + # Make revdep-rebuild.sh happy; Also required for musl + append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags + + # Pass $MAKEOPTS to build system + export MOZ_MAKE_FLAGS="${MAKEOPTS}" + + # Use system's Python environment + export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach + + if use system-python-libs; then + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="system" + else + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" + fi + + # Disable notification when build system has finished + export MOZ_NOSPAM=1 + + # Portage sets XARGS environment variable to "xargs -r" by default which + # breaks build system's check_prog() function which doesn't support arguments + mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs" + + # Set build dir + mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}" + + # Show flags we will use + einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + # Handle EXTRA_CONF and show summary + local ac opt hash reason + + # Apply EXTRA_ECONF entries to $MOZCONFIG + if [[ -n ${EXTRA_ECONF} ]] ; then + IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!} + for opt in "${ac[@]}"; do + mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--} + done + fi + + echo + echo "==========================================================" + echo "Building ${PF} with the following configuration" + grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do + [[ -z ${hash} || ${hash} == \# ]] \ + || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}" + printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}" + done + echo "==========================================================" + echo + + ./mach configure || die +} + +src_compile() { + local virtx_cmd= + + if tc-ld-is-mold && use lto; then + # increase ulimit with mold+lto, bugs #892641, #907485 + if ! ulimit -n 16384 1>/dev/null 2>&1 ; then + ewarn "Unable to modify ulimits - building with mold+lto might fail due to low ulimit -n resources." + ewarn "Please see bugs #892641 & #907485." + else + ulimit -n 16384 + fi + fi + + if use pgo; then + # Reset and cleanup environment variables used by GNOME/XDG + gnome2_environment_reset + + addpredict /root + + if ! use X; then + virtx_cmd=virtwl + else + virtx_cmd=virtx + fi + fi + + if ! use X; then + local -x GDK_BACKEND=wayland + else + local -x GDK_BACKEND=x11 + fi + + ${virtx_cmd} ./mach build --verbose || die +} + +src_install() { + # xpcshell is getting called during install + pax-mark m \ + "${BUILD_DIR}"/dist/bin/xpcshell \ + "${BUILD_DIR}"/dist/bin/${PN} \ + "${BUILD_DIR}"/dist/bin/plugin-container + + DESTDIR="${D}" ./mach install || die + + # Upstream cannot ship symlink but we can (bmo#658850) + rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die + dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin + + # Don't install llvm-symbolizer from sys-devel/llvm package + if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then + rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die + fi + + # Install policy (currently only used to disable application updates) + insinto "${MOZILLA_FIVE_HOME}/distribution" + newins "${FILESDIR}"/distribution.ini distribution.ini + newins "${FILESDIR}"/disable-auto-update.policy.json policies.json + + # Install system-wide preferences + local PREFS_DIR="${MOZILLA_FIVE_HOME}/browser/defaults/preferences" + insinto "${PREFS_DIR}" + newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js + + local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js" + + # Set dictionary path to use system hunspell + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref" + pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell"); + EOF + + # Force hwaccel prefs if USE=hwaccel is enabled + if use hwaccel ; then + cat "${FILESDIR}"/gentoo-hwaccel-prefs.js-r2 \ + >>"${GENTOO_PREFS}" \ + || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js" + + if use wayland; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs" + pref("gfx.x11-egl.force-enabled", false); + EOF + else + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs" + pref("gfx.x11-egl.force-enabled", true); + EOF + fi + fi + + if ! use gmp-autoupdate ; then + local plugin + for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do + einfo "Disabling auto-update for ${plugin} plugin ..." + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to disable autoupdate for ${plugin} media plugin" + pref("media.${plugin}.autoupdate", false); + EOF + done + fi + + # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it + if use system-harfbuzz ; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref" + sticky_pref("gfx.font_rendering.graphite.enabled", true); + EOF + fi + + # Install language packs + local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') ) + if [[ -n "${langpacks}" ]] ; then + moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}" + fi + + # Install geckodriver + if use geckodriver ; then + einfo "Installing geckodriver into ${ED}${MOZILLA_FIVE_HOME} ..." + pax-mark m "${BUILD_DIR}"/dist/bin/geckodriver + exeinto "${MOZILLA_FIVE_HOME}" + doexe "${BUILD_DIR}"/dist/bin/geckodriver + + dosym ${MOZILLA_FIVE_HOME}/geckodriver /usr/bin/geckodriver + fi + + # Install icons + local icon_srcdir="${S}/browser/branding/official" + local icon_symbolic_file="${FILESDIR}/icon/firefox-symbolic.svg" + + insinto /usr/share/icons/hicolor/symbolic/apps + newins "${icon_symbolic_file}" ${PN}-symbolic.svg + + local icon size + for icon in "${icon_srcdir}"/default*.png ; do + size=${icon%.png} + size=${size##*/default} + + if [[ ${size} -eq 48 ]] ; then + newicon "${icon}" ${PN}.png + fi + + newicon -s ${size} "${icon}" ${PN}.png + done + + # Install menu + local app_name="Mozilla ${MOZ_PN^}" + local desktop_file="${FILESDIR}/icon/${PN}-r3.desktop" + local desktop_filename="${PN}-esr.desktop" + local exec_command="${PN}" + local icon="${PN}" + local use_wayland="false" + + if use wayland ; then + use_wayland="true" + fi + + cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die + + sed -i \ + -e "s:@NAME@:${app_name}:" \ + -e "s:@EXEC@:${exec_command}:" \ + -e "s:@ICON@:${icon}:" \ + "${WORKDIR}/${PN}.desktop-template" \ + || die + + newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}" + + rm "${WORKDIR}/${PN}.desktop-template" || die + + # Install wrapper script + [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" + newbin "${FILESDIR}/${PN}-r1.sh" ${PN} + + # Update wrapper + sed -i \ + -e "s:@PREFIX@:${EPREFIX}/usr:" \ + -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \ + -e "s:@APULSELIB_DIR@:${apulselib}:" \ + -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${ED}/usr/bin/${PN}" \ + || die + + readme.gentoo_create_doc +} + +pkg_preinst() { + xdg_pkg_preinst + + # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse + # does not need to be forced into the LD_LIBRARY_PATH + if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then + einfo "APULSE found; Generating library symlinks for sound support ..." + local lib + pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die + for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do + # A quickpkg rolled by hand will grab symlinks as part of the package, + # so we need to avoid creating them if they already exist. + if [[ ! -L ${lib##*/} ]] ; then + ln -s "${lib}" ${lib##*/} || die + fi + done + popd &>/dev/null || die + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + if ! use gmp-autoupdate ; then + elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or" + elog "installing into new profiles:" + local plugin + for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do + elog "\t ${plugin}" + done + elog + fi + + if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then + elog "Apulse was detected at merge time on this system and so it will always be" + elog "used for sound. If you wish to use pulseaudio instead please unmerge" + elog "media-sound/apulse." + elog + fi + + # bug 835078 + if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then + ewarn "You have nouveau drivers installed in your system and 'hwaccel' " + ewarn "enabled for Firefox. Nouveau / your GPU might not support the " + ewarn "required EGL, so either disable 'hwaccel' or try the workaround " + ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes." + fi + + readme.gentoo_print_elog + + optfeature_header "Optional programs for extra features:" + optfeature "desktop notifications" x11-libs/libnotify + optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas + + if use hwaccel && has_version "x11-drivers/nvidia-drivers"; then + optfeature "hardware acceleration with NVIDIA cards" media-libs/nvidia-vaapi-driver + fi + + if ! has_version "sys-libs/glibc"; then + elog + elog "glibc not found! You won't be able to play DRM content." + elog "See Gentoo bug #910309 or upstream bug #1843683." + elog + fi + + if use geckodriver ; then + ewarn "You have enabled the 'geckodriver' USE flag. Geckodriver is now" + ewarn "packaged separately as net-misc/geckodriver and the use flag will be" + ewarn "dropped from main Firefox package by Firefox 128.0 release." + fi +} From 9b7d8a80189645e866068d29b5c7f159db7fb720 Mon Sep 17 00:00:00 2001 From: Joonas Niilola Date: Mon, 9 Sep 2024 13:16:21 +0300 Subject: [PATCH 10/11] mail-client/thunderbird: add 115.15.0 Signed-off-by: Joonas Niilola --- mail-client/thunderbird/Manifest | 65 + .../thunderbird/thunderbird-115.15.0.ebuild | 1363 +++++++++++++++++ 2 files changed, 1428 insertions(+) create mode 100644 mail-client/thunderbird/thunderbird-115.15.0.ebuild diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest index 9f2677b34c4c4..8e930c14bee7c 100644 --- a/mail-client/thunderbird/Manifest +++ b/mail-client/thunderbird/Manifest @@ -65,6 +65,71 @@ DIST thunderbird-115.14.0-vi.xpi 774809 BLAKE2B fc16ca251941ed6e89b5cbbf8c5fea61 DIST thunderbird-115.14.0-zh-CN.xpi 775075 BLAKE2B 08be1a16a498404b503c7ea084c585a2c4f99c755b233a8cd3f8c384ce6b4c7768f0f6b03ab77e4688d2241c07f413decaca6b7a38f8113161e2c1303876a5ec SHA512 eb4e1894f408b7d90982a447183c3dbd702c654950c772c3adf6ac90be23655e6d6426210542de70682ba70797c247e6271bc7867fe2a8dc04ba8a63ab0e94c0 DIST thunderbird-115.14.0-zh-TW.xpi 778882 BLAKE2B 1c17c1d70f42ad4a38497846fdb6296816f5f5bd782aed05ef090b2913170a796e1a54184ac566c3c278ab821dfc9379337f39a1c31f4f98e80833bcbea99189 SHA512 661acf4f1eeb803eabb4c5b8f9cfbbb6bd71eb456860fe23debf0de889d204aba490d545334098c8fd302de29b6adb5f1a75c4bd96e3fbd13f3dceec358a15ad DIST thunderbird-115.14.0.source.tar.xz 533296972 BLAKE2B b286062857df12cee6b5aa42f26de7509cd89558a8173cb9e1ffebda2c9bd6ef808bf5034ee2149809e6c427d9c3fdc7f2d37030b0c71aa00d5b8f5381166d14 SHA512 b12e1302d6be94dd88bee6dd069d3fec944bfce95e1afc1d72c14cc188d952fd5a85f0e70575317250701ac89498d876f3384b022957689fabcef61ad7d78c29 +DIST thunderbird-115.15.0-af.xpi 553548 BLAKE2B 62e9e3904c8f89cbaa6a01f6734e09bd93f3dea42cea6b0e5ce793a1ed8dbdccf5d1e0d67d92f1e4de09661f14f8a6cc7481f1860e04a581635ee4984355928d SHA512 2496a41f4f18cf53d0607c81659aaa9c248e07ef0b2068e6fae888a76b4d15fe8eb8e1031b21f81b586886e004c19e3d18a7b2800a12f3d0986a2b0c33f61109 +DIST thunderbird-115.15.0-ar.xpi 706940 BLAKE2B 3bd58099f54219d62b24013f8ea920d03514f6e9589dc6d19696b7ef78fa4b703a12d83293583b9c8506055ed2f47593e1b8b4055dd3abb1bc5554f9a5f9bddb SHA512 9c1bb958ab1101457f91f6fb5e8d35c2d0e727c3f9be02829bb536f1fae959d8fafd1d88e592cb8962f19dbbd227061c3e610acd55b10da3b166e7386b4acca9 +DIST thunderbird-115.15.0-ast.xpi 583831 BLAKE2B 91f3eac2479eb1f789ed5707443425c2000ad7d69f2431c78f3b7733736825dffbe02eef1f0cc48886648fa5e22dbc84f275efba614b43340d1726ec4d3ef86b SHA512 bda904a4f4072e87799f6d5ec99094457275482ec622e9bc87e961e91566d6611c1a3522f6bb7f36387b515c114d6a8ef7a9d15f2a673e5fbe02678d91855c2f +DIST thunderbird-115.15.0-be.xpi 787754 BLAKE2B 89ada2a5bbe21d67caa2dfcb0598a2ec1a1986b64d397eeeda69c84260cee80ed34d42ba25352404a5194a387f4568c76f5344db62a5fa6bb1457e929fb475ef SHA512 a368e0d276f4f18b2fa6e552a6536db4375d1673ffc24a0564e779f4a573a0df5e830d825ba4539486aadc374cddc3dbcb4794f42269921b08edc5dfeef457ef +DIST thunderbird-115.15.0-bg.xpi 828487 BLAKE2B da7dc05893f27e8103eee568b0886dc9b99e95c5fa041baba722043b704c20b6550fe00628d2e33b3ebbc32bd99ede28ec2b3b3a8a88d9253100bc960d4bc319 SHA512 04c68c65c7466023689d362ed12fd9de1a64b56650622bc59fb108a2b9f20ea0fe8b5dadd04a4a6cce769daccb3da973bb266d851b03937958c95bb828e371da +DIST thunderbird-115.15.0-br.xpi 677642 BLAKE2B dd8fa1be534833f6646dac0479628b2510a86334b6739967e8c3c9bd745047b9b7f351546538093188722b2a16bf0b4f6436b89326d799244676efffbdedfef1 SHA512 0b6e141d12df90805c9e9ada288afda8ee562e7cc7909e89f181effdf345717699208d82b0af93b9d057dc5329a7c75f612005aab288a3d4cf3eaebf49a0fa99 +DIST thunderbird-115.15.0-ca.xpi 732349 BLAKE2B c8c43c87bea904f5f95260167f360efdb2f3a05956c4bf023fa600b2b818479d2e1da683d144547b0f578c5c5f211cab199dfd3dace4b2261742729ba12e690d SHA512 dede551b1ce32df6c0e278ce0f611e24b8157d023699c24b18c0d4b08304a479a266c290a1838e9b3f51995480f2ab6c3941c18172877e37cdeae760c08e2151 +DIST thunderbird-115.15.0-cak.xpi 694684 BLAKE2B 47d526da3821602495b0540404dee1b23eec8ff5bacae283d00fbc0582ed51fb9b9ea400033c79c117bafc767fe3659dfb54846f067fdee644bed53eac01703e SHA512 6a632d77d7d50c4df06d64bcfd85fbf1ba7e367caf0f8da5441722079f47e4d429badf44ede6a1ef8011d180f2059f05424e8ad3220249c4fbb0eb31aa6b5493 +DIST thunderbird-115.15.0-cs.xpi 814276 BLAKE2B 54399b3c2a8c0b5c6f8df4c067712373fcfa7002083002504a3d18ad21e56c6d909544d3f9f65cb3172276e2e7a353cf60365915a382e4e546ef36cc1ed0235d SHA512 9d7a87727302c96404f6368e38b9af4267e7fc474943e5e00126c43d98e912d3e2ecc70f139b4ea47e489df4322b47ef36d67912f9b284d3571effc758ede07b +DIST thunderbird-115.15.0-cy.xpi 776201 BLAKE2B a9eb65746714b5e1fa18a9063ba0c0a41c67a929c3c8be6c046acf1061648df4dc9db6f1f23cc5e0902168e35e01b9aa7d668a15fe49a923b42d7f55dda6325d SHA512 25d65bc1928729d7d73dc696e7cbb10dd2b1ef3ca2b9ec6cfd30cd8cee13bd417a2167797790b001d8816d493cc96726845e8031ce88374197402ca2dba27454 +DIST thunderbird-115.15.0-da.xpi 762858 BLAKE2B 5b66867366323a8f359c34414f20dbf3f8c45de0f331e2cda878de72e186847a964fbf186e297a0cbb9271567575f5541b0baa4149555460a587b327a3d8ecd3 SHA512 fbf6ffab75a1f05200be6e0c88b3ee5e84c595e2294a1b0ea37d8c80fea7b6e3d8b363db9cf07b26d7f24a84f1bdda46557836bc7ee2f8e8163a07bbf4ddc1f3 +DIST thunderbird-115.15.0-de.xpi 794013 BLAKE2B a1499b20f81b34f0fcaf70c60ee0869ccc86b4025a0aa70f908c903aeaeeed001562130cc66571831b1725f6bef897b0b5c2fed551d8869f264dc1c62b13f62f SHA512 d3757ef308e58c0e68772b7aa4a4452869268dace611b2702aae0c725b4cff0baf2573a0087e21bf8cbf26829669abe0afbdd37390cab5879efa4c798ca448f6 +DIST thunderbird-115.15.0-dsb.xpi 812883 BLAKE2B f9795b4fc72e8b670ceb980bc38a8a61adba0b1752d463273da62082f372feb4ae598dc05d38c43aae907840d3676835803e77ea64f18cb2771e110ea84a8762 SHA512 1801e5a70bf5afd1ab6be7f34a2734644f7dfe951cd80efbc4cfbc2025a1782c804cf7284b9b4f0847224667afd565a670dc306a539f841a84b08705a4108085 +DIST thunderbird-115.15.0-el.xpi 923744 BLAKE2B d97291dbe15cb78a3e68672573699339d080bd14b8621012d37613fc330602cd859d8ca0cd3509b278d88cd7c10d3adbd7d2c11e016b8c9552f7412d42aa6249 SHA512 12b41df0868a571a78b068eaa2f66e71c059df20a8dbfcb531df06f05f9385e19be86fc784fede52753d6f6292e8808010ac8e66587e30715c98e3d7077d2ee9 +DIST thunderbird-115.15.0-en-CA.xpi 728508 BLAKE2B cc4152bb9ce4179868124cfc9a4330c87ff82e494f330ff6b391b976ce01b6d74b831c589ee178478c9788ba4de1c449686cd5d6b169498a2d598c6b480ed850 SHA512 d9381df862baebfe08549e873c5feff9e779b6336fea3a6bc458057a0c45e8bf81f36c694b68b9767087e4f32b6cf3097ae7e0724e78b7af3160d5957a88c396 +DIST thunderbird-115.15.0-en-GB.xpi 729649 BLAKE2B fd08184f7dc96515a2ffd9be3b760971d163a81097a56c7ef835ff2be2f6ee417ce98e8eebdf92a23003c01f23e2b02249451f50085c7d6d24397d19a83f67bc SHA512 e2daf19989bfb7592e7ea3ca0f4e68608b06a5691ab5c38a2df55d3c8751252ed1820cef3b23764624c1e2a6c5eb15aa09b452e93ea0bb1561e633b411bca395 +DIST thunderbird-115.15.0-es-AR.xpi 787328 BLAKE2B c88ef73a576cfe7c70dc62b751cbd55f45e9a9f2ed65386fe2c7220eea78d5dacc0d9b3f26f445becd65b628fdadc6d077c2923de1877a0ab7083093dc294dc5 SHA512 ea65441024a299fc6a9487f77aaa02a6ad53d66840ba06e535a580c5048f7ed4ea27ddbd77724bd0bfc992085344bdde440a5fd048d946fe821301f669dcfb7a +DIST thunderbird-115.15.0-es-ES.xpi 751242 BLAKE2B d257ae2832b9feb601baddd44f6efc54f69e7f40ffe2e64252b3bcfe53ab0be1bff49e28dfeb33d2ecf613d63c96712779f513ddc443d6a809c8cf1d47b1e2b7 SHA512 802126f07e178d5c38fb74f02fb77fc32895fd38d6b2525c08b90d5458ecafff03a80d7b468e08f3c42fd71cabfb353d79b92c4d51dee99fa18fdb53efb19512 +DIST thunderbird-115.15.0-es-MX.xpi 757498 BLAKE2B daece78669631a36e1235d08d4d23b148f389284bac985d634fc6c1d77ba69f97bbc243063026069487809a79f9d084ffa68a191341dc4ffa78fe3153174fe09 SHA512 9cc2d48a7af9c53c7450ed2fce2f6c3749d1dbdcb135303e7b4d233dae96490d3597ca65d5152192152dc8438c75865d112fe7b3581e6e1f4d7dec8d8d42f3a4 +DIST thunderbird-115.15.0-et.xpi 716734 BLAKE2B 3aa410ef782a893f09092a5ae6c259a6e9c26ffc98a729971f41134d0ffd9500a5c9179145933669314f7eaa08dad8602fef0b271873d9cb19a549d64a1cd5f9 SHA512 20a09a02768792e617540e88312fc675c086daf55a279d7f398b1ba3b7fbb678ff04e5bb90c9881554d3ec0d316ecac30ee2c29c052545955471636e54c0a01a +DIST thunderbird-115.15.0-eu.xpi 750792 BLAKE2B c165efbdcd40ca4d2936c409a34b675815952ec6338b0a90a22e249706e9df6c1701bfad99b5b478b7ea3a2df325fe928dd1122613d407a9e80844b749319031 SHA512 b0c875dbf7bd312ce28cca2b7693ba07154209d0117c596f5b2984c639ff53391147e04f302d82a42a333a62206125f33ee04b471ae465333531971865111281 +DIST thunderbird-115.15.0-fi.xpi 760381 BLAKE2B a4744d25976e83453d0324df2c580195fb2c9e420b9e1116b115783b8373ea569a7bc3f33ed86669c7a4ba98b9f237000cc3e56bc96820285b79ca14a83ced31 SHA512 2632031a4db1832b30e78b8944ab2f2f6dc32d6d3df763ab22ef37ad7cd7d06baa1c4db16b18a5eac0436d5a38aff7fdc8027a3be6a22430d18d3c0041e4a439 +DIST thunderbird-115.15.0-fr.xpi 800563 BLAKE2B 67f05fcc018554e2596409e9fd532059deb097458fd3c6fa234dfa996fc4326c23ae3b6a211c51eee7292a163ac6c59cdb0f014626206f296c3133e934810c5c SHA512 788dd6d65879f5723db6fe4d5345e60be6083629cfb413c30198912c50e9c47727759fe439cd26c233b5efa510e62471d6122638f86c5827a7c0fa6da7bceecb +DIST thunderbird-115.15.0-fy-NL.xpi 782017 BLAKE2B f6f6fb51e439f9358bf630aa7f6eeeeaf1d3ad2273eae270473badc3f7ba788ed0b3861924f8ccd1333bc861ec5796858286ba1b199af6f7e0b78a44e60fb2f3 SHA512 eeccb4f8fd248c400df6d83253d33e65123542917ea6c25a19d7c5c073f86cb27bb762d4f87db3ad8d15ff4d3a8656d1c549a9b16f3ad4de057d77ed701ef7eb +DIST thunderbird-115.15.0-ga-IE.xpi 640765 BLAKE2B bfc70a6d2432c6bb716c24d6185d9de52aff8b3129d46fb5e248ac4d8231167be6c969153055eb147e65a626a501b625e9e2c2f2943833d3b875af00bd1b96fc SHA512 2e628b3f3a2ac64b8c089d9fe46f18e43d81710e831991884f19e33886b3f964a063a2be2537bcd66be9d9510f55d0e14d94eafd602999d0587351e9c43b9b68 +DIST thunderbird-115.15.0-gd.xpi 751210 BLAKE2B 82a71dd33f3a0075ee71fc35f28117ef66e45a6ee248867e99dd90f78f6bc557d6cd03564c76bc64e3af2d4e4f2de39187553639a93690ba2f31a6dfd3859d42 SHA512 ea8f8f477ea2a38c4b30484abc3cfa2e31b637830cf8b1c4ccda1dbe74d921e929ddbf1cdaa954814d5d5192b41770086d1ad71fb8243d5277399921a6df0554 +DIST thunderbird-115.15.0-gl.xpi 761600 BLAKE2B 54ee430dd05878fe3e58ace3ab55ec5000c28f0658301d9ba74320454b4b8e48017935b89c07b094586112a65a60a10e95c83ff106d09b575a9aa5d80e6d375c SHA512 172a39a2b3439438b60c0c439c9234f6cceffebab3cc5429ac1358ad036179fdde25c10d39f7360208df2127eed521505c56043a1740ae52c5381adee93cd324 +DIST thunderbird-115.15.0-he.xpi 724287 BLAKE2B 454140edbe87cc51ce54aa6c56ac7bbdbe11940f7586ad28408cb866948d0c4f659b948f5f475e48526da00ee598a5c2f3017b9500857b948b6926b241e3d83b SHA512 b504cf16c8b442091e309c394b9ac6ddde2f5eca6780df2bae7a8a5ad6e1551850525cbcc975ce6ee92d71490f10693f47da7414844e02969c9760c1aa24ac00 +DIST thunderbird-115.15.0-hr.xpi 723720 BLAKE2B 58ba0dbd29ca1ec950d8c7b03d59efb725462e8a069d86eae1a1a2b0431c3902e21065095ab5f3655dffeecfa2d17b1bc01c19a83243b3fc8fce739901978353 SHA512 b2073682142f979d6c524d2448ee59ae0c0071daed287ec5a8d6cd3e05d71018e432e37bfc392af2840cb8ae60f3e2bb693e12dd2fea6f8e794e377a0b0efc6e +DIST thunderbird-115.15.0-hsb.xpi 810428 BLAKE2B d532e05091137f25bbe70f543da50007c2c1e2191b3b776c0085fd5f1b5de4ee381798ce2b629b487e95444b74261e39b60c8807e7bd3c7b7f9ad1842bd72d87 SHA512 f863fa7fb45cfd91ef465ee1d7d2c57be094712a6341ffe27da857bc3b48a33919c983cdeef05943ad066bc00f62485dc5ab308302e79e30efc7c187117cc07b +DIST thunderbird-115.15.0-hu.xpi 812084 BLAKE2B 92b0827dacd1c2607649982456f084c81f7a7d52b2f0ca55ef624523bdbbc25deb7d66b09716afe5b5668ded69ebd5e2d07e0bf463d5976fc3e8d4c821947168 SHA512 920b6a4ef23880a46c469f2dd8b63517600aa1ded49169b3982574c16c8d61f1d2732310b46471780100ed6e3a1e87f0484a325f84ef053b971d9283efb25a23 +DIST thunderbird-115.15.0-id.xpi 689001 BLAKE2B 287bc728f652c87983b92bdcdbc8fdb484a96a46a4ecee4a1134863ff42748ff9ce9c9f6fef9de2d8175995ec975d1a25cf091e5507c117077d6bdcd1114fb49 SHA512 094c8d4eeaee440ff8f0022ed9371d348794df30e6000f6533a540404c65ada4382f1ed08be3cf07966398e506a0f2dcbc7db11940ac1ef40c553e12494edd5d +DIST thunderbird-115.15.0-is.xpi 767724 BLAKE2B 88325eb0c14edf8339c7a65b844962b1314fd2031de657c9ddad9df1313051861275725e761bc03920b8efde75d7eb3df33b95acda96741814a1e5524fc8087f SHA512 3eff726fed4f98304da87cb19296e3ba15b8c98dbaba6b6c7b02b7769d1fa04a3826f725de78c67eee1f5847fa34607fec375b8283c82d028cb88aaf25c119a0 +DIST thunderbird-115.15.0-it.xpi 717903 BLAKE2B d769ba1b46cdd414dff918d04e52b077715606d77f3ef8b9b119e813a7227877f0622ba7b2d1afd1deb78d768f71c06b735ace258ff5b7e00691357d587b400e SHA512 3f1c9c1712d2ee0e18f5e41b79870480ebfd0ce8e6660c18448def04ab96342370e882e6f3fb1dab4804dad3f83f57ef9453a4491c1679cf95d3b15d734942d8 +DIST thunderbird-115.15.0-ja.xpi 849892 BLAKE2B a7b1d4c2910fc999b38ac2742fd71a53f06982903256298abaaac6a697afe8f46a63f78b9e3fa5036838bbbb7c5dbb9456ae315ebae965d4768f0c825dcc1020 SHA512 a5885e219687f0804e3ab7e9c44f4771de6b98154e4301456e9cdb70dbf347afc39f2bcb38151af808b6e968a21afe9622785f308ad19df768c4f9c22c7ec381 +DIST thunderbird-115.15.0-ka.xpi 825497 BLAKE2B 5f8c516c60fdb2b292601802ec5d357935f1832a665bea812bd386f7d3effde9ba6f691b5c51c2f93a1be1a4c93e321ea67a4aeaa48ae296a6e703814d668648 SHA512 f9f459731a98d872a72092d104ccd43207bdde060b44f21ddecee773bbe521ebd863290391664e56ae3f3f5e9f304ee0b4742d05cd176f192c2c4f9f5b12036f +DIST thunderbird-115.15.0-kab.xpi 757769 BLAKE2B 85769ea8ee24d0385be470b57ad37d8a1136489a199c30b0e1ed89fe150459032bc7d319ce44bfab8678186bb4350527dd6b629bf5da186da7553bff50d499b3 SHA512 d5369ccdade4f1f67c613a4a9ce89ba54b880a09432ff8c129d15c84392f5a55244845104c848bc45508094104a5f42f46e90c75c16913764d5a997084bb0722 +DIST thunderbird-115.15.0-kk.xpi 890201 BLAKE2B 875bf941500c677ecd5ef8a68a0a18de80296964d8994dacab0daab04e7d54a4b593cecf5d2372c1b94482685e3bffc1af8e3a216261114a1f3ae2a59c217eaf SHA512 e79f808d2fc4cb9d3732e5b9850074dda396e843388c22d305f6dc98ffa05030c08223b5b7bfe7666fb3e51959a81ff673938a0049a8fe47c0d63ec2357d1f28 +DIST thunderbird-115.15.0-ko.xpi 784810 BLAKE2B 349edb1a57558d020c840afd7f1c97985c7f3d73db499df888f8b4bbe5c3526e9f8d888016cc5200b0b05a5ad3a0ca3c5f21112ebe1e2f33ffad63ff7d227a69 SHA512 4b295c31d2d25b0a8660ba8fa2450f5777b4e8281fff7bec7b9acb95c55bbe3bef07fc1634d04b8675177e02cae82a632431bb873197535c4ec24e77e2cbbebe +DIST thunderbird-115.15.0-lt.xpi 725498 BLAKE2B af4d7b8fdda2ebf20604dbade0595762a3d62969d856c118fec85ace2a78e6599e6076ece85d77fd59f253ab820e7615a1bc39aa990d958908c4d3dc93d98aa2 SHA512 2a846f8cbf2598938af8b07014e30d0d961bbe39d28fafb9f936aaf0a366e0b711faf24d833dede396a85cc8dbe35251c1faabd604699a19fd04dde68cbe4e64 +DIST thunderbird-115.15.0-lv.xpi 646853 BLAKE2B 2adbc3c14e4d7ec694fc60afcaec80f983ad9f023c8aba7df95275e1b01c56c5dfd9784d30f249f3b548477a661555ac531bbf6cf621338f48f47a4f076726ff SHA512 259980f5d19380eda199c9f6a2143a4ae2297462ace0f87bc9eac51016b6646724f0376ab8fdf9027acc619f4053cc8aa4efc59abf5f5480e62b6a3fb3bde677 +DIST thunderbird-115.15.0-ms.xpi 604574 BLAKE2B aa33ebc053162adb395e53ee6c0d24da671afec78019a045cd0f9eac8a705eb0de36fd41ffe979110fda95d9d72d286700452cfe7d60de63b13991d60a3f2886 SHA512 a337100b2e2af801915fdc3d3ae8657d02b3d0b79e628fbdcf765d61836fd16578d3184c0fc86ef54e701810165502e4b2cb3643e91cdc48e53653e053bf2907 +DIST thunderbird-115.15.0-nb-NO.xpi 731332 BLAKE2B 6a4006aee252df55b1650e49479ec2fd20439734b54d6a8d8e9e9d92b0e3527f010a9bf8d9176413b512dd3c596ac707e06cde41c93c73184218346091fc0011 SHA512 132ac5c6b51aa54db8a99bcfac53f26029e1f9366fe70cd3ed92bdb16817dce601c8580f9c4d3ec072d16bee86b7b882674af5da0a1ea721601c45e70710480e +DIST thunderbird-115.15.0-nl.xpi 772932 BLAKE2B 3835c5f8f1e0e5c83241620f8f5e93991b2a864416f80042396c40f7071542bce055e2cb16a3619384253afb1cbb35a133d906fc34d45bded51950952229fed4 SHA512 e8efa8aad313a8b0b737932de74259193313eb2dca9d43c17006d50c9106025b3f87cb0fbffa54016d0deab1c2122f19e855a19e89935328bab4c365739faa77 +DIST thunderbird-115.15.0-nn-NO.xpi 751328 BLAKE2B 23c0990e0008d669260ff983ad2b0c791b9ffc72666f3fd7a783cf9e3515151b714b39a94956349a24bf5b2fecdd108a830164359cc4b78272e22c56b33c6695 SHA512 6c4b0b49a52fe991cda6999a306f5455f3a0b50304aa5f976d204cbd0ace3f43cf035d7ddbb5573e95ad49a7405fc73d364c05e98fdfe9d3d79fcf4f5c2162ef +DIST thunderbird-115.15.0-pa-IN.xpi 707741 BLAKE2B 1040a214ea3bd23bc1786b9c2283ce300fc2d1d0f1511a579139fe4fbc3eea252f08a9f1f25b797087b7156ad5a761843e3f65f46e7e1a237c4387846d4facd9 SHA512 b795f4b25f93532af62b533c018800786d6bc2516be74922ed4703309637133bdb44f328682c89a44f58b04b56bb906426114c1a9f3c1ab9aa0f4554057eeeaa +DIST thunderbird-115.15.0-pl.xpi 793040 BLAKE2B 213e59d3a9086dcb455fcb0768d38bba682b289bc8c253ef6dcd701896506bd80867842ad364ce2b712eb2b740358cf973e8a46f6cc2e2865df448e296099984 SHA512 34b1fcf5337fc9dab9040f0344786d4945c2a2172979456920e7399fbde033218f8122f17991915b04c95e194643e339e7cb0e983aa540093553f21a243b3dc1 +DIST thunderbird-115.15.0-pt-BR.xpi 780411 BLAKE2B 686e3b1c93e30d353a64ebce552b9d6f019e8207b74d3989dc7bd5499ea213db8369cbc17c7d9b5edef4d363ff35e440cf560c818812aff8066d2e65ab273c76 SHA512 b0abc305d52bdd83a445122b3e7a5083ee893450f03359aed7f3ad1369a80f5a28d209a3bd417d42601bc0b8ae91ea8b7755946b47bd59f1a381d3df0e60ba38 +DIST thunderbird-115.15.0-pt-PT.xpi 775799 BLAKE2B 70418fff74d67ae80da5724d5a665dc75f0b1590ee0c58145a8f406decb7bf34c75df981c07d178c57ff8cf253251ee10c753d7c18b389dc3339dec3cd398daf SHA512 179e73c6c30b1d6fa5a2d45bfdcba08906a12a9754ef4c3dc22e0a21d3b055a7ecc1dbee9831b93a04d237e33a6870a8b8a3f640b5c4dc653a67dd5b445a95ac +DIST thunderbird-115.15.0-rm.xpi 776803 BLAKE2B 7a2e9e81d4f87a5779ac0d9698317d228f019d912c37e6125c94c1ce8ac38b6b3658b3f8625ca36ee44b4593d5e1746ffeb1a0142a1009c367fda5f66e8ddefc SHA512 2139d1c10b42f4a414e616abb5c9d91660cc282f92e70027701ef7daf8959d1e0353631494f580298b07124c902d40b8b6867f99f126f85a82ef0f23e6d6aed4 +DIST thunderbird-115.15.0-ro.xpi 693502 BLAKE2B 4d441b79b5d3afa525a040df641b9dc1116bd137902e36c3bcb09959ee09594b36780806e67343970fa42c5e952b35dc62b5fa8f0621825330feb59f2ff2f53d SHA512 d2ee3bc13614c71d9b16e42cba267ae80336bf978d01ebd6ed9453c2be0d6a0f5adc8fad482e835879cb9d534aa38ab5b80cd59a422a3ea4b7ca39f37443f9c4 +DIST thunderbird-115.15.0-ru.xpi 905766 BLAKE2B 50f214ef41bd3e0e57ac751e1b71244a5cebd67dcff870dea3dddd3e28aec34ba0ea3b9849d92adf68ac3d54d2ab2ee5e0f11dcba9a6ab977f06c6d5cd2a9354 SHA512 140129a13dd4cb81f8cd5643eefa97ceb4674e154774feaeb6679189cc0df0ba9f060aa6a8907454d0459c5d6cee165a59244eb02f50f2a385bb903be9e3594d +DIST thunderbird-115.15.0-sk.xpi 813473 BLAKE2B 7af3e872a0b6690c8c4d0b36547a2c5f7b362c5f2744cec974050151c6a7fe9a56a46703cd7573573f083d1561faf23e4aac694388f708eb1f3e5a7569a6dc4c SHA512 4a1eab644776f7549764922c59616f96d91bcc29e4ede3c4bd3562a3c10a4b75145923ebee9226bc8849e1b0818fc5d42ac9a9f357abf2b15da1e688a677ee92 +DIST thunderbird-115.15.0-sl.xpi 771130 BLAKE2B d768a1b4906e32b65551bb48fe701c23cd007aae6e49126af1296e276471fe3dddf27b17f4363dbc285068325fed2bc7375e8bd2f4387065551f9d0ee048f8a4 SHA512 ff6f2cd3f2aa92ba975baec8afa1283104be6b80b1f3f2b845abea03a4f66c9b3532342e26b11b79d3a5cb750443e3237df16285d1c1a3f66ed8e7bbe960203c +DIST thunderbird-115.15.0-sq.xpi 795877 BLAKE2B 9e88bfdb0d87977980ca28a04404e0c3f417428e363e768ac7e48edae93a45bf65ffa7c1ce29ef311f569943b2fdfc51b1aad11e8e2736ec7aa73e1062cef2fa SHA512 10f976e4e27f684b250e000ed867a16488d049580c0d386dcabc4ef69b79ae92a2e245f398d8cdf518c78b44b6d0630247d47c0b241901570eda5e2f754023b9 +DIST thunderbird-115.15.0-sr.xpi 794778 BLAKE2B b66b90e413c840acbb4696f2f9dda861df7d3cdf945eb1a7428b9af7da446bf12de1f082950d6e9361d21462c9bb3841de2ed61111ca18d377a7f76566d8b0b6 SHA512 47f7dff1d25d51d55c067d4eb75e74d67291f555c6bed5e19dcc733cfc6f4558497b1ac3b5b72c36527da43f1475ddf51d0b8e53b235bb3fdbd963f7b6edae10 +DIST thunderbird-115.15.0-sv-SE.xpi 776291 BLAKE2B 09015a65c11e3ab8a8ba9973420d27eada85607d074bc752b98b0be68c70093f70a1bdd8b64e1a6fb68ba5f9611f68027920777f8e55380de5e7ca5e36b54beb SHA512 8a095c742b58736121f4bbb76b69118d0871fbad1c69df51663726e58e07f8781bccf59ce12364e847e2c132809555a997a92a4a77751b2e257cf5bea16a4082 +DIST thunderbird-115.15.0-th.xpi 843556 BLAKE2B b2b860fa51391c7dc0a3d2eac5b49ee72850c177ea776a60af32824f0fdcf310b98db773e46d32fd7a25d73caec36837c09afa5daf615eaa400f3d907588da94 SHA512 ecae3e36c620d9b9481add385f2ca5b7315e5d053e98dddc1be0d3c290c52e1c0527f69427261845e04b7b2b8772e4420daab6507dc577888419e3cffb186383 +DIST thunderbird-115.15.0-tr.xpi 786494 BLAKE2B 619245907e2f1ea6e9fad1950507b1f8036358192fc406900fc1398dceb323d909b9ec8ac13d782f2ca307fa86d75338787e7509bee051a1dc40fb2ee48596c9 SHA512 8b926b9fd9f34d3da683792bd31d9b13178fbf48992889b28b2ffacd729290b33742bf61b7545c5f5688bfc1e40112c71227c29d8951fbe065fa755c9b5356f1 +DIST thunderbird-115.15.0-uk.xpi 889489 BLAKE2B 8026e53271436a08be86590ee532f558c2deb0383b1c6c17537dd6962d0441eae7f63ccf3f8d0bef26982c70dde01a9b5551cd6a3204f8f852f5ccaf9f38fb80 SHA512 eecbe3d98f5d2c42384031a6bd74aca52b281be25a38a990063153447354ba1500864a775f56e9b8b2e0c8164bdf1408cabb36c79b2fc0ab9fed6db2511a80ff +DIST thunderbird-115.15.0-uz.xpi 616842 BLAKE2B e91646bc269836c830f0515a82ce0edb81ae1574c4367b967531f6b53e133143553cfd94884dabbdcd6973cc1a69a3ce90de5a5f189f7bd05a707a311c97247c SHA512 27ce21fa8bd28b5a2357bf025aa45dc7238f7d965797d7911f567c8c5404d8f4597fea77c4ef2a250bb37cc3eb888578b2589430393e0155d01cc61a9889c035 +DIST thunderbird-115.15.0-vi.xpi 815663 BLAKE2B 7cf6b7a580bedbcdb8d1d6ce969ed6a475db3301e1ed72f50ca0be7672c5932af64cc44346a4011694edfb17c4d2a461604be23140285756061f7a97588a8bb2 SHA512 29502cfa4e379d46603f3aae3dcc4f6f1d3371f69a821dec466f5febee8cd9fb80dc68de65198290d84b2ccb4ca333d85a1e9bcdeb8ccea6a19ca8961a2dc9d6 +DIST thunderbird-115.15.0-zh-CN.xpi 816082 BLAKE2B 6327323e3cb30dbed637dbd82175ba0f1eb68c6b228c735db585a8050358739bffcc2ed3d0f86b84a0f5dfed16cab9d4b4bd1882459903fc5741dc2ea63c5a31 SHA512 9861cac106263f3928a0cfc70f4760f35053a8dd4c207ed788922328fff5d297ddc9c81768d461fd04b0b3266ce1150022eb73405c3fa5876f9c479fc7655b10 +DIST thunderbird-115.15.0-zh-TW.xpi 819843 BLAKE2B 1f5854be3f2cdd4f680b0d649d6ee144f0d2ffc0cfaff094ad2f569a7c3a3245c8c460309b352de87e884e484486d9c3b84cbe56b07408706580528b9f65402f SHA512 3e7fffbdbe5b4435a29a420496e341a9b9d04568cfb46e0f73a8bbff4640d85266d105ca39789261db80e44834e7813a62723f5f3d190fbe585c293cfe03f39d +DIST thunderbird-115.15.0.source.tar.xz 534455612 BLAKE2B b77bb2a6c1334fba8638b299c91ab71e7753819538aee005afaf4554db8a91838daf88a670f6b108d7a33dee1a0fe57b9d0c9aca724a471801e858043a5d3b45 SHA512 b161b99e09b6d1ba833f77264e35034ad199438b4fc88d244a6b68c84693fa2e90fbab60dafb827a2e23b37c484f9843a58751d93826ba7cdd0391114d253de2 DIST thunderbird-128.1.0-af.xpi 530022 BLAKE2B 741b3613ff2d6478d241bc4a2498827f4ab3915ef8378ac60a360aedb90b761ce14142ea3e2126d56275c97d47744325d8b2085b40dcb174bb320d791b7c1b22 SHA512 80cf8a2a84d4334100af3c010497a3b3f6a1ecee0646193f1534dad84de96c6aa331a18172ecc4da7428b4c4881d0a46169ce8893b90845e680bb9eb5fd0e476 DIST thunderbird-128.1.0-ar.xpi 679531 BLAKE2B 545379463b938a57ba4de7f08f3df356e0e7b74621542d74fc40a2da84d127fe00785561f7fec446a434bc29ec3ecb04965cde58eba684f52bc3d4f189f34139 SHA512 89bbb69670c0db83053c7bdbc6ef8590c01805b487f8cb40d5139e2973aacce9e8277d20a779ba372dd29453f7717bd7cc27640873d56961b9d3321d1ad7970c DIST thunderbird-128.1.0-ast.xpi 560727 BLAKE2B 75de626cbe945a7e1d86aa1a5ba7ede2009f9c437ce46d605b159a6e84e84d600215f537c94e28e825b82ae237d55fbe3afa1e60316859a4ee55e572adbf69d6 SHA512 db71edb6381fafb026dd28dc48ee3e9ace6f714bc1063ac75a283bf42b545e61547ce8f52f6427d656a3533b6d250122ae3ae21e856f96a61fa1539d0fc3d0b8 diff --git a/mail-client/thunderbird/thunderbird-115.15.0.ebuild b/mail-client/thunderbird/thunderbird-115.15.0.ebuild new file mode 100644 index 0000000000000..842dd4ecf6630 --- /dev/null +++ b/mail-client/thunderbird/thunderbird-115.15.0.ebuild @@ -0,0 +1,1363 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-115esr-patches-13.tar.xz" + +LLVM_MAX_SLOT=18 + +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="ncurses,sqlite,ssl" + +WANT_AUTOCONF="2.1" + +VIRTUALX_REQUIRED="manual" + +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 linux-info \ + llvm multiprocessing optfeature 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/~juippis/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="Thunderbird Mail Client" +HOMEPAGE="https://www.thunderbird.net/" + +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +SLOT="0" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" + +IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel" +IUSE+=" jack libproxy lto +openh264 pgo pulseaudio sndio selinux" +IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp" +IUSE+=" wayland wifi +X" + +# Thunderbird-only USE flags. +IUSE+=" +system-librnp" + +REQUIRED_USE="|| ( X wayland ) + debug? ( !system-av1 ) + pgo? ( lto ) + wifi? ( dbus )" + +TB_ONLY_DEPEND="!=dev-util/librnp-0.17.1 )" +BDEPEND="${PYTHON_DEPS} + || ( + ( + sys-devel/clang:18 + sys-devel/llvm:18 + clang? ( + sys-devel/lld:18 + virtual/rust:0/llvm-18 + pgo? ( =sys-libs/compiler-rt-sanitizers-18*[profile] ) + ) + ) + ( + sys-devel/clang:17 + sys-devel/llvm:17 + clang? ( + sys-devel/lld:17 + virtual/rust:0/llvm-17 + pgo? ( =sys-libs/compiler-rt-sanitizers-17*[profile] ) + ) + ) + ( + sys-devel/clang:16 + sys-devel/llvm:16 + clang? ( + sys-devel/lld:16 + virtual/rust:0/llvm-16 + pgo? ( =sys-libs/compiler-rt-sanitizers-16*[profile] ) + ) + ) + ( + sys-devel/clang:15 + sys-devel/llvm:15 + clang? ( + sys-devel/lld:15 + virtual/rust:0/llvm-15 + pgo? ( =sys-libs/compiler-rt-sanitizers-15*[profile] ) + ) + ) + ) + app-alternatives/awk + app-arch/unzip + app-arch/zip + >=dev-util/cbindgen-0.24.3 + net-libs/nodejs + virtual/pkgconfig + !clang? ( virtual/rust ) + !elibc_glibc? ( + || ( + dev-lang/rust + =dev-lang/nasm-2.14 ) + x86? ( >=dev-lang/nasm-2.14 ) + pgo? ( + X? ( + sys-devel/gettext + x11-base/xorg-server[xvfb] + x11-apps/xhost + ) + wayland? ( + || ( + gui-wm/tinywl + &2 + return 1 + fi + + if use clang && ! tc-ld-is-mold ; then + if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then + einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then + einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use pgo ; then + if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then + einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + fi + + einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2 +} + +MOZ_LANGS=( + af ar ast be bg br ca cak cs cy da de dsb + el en-CA en-GB en-US es-AR es-ES es-MX et eu + fi fr fy-NL ga-IE gd gl he hr hsb hu + id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO + pa-IN pl pt-BR pt-PT rm ro ru + sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW +) + +mozilla_set_globals() { + # https://bugs.gentoo.org/587334 + local MOZ_TOO_REGIONALIZED_FOR_L10N=( + fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE + ) + + local lang xflag + for lang in "${MOZ_LANGS[@]}" ; do + # en and en_US are handled internally + if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then + continue + fi + + # strip region subtag if $lang is in the list + if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then + xflag=${lang%%-*} + else + xflag=${lang} + fi + + SRC_URI+=" l10n_${xflag/[_@]/-}? (" + SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi" + SRC_URI+=" )" + IUSE+=" l10n_${xflag/[_@]/-}" + done +} +mozilla_set_globals + +moz_clear_vendor_checksums() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -ne 1 ]] ; then + die "${FUNCNAME} requires exact one argument" + fi + + einfo "Clearing cargo checksums for ${1} ..." + + sed -i \ + -e 's/\("files":{\)[^}]*/\1/' \ + "${S}"/third_party/rust/${1}/.cargo-checksum.json \ + || die +} + +moz_install_xpi() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local DESTDIR=${1} + shift + + insinto "${DESTDIR}" + + local emid xpi_file xpi_tmp_dir + for xpi_file in "${@}" ; do + emid= + xpi_tmp_dir=$(mktemp -d --tmpdir="${T}") + + # Unpack XPI + unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die + + # Determine extension ID + if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then + emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf") + [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf" + elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then + emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json") + [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json" + else + die "failed to determine extension id" + fi + + einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..." + newins "${xpi_file}" "${emid}.xpi" + done +} + +mozconfig_add_options_ac() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_add_options_mk() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_use_enable() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_enable "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +mozconfig_use_with() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_with "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +# This is a straight copypaste from toolchain-funcs.eclass's 'tc-ld-is-lld', and is temporarily +# placed here until toolchain-funcs.eclass gets an official support for mold linker. +# Please see: +# https://github.com/gentoo/gentoo/pull/28366 || +# https://github.com/gentoo/gentoo/pull/28355 +tc-ld-is-mold() { + local out + + # Ensure ld output is in English. + local -x LC_ALL=C + + # First check the linker directly. + out=$($(tc-getLD "$@") --version 2>&1) + if [[ ${out} == *"mold"* ]] ; then + return 0 + fi + + # Then see if they're selecting mold via compiler flags. + # Note: We're assuming they're using LDFLAGS to hold the + # options and not CFLAGS/CXXFLAGS. + local base="${T}/test-tc-linker" + cat <<-EOF > "${base}.c" + int main() { return 0; } + EOF + out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version "${base}.c" -o "${base}" 2>&1) + rm -f "${base}"* + if [[ ${out} == *"mold"* ]] ; then + return 0 + fi + + # No mold here! + return 1 +} + +virtwl() { + debug-print-function ${FUNCNAME} "$@" + + [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument" + [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset" + tinywl -h >/dev/null || die 'tinywl -h failed' + + # TODO: don't run addpredict in utility function. WLR_RENDERER=pixman doesn't work + addpredict /dev/dri + local VIRTWL VIRTWL_PID + coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; } + local -x WAYLAND_DISPLAY + read WAYLAND_DISPLAY <&${VIRTWL[0]} + + debug-print "${FUNCNAME}: $@" + "$@" + local r=$? + + [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly" + exec {VIRTWL[0]}<&- {VIRTWL[1]}>&- + return $r +} + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has usersandbox $FEATURES ; then + die "You must enable usersandbox as X server can not run as root!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6600M" + fi + + check-reqs_pkg_pretend + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has userpriv ${FEATURES} ; then + eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6400M" + fi + + check-reqs_pkg_setup + + llvm_pkg_setup + + if use clang && use lto && tc-ld-is-lld ; then + local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }') + [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}") + [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!" + + local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }') + [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}") + [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!" + + if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then + eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}." + eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:" + eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version" + eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version" + eerror " - Build ${CATEGORY}/${PN} without USE=lto" + eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole " + eerror " llvm/clang/lld/rust chain depending on your @world updates)" + die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!" + fi + fi + + python-any-r1_pkg_setup + + # Avoid PGO profiling problems due to enviroment leakage + # These should *always* be cleaned up anyway + unset \ + DBUS_SESSION_BUS_ADDRESS \ + DISPLAY \ + ORBIT_SOCKETDIR \ + SESSION_MANAGER \ + XAUTHORITY \ + XDG_CACHE_HOME \ + XDG_SESSION_COOKIE + + # Build system is using /proc/self/oom_score_adj, bug #604394 + addpredict /proc/self/oom_score_adj + + if use pgo ; then + # Update 105.0: "/proc/self/oom_score_adj" isn't enough anymore with pgo, but not sure + # whether that's due to better OOM handling by Firefox (bmo#1771712), or portage + # (PORTAGE_SCHEDULING_POLICY) update... + addpredict /proc + + # May need a wider addpredict when using wayland+pgo. + addpredict /dev/dri + + # Allow access to GPU during PGO run + local ati_cards mesa_cards nvidia_cards render_cards + shopt -s nullglob + + ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') + if [[ -n "${ati_cards}" ]] ; then + addpredict "${ati_cards}" + fi + + mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') + if [[ -n "${mesa_cards}" ]] ; then + addpredict "${mesa_cards}" + fi + + nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g') + if [[ -n "${nvidia_cards}" ]] ; then + addpredict "${nvidia_cards}" + fi + + render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g') + if [[ -n "${render_cards}" ]] ; then + addpredict "${render_cards}" + fi + + shopt -u nullglob + fi + + if ! mountpoint -q /dev/shm ; then + # If /dev/shm is not available, configure is known to fail with + # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py + ewarn "/dev/shm is not mounted -- expect build failures!" + fi + + # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then + MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc" + fi + + if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then + MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ" + fi + + # Mozilla API keys (see https://location.services.mozilla.com/api) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then + MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005" + fi + + # Ensure we use C locale when building, bug #746215 + export LC_ALL=C + fi +} + +src_unpack() { + local _lp_dir="${WORKDIR}/language_packs" + local _src_file + + if [[ ! -d "${_lp_dir}" ]] ; then + mkdir "${_lp_dir}" || die + fi + + for _src_file in ${A} ; do + if [[ ${_src_file} == *.xpi ]]; then + cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!" + else + unpack ${_src_file} + fi + done +} + +src_prepare() { + if use lto; then + rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die + fi + + if ! use ppc64; then + rm -v "${WORKDIR}"/firefox-patches/*ppc64*.patch || die + fi + + if use x86 && use elibc_glibc ; then + rm -v "${WORKDIR}"/firefox-patches/*-musl-non-lfs64-api-on-audio_thread_priority-crate.patch || die + fi + + # Workaround for bgo#917599 + if has_version ">=dev-libs/icu-74.1" && use system-icu ; then + eapply "${WORKDIR}"/firefox-patches/0029-bmo-1862601-system-icu-74.patch + fi + rm -v "${WORKDIR}"/firefox-patches/0029-bmo-1862601-system-icu-74.patch || die + + # Workaround for bgo#915651 on musl + if use elibc_glibc ; then + rm -v "${WORKDIR}"/firefox-patches/*bgo-748849-RUST_TARGET_override.patch || die + fi + + eapply "${WORKDIR}/firefox-patches" + + # Allow user to apply any additional patches without modifing ebuild + eapply_user + + # Make cargo respect MAKEOPTS + export CARGO_BUILD_JOBS="$(makeopts_jobs)" + + # Workaround for bgo#915651 + if ! use elibc_glibc ; then + if use amd64 ; then + export RUST_TARGET="x86_64-unknown-linux-musl" + elif use x86 ; then + export RUST_TARGET="i686-unknown-linux-musl" + else + die "Unknown musl chost, please post your rustc -vV along with emerge --info on Gentoo's bug #915651" + fi + fi + + # Make LTO respect MAKEOPTS + sed -i \ + -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/build/moz.configure/lto-pgo.configure \ + || die "sed failed to set num_cores" + + # Make ICU respect MAKEOPTS + sed -i \ + -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/intl/icu_sources_data.py \ + || die "sed failed to set num_cores" + + # sed-in toolchain prefix + sed -i \ + -e "s/objdump/${CHOST}-objdump/" \ + "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \ + || die "sed failed to set toolchain prefix" + + sed -i \ + -e 's/ccache_stats = None/return None/' \ + "${S}"/python/mozbuild/mozbuild/controller/building.py \ + || die "sed failed to disable ccache stats call" + + einfo "Removing pre-built binaries ..." + + find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die + + # Clear cargo checksums from crates we have patched + # moz_clear_vendor_checksums crate + moz_clear_vendor_checksums audio_thread_priority + moz_clear_vendor_checksums bindgen + moz_clear_vendor_checksums encoding_rs + moz_clear_vendor_checksums any_all_workaround + moz_clear_vendor_checksums packed_simd + + # Create build dir + BUILD_DIR="${WORKDIR}/${PN}_build" + mkdir -p "${BUILD_DIR}" || die + + # Write API keys to disk + echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die + echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die + echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die + + xdg_environment_reset +} + +src_configure() { + # Show flags set at the beginning + einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + local have_switched_compiler= + if use clang; then + # Force clang + einfo "Enforcing the use of clang due to USE=clang ..." + + local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }') + [[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}") + [[ -z ${version_clang} ]] && die "Failed to read clang version!" + + if tc-is-gcc; then + have_switched_compiler=yes + fi + AR=llvm-ar + CC=${CHOST}-clang-${version_clang} + CXX=${CHOST}-clang++-${version_clang} + NM=llvm-nm + RANLIB=llvm-ranlib + elif ! use clang && ! tc-is-gcc ; then + # Force gcc + have_switched_compiler=yes + einfo "Enforcing the use of gcc due to USE=-clang ..." + AR=gcc-ar + CC=${CHOST}-gcc + CXX=${CHOST}-g++ + NM=gcc-nm + RANLIB=gcc-ranlib + fi + + if [[ -n "${have_switched_compiler}" ]] ; then + # Because we switched active compiler we have to ensure + # that no unsupported flags are set + strip-unsupported-flags + fi + + # Ensure we use correct toolchain, + # AS is used in a non-standard way by upstream, #bmo1654031 + export HOST_CC="$(tc-getBUILD_CC)" + export HOST_CXX="$(tc-getBUILD_CXX)" + export AS="$(tc-getCC) -c" + tc-export CC CXX LD AR AS NM OBJDUMP RANLIB PKG_CONFIG + + # Pass the correct toolchain paths through cbindgen + if tc-is-cross-compiler ; then + export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}" + fi + + # Set MOZILLA_FIVE_HOME + export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # python/mach/mach/mixin/process.py fails to detect SHELL + export SHELL="${EPREFIX}/bin/bash" + + # Set state path + export MOZBUILD_STATE_PATH="${BUILD_DIR}" + + # Set MOZCONFIG + export MOZCONFIG="${S}/.mozconfig" + + # Initialize MOZCONFIG + mozconfig_add_options_ac '' --enable-application=comm/mail + mozconfig_add_options_ac '' --enable-project=comm/mail + + # Set Gentoo defaults + mozconfig_add_options_ac 'Gentoo default' \ + --allow-addon-sideload \ + --disable-cargo-incremental \ + --disable-crashreporter \ + --disable-gpsd \ + --disable-install-strip \ + --disable-parental-controls \ + --disable-strip \ + --disable-tests \ + --disable-updater \ + --disable-wmf \ + --enable-js-shell \ + --enable-legacy-profile-creation \ + --enable-negotiateauth \ + --enable-new-pass-manager \ + --enable-official-branding \ + --enable-release \ + --enable-system-ffi \ + --enable-system-pixman \ + --enable-system-policies \ + --host="${CBUILD:-${CHOST}}" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --prefix="${EPREFIX}/usr" \ + --target="${CHOST}" \ + --without-ccache \ + --without-wasm-sandboxed-libraries \ + --with-intl-api \ + --with-libclang-path="$(llvm-config --libdir)" \ + --with-system-nspr \ + --with-system-nss \ + --with-system-zlib \ + --with-toolchain-prefix="${CHOST}-" \ + --with-unsigned-addon-scopes=app,system \ + --x-includes="${ESYSROOT}/usr/include" \ + --x-libraries="${ESYSROOT}/usr/$(get_libdir)" + + # Set update channel + local update_channel=release + [[ -n ${MOZ_ESR} ]] && update_channel=esr + mozconfig_add_options_ac '' --update-channel=${update_channel} + + if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then + mozconfig_add_options_ac '' --enable-rust-simd + fi + + # For future keywording: This is currently (97.0) only supported on: + # amd64, arm, arm64 & x86. + # Might want to flip the logic around if Firefox is to support more arches. + # bug 833001, bug 903411#c8 + if use ppc64 || use riscv; then + mozconfig_add_options_ac '' --disable-sandbox + else + mozconfig_add_options_ac '' --enable-sandbox + fi + + # Enable JIT on riscv64 explicitly + # Can be removed once upstream enable it by default in the future. + use riscv && mozconfig_add_options_ac 'Enable JIT for RISC-V 64' --enable-jit + + if [[ -s "${S}/api-google.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-safebrowsing-api-keyfile="${S}/api-google.key" + else + einfo "Building without Google API key ..." + fi + + if [[ -s "${S}/api-location.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-location-service-api-keyfile="${S}/api-location.key" + else + einfo "Building without Location API key ..." + fi + + if [[ -s "${S}/api-mozilla.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-mozilla-api-keyfile="${S}/api-mozilla.key" + else + einfo "Building without Mozilla API key ..." + fi + + mozconfig_use_with system-av1 + mozconfig_use_with system-harfbuzz + mozconfig_use_with system-harfbuzz system-graphite2 + mozconfig_use_with system-icu + mozconfig_use_with system-jpeg + mozconfig_use_with system-libevent + mozconfig_use_with system-libvpx + mozconfig_use_with system-png + mozconfig_use_with system-webp + + if use system-librnp; then + mozconfig_add_options_ac "+system-librnp" --enable-compile-environment + mozconfig_use_with system-librnp + else + # This controls the backend of the bundled librnp. Choices are "botan" and "openssl". + # RNP Upstream recommends to use botan. In Gentoo it's preferred to use system-librnp. + mozconfig_add_options_ac "+bundled librnp backend = botan" --with-librnp-backend="botan" + fi + + mozconfig_use_enable dbus + mozconfig_use_enable libproxy + + use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme + + if use hardened ; then + mozconfig_add_options_ac "+hardened" --enable-hardening + append-ldflags "-Wl,-z,relro -Wl,-z,now" + fi + + local myaudiobackends="" + use jack && myaudiobackends+="jack," + use sndio && myaudiobackends+="sndio," + use pulseaudio && myaudiobackends+="pulseaudio," + ! use pulseaudio && myaudiobackends+="alsa," + + mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}" + + mozconfig_use_enable wifi necko-wifi + + if use X && use wayland ; then + mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland + elif ! use X && use wayland ; then + mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland-only + else + mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3 + fi + + if use lto ; then + if use clang ; then + # Upstream only supports lld or mold when using clang. + if tc-ld-is-mold ; then + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld + fi + + mozconfig_add_options_ac '+lto' --enable-lto=cross + + else + # ThinLTO is currently broken, see bmo#1644409. + # mold does not support gcc+lto combination. + mozconfig_add_options_ac '+lto' --enable-lto=full + mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd + fi + + if use pgo ; then + mozconfig_add_options_ac '+pgo' MOZ_PGO=1 + + if use clang ; then + # Used in build/pgo/profileserver.py + export LLVM_PROFDATA="llvm-profdata" + fi + fi + else + # Avoid auto-magic on linker + if use clang ; then + # lld is upstream's default + if tc-ld-is-mold ; then + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld + fi + + else + if tc-ld-is-mold ; then + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "linker is set to bfd due to USE=-clang" --enable-linker=bfd + fi + fi + fi + + # LTO flag was handled via configure + filter-lto + + mozconfig_use_enable debug + if use debug ; then + mozconfig_add_options_ac '+debug' --disable-optimize + mozconfig_add_options_ac '+debug' --enable-real-time-tracing + else + mozconfig_add_options_ac 'Gentoo defaults' --disable-real-time-tracing + + if is-flag '-g*' ; then + if use clang ; then + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') + else + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols + fi + else + mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols + fi + + if is-flag '-O0' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0 + elif is-flag '-O4' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4 + elif is-flag '-O3' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3 + elif is-flag '-O1' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1 + elif is-flag '-Os' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os + else + mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2 + fi + fi + + # Debug flag was handled via configure + filter-flags '-g*' + + # Optimization flag was handled via configure + filter-flags '-O*' + + # Modifications to better support ARM, bug #553364 + if use cpu_flags_arm_neon ; then + mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon + + if ! tc-is-clang ; then + # thumb options aren't supported when using clang, bug 666966 + mozconfig_add_options_ac '+cpu_flags_arm_neon' \ + --with-thumb=yes \ + --with-thumb-interwork=no + fi + fi + + if [[ ${CHOST} == armv*h* ]] ; then + mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard + + if ! use system-libvpx ; then + sed -i \ + -e "s|softfp|hard|" \ + "${S}"/media/libvpx/moz.build \ + || die + fi + fi + + # With profile 23.0 elf-hack=legacy is broken with gcc. + # With Firefox-115esr elf-hack=relr isn't available (only in rapid). + # Solution: Disable build system's elf-hack completely, and add "-z,pack-relative-relocs" + # manually with gcc. + # + # # elf-hack configure option isn't available on ppc64/riscv, #916259, #929244, #930046. + if use ppc64 || use riscv ; then + :; + else + mozconfig_add_options_ac 'elf-hack disabled' --disable-elf-hack + fi + + if use amd64 || use x86 ; then + ! use clang && append-ldflags "-z,pack-relative-relocs" + fi + + # Additional ARCH support + case "${ARCH}" in + arm) + # Reduce the memory requirements for linking + if use clang ; then + # Nothing to do + :; + elif use lto ; then + append-ldflags -Wl,--no-keep-memory + else + append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads + fi + ;; + esac + + if ! use elibc_glibc; then + mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc + fi + + # Allow elfhack to work in combination with unstripped binaries + # when they would normally be larger than 2GiB. + append-ldflags "-Wl,--compress-debug-sections=zlib" + + # Make revdep-rebuild.sh happy; Also required for musl + append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags + + # Pass $MAKEOPTS to build system + export MOZ_MAKE_FLAGS="${MAKEOPTS}" + + # Use system's Python environment + export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach + + if use system-python-libs; then + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="system" + else + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" + fi + + # Disable notification when build system has finished + export MOZ_NOSPAM=1 + + # Portage sets XARGS environment variable to "xargs -r" by default which + # breaks build system's check_prog() function which doesn't support arguments + mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs" + + # Set build dir + mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}" + + # Show flags we will use + einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + # Handle EXTRA_CONF and show summary + local ac opt hash reason + + # Apply EXTRA_ECONF entries to $MOZCONFIG + if [[ -n ${EXTRA_ECONF} ]] ; then + IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!} + for opt in "${ac[@]}"; do + mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--} + done + fi + + echo + echo "==========================================================" + echo "Building ${PF} with the following configuration" + grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do + [[ -z ${hash} || ${hash} == \# ]] \ + || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}" + printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}" + done + echo "==========================================================" + echo + + ./mach configure || die +} + +src_compile() { + local virtx_cmd= + + if tc-ld-is-mold && use lto; then + # increase ulimit with mold+lto, bugs #892641, #907485 + if ! ulimit -n 16384 1>/dev/null 2>&1 ; then + ewarn "Unable to modify ulimits - building with mold+lto might fail due to low ulimit -n resources." + ewarn "Please see bugs #892641 & #907485." + else + ulimit -n 16384 + fi + fi + + if use pgo; then + # Reset and cleanup environment variables used by GNOME/XDG + gnome2_environment_reset + + addpredict /root + + if ! use X; then + virtx_cmd=virtwl + else + virtx_cmd=virtx + fi + fi + + if ! use X; then + local -x GDK_BACKEND=wayland + else + local -x GDK_BACKEND=x11 + fi + + ${virtx_cmd} ./mach build --verbose || die +} + +src_install() { + # xpcshell is getting called during install + pax-mark m \ + "${BUILD_DIR}"/dist/bin/xpcshell \ + "${BUILD_DIR}"/dist/bin/${PN} \ + "${BUILD_DIR}"/dist/bin/plugin-container + + DESTDIR="${D}" ./mach install || die + + # Upstream cannot ship symlink but we can (bmo#658850) + rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die + dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin + + # Don't install llvm-symbolizer from sys-devel/llvm package + if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then + rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die + fi + + # Install policy (currently only used to disable application updates) + insinto "${MOZILLA_FIVE_HOME}/distribution" + newins "${FILESDIR}"/distribution.ini distribution.ini + newins "${FILESDIR}"/disable-auto-update.policy.json policies.json + + # Install system-wide preferences + local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref" + insinto "${PREFS_DIR}" + newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js + + local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js" + + # Set dictionary path to use system hunspell + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref" + pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell"); + EOF + + # Force hwaccel prefs if USE=hwaccel is enabled + if use hwaccel ; then + cat "${FILESDIR}"/gentoo-hwaccel-prefs.js \ + >>"${GENTOO_PREFS}" \ + || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js" + + if use wayland; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs" + pref("gfx.x11-egl.force-enabled", false); + EOF + else + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs" + pref("gfx.x11-egl.force-enabled", true); + EOF + fi + fi + + # 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 icons + local icon_srcdir="${S}/comm/mail/branding/thunderbird" + local icon_symbolic_file="${icon_srcdir}/TB-symbolic.svg" + + insinto /usr/share/icons/hicolor/symbolic/apps + newins "${icon_symbolic_file}" ${PN}-symbolic.svg + + local icon size + for icon in "${icon_srcdir}"/default*.png ; do + size=${icon%.png} + size=${size##*/default} + + if [[ ${size} -eq 48 ]] ; then + newicon "${icon}" ${PN}.png + fi + + newicon -s ${size} "${icon}" ${PN}.png + done + + # Install menu + local app_name="Mozilla ${MOZ_PN^}" + local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop" + local desktop_filename="${PN}.desktop" + local exec_command="${PN}" + local icon="${PN}" + local use_wayland="false" + + if use wayland ; then + use_wayland="true" + fi + + cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die + + sed -i \ + -e "s:@NAME@:${app_name}:" \ + -e "s:@EXEC@:${exec_command}:" \ + -e "s:@ICON@:${icon}:" \ + "${WORKDIR}/${PN}.desktop-template" \ + || die + + newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}" + + rm "${WORKDIR}/${PN}.desktop-template" || die + + # Install wrapper script + [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" + newbin "${FILESDIR}/${PN}-r1.sh" ${PN} + + # Update wrapper + sed -i \ + -e "s:@PREFIX@:${EPREFIX}/usr:" \ + -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \ + -e "s:@APULSELIB_DIR@:${apulselib}:" \ + -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${ED}/usr/bin/${PN}" \ + || die +} + +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 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 + local show_shortcut_information + + if [[ -z "${REPLACING_VERSIONS}" ]] ; then + # New install; Tell user that DoH is disabled by default + show_doh_information=yes + show_shortcut_information=no + else + local replacing_version + for replacing_version in ${REPLACING_VERSIONS} ; do + if ver_test "${replacing_version}" -lt 91.0 ; then + # Tell user that we no longer install a shortcut + # per supported display protocol + show_shortcut_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 + + if [[ -n "${show_shortcut_information}" ]] ; then + elog + elog "Since ${PN}-91.0 we no longer install multiple shortcuts for" + elog "each supported display protocol. Instead we will only install" + elog "one generic Mozilla ${PN^} shortcut." + elog "If you still want to be able to select between running Mozilla ${PN^}" + elog "on X11 or Wayland, you have to re-create these shortcuts on your own." + fi + + # bug 835078 + if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then + ewarn "You have nouveau drivers installed in your system and 'hwaccel' " + ewarn "enabled for Firefox. Nouveau / your GPU might not support the " + ewarn "required EGL, so either disable 'hwaccel' or try the workaround " + ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes." + fi + + optfeature_header "Optional programs for extra features:" + optfeature "desktop notifications" x11-libs/libnotify + optfeature "encrypted chat support" net-libs/libotr + optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas +} From de952745c916c1b1b5bd95346c886ed42eba306f Mon Sep 17 00:00:00 2001 From: Joonas Niilola Date: Mon, 9 Sep 2024 14:26:25 +0300 Subject: [PATCH 11/11] www-client/firefox: move installing gnome search provider files - Introduce new "gnome-shell" use flag to install search provider files for Gnome. It requires adding prefs and I'm not confident it's not going to break when using other DEs/WMs. "gnome-shell" use flag is default-enabled in Gnome profiles, so it should integrate neatly when using Gnome profile. Closes: https://bugs.gentoo.org/939196 Signed-off-by: Joonas Niilola --- www-client/firefox/firefox-128.2.0.ebuild | 32 ++++++++++++++++------- www-client/firefox/firefox-130.0.ebuild | 32 ++++++++++++++++------- www-client/firefox/metadata.xml | 1 + 3 files changed, 47 insertions(+), 18 deletions(-) diff --git a/www-client/firefox/firefox-128.2.0.ebuild b/www-client/firefox/firefox-128.2.0.ebuild index a6327fea1b9cd..1abb459187c92 100644 --- a/www-client/firefox/firefox-128.2.0.ebuild +++ b/www-client/firefox/firefox-128.2.0.ebuild @@ -67,7 +67,7 @@ IUSE+=" pulseaudio selinux sndio +system-av1 +system-harfbuzz +system-icu +syste IUSE+=" +system-libevent +system-libvpx system-png +system-webp +telemetry wayland wifi +X" # Firefox-only IUSE -IUSE+=" +gmp-autoupdate" +IUSE+=" +gmp-autoupdate gnome-shell" REQUIRED_USE="|| ( X wayland ) debug? ( !system-av1 ) @@ -1261,16 +1261,30 @@ src_install() { rm "${WORKDIR}/${PN}.desktop-template" || die - # Install search provider for Gnome - insinto /usr/share/gnome-shell/search-providers/ - doins browser/components/shell/search-provider-files/org.mozilla.firefox.search-provider.ini + if use gnome-shell ; then + # Install search provider for Gnome + insinto /usr/share/gnome-shell/search-providers/ + doins browser/components/shell/search-provider-files/org.mozilla.firefox.search-provider.ini - insinto /usr/share/dbus-1/services/ - doins browser/components/shell/search-provider-files/org.mozilla.firefox.SearchProvider.service + insinto /usr/share/dbus-1/services/ + doins browser/components/shell/search-provider-files/org.mozilla.firefox.SearchProvider.service - sed -e "s/firefox.desktop/${desktop_filename}/g" \ - -i "${ED}/usr/share/gnome-shell/search-providers/org.mozilla.firefox.search-provider.ini" || - die "Failed to sed search-provider file." + # Toggle between rapid and esr desktop file names + sed -e "s/firefox.desktop/${desktop_filename}/g" \ + -i "${ED}/usr/share/gnome-shell/search-providers/org.mozilla.firefox.search-provider.ini" || + die "Failed to sed search-provider file." + + # Make the dbus service aware of a previous session, bgo#939196 + sed -e \ + "s/Exec=\/usr\/bin\/firefox/Exec=\/usr\/$(get_libdir)\/firefox\/firefox --dbus-service \/usr\/bin\/firefox/g" \ + -i "${ED}/usr/share/dbus-1/services/org.mozilla.firefox.SearchProvider.service" || + die "Failed to sed org.mozilla.firefox.SearchProvider.service dbus file" + + # Update prefs to enable Gnome search provider + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to enable gnome-search-provider via prefs" + pref("browser.gnome-search-provider.enabled", true); + EOF + fi # Install wrapper script [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" diff --git a/www-client/firefox/firefox-130.0.ebuild b/www-client/firefox/firefox-130.0.ebuild index 52a69fea3f848..1931b31272705 100644 --- a/www-client/firefox/firefox-130.0.ebuild +++ b/www-client/firefox/firefox-130.0.ebuild @@ -68,7 +68,7 @@ IUSE+=" +system-jpeg +system-libevent +system-libvpx system-png +system-webp +te IUSE+=" wayland wifi +X" # Firefox-only IUSE -IUSE+=" +gmp-autoupdate" +IUSE+=" +gmp-autoupdate gnome-shell" REQUIRED_USE="|| ( X wayland ) debug? ( !system-av1 ) @@ -1272,16 +1272,30 @@ src_install() { rm "${WORKDIR}/${PN}.desktop-template" || die - # Install search provider for Gnome - insinto /usr/share/gnome-shell/search-providers/ - doins browser/components/shell/search-provider-files/org.mozilla.firefox.search-provider.ini + if use gnome-shell ; then + # Install search provider for Gnome + insinto /usr/share/gnome-shell/search-providers/ + doins browser/components/shell/search-provider-files/org.mozilla.firefox.search-provider.ini - insinto /usr/share/dbus-1/services/ - doins browser/components/shell/search-provider-files/org.mozilla.firefox.SearchProvider.service + insinto /usr/share/dbus-1/services/ + doins browser/components/shell/search-provider-files/org.mozilla.firefox.SearchProvider.service - sed -e "s/firefox.desktop/${desktop_filename}/g" \ - -i "${ED}/usr/share/gnome-shell/search-providers/org.mozilla.firefox.search-provider.ini" || - die "Failed to sed search-provider file." + # Toggle between rapid and esr desktop file names + sed -e "s/firefox.desktop/${desktop_filename}/g" \ + -i "${ED}/usr/share/gnome-shell/search-providers/org.mozilla.firefox.search-provider.ini" || + die "Failed to sed org.mozilla.firefox.search-provider.ini file." + + # Make the dbus service aware of a previous session, bgo#939196 + sed -e \ + "s/Exec=\/usr\/bin\/firefox/Exec=\/usr\/$(get_libdir)\/firefox\/firefox --dbus-service \/usr\/bin\/firefox/g" \ + -i "${ED}/usr/share/dbus-1/services/org.mozilla.firefox.SearchProvider.service" || + die "Failed to sed org.mozilla.firefox.SearchProvider.service dbus file" + + # Update prefs to enable Gnome search provider + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to enable gnome-search-provider via prefs" + pref("browser.gnome-search-provider.enabled", true); + EOF + fi # Install wrapper script [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" diff --git a/www-client/firefox/metadata.xml b/www-client/firefox/metadata.xml index b0a1758bd35ae..2e477393e06d1 100644 --- a/www-client/firefox/metadata.xml +++ b/www-client/firefox/metadata.xml @@ -11,6 +11,7 @@ Enable WebDriver support Allow Gecko Media Plugins (binary blobs) to be automatically downloaded and kept up-to-date in user profiles + Integrate with gnome-base/gnome-shell search Force-enable hardware-accelerated rendering (Mozilla bug 594876) Enable unified build - combines source files to speed up build process, but requires more memory Enable libproxy support