public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/firefox] f44: Build fix
@ 2026-10-12  9:11 Martin Stransky
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Stransky @ 2026-10-12  9:11 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f44
Commit : 206c405b464413c929b28e156f656938c7030bdf
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-10-12T11:00:44+02:00
Stats  : +28/-28 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/206c405b464413c929b28e156f656938c7030bdf?branch=f44

Log:
Build fix

---
diff --git a/firefox.spec b/firefox.spec
index 842f911..cc30e31 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -547,7 +547,7 @@ cat %{SOURCE49} | sed -e "s|LIBCLANG_RT_PLACEHOLDER|`pwd`/wasi-sdk-30/build/sysr
 # PGO patches
 %if %{build_with_pgo}
 %if !%{with build_with_clang}
-%patch -P600 -p1 -b .pgo
+%patch -P600 -p2 -b .pgo
 %patch -P602 -p1 -b .1516803
 %endif
 %endif

diff --git a/pgo.patch b/pgo.patch
index a9f57b0..f852496 100644
--- a/pgo.patch
+++ b/pgo.patch
@@ -1,7 +1,7 @@
-diff -up firefox-149.0/build/moz.configure/lto-pgo.configure.pgo firefox-149.0/build/moz.configure/lto-pgo.configure
---- firefox-149.0/build/moz.configure/lto-pgo.configure.pgo	2026-03-18 20:22:14.000000000 +0100
-+++ firefox-149.0/build/moz.configure/lto-pgo.configure	2026-03-19 16:01:12.682983612 +0100
-@@ -96,12 +96,16 @@ set_config("PGO_PROFILE_PATH", pgo_profi
+diff -up firefox-158.0-build/firefox-158.0/build/moz.configure/lto-pgo.configure.pgo firefox-158.0-build/firefox-158.0/build/moz.configure/lto-pgo.configure
+--- firefox-158.0-build/firefox-158.0/build/moz.configure/lto-pgo.configure.pgo	2026-10-08 04:24:00.000000000 +0200
++++ firefox-158.0-build/firefox-158.0/build/moz.configure/lto-pgo.configure	2026-10-12 10:49:11.930537361 +0200
+@@ -103,12 +103,16 @@ set_config("PGO_PROFILE_PATH", pgo_profi
  
  @depends(
      "--enable-profile-use",
@@ -19,7 +19,7 @@ diff -up firefox-149.0/build/moz.configure/lto-pgo.configure.pgo firefox-149.0/b
      if not profile_use:
          return None
  
-@@ -145,7 +149,7 @@ def pgo_flags(
+@@ -152,7 +156,7 @@ def pgo_flags(
          return namespace(
              gen_cflags=["-fprofile-generate"],
              gen_ldflags=["-fprofile-generate"],
@@ -28,9 +28,9 @@ diff -up firefox-149.0/build/moz.configure/lto-pgo.configure.pgo firefox-149.0/b
              use_ldflags=["-fprofile-use"],
          )
  
-diff -up firefox-149.0/build/pgo/profileserver.py.pgo firefox-149.0/build/pgo/profileserver.py
---- firefox-149.0/build/pgo/profileserver.py.pgo	2026-03-18 20:22:14.000000000 +0100
-+++ firefox-149.0/build/pgo/profileserver.py	2026-03-19 16:01:12.683616555 +0100
+diff -up firefox-158.0-build/firefox-158.0/build/pgo/profileserver.py.pgo firefox-158.0-build/firefox-158.0/build/pgo/profileserver.py
+--- firefox-158.0-build/firefox-158.0/build/pgo/profileserver.py.pgo	2026-10-08 04:23:59.000000000 +0200
++++ firefox-158.0-build/firefox-158.0/build/pgo/profileserver.py	2026-10-12 10:49:11.930741080 +0200
 @@ -10,7 +10,7 @@ import subprocess
  import sys
  
@@ -40,7 +40,7 @@ diff -up firefox-149.0/build/pgo/profileserver.py.pgo firefox-149.0/build/pgo/pr
  from mozfile import TemporaryDirectory, json
  from mozhttpd import MozHttpd
  from mozprofile import FirefoxProfile, Preferences
-@@ -96,9 +96,22 @@ if __name__ == "__main__":
+@@ -139,9 +139,22 @@ if __name__ == "__main__":
      locations = ServerLocations()
      locations.add_host(host="127.0.0.1", port=PORT, options="primary,privileged")
  
@@ -66,10 +66,10 @@ diff -up firefox-149.0/build/pgo/profileserver.py.pgo firefox-149.0/build/pgo/pr
  
      with TemporaryDirectory() as profilePath:
          # TODO: refactor this into mozprofile
-diff -up firefox-149.0/gfx/2d/moz.build.pgo firefox-149.0/gfx/2d/moz.build
---- firefox-149.0/gfx/2d/moz.build.pgo	2026-03-18 20:22:14.000000000 +0100
-+++ firefox-149.0/gfx/2d/moz.build	2026-03-19 16:01:12.683756212 +0100
-@@ -132,11 +132,11 @@ if CONFIG["INTEL_ARCHITECTURE"]:
+diff -up firefox-158.0-build/firefox-158.0/gfx/2d/moz.build.pgo firefox-158.0-build/firefox-158.0/gfx/2d/moz.build
+--- firefox-158.0-build/firefox-158.0/gfx/2d/moz.build.pgo	2026-10-08 04:24:02.000000000 +0200
++++ firefox-158.0-build/firefox-158.0/gfx/2d/moz.build	2026-10-12 10:49:11.930892880 +0200
+@@ -125,11 +125,11 @@ if CONFIG["INTEL_ARCHITECTURE"]:
      DEFINES["USE_SSE2"] = True
      # The file uses SSE2 intrinsics, so it needs special compile flags on some
      # compilers.
@@ -83,9 +83,9 @@ diff -up firefox-149.0/gfx/2d/moz.build.pgo firefox-149.0/gfx/2d/moz.build
      SOURCES["SwizzleSSE2.cpp"].flags += CONFIG["SSE2_FLAGS"]
      SOURCES["SwizzleSSSE3.cpp"].flags += CONFIG["SSSE3_FLAGS"]
  
-diff -up firefox-149.0/gfx/skia/generate_mozbuild.py.pgo firefox-149.0/gfx/skia/generate_mozbuild.py
---- firefox-149.0/gfx/skia/generate_mozbuild.py.pgo	2026-03-18 20:22:14.000000000 +0100
-+++ firefox-149.0/gfx/skia/generate_mozbuild.py	2026-03-19 16:01:12.683902041 +0100
+diff -up firefox-158.0-build/firefox-158.0/gfx/skia/generate_mozbuild.py.pgo firefox-158.0-build/firefox-158.0/gfx/skia/generate_mozbuild.py
+--- firefox-158.0-build/firefox-158.0/gfx/skia/generate_mozbuild.py.pgo	2026-10-08 04:24:01.000000000 +0200
++++ firefox-158.0-build/firefox-158.0/gfx/skia/generate_mozbuild.py	2026-10-12 10:49:11.931087713 +0200
 @@ -50,8 +50,8 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'wind
  if CONFIG['INTEL_ARCHITECTURE']:
      SOURCES['skia/modules/skcms/skcms.cc'].flags += ['-DSKCMS_DISABLE_SKX']
@@ -97,10 +97,10 @@ diff -up firefox-149.0/gfx/skia/generate_mozbuild.py.pgo firefox-149.0/gfx/skia/
      SOURCES['skia/src/core/SkBitmapProcState_opts_ssse3.cpp'].flags += skia_ssse3_flags
      SOURCES['skia/src/core/SkBlitMask_opts_ssse3.cpp'].flags += skia_ssse3_flags
      SOURCES['skia/src/core/SkSwizzler_opts_ssse3.cpp'].flags += ['-Dskvx=skvx_ssse3']
-diff -up firefox-149.0/gfx/skia/moz.build.pgo firefox-149.0/gfx/skia/moz.build
---- firefox-149.0/gfx/skia/moz.build.pgo	2026-03-18 20:22:14.000000000 +0100
-+++ firefox-149.0/gfx/skia/moz.build	2026-03-19 16:01:12.684039243 +0100
-@@ -603,8 +603,8 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'wind
+diff -up firefox-158.0-build/firefox-158.0/gfx/skia/moz.build.pgo firefox-158.0-build/firefox-158.0/gfx/skia/moz.build
+--- firefox-158.0-build/firefox-158.0/gfx/skia/moz.build.pgo	2026-10-08 04:24:02.000000000 +0200
++++ firefox-158.0-build/firefox-158.0/gfx/skia/moz.build	2026-10-12 10:49:11.931233511 +0200
+@@ -602,8 +602,8 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'wind
  if CONFIG['INTEL_ARCHITECTURE']:
      SOURCES['skia/modules/skcms/skcms.cc'].flags += ['-DSKCMS_DISABLE_SKX']
      skia_ssse3_flags = ['-Dskvx=skvx_ssse3', '-mssse3']
@@ -111,10 +111,10 @@ diff -up firefox-149.0/gfx/skia/moz.build.pgo firefox-149.0/gfx/skia/moz.build
      SOURCES['skia/src/core/SkBitmapProcState_opts_ssse3.cpp'].flags += skia_ssse3_flags
      SOURCES['skia/src/core/SkBlitMask_opts_ssse3.cpp'].flags += skia_ssse3_flags
      SOURCES['skia/src/core/SkSwizzler_opts_ssse3.cpp'].flags += ['-Dskvx=skvx_ssse3']
-diff -up firefox-149.0/toolkit/components/terminator/nsTerminator.cpp.pgo firefox-149.0/toolkit/components/terminator/nsTerminator.cpp
---- firefox-149.0/toolkit/components/terminator/nsTerminator.cpp.pgo	2026-03-18 19:54:05.000000000 +0100
-+++ firefox-149.0/toolkit/components/terminator/nsTerminator.cpp	2026-03-19 16:01:55.737755729 +0100
-@@ -338,6 +338,11 @@ void nsTerminator::StartWatchdog() {
+diff -up firefox-158.0-build/firefox-158.0/toolkit/components/terminator/nsTerminator.cpp.pgo firefox-158.0-build/firefox-158.0/toolkit/components/terminator/nsTerminator.cpp
+--- firefox-158.0-build/firefox-158.0/toolkit/components/terminator/nsTerminator.cpp.pgo	2026-10-08 04:24:22.000000000 +0200
++++ firefox-158.0-build/firefox-158.0/toolkit/components/terminator/nsTerminator.cpp	2026-10-12 10:56:12.360515515 +0200
+@@ -403,6 +403,11 @@ void nsTerminator::StartWatchdog() {
    }
  #endif
  
@@ -123,6 +123,6 @@ diff -up firefox-149.0/toolkit/components/terminator/nsTerminator.cpp.pgo firefo
 +  // silently produce poorly performing binary.
 +  crashAfterMS = INT32_MAX;
 +
-   UniquePtr<Options> options(new Options());
-   // Guarantee that crashAfterTicks is non-zero
-   options->crashAfterTicks = std::max(1, crashAfterMS / HEARTBEAT_INTERVAL_MS);
+   // Guarantee that gCrashAfterTicks is non-zero
+   gCrashAfterTicks = std::max(1, crashAfterMS / HEARTBEAT_INTERVAL_MS);
+ 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [rpms/firefox] f44: build fix
@ 2026-08-31 17:45 Martin Stransky
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Stransky @ 2026-08-31 17:45 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f44
Commit : 547033f6262dfad7ef6dc0514434549ec519e20a
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-08-31T19:45:13+02:00
Stats  : +0/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/547033f6262dfad7ef6dc0514434549ec519e20a?branch=f44

Log:
build fix

---
diff --git a/firefox.spec b/firefox.spec
index 56ea7af..1c23e4f 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -1196,9 +1196,6 @@ fi
 %{mozappdir}/platform.ini
 %{mozappdir}/gmp-clearkey
 %{mozappdir}/fonts
-%ifarch aarch64 riscv64
-%{mozappdir}/v4l2test
-%endif
 %{mozappdir}/gfxtest
 %if !%{?system_nss}
 %exclude %{mozappdir}/libnssckbi.so

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [rpms/firefox] f44: build fix
@ 2026-08-21 11:26 Martin Stransky
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Stransky @ 2026-08-21 11:26 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f44
Commit : 416d35a3708047a372657ff77292007327b5d9a5
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-08-21T13:25:47+02:00
Stats  : +12/-10 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/416d35a3708047a372657ff77292007327b5d9a5?branch=f44

Log:
build fix

---
diff --git a/D318191.1787388141.diff b/D318191.1787388141.diff
index 465d936..83e222d 100644
--- a/D318191.1787388141.diff
+++ b/D318191.1787388141.diff
@@ -1,6 +1,6 @@
 diff -up firefox-154.0/gfx/gl/gtest/moz.build.D318191 firefox-154.0/gfx/gl/gtest/moz.build
 --- firefox-154.0/gfx/gl/gtest/moz.build.D318191	2026-08-12 23:13:26.000000000 +0200
-+++ firefox-154.0/gfx/gl/gtest/moz.build	2026-08-21 10:46:40.907696298 +0200
++++ firefox-154.0/gfx/gl/gtest/moz.build	2026-08-21 12:20:33.454753264 +0200
 @@ -6,8 +6,15 @@ LOCAL_INCLUDES += [
      "/gfx/gl",
  ]
@@ -18,8 +18,8 @@ diff -up firefox-154.0/gfx/gl/gtest/moz.build.D318191 firefox-154.0/gfx/gl/gtest
 +
  FINAL_LIBRARY = "xul-gtest"
 diff -up firefox-154.0/gfx/gl/gtest/TestMozFramebuffer.cpp.D318191 firefox-154.0/gfx/gl/gtest/TestMozFramebuffer.cpp
---- firefox-154.0/gfx/gl/gtest/TestMozFramebuffer.cpp.D318191	2026-08-21 10:46:40.907621345 +0200
-+++ firefox-154.0/gfx/gl/gtest/TestMozFramebuffer.cpp	2026-08-21 10:46:40.907612718 +0200
+--- firefox-154.0/gfx/gl/gtest/TestMozFramebuffer.cpp.D318191	2026-08-21 12:20:33.454831890 +0200
++++ firefox-154.0/gfx/gl/gtest/TestMozFramebuffer.cpp	2026-08-21 12:20:33.454831890 +0200
 @@ -0,0 +1,82 @@
 +/* This Source Code Form is subject to the terms of the Mozilla Public
 + * License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -105,7 +105,7 @@ diff -up firefox-154.0/gfx/gl/gtest/TestMozFramebuffer.cpp.D318191 firefox-154.0
 +}  // namespace mozilla::gl
 diff -up firefox-154.0/gfx/gl/MozFramebuffer.cpp.D318191 firefox-154.0/gfx/gl/MozFramebuffer.cpp
 --- firefox-154.0/gfx/gl/MozFramebuffer.cpp.D318191	2026-08-12 23:13:27.000000000 +0200
-+++ firefox-154.0/gfx/gl/MozFramebuffer.cpp	2026-08-21 10:50:28.692698450 +0200
++++ firefox-154.0/gfx/gl/MozFramebuffer.cpp	2026-08-21 12:20:33.454934471 +0200
 @@ -67,35 +67,38 @@ UniquePtr<MozFramebuffer> MozFramebuffer
    return CreateImpl(
        gl, size, samples,
@@ -193,8 +193,8 @@ diff -up firefox-154.0/gfx/gl/MozFramebuffer.cpp.D318191 firefox-154.0/gfx/gl/Mo
  bool MozFramebuffer::HasDepth() const {
 diff -up firefox-154.0/gfx/gl/MozFramebuffer.h.D318191 firefox-154.0/gfx/gl/MozFramebuffer.h
 --- firefox-154.0/gfx/gl/MozFramebuffer.h.D318191	2026-08-12 23:13:27.000000000 +0200
-+++ firefox-154.0/gfx/gl/MozFramebuffer.h	2026-08-21 10:51:52.430220791 +0200
-@@ -42,6 +42,11 @@ class DepthAndStencilBuffer final : publ
++++ firefox-154.0/gfx/gl/MozFramebuffer.h	2026-08-21 13:22:27.412567385 +0200
+@@ -42,7 +42,13 @@ class DepthAndStencilBuffer final : publ
  };
  
  class MozFramebuffer final {
@@ -204,9 +204,11 @@ diff -up firefox-154.0/gfx/gl/MozFramebuffer.h.D318191 firefox-154.0/gfx/gl/MozF
 +
 + private:
    const WeakPtr<GLContext> mWeakGL;
++  const ColorBackingOwnership mColorBackingOwnership;
  
   public:
-@@ -64,7 +69,9 @@ class MozFramebuffer final {
+   const gfx::IntSize mSize;
+@@ -64,7 +70,9 @@ class MozFramebuffer final {
    // Assumes that gl is the current context.
    static UniquePtr<MozFramebuffer> CreateForBacking(
        GLContext* gl, const gfx::IntSize& size, uint32_t samples,
@@ -217,7 +219,7 @@ diff -up firefox-154.0/gfx/gl/MozFramebuffer.h.D318191 firefox-154.0/gfx/gl/MozF
  
    // Create a new framebuffer backed by an existing texture or buffer.
    // Use the same GLContext, size, and samples as framebufferToShareWith.
-@@ -74,19 +81,23 @@ class MozFramebuffer final {
+@@ -74,19 +82,23 @@ class MozFramebuffer final {
    static UniquePtr<MozFramebuffer> CreateForBackingWithSharedDepthAndStencil(
        const gfx::IntSize& size, const uint32_t samples, GLenum colorTarget,
        GLuint colorName,
@@ -246,7 +248,7 @@ diff -up firefox-154.0/gfx/gl/MozFramebuffer.h.D318191 firefox-154.0/gfx/gl/MozF
    ~MozFramebuffer();
 diff -up firefox-154.0/gfx/layers/SurfacePoolWayland.cpp.D318191 firefox-154.0/gfx/layers/SurfacePoolWayland.cpp
 --- firefox-154.0/gfx/layers/SurfacePoolWayland.cpp.D318191	2026-08-12 23:13:28.000000000 +0200
-+++ firefox-154.0/gfx/layers/SurfacePoolWayland.cpp	2026-08-21 10:47:56.479614816 +0200
++++ firefox-154.0/gfx/layers/SurfacePoolWayland.cpp	2026-08-21 12:20:33.455125046 +0200
 @@ -296,7 +296,8 @@ UniquePtr<MozFramebuffer> SurfacePoolWay
      // framebuffer that shares it.
      if (auto buffer = GetDepthBufferForSharing(aProofOfLock, aGL, aSize)) {

diff --git a/wasi.patch b/wasi.patch
index 3090070..daf7a2b 100644
--- a/wasi.patch
+++ b/wasi.patch
@@ -6,7 +6,7 @@ diff -up firefox-134.0.1/toolkit/moz.configure.wasi firefox-134.0.1/toolkit/moz.
          if wasi_sysroot:
              log.info("Using wasi sysroot in %s", wasi_sysroot)
 -            return ["--sysroot=%s" % wasi_sysroot]
-+            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/raid/CVS/firefox/firefox-154.0-build/firefox-154.0/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a"]
++            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/home/komat/CVS/firefox/firefox-154.0-build/firefox-154.0/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a"]
          return []
  
      set_config("WASI_SYSROOT", wasi_sysroot)

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-12  9:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-12  9:11 [rpms/firefox] f44: Build fix Martin Stransky
  -- strict thread matches above, loose matches on Subject: below --
2026-08-31 17:45 [rpms/firefox] f44: build fix Martin Stransky
2026-08-21 11:26 Martin Stransky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox