sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (89793d04d1d60dc0fbd3438cef78d86f60d315d2)
- From: Pavel Vinogradov <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
- Subject: [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (89793d04d1d60dc0fbd3438cef78d86f60d315d2)
- Date: Mon, 26 May 2025 17:10:06 +0000
GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:
http/firefox/DETAILS
| 4
http/firefox/HISTORY
| 4
http/firefox/patches/0002-bmo-847568-support-system-harfbuzz-graphite2.patch
| 34 ----
http/firefox/patches/0014-gcc-lto-pgo-gentoo.patch
| 24 --
http/firefox/patches/0022-bgo-928126-enable-jxl.patch
| 21 ++
http/firefox/patches/0022-bmo-1790526-check-for-propagated-BrowsingContext-in-SessionStoreParent.patch
| 82 ----------
http/firefox/patches/0023-bgo-928126-enable-jxl.patch
| 10 -
7 files changed, 34 insertions(+), 145 deletions(-)
New commits:
commit 89793d04d1d60dc0fbd3438cef78d86f60d315d2
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
http/firefox: version 139.0, SECURITY_PATCH++
diff --git a/http/firefox/DETAILS b/http/firefox/DETAILS
index 6b889a6..01f393a 100755
--- a/http/firefox/DETAILS
+++ b/http/firefox/DETAILS
@@ -1,6 +1,6 @@
SPELL=firefox
- VERSION=138.0.3
- SECURITY_PATCH=208
+ VERSION=139.0
+ SECURITY_PATCH=209
SOURCE="${SPELL}-${VERSION}.source.tar.xz"
# Watch: http://releases.mozilla.org/pub/firefox/releases/
/releases/([0-9.]+)/
SOURCE_URL[0]="http://releases.mozilla.org/pub/${SPELL}/releases/${VERSION}/source/${SOURCE}"
diff --git a/http/firefox/HISTORY b/http/firefox/HISTORY
index 64984e2..6fb8b93 100644
--- a/http/firefox/HISTORY
+++ b/http/firefox/HISTORY
@@ -1,3 +1,7 @@
+2025-05-26 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 139.0, SECURITY_PATCH++
+ * patches/*: updated
+
2025-05-14 Pavel Vinogradov <public AT sourcemage.org>
* DEPENDS: added optional libjxl
* patches/*: updated
diff --git
a/http/firefox/patches/0002-bmo-847568-support-system-harfbuzz-graphite2.patch
b/http/firefox/patches/0002-bmo-847568-support-system-harfbuzz-graphite2.patch
index 6ca7a18..d24c286 100644
---
a/http/firefox/patches/0002-bmo-847568-support-system-harfbuzz-graphite2.patch
+++
b/http/firefox/patches/0002-bmo-847568-support-system-harfbuzz-graphite2.patch
@@ -170,40 +170,6 @@ index 1bb0430f01aa..0360e0f468c0 100644
# need to include etld_data.inc
LOCAL_INCLUDES += [
"/netwerk/base",
-diff --git a/old-configure.in b/old-configure.in
-index 1af75c496b15..f1c7d7c48d28 100644
---- a/old-configure.in
-+++ b/old-configure.in
-@@ -167,6 +167,27 @@ fi
- AC_DEFINE_UNQUOTED(MOZ_MACBUNDLE_ID,$MOZ_MACBUNDLE_ID)
- AC_SUBST(MOZ_MACBUNDLE_ID)
-
-+dnl ========================================================
-+dnl Check for graphite2
-+dnl ========================================================
-+if test -n "$MOZ_SYSTEM_GRAPHITE2"; then
-+ dnl graphite2.pc has bogus version, check manually
-+ _SAVE_CFLAGS=$CFLAGS
-+ CFLAGS="$CFLAGS $MOZ_GRAPHITE2_CFLAGS"
-+ AC_TRY_COMPILE([ #include <graphite2/Font.h>
-+ #define GR2_VERSION_REQUIRE(major,minor,bugfix) \
-+ ( GR2_VERSION_MAJOR * 10000 +
GR2_VERSION_MINOR \
-+ * 100 + GR2_VERSION_BUGFIX >= \
-+ (major) * 10000 + (minor) * 100 + (bugfix) )
-+ ], [
-+ #if !GR2_VERSION_REQUIRE(1,3,14)
-+ #error "Insufficient graphite2 version."
-+ #endif
-+ ], [],
-+ [AC_MSG_ERROR([--with-system-graphite2 requested but no
working libgraphite2 found])])
-+ CFLAGS=$_SAVE_CFLAGS
-+fi
-+
- dnl ========================================================
- dnl = Child Process Name for IPC
- dnl ========================================================
-diff --git a/security/rlbox/moz.build b/security/rlbox/moz.build
-index 7ad8d076f0f1..835b9d905e03 100644
--- a/security/rlbox/moz.build
+++ b/security/rlbox/moz.build
@@ -47,6 +47,9 @@ if CONFIG["MOZ_WASM_SANDBOXING_GRAPHITE"]:
diff --git a/http/firefox/patches/0014-gcc-lto-pgo-gentoo.patch
b/http/firefox/patches/0014-gcc-lto-pgo-gentoo.patch
index e4608fe..0f9667c 100644
--- a/http/firefox/patches/0014-gcc-lto-pgo-gentoo.patch
+++ b/http/firefox/patches/0014-gcc-lto-pgo-gentoo.patch
@@ -28,15 +28,10 @@ diff -up
firefox-128.0/build/moz.configure/lto-pgo.configure.pgo firefox-128.0/b
use_ldflags=["-fprofile-use"],
)
-diff -r ac0e1ee8218f build/pgo/profileserver.py
---- a/build/pgo/profileserver.py Tue Feb 20 13:51:00 2024 +0000
-+++ b/build/pgo/profileserver.py Sat Feb 24 22:47:17 2024 -0800
-@@ -93,19 +93,32 @@
- ),
- path_mappings=path_mappings,
- )
- sp3_httpd.start(block=False)
- print("started SP3 server on port 8000")
+diff -up a/build/pgo/profileserver.py b/build/pgo/profileserver.py
+--- a/build/pgo/profileserver.py 2025-05-26 17:14:58.234802697 +0300
++++ b/build/pgo/profileserver.py 2025-05-26 17:18:38.000686313 +0300
+@@ -97,9 +97,22 @@ if __name__ == "__main__":
locations = ServerLocations()
locations.add_host(host="127.0.0.1", port=PORT,
options="primary,privileged")
@@ -55,18 +50,13 @@ diff -r ac0e1ee8218f build/pgo/profileserver.py
+ for f in filenames:
+ if f.endswith('.gcda'):
+ os.remove(os.path.join(dirpath, f))
-+ else:
++ else
+ old_profraw_files = glob.glob('*.profraw')
-+ for f in old_profraw_files:
-+ os.remove(f)
++ for f in old_profraw_files:
++ os.remove(f)
with TemporaryDirectory() as profilePath:
# TODO: refactor this into mozprofile
- profile_data_dir = os.path.join(build.topsrcdir, "testing",
"profiles")
- with open(os.path.join(profile_data_dir, "profiles.json"), "r") as
fh:
- base_profiles = json.load(fh)["profileserver"]
-
- prefpaths = [
@@ -222,16 +235,21 @@
# Try to move the crash reports to the artifacts even if Firefox
appears
diff --git a/http/firefox/patches/0022-bgo-928126-enable-jxl.patch
b/http/firefox/patches/0022-bgo-928126-enable-jxl.patch
new file mode 100644
index 0000000..bc2f865
--- /dev/null
+++ b/http/firefox/patches/0022-bgo-928126-enable-jxl.patch
@@ -0,0 +1,21 @@
+diff --git a/toolkit/moz.configure b/toolkit/moz.configure
+index c99b4d628c54..0b1b1614620a 100644
+--- a/toolkit/moz.configure
++++ b/toolkit/moz.configure
+@@ -703,9 +703,10 @@ set_define("MOZ_AV1", av1)
+ option("--disable-jxl", help="Disable jxl image support")
+
+
+-@depends("--disable-jxl", milestone.is_nightly)
+-def jxl(value, is_nightly):
+- if is_nightly and value:
++@depends("--disable-jxl")
++def jxl(value):
++ enabled = bool(value)
++ if enabled:
+ return True
+
+
+--
+2.38.1
+
diff --git
a/http/firefox/patches/0022-bmo-1790526-check-for-propagated-BrowsingContext-in-SessionStoreParent.patch
b/http/firefox/patches/0022-bmo-1790526-check-for-propagated-BrowsingContext-in-SessionStoreParent.patch
deleted file mode 100644
index 54a4c2b..0000000
---
a/http/firefox/patches/0022-bmo-1790526-check-for-propagated-BrowsingContext-in-SessionStoreParent.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-
-# HG changeset patch
-# User Eden Chuang <echuang AT mozilla.com>
-# Date 1744130274 0
-# Node ID 4159736c2897215a6d22fc33272e05e370d50f5c
-# Parent 11dc373cc55d14b1ca924ae63703cab228e8b1e1
-Bug 1790526 - Handle the discarded BrowsingContext that propagated to
SessionStoreParent. r=smaug
-
-According to the Pernosco trace,
https://static.pernos.co/server/7c640bc4ed587e824fab0ca8aa44f41d1b5595b5/rebuilding.html?redirect=https%3A%2F%2Fpernos.co%2Fdebug%2FAKTDVC62g_oHMo8GmtoA1g%2Findex.html,
this is a case that the propagated BrowingContext has been discarded
already, so it causes aBrowsingContext.GetMaybeDiscarded() get a nullptr.
-
-This patch just check if the propageted BrowsingContext is discarded.
-For the discarded BrowsingContext, try to use its BrowsingContextId to get
the corresponding CanonicalBrowsingContext instead of using the propagated
one.
-
-Differential Revision: https://phabricator.services.mozilla.com/D237702
-
-diff --git a/toolkit/components/sessionstore/SessionStoreParent.cpp
b/toolkit/components/sessionstore/SessionStoreParent.cpp
---- a/toolkit/components/sessionstore/SessionStoreParent.cpp
-+++ b/toolkit/components/sessionstore/SessionStoreParent.cpp
-@@ -194,36 +194,57 @@ mozilla::ipc::IPCResult SessionStorePare
- return IPC_OK();
- }
-
- mozilla::ipc::IPCResult
SessionStoreParent::RecvIncrementalSessionStoreUpdate(
- const MaybeDiscarded<BrowsingContext>& aBrowsingContext,
- const Maybe<FormData>& aFormData, const Maybe<nsPoint>& aScrollPosition,
- uint32_t aEpoch) {
- if (!aBrowsingContext.IsNull()) {
-+ // The passed in BrowsingContext maybe already discarded and its
mRawPtr is
-+ // nullptr here. Let try to use the BrowsingContextId to get its
-+ // Canonical one in the parent process for SessionStore update.
-+ RefPtr<CanonicalBrowsingContext> bc;
-+ if (aBrowsingContext.IsDiscarded()) {
-+ bc = CanonicalBrowsingContext::Get(aBrowsingContext.ContextId());
-+ } else {
-+ bc = aBrowsingContext.GetMaybeDiscarded()->Canonical();
-+ }
-+ if (!bc) {
-+ return IPC_OK();
-+ }
- if (aFormData.isSome()) {
- mHasNewFormData = true;
- }
- if (aScrollPosition.isSome()) {
- mHasNewScrollPosition = true;
- }
-
-- mSessionStore->UpdateSessionStore(
-- aBrowsingContext.GetMaybeDiscarded()->Canonical(), aFormData,
-- aScrollPosition, aEpoch);
-+ mSessionStore->UpdateSessionStore(bc, aFormData, aScrollPosition,
aEpoch);
- }
-
- return IPC_OK();
- }
-
- mozilla::ipc::IPCResult SessionStoreParent::RecvResetSessionStore(
- const MaybeDiscarded<BrowsingContext>& aBrowsingContext, uint32_t
aEpoch) {
- if (!aBrowsingContext.IsNull()) {
-- mSessionStore->RemoveSessionStore(
-- aBrowsingContext.GetMaybeDiscarded()->Canonical());
-+ // The passed in BrowsingContext maybe already discarded and its
mRawPtr is
-+ // nullptr here. Let try to use the BrowsingContextId to get its
-+ // Canonical one in the parent process for SessionStore update.
-+ RefPtr<CanonicalBrowsingContext> bc;
-+ if (aBrowsingContext.IsDiscarded()) {
-+ bc = CanonicalBrowsingContext::Get(aBrowsingContext.ContextId());
-+ } else {
-+ bc = aBrowsingContext.GetMaybeDiscarded()->Canonical();
-+ }
-+ if (!bc) {
-+ return IPC_OK();
-+ }
-+ mSessionStore->RemoveSessionStore(bc);
- }
- return IPC_OK();
- }
-
- void SessionStoreParent::SessionStoreUpdate(
- const Maybe<nsCString>& aDocShellCaps, const Maybe<bool>& aPrivatedMode,
- const MaybeSessionStoreZoom& aZoom, const bool aNeedCollectSHistory,
- const uint32_t& aEpoch) {
-
diff --git a/http/firefox/patches/0023-bgo-928126-enable-jxl.patch
b/http/firefox/patches/0023-bgo-928126-enable-jxl.patch
deleted file mode 100644
index 0871479..0000000
--- a/http/firefox/patches/0023-bgo-928126-enable-jxl.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- firefox-133.0.3/toolkit/moz.configure 2025-01-04 17:08:20.913796937
+0100
-+++ firefox-133.0.3/toolkit/moz.configure 2025-01-04 17:09:45.509650260
+0100
-@@ -871,7 +871,6 @@
-
- @depends("--disable-jxl", milestone.is_nightly)
- def jxl(value, is_nightly):
-- if is_nightly and value:
- return True
-
-
- [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (89793d04d1d60dc0fbd3438cef78d86f60d315d2), Pavel Vinogradov, 05/26/2025
Archive powered by MHonArc 2.6.24.