Loading pkgs/applications/networking/browsers/firefox/122.0-libvpx-mozbz1875201.patchdeleted 100644 → 0 +0 −80 Original line number Diff line number Diff line This patch is a rebase of https://bugzilla.mozilla.org/attachment.cgi?id=9377318 on top of Firefox 122.0. Fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=1875201 diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build index c5dabce8b0..e325905282 100644 --- a/third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build @@ -5,6 +5,8 @@ ### This moz.build was AUTOMATICALLY GENERATED from a GN config, ### ### DO NOT edit it by hand. ### +if not CONFIG["MOZ_SYSTEM_LIBVPX"]: + LOCAL_INCLUDES += [ "/media/libvpx/libvpx/" ] COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -25,7 +27,6 @@ LOCAL_INCLUDES += [ "!/ipc/ipdl/_ipdlheaders", "!/third_party/libwebrtc/gen", "/ipc/chromium/src", - "/media/libvpx/libvpx/", "/third_party/libwebrtc/", "/third_party/libwebrtc/third_party/abseil-cpp/", "/tools/profiler/public" diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build index 77a6b3870b..d515bc0595 100644 --- a/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build @@ -5,6 +5,8 @@ ### This moz.build was AUTOMATICALLY GENERATED from a GN config, ### ### DO NOT edit it by hand. ### +if not CONFIG["MOZ_SYSTEM_LIBVPX"]: + LOCAL_INCLUDES += [ "/media/libvpx/libvpx/" ] COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -25,7 +27,6 @@ LOCAL_INCLUDES += [ "!/ipc/ipdl/_ipdlheaders", "!/third_party/libwebrtc/gen", "/ipc/chromium/src", - "/media/libvpx/libvpx/", "/media/libyuv/", "/media/libyuv/libyuv/include/", "/third_party/libwebrtc/", diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build index 4bece72807..5cc8d30e1a 100644 --- a/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build @@ -5,6 +5,8 @@ ### This moz.build was AUTOMATICALLY GENERATED from a GN config, ### ### DO NOT edit it by hand. ### +if not CONFIG["MOZ_SYSTEM_LIBVPX"]: + LOCAL_INCLUDES += [ "/media/libvpx/libvpx/" ] COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -25,7 +27,6 @@ LOCAL_INCLUDES += [ "!/ipc/ipdl/_ipdlheaders", "!/third_party/libwebrtc/gen", "/ipc/chromium/src", - "/media/libvpx/libvpx/", "/media/libyuv/", "/media/libyuv/libyuv/include/", "/third_party/libwebrtc/", diff --git a/third_party/libwebrtc/moz.build b/third_party/libwebrtc/moz.build index 7baea55b7e..86d4f0f288 100644 --- a/third_party/libwebrtc/moz.build +++ b/third_party/libwebrtc/moz.build @@ -436,7 +436,6 @@ DIRS += [ "/third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn", "/third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn", "/third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn", - "/third_party/libwebrtc/third_party/libvpx/libvpx_gn", "/third_party/libwebrtc/third_party/libyuv/libyuv_gn", "/third_party/libwebrtc/third_party/pffft/pffft_gn", "/third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn", pkgs/applications/networking/browsers/firefox/common.nix +24 −23 Original line number Diff line number Diff line Loading @@ -234,32 +234,36 @@ buildStdenv.mkDerivation { "profilingPhase" ]; patches = lib.optionals (lib.versionAtLeast version "120" && lib.versionOlder version "122") [ # dbus cflags regression fix # https://bugzilla.mozilla.org/show_bug.cgi?id=1864083 patches = lib.optionals (lib.versionAtLeast version "111") [ ./env_var_for_system_dir-ff111.patch ] ++ lib.optionals (lib.versionAtLeast version "96" && lib.versionOlder version "121") [ ./no-buildconfig-ffx96.patch ] ++ lib.optionals (lib.versionAtLeast version "121") [ ./no-buildconfig-ffx121.patch ] ++ lib.optionals (lib.versionOlder version "131") [ (fetchpatch { url = "https://hg.mozilla.org/mozilla-central/raw-rev/f1f5f98290b3"; hash = "sha256-5PzVNJvPNX8irCqj1H38SFDydNJZuBHx167e1TQehaI="; # https://bugzilla.mozilla.org/show_bug.cgi?id=1912663 name = "cbindgen-0.27.0-compat.patch"; url = "https://hg.mozilla.org/integration/autoland/raw-rev/98cd34c7ff57"; hash = "sha256-MqgWHgbDedVzDOqY2/fvCCp+bGwFBHqmaJLi/mllZug="; }) ] ++ lib.optional (lib.versionAtLeast version "111") ./env_var_for_system_dir-ff111.patch ++ lib.optional (lib.versionAtLeast version "96" && lib.versionOlder version "121") ./no-buildconfig-ffx96.patch ++ lib.optional (lib.versionAtLeast version "121") ./no-buildconfig-ffx121.patch ++ lib.optionals (lib.versionAtLeast version "120" && lib.versionOlder version "120.0.1") [ ++ lib.optionals (lib.versionOlder version "130" && lib.versionAtLeast version "128") [ # https://bugzilla.mozilla.org/show_bug.cgi?id=1898476 (fetchpatch { # Do not crash on systems without an expected statically assumed page size. # https://phabricator.services.mozilla.com/D194458 name = "mozbz1866025.patch"; url = "https://hg.mozilla.org/mozilla-central/raw-rev/42c80086da4468f407648f2f57a7222aab2e9951"; hash = "sha256-cWOyvjIPUU1tavPRqg61xJ53XE4EJTdsFzadfVxyTyM="; name = "mozbz-1898476-1.patch"; url = "https://hg.mozilla.org/mozilla-central/raw-rev/f9323daf7abe"; hash = "sha256-fvIowXJLWnm16LeiSz6EasGypTi1ilG+s/T6+lNLbMQ="; }) (fetchpatch { name = "mozbz-1898476-2.patch"; url = "https://hg.mozilla.org/mozilla-central/raw-rev/a264ff9e9f6f"; hash = "sha256-9vkI/Ho4BXvLnoRGdfTzUODcIlA6K3RjbdhZjb/LEz0="; }) (fetchpatch { name = "mozbz-1898476-3.patch"; url = "https://hg.mozilla.org/mozilla-central/raw-rev/eb230ecdf8eb"; hash = "sha256-IaLltxf5W1WEzxvbi10wphqXVQPtBiLc2zlk38CIiz4="; }) ] ++ lib.optionals (lib.versionOlder version "122") [ ./bindgen-0.64-clang-18.patch ] ++ lib.optionals (lib.versionAtLeast version "122" && lib.versionOlder version "123") [ ./122.0-libvpx-mozbz1875201.patch ] ++ lib.optionals (lib.versionOlder version "122") [ ./bindgen-0.64-clang-18.patch ] ++ lib.optionals (lib.versionOlder version "123") [ (fetchpatch { name = "clang-18.patch"; Loading @@ -267,9 +271,6 @@ buildStdenv.mkDerivation { hash = "sha256-2IpdSyye3VT4VB95WurnyRFtdN1lfVtYpgEiUVhfNjw="; }) ] ++ lib.optionals (lib.versionOlder version "115.12") [ ./rust-1.78.patch ] ++ extraPatches; postPatch = '' Loading Loading
pkgs/applications/networking/browsers/firefox/122.0-libvpx-mozbz1875201.patchdeleted 100644 → 0 +0 −80 Original line number Diff line number Diff line This patch is a rebase of https://bugzilla.mozilla.org/attachment.cgi?id=9377318 on top of Firefox 122.0. Fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=1875201 diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build index c5dabce8b0..e325905282 100644 --- a/third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build @@ -5,6 +5,8 @@ ### This moz.build was AUTOMATICALLY GENERATED from a GN config, ### ### DO NOT edit it by hand. ### +if not CONFIG["MOZ_SYSTEM_LIBVPX"]: + LOCAL_INCLUDES += [ "/media/libvpx/libvpx/" ] COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -25,7 +27,6 @@ LOCAL_INCLUDES += [ "!/ipc/ipdl/_ipdlheaders", "!/third_party/libwebrtc/gen", "/ipc/chromium/src", - "/media/libvpx/libvpx/", "/third_party/libwebrtc/", "/third_party/libwebrtc/third_party/abseil-cpp/", "/tools/profiler/public" diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build index 77a6b3870b..d515bc0595 100644 --- a/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build @@ -5,6 +5,8 @@ ### This moz.build was AUTOMATICALLY GENERATED from a GN config, ### ### DO NOT edit it by hand. ### +if not CONFIG["MOZ_SYSTEM_LIBVPX"]: + LOCAL_INCLUDES += [ "/media/libvpx/libvpx/" ] COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -25,7 +27,6 @@ LOCAL_INCLUDES += [ "!/ipc/ipdl/_ipdlheaders", "!/third_party/libwebrtc/gen", "/ipc/chromium/src", - "/media/libvpx/libvpx/", "/media/libyuv/", "/media/libyuv/libyuv/include/", "/third_party/libwebrtc/", diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build index 4bece72807..5cc8d30e1a 100644 --- a/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build +++ b/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build @@ -5,6 +5,8 @@ ### This moz.build was AUTOMATICALLY GENERATED from a GN config, ### ### DO NOT edit it by hand. ### +if not CONFIG["MOZ_SYSTEM_LIBVPX"]: + LOCAL_INCLUDES += [ "/media/libvpx/libvpx/" ] COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -25,7 +27,6 @@ LOCAL_INCLUDES += [ "!/ipc/ipdl/_ipdlheaders", "!/third_party/libwebrtc/gen", "/ipc/chromium/src", - "/media/libvpx/libvpx/", "/media/libyuv/", "/media/libyuv/libyuv/include/", "/third_party/libwebrtc/", diff --git a/third_party/libwebrtc/moz.build b/third_party/libwebrtc/moz.build index 7baea55b7e..86d4f0f288 100644 --- a/third_party/libwebrtc/moz.build +++ b/third_party/libwebrtc/moz.build @@ -436,7 +436,6 @@ DIRS += [ "/third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn", "/third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn", "/third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn", - "/third_party/libwebrtc/third_party/libvpx/libvpx_gn", "/third_party/libwebrtc/third_party/libyuv/libyuv_gn", "/third_party/libwebrtc/third_party/pffft/pffft_gn", "/third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn",
pkgs/applications/networking/browsers/firefox/common.nix +24 −23 Original line number Diff line number Diff line Loading @@ -234,32 +234,36 @@ buildStdenv.mkDerivation { "profilingPhase" ]; patches = lib.optionals (lib.versionAtLeast version "120" && lib.versionOlder version "122") [ # dbus cflags regression fix # https://bugzilla.mozilla.org/show_bug.cgi?id=1864083 patches = lib.optionals (lib.versionAtLeast version "111") [ ./env_var_for_system_dir-ff111.patch ] ++ lib.optionals (lib.versionAtLeast version "96" && lib.versionOlder version "121") [ ./no-buildconfig-ffx96.patch ] ++ lib.optionals (lib.versionAtLeast version "121") [ ./no-buildconfig-ffx121.patch ] ++ lib.optionals (lib.versionOlder version "131") [ (fetchpatch { url = "https://hg.mozilla.org/mozilla-central/raw-rev/f1f5f98290b3"; hash = "sha256-5PzVNJvPNX8irCqj1H38SFDydNJZuBHx167e1TQehaI="; # https://bugzilla.mozilla.org/show_bug.cgi?id=1912663 name = "cbindgen-0.27.0-compat.patch"; url = "https://hg.mozilla.org/integration/autoland/raw-rev/98cd34c7ff57"; hash = "sha256-MqgWHgbDedVzDOqY2/fvCCp+bGwFBHqmaJLi/mllZug="; }) ] ++ lib.optional (lib.versionAtLeast version "111") ./env_var_for_system_dir-ff111.patch ++ lib.optional (lib.versionAtLeast version "96" && lib.versionOlder version "121") ./no-buildconfig-ffx96.patch ++ lib.optional (lib.versionAtLeast version "121") ./no-buildconfig-ffx121.patch ++ lib.optionals (lib.versionAtLeast version "120" && lib.versionOlder version "120.0.1") [ ++ lib.optionals (lib.versionOlder version "130" && lib.versionAtLeast version "128") [ # https://bugzilla.mozilla.org/show_bug.cgi?id=1898476 (fetchpatch { # Do not crash on systems without an expected statically assumed page size. # https://phabricator.services.mozilla.com/D194458 name = "mozbz1866025.patch"; url = "https://hg.mozilla.org/mozilla-central/raw-rev/42c80086da4468f407648f2f57a7222aab2e9951"; hash = "sha256-cWOyvjIPUU1tavPRqg61xJ53XE4EJTdsFzadfVxyTyM="; name = "mozbz-1898476-1.patch"; url = "https://hg.mozilla.org/mozilla-central/raw-rev/f9323daf7abe"; hash = "sha256-fvIowXJLWnm16LeiSz6EasGypTi1ilG+s/T6+lNLbMQ="; }) (fetchpatch { name = "mozbz-1898476-2.patch"; url = "https://hg.mozilla.org/mozilla-central/raw-rev/a264ff9e9f6f"; hash = "sha256-9vkI/Ho4BXvLnoRGdfTzUODcIlA6K3RjbdhZjb/LEz0="; }) (fetchpatch { name = "mozbz-1898476-3.patch"; url = "https://hg.mozilla.org/mozilla-central/raw-rev/eb230ecdf8eb"; hash = "sha256-IaLltxf5W1WEzxvbi10wphqXVQPtBiLc2zlk38CIiz4="; }) ] ++ lib.optionals (lib.versionOlder version "122") [ ./bindgen-0.64-clang-18.patch ] ++ lib.optionals (lib.versionAtLeast version "122" && lib.versionOlder version "123") [ ./122.0-libvpx-mozbz1875201.patch ] ++ lib.optionals (lib.versionOlder version "122") [ ./bindgen-0.64-clang-18.patch ] ++ lib.optionals (lib.versionOlder version "123") [ (fetchpatch { name = "clang-18.patch"; Loading @@ -267,9 +271,6 @@ buildStdenv.mkDerivation { hash = "sha256-2IpdSyye3VT4VB95WurnyRFtdN1lfVtYpgEiUVhfNjw="; }) ] ++ lib.optionals (lib.versionOlder version "115.12") [ ./rust-1.78.patch ] ++ extraPatches; postPatch = '' Loading