From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E97DA158009 for ; Tue, 20 Jun 2023 21:16:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF55DE08D3; Tue, 20 Jun 2023 21:16:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D8DECE08D3 for ; Tue, 20 Jun 2023 21:16:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4EC6340FAC for ; Tue, 20 Jun 2023 21:16:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 300DDA87 for ; Tue, 20 Jun 2023 21:16:47 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1687295780.9aab476a565acfa2270a22c92d1efa129c3f8693.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/firefox/files/firefox-114-ppc64-webrtc.patch www-client/firefox/firefox-114.0.ebuild X-VCS-Directories: www-client/firefox/ www-client/firefox/files/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 9aab476a565acfa2270a22c92d1efa129c3f8693 X-VCS-Branch: master Date: Tue, 20 Jun 2023 21:16:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3280828e-7ac4-4796-b6ff-8898a4fad0d5 X-Archives-Hash: 8b3342d68a9088653423bae500d0455e commit: 9aab476a565acfa2270a22c92d1efa129c3f8693 Author: Georgy Yakovlev gentoo org> AuthorDate: Tue Jun 20 19:31:12 2023 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Tue Jun 20 21:16:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aab476a www-client/firefox: fix/keyword 114.0 on ppc64 Bug: https://bugs.gentoo.org/908297 Signed-off-by: Georgy Yakovlev gentoo.org> .../firefox/files/firefox-114-ppc64-webrtc.patch | 35 ++++++++++++++++++++++ www-client/firefox/firefox-114.0.ebuild | 7 ++++- 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/www-client/firefox/files/firefox-114-ppc64-webrtc.patch b/www-client/firefox/files/firefox-114-ppc64-webrtc.patch new file mode 100644 index 000000000000..14e8c4a6baaa --- /dev/null +++ b/www-client/firefox/files/firefox-114-ppc64-webrtc.patch @@ -0,0 +1,35 @@ +#https://www.talospace.com/2023/06/firefox-114-on-power.html +#https://gist.github.com/classilla/95b5dd53627528448f8512a82205672c + +diff -r 954df08c7f0b third_party/libwebrtc/moz.build +--- a/third_party/libwebrtc/moz.build Tue Jun 06 08:55:21 2023 +0000 ++++ b/third_party/libwebrtc/moz.build Mon Jun 19 09:33:12 2023 -0700 +@@ -595,16 +595,28 @@ + "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", + "/third_party/libwebrtc/modules/portal/portal_gn", + "/third_party/libwebrtc/third_party/drm/drm_gn", + "/third_party/libwebrtc/third_party/gbm/gbm_gn", + "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn", + "/third_party/libwebrtc/third_party/pipewire/pipewire_gn" + ] + ++if CONFIG["CPU_ARCH"] == "ppc64" and CONFIG["OS_TARGET"] == "Linux": ++ ++ DIRS += [ ++ "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", ++ "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", ++ "/third_party/libwebrtc/modules/portal/portal_gn", ++ "/third_party/libwebrtc/third_party/drm/drm_gn", ++ "/third_party/libwebrtc/third_party/gbm/gbm_gn", ++ "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn", ++ "/third_party/libwebrtc/third_party/pipewire/pipewire_gn" ++ ] ++ + if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "OpenBSD": + + DIRS += [ + "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", + "/third_party/libwebrtc/common_audio/common_audio_neon_gn" + ] + + if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "OpenBSD": diff --git a/www-client/firefox/firefox-114.0.ebuild b/www-client/firefox/firefox-114.0.ebuild index bdf003b7fd5c..2c6e7a02b3f9 100644 --- a/www-client/firefox/firefox-114.0.ebuild +++ b/www-client/firefox/firefox-114.0.ebuild @@ -647,7 +647,12 @@ src_unpack() { src_prepare() { use lto && rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch - ! use ppc64 && rm -v "${WORKDIR}"/firefox-patches/*bmo-1775202-ppc64*.patch + #! use ppc64 && rm -v "${WORKDIR}"/firefox-patches/*bmo-1775202-ppc64*.patch + + # temp workaround for https://bugs.gentoo.org/908297 until patch added to tarball + rm -v "${WORKDIR}"/firefox-patches/*bmo-1775202-ppc64*.patch + use ppc64 && eapply "${FILESDIR}"/firefox-114-ppc64-webrtc.patch + # end temp workaround eapply "${WORKDIR}/firefox-patches"