Skip to Content.
Sympa Menu

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

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 (0f0fe38d4a669e5b867de494cafe1f832cbb2a23)
  • Date: Mon, 1 Aug 2022 17:58:52 +0000

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

http/firefox/DETAILS
| 2
http/firefox/HISTORY
| 4

http/firefox/patches/0035-bmo-1773336-disable_audio_thread_priority_default_features.patch
| 45 ++++++++
http/firefox/patches/0036-vaapi-fixes.patch
| 18 +++
http/firefox/patches/0037-bgo-860033-firefox-wayland-no-remote.patch
| 55 ++++++++++
5 files changed, 123 insertions(+), 1 deletion(-)

New commits:
commit 0f0fe38d4a669e5b867de494cafe1f832cbb2a23
Author: Pavel Vinogradov <public AT sourcemaage.org>
Commit: Pavel Vinogradov <public AT sourcemaage.org>

http/firefox: version 103.0.1

diff --git a/http/firefox/DETAILS b/http/firefox/DETAILS
index 07241b8..a42cfff 100755
--- a/http/firefox/DETAILS
+++ b/http/firefox/DETAILS
@@ -1,5 +1,5 @@
SPELL=firefox
- VERSION=103.0
+ VERSION=103.0.1
SECURITY_PATCH=166
SOURCE="${SPELL}-${VERSION}.source.tar.xz"

SOURCE_URL[0]="http://releases.mozilla.org/pub/${SPELL}/releases/${VERSION}/source/${SOURCE}";
diff --git a/http/firefox/HISTORY b/http/firefox/HISTORY
index 8647bf9..44dbd9e 100644
--- a/http/firefox/HISTORY
+++ b/http/firefox/HISTORY
@@ -1,3 +1,7 @@
+2022-08-01 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 103.0.1
+ * patches/*: updated
+
2022-07-26 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 103.0, SECURITY_PATCH++
* DEPENDS: nss >= 3.80, tweaked at-spi2-core version condition
diff --git
a/http/firefox/patches/0035-bmo-1773336-disable_audio_thread_priority_default_features.patch

b/http/firefox/patches/0035-bmo-1773336-disable_audio_thread_priority_default_features.patch
new file mode 100644
index 0000000..4f96eae
--- /dev/null
+++
b/http/firefox/patches/0035-bmo-1773336-disable_audio_thread_priority_default_features.patch
@@ -0,0 +1,45 @@
+From 64d822a598f46f9d08a41eab6a7d416a6c54927b Mon Sep 17 00:00:00 2001
+From: Mike Hommey <mh AT glandium.org>
+Date: Wed, 8 Jun 2022 16:03:49 +0900
+Subject: [PATCH] Disable audio_thread_priority default features
+
+with_dbus is supposed to be optional in gecko, but in practice, the
+audio_thread_priority defaults force it on.
+# https://github.com/kinetiknz/audioipc/pull/5/
+---
+ audioipc/Cargo.toml | 1 +
+ client/Cargo.toml | 1 +
+ server/Cargo.toml | 1 +
+ 3 files changed, 3 insertions(+)
+
+diff --git a/third_party/rust/audioipc/Cargo.toml
b/third_party/rust/audioipc/Cargo.toml
+index d69c56d..8a9dd3d 100644
+--- a/third_party/rust/audioipc/Cargo.toml
++++ b/third_party/rust/audioipc/Cargo.toml
+@@ -30,6 +30,7 @@ memmap2 = "0.2"
+
+ [target.'cfg(target_os = "linux")'.dependencies.audio_thread_priority]
+ version = "0.26.1"
++default-features = false
+
+ [target.'cfg(windows)'.dependencies]
+ mio = "0.6.19"
+diff --git a/third_party/rust/audioipc-client/Cargo.toml
b/third_party/rust/audioipc-client/Cargo.toml
+index 3ffb268..5dbf5f6 100644
+--- a/third_party/rust/audioipc-client/Cargo.toml
++++ b/third_party/rust/audioipc-client/Cargo.toml
+@@ -19,3 +19,4 @@ tokio = { version="0.1", default-features=false, features
= ["rt-full"] }
+
+ [dependencies.audio_thread_priority]
+ version = "0.26.1"
++default-features = false
+diff --git a/third_party/rust/audioipc-server/Cargo.toml
b/third_party/rust/audioipc-server/Cargo.toml
+index 2c82fbf..b2b710c 100644
+--- a/third_party/rust/audioipc-server/Cargo.toml
++++ b/third_party/rust/audioipc-server/Cargo.toml
+@@ -24,3 +24,4 @@ default-features = false
+
+ [dependencies.audio_thread_priority]
+ version = "0.26.1"
++default-features = false
+
diff --git a/http/firefox/patches/0036-vaapi-fixes.patch
b/http/firefox/patches/0036-vaapi-fixes.patch
new file mode 100644
index 0000000..6fd0dce
--- /dev/null
+++ b/http/firefox/patches/0036-vaapi-fixes.patch
@@ -0,0 +1,18 @@
+diff -up firefox-102.0/widget/gtk/DMABufLibWrapper.cpp.vaapi
firefox-102.0/widget/gtk/DMABufLibWrapper.cpp
+--- firefox-102.0/widget/gtk/DMABufLibWrapper.cpp.vaapi 2022-07-01
09:49:50.215536872 +0200
++++ firefox-102.0/widget/gtk/DMABufLibWrapper.cpp 2022-07-01
09:50:43.036306610 +0200
+@@ -283,10 +283,11 @@ bool nsDMABufDevice::IsDMABufTexturesEna
+ bool nsDMABufDevice::IsDMABufVAAPIEnabled() {
+ LOGDMABUF(
+ ("nsDMABufDevice::IsDMABufVAAPIEnabled: EGL %d "
+- "media_ffmpeg_vaapi_enabled %d CanUseHardwareVideoDecoding %d "
++ "CanUseHardwareVideoDecoding %d "
+ "XRE_IsRDDProcess %d\n",
+- gfx::gfxVars::UseEGL(), StaticPrefs::media_ffmpeg_vaapi_enabled(),
+- gfx::gfxVars::CanUseHardwareVideoDecoding(), XRE_IsRDDProcess()));
++ gfx::gfxVars::UseEGL(),
++ gfx::gfxVars::CanUseHardwareVideoDecoding(),
++ XRE_IsRDDProcess()));
+ return gfx::gfxVars::UseVAAPI() && XRE_IsRDDProcess() &&
+ gfx::gfxVars::CanUseHardwareVideoDecoding();
+ }
diff --git
a/http/firefox/patches/0037-bgo-860033-firefox-wayland-no-remote.patch
b/http/firefox/patches/0037-bgo-860033-firefox-wayland-no-remote.patch
new file mode 100644
index 0000000..641c68b
--- /dev/null
+++ b/http/firefox/patches/0037-bgo-860033-firefox-wayland-no-remote.patch
@@ -0,0 +1,55 @@
+diff -ru firefox-102.0.1/toolkit/components/remote/moz.build
firefox-102.0.1-x/toolkit/components/remote/moz.build
+--- firefox-102.0.1/toolkit/components/remote/moz.build 2022-07-05
14:21:22.000000000 +0200
++++ firefox-102.0.1-x/toolkit/components/remote/moz.build 2022-07-31
15:35:33.318998511 +0200
+@@ -26,6 +26,13 @@
+ "nsUnixRemoteServer.h",
+ "RemoteUtils.h",
+ ]
++ elif CONFIG["MOZ_WAYLAND"]:
++ # TODO: replace `pass` with source files for an eventual Wayland
implementation
++ # SOURCES += [
++ # "nsWLRemoteServer.cpp",
++ # "nsWLRemoteClient.cpp",
++ # ]
++ pass
+ else:
+ SOURCES += [
+ "nsGTKRemoteServer.cpp",
+diff -ru firefox-102.0.1/toolkit/components/remote/nsRemoteService.cpp
firefox-102.0.1-x/toolkit/components/remote/nsRemoteService.cpp
+--- firefox-102.0.1/toolkit/components/remote/nsRemoteService.cpp
2022-07-05 14:33:20.000000000 +0200
++++ firefox-102.0.1-x/toolkit/components/remote/nsRemoteService.cpp
2022-07-31 15:42:55.109996825 +0200
+@@ -10,6 +10,12 @@
+ # ifdef MOZ_ENABLE_DBUS
+ # include "nsDBusRemoteServer.h"
+ # include "nsDBusRemoteClient.h"
++# elif defined(MOZ_WAYLAND)
++// TODO: replace generic client header include line
++// by relevant inlcudes for a Wayland implementation
++// # include "nsWLRemoteServer.h"
++// # include "nsWLRemoteClient.h"
++# include "nsRemoteClient.h"
+ # else
+ # include "nsGTKRemoteServer.h"
+ # include "nsXRemoteClient.h"
+@@ -95,6 +101,10 @@
+ #ifdef MOZ_WIDGET_GTK
+ # if defined(MOZ_ENABLE_DBUS)
+ client = MakeUnique<nsDBusRemoteClient>();
++# elif defined(MOZ_WAYLAND)
++ // TODO: replace return statement by Wayland client implementation
++ // client = MakeUnique<nsWLRemoteClient>();
++ return REMOTE_NOT_FOUND;
+ # else
+ client = MakeUnique<nsXRemoteClient>();
+ # endif
+@@ -139,6 +149,10 @@
+ #ifdef MOZ_WIDGET_GTK
+ # if defined(MOZ_ENABLE_DBUS)
+ mRemoteServer = MakeUnique<nsDBusRemoteServer>();
++# elif defined(MOZ_WAYLAND)
++ // TODO: replace return statement by Wayland server implementation
++ // mRemoteServer = MakeUnique<nsWLRemoteServer>();
++ return;
+ # else
+ mRemoteServer = MakeUnique<nsGTKRemoteServer>();
+ # endif



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (0f0fe38d4a669e5b867de494cafe1f832cbb2a23), Pavel Vinogradov, 08/01/2022

Archive powered by MHonArc 2.6.24.

Top of Page