Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (a2d5fd5d5861d2d75adffe9db5d881ec35f5962d)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (a2d5fd5d5861d2d75adffe9db5d881ec35f5962d)
  • Date: Thu, 22 Jun 2023 22:51:17 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

http/firefox/HISTORY
| 3

http/firefox/patches/0027-bgo-908297-ppc64-webrtc-missing-conditions-114.patch
| 35 +++++++
http/firefox/patches/0028-bmo-1835829-non-unified-build-skia-fix.patch
| 24 +++++
http/firefox/patches/0029-disable-avx512-from-skia.patch
| 47 +---------
4 files changed, 70 insertions(+), 39 deletions(-)

New commits:
commit a2d5fd5d5861d2d75adffe9db5d881ec35f5962d
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

http/firefox: updated patches for 114

diff --git a/http/firefox/HISTORY b/http/firefox/HISTORY
index 8b4a5c8..47c2f31 100644
--- a/http/firefox/HISTORY
+++ b/http/firefox/HISTORY
@@ -1,3 +1,6 @@
+2023-06-22 Pavel Vinogradov <public AT sourcemage.org>
+ * patches/*: updated
+
2023-06-20 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 114.0.2

diff --git
a/http/firefox/patches/0027-bgo-908297-ppc64-webrtc-missing-conditions-114.patch

b/http/firefox/patches/0027-bgo-908297-ppc64-webrtc-missing-conditions-114.patch
new file mode 100644
index 0000000..14e8c4a
--- /dev/null
+++
b/http/firefox/patches/0027-bgo-908297-ppc64-webrtc-missing-conditions-114.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/http/firefox/patches/0028-bmo-1835829-non-unified-build-skia-fix.patch
b/http/firefox/patches/0028-bmo-1835829-non-unified-build-skia-fix.patch
new file mode 100644
index 0000000..4b86096
--- /dev/null
+++ b/http/firefox/patches/0028-bmo-1835829-non-unified-build-skia-fix.patch
@@ -0,0 +1,24 @@
+diff -Naur a/gfx/skia/generate_mozbuild.py b/gfx/skia/generate_mozbuild.py
+--- a/gfx/skia/generate_mozbuild.py 2023-06-06 13:26:33.188693705 -0000
++++ b/gfx/skia/generate_mozbuild.py 2023-06-06 13:27:25.821463691 -0000
+@@ -61,6 +61,8 @@
+ elif CONFIG['CPU_ARCH'] == 'aarch64' and CONFIG['CC_TYPE'] in ('clang',
'gcc'):
+ SOURCES['skia/src/opts/SkOpts_crc32.cpp'].flags +=
['-march=armv8-a+crc']
+
++DEFINES['MOZ_SKIA'] = True
++
+ DEFINES['SKIA_IMPLEMENTATION'] = 1
+
+ DEFINES['SK_PDF_USE_HARFBUZZ_SUBSETTING'] = 1
+diff -Naur a/gfx/skia/moz.build b/gfx/skia/moz.build
+--- a/gfx/skia/moz.build 2023-06-06 13:26:33.189693720 -0000
++++ b/gfx/skia/moz.build 2023-06-06 13:27:48.805802442 -0000
+@@ -572,6 +572,8 @@
+ elif CONFIG['CPU_ARCH'] == 'aarch64' and CONFIG['CC_TYPE'] in ('clang',
'gcc'):
+ SOURCES['skia/src/opts/SkOpts_crc32.cpp'].flags +=
['-march=armv8-a+crc']
+
++DEFINES['MOZ_SKIA'] = True
++
+ DEFINES['SKIA_IMPLEMENTATION'] = 1
+
+ DEFINES['SK_PDF_USE_HARFBUZZ_SUBSETTING'] = 1
diff --git a/http/firefox/patches/0029-disable-avx512-from-skia.patch
b/http/firefox/patches/0029-disable-avx512-from-skia.patch
index 74331f0..115b85a 100644
--- a/http/firefox/patches/0029-disable-avx512-from-skia.patch
+++ b/http/firefox/patches/0029-disable-avx512-from-skia.patch
@@ -1,22 +1,7 @@
-
-# HG changeset patch
-# User Jason Kratzer <jkratzer AT mozilla.com>
-# Date 1685032345 0
-# Node ID 48788df052ae4d4b77ed4efd94e972d96131b1dd
-# Parent 4971297a8917c4ce5f9136ebb0c82cde74eb50c4
-Bug 1832604 - Disable AVX512 instructions on coverage builds. r=lsalzman
-
-Differential Revision: https://phabricator.services.mozilla.com/D179098
-
-diff --git a/gfx/skia/generate_mozbuild.py b/gfx/skia/generate_mozbuild.py
---- a/gfx/skia/generate_mozbuild.py
-+++ b/gfx/skia/generate_mozbuild.py
-@@ -51,17 +51,18 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'wind
-
- # We should autogenerate these SSE related flags.
-
- if CONFIG['INTEL_ARCHITECTURE']:
- SOURCES['skia/src/opts/SkOpts_ssse3.cpp'].flags += ['-mssse3']
+diff -Naur a/gfx/skia/generate_mozbuild.py b/gfx/skia/generate_mozbuild.py
+--- a/gfx/skia/generate_mozbuild.py 2023-06-06 13:33:58.416408698 -0000
++++ b/gfx/skia/generate_mozbuild.py 2023-06-06 13:35:33.082879776 -0000
+@@ -56,7 +56,8 @@
SOURCES['skia/src/opts/SkOpts_sse42.cpp'].flags += ['-msse4.2']
SOURCES['skia/src/opts/SkOpts_avx.cpp'].flags += ['-mavx']
SOURCES['skia/src/opts/SkOpts_hsw.cpp'].flags += ['-mavx2', '-mf16c',
'-mfma']
@@ -26,20 +11,10 @@ diff --git a/gfx/skia/generate_mozbuild.py
b/gfx/skia/generate_mozbuild.py
elif CONFIG['CPU_ARCH'] == 'aarch64' and CONFIG['CC_TYPE'] in ('clang',
'gcc'):
SOURCES['skia/src/opts/SkOpts_crc32.cpp'].flags +=
['-march=armv8-a+crc']

- DEFINES['SKIA_IMPLEMENTATION'] = 1
-
- DEFINES['SK_PDF_USE_HARFBUZZ_SUBSETTING'] = 1
-
- if CONFIG['MOZ_TREE_FREETYPE']:
-diff --git a/gfx/skia/moz.build b/gfx/skia/moz.build
---- a/gfx/skia/moz.build
-+++ b/gfx/skia/moz.build
-@@ -562,17 +562,18 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'wind
-
- # We should autogenerate these SSE related flags.
-
- if CONFIG['INTEL_ARCHITECTURE']:
- SOURCES['skia/src/opts/SkOpts_ssse3.cpp'].flags += ['-mssse3']
+diff -Naur a/gfx/skia/moz.build b/gfx/skia/moz.build
+--- a/gfx/skia/moz.build 2023-06-06 13:33:58.417408714 -0000
++++ b/gfx/skia/moz.build 2023-06-06 13:36:13.276507433 -0000
+@@ -567,7 +567,8 @@
SOURCES['skia/src/opts/SkOpts_sse42.cpp'].flags += ['-msse4.2']
SOURCES['skia/src/opts/SkOpts_avx.cpp'].flags += ['-mavx']
SOURCES['skia/src/opts/SkOpts_hsw.cpp'].flags += ['-mavx2', '-mf16c',
'-mfma']
@@ -49,9 +24,3 @@ diff --git a/gfx/skia/moz.build b/gfx/skia/moz.build
elif CONFIG['CPU_ARCH'] == 'aarch64' and CONFIG['CC_TYPE'] in ('clang',
'gcc'):
SOURCES['skia/src/opts/SkOpts_crc32.cpp'].flags +=
['-march=armv8-a+crc']

- DEFINES['SKIA_IMPLEMENTATION'] = 1
-
- DEFINES['SK_PDF_USE_HARFBUZZ_SUBSETTING'] = 1
-
- if CONFIG['MOZ_TREE_FREETYPE']:
-



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (a2d5fd5d5861d2d75adffe9db5d881ec35f5962d), Pavel Vinogradov, 06/22/2023

Archive powered by MHonArc 2.6.24.

Top of Page