public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/
Date: Tue, 20 Jun 2023 21:16:47 +0000 (UTC)	[thread overview]
Message-ID: <1687295780.9aab476a565acfa2270a22c92d1efa129c3f8693.gyakovlev@gentoo> (raw)

commit:     9aab476a565acfa2270a22c92d1efa129c3f8693
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 20 19:31:12 2023 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> 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 <gyakovlev <AT> 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"
 


             reply	other threads:[~2023-06-20 21:16 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-20 21:16 Georgy Yakovlev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-14 12:40 [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/ Joonas Niilola
2022-03-12 18:55 Piotr Karbowski
2022-02-10 17:10 Joonas Niilola
2022-02-09 23:21 Piotr Karbowski
2021-12-17  9:06 Joonas Niilola
2020-10-23  0:53 Thomas Deutschmann
2020-03-30 11:46 Thomas Deutschmann
2020-02-16  3:07 Jory Pratt
2019-12-09 23:52 Jory Pratt
2019-11-08 12:52 Thomas Deutschmann
2018-10-31 21:29 Thomas Deutschmann
2018-10-04 13:50 Thomas Deutschmann
2018-09-28 12:00 Thomas Deutschmann
2018-09-28 11:44 Thomas Deutschmann
2018-09-23  1:31 Thomas Deutschmann
2018-07-08 22:03 Jory Pratt
2018-04-25 10:21 Lars Wendler
2018-01-06  0:39 Ian Stakenvicius
2017-08-08 12:24 Lars Wendler
2017-05-19 19:44 Ian Stakenvicius
2017-01-30  3:02 Jory Pratt
2017-01-08 21:42 Jory Pratt
2015-11-27  0:08 Jory Pratt
2015-10-06 17:21 Ian Stakenvicius

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1687295780.9aab476a565acfa2270a22c92d1efa129c3f8693.gyakovlev@gentoo \
    --to=gyakovlev@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox