From nobody Mon Nov 13 22:09:03 2023 X-Original-To: dev-commits-ports-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4STk9C3t6Pz50tLJ; Mon, 13 Nov 2023 22:09:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4STk9C3gklz3XHF; Mon, 13 Nov 2023 22:09:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699913343; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=z4rxWlA8tnzGNV2XWUbzrnVuxa4WLTm6Z1ha6v0EnS4=; b=b7f544axwtHquVOmpw56Af1CoeYq620Wt8iSH4/XLBiRb839FdMV4d3uZiL/DxDyALOLqa ZeB/8pKs7iNGPRDTvv1QSp3iC9g1lSWkDXO04krNpNn3/Iwtp6wQH5UzYwkKuMewgBzA56 jx6dH7YhNLCMRfMJVTBODW8Ky6loqOcqFnJ/pC3uKCVx4WuAidE6MNm114+BL70uy+qNhY FZFifph7y7yDUtoUVhVjJ/5ah21DFgceUienYLVITgjyc5Y1L2rVfgFgE9d9suCZAh8irJ 6ScJObOWr82LPeaZiSXS1/KEQb83LhdbexBgdBLgGl3r9eHXtAaOvgTovapaAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699913343; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=z4rxWlA8tnzGNV2XWUbzrnVuxa4WLTm6Z1ha6v0EnS4=; b=OZxXlp6+CVMgdOO74UE8zCBTPOmWPVRUDQYo1qGAnEp8+VP0DBhYajuV7UtAmfFoi7KKms MB1OU58dU4wF5jLxHVBWKamb/ZVFLGLBTiKKnLxp2P8eHCwL3a8Y8Qh/5EbsYcMJkyZIg6 vrg0IUM+VrNEFfSzgOmaiq4DiRK2HSQOdKu7zodWdpow0T7DRCAonqccOazzhzjru8nh7b jhC5jp+8rvYAtHLMmLIRdTnbRPfIKcOB3UfYM2l8yhGCeol03bwfSRGAHLGNqs5kJEXY11 zF9OdULeYSk4ngXIMtX9PyjTZz8mJQpYvK75Yf80wG9WFmuIn20TGmtJbepwQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699913343; a=rsa-sha256; cv=none; b=fhbYr108mpghM9pm/XcRSqx+Cvzkx/yU52IKNu2/6gFY7eWk5jG7zNIzggdMOZh2MYYaPx AX6lBMoyqEya1JZ7Z6lMvrqHs+Tm9P7umGaHIcAli4dehef9wbYqB+XPfl1oCB5+ONQXpb FM9vXrO/6RP0978Bm3vCvNIe51XfzflMTS+mxJI9ES67dplHg55Ry1YcJ8uTsCDfRr2uSB QPukQ3Luc0VQh9JO/uboL/7rfEaasF3waTiEo6+i9gaNtlUBRA/1YsdbVFtJS9OadpePlk OzQDO5DlphNFHo8dnV2EMpboHrgCdZRRlzMb813rezXCYoXF7/l2Gj9X7QNm/g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4STk9C2RSVz7ct; Mon, 13 Nov 2023 22:09:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3ADM938u030208; Mon, 13 Nov 2023 22:09:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ADM93pW030204; Mon, 13 Nov 2023 22:09:03 GMT (envelope-from git) Date: Mon, 13 Nov 2023 22:09:03 GMT Message-Id: <202311132209.3ADM93pW030204@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Christoph Moench-Tegeder Subject: git: df694dad9761 - 2023Q4 - www/firefox: update to 120.0 (rc1) List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-branches@freebsd.org X-BeenThere: dev-commits-ports-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cmt X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q4 X-Git-Reftype: branch X-Git-Commit: df694dad976180c4f6c72376e9b251f6b0f4cbe7 Auto-Submitted: auto-generated The branch 2023Q4 has been updated by cmt: URL: https://cgit.FreeBSD.org/ports/commit/?id=df694dad976180c4f6c72376e9b251f6b0f4cbe7 commit df694dad976180c4f6c72376e9b251f6b0f4cbe7 Author: Christoph Moench-Tegeder AuthorDate: 2023-11-13 22:06:52 +0000 Commit: Christoph Moench-Tegeder CommitDate: 2023-11-13 22:08:50 +0000 www/firefox: update to 120.0 (rc1) Release Notes (soon): https://www.mozilla.org/en-US/firefox/120.0/releasenotes/ (cherry picked from commit b1fe82370585c865be98b001d6a6b0136d4560da) --- www/firefox/Makefile | 6 +- www/firefox/distinfo | 6 +- www/firefox/files/patch-libwebrtc-generated | 322 ++++++++++++++++++++-------- 3 files changed, 243 insertions(+), 91 deletions(-) diff --git a/www/firefox/Makefile b/www/firefox/Makefile index 6be91b898d37..efbd4ed293a0 100644 --- a/www/firefox/Makefile +++ b/www/firefox/Makefile @@ -1,5 +1,5 @@ PORTNAME= firefox -DISTVERSION= 119.0.1 +DISTVERSION= 120.0 PORTEPOCH= 2 PORTREVISION= 1 CATEGORIES= www wayland @@ -15,11 +15,11 @@ BUILD_DEPENDS= nspr>=4.32:devel/nspr \ nss>=3.94:security/nss \ icu>=73.1:devel/icu \ libevent>=2.1.8:devel/libevent \ - harfbuzz>=8.2.1:print/harfbuzz \ + harfbuzz>=8.2.2:print/harfbuzz \ graphite2>=1.3.14:graphics/graphite2 \ png>=1.6.39:graphics/png \ dav1d>=1.0.0:multimedia/dav1d \ - libvpx>=1.13.0:multimedia/libvpx \ + libvpx>=1.13.1:multimedia/libvpx \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ v4l_compat>0:multimedia/v4l_compat \ autoconf2.13:devel/autoconf2.13 \ diff --git a/www/firefox/distinfo b/www/firefox/distinfo index 900f76ed0cc4..552ce6c289f5 100644 --- a/www/firefox/distinfo +++ b/www/firefox/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1699301212 -SHA256 (firefox-119.0.1.source.tar.xz) = 48cc43cab060e97467e9a17617f511a177e7b91b7e77e408425351a2cbb07f70 -SIZE (firefox-119.0.1.source.tar.xz) = 524717896 +TIMESTAMP = 1699910290 +SHA256 (firefox-120.0.source.tar.xz) = 70ce43c784876daf1987d10863d6c388f6cbbfa4c65ddecba432f46fb71858d8 +SIZE (firefox-120.0.source.tar.xz) = 529156252 diff --git a/www/firefox/files/patch-libwebrtc-generated b/www/firefox/files/patch-libwebrtc-generated index 065a36e2db1f..83168c8ae9e3 100644 --- a/www/firefox/files/patch-libwebrtc-generated +++ b/www/firefox/files/patch-libwebrtc-generated @@ -1,7 +1,7 @@ -commit fdfe9894a5854967e2c8ffb6759ca2e59b9fe6c6 +commit 7f6be72c2d5b9ddb298305edbc5bb9fc1e7a4475 Author: Christoph Moench-Tegeder - regenerate FreeBSD libwebrtc patch for Firefox 119 + regenerate FreeBSD libwebrtc patch for Firefox 120 diff --git third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build index cf60c534b8df..e6a2d969a1fd 100644 @@ -55182,7 +55182,7 @@ index 66792f98e923..8c38587543bd 100644 - Library("desktop_capture_differ_sse2_gn") diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build -index 99fd3c74c735..77ef9f7209ee 100644 +index b0a5d1522da8..a2d3109a6492 100644 --- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build +++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build @@ -14,11 +14,20 @@ AllowCompilerWarnings() @@ -55206,7 +55206,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 FINAL_LIBRARY = "webrtc" -@@ -70,186 +79,13 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -70,185 +79,13 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -55275,8 +55275,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 - "Xext", - "Xfixes", - "Xrandr", -- "Xrender", -- "Xtst" +- "Xrender" - ] - - SOURCES += [ @@ -55394,7 +55393,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 LOCAL_INCLUDES += [ "/gfx/angle/checkout/include/", -@@ -262,7 +98,8 @@ if CONFIG["CPU_ARCH"] == "arm": +@@ -261,7 +98,8 @@ if CONFIG["CPU_ARCH"] == "arm": ] SOURCES += [ @@ -55404,7 +55403,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 ] UNIFIED_SOURCES += [ -@@ -272,7 +109,9 @@ if CONFIG["CPU_ARCH"] == "arm": +@@ -271,7 +109,9 @@ if CONFIG["CPU_ARCH"] == "arm": "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", @@ -55415,7 +55414,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 ] if CONFIG["CPU_ARCH"] == "mips32": -@@ -280,7 +119,6 @@ if CONFIG["CPU_ARCH"] == "mips32": +@@ -279,7 +119,6 @@ if CONFIG["CPU_ARCH"] == "mips32": DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True DEFINES["WEBRTC_USE_PIPEWIRE"] = True @@ -55423,7 +55422,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 LOCAL_INCLUDES += [ "/gfx/angle/checkout/include/", -@@ -293,7 +131,8 @@ if CONFIG["CPU_ARCH"] == "mips32": +@@ -292,7 +131,8 @@ if CONFIG["CPU_ARCH"] == "mips32": ] SOURCES += [ @@ -55433,7 +55432,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 ] UNIFIED_SOURCES += [ -@@ -303,13 +142,14 @@ if CONFIG["CPU_ARCH"] == "mips32": +@@ -302,13 +142,14 @@ if CONFIG["CPU_ARCH"] == "mips32": "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", @@ -55450,7 +55449,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 LOCAL_INCLUDES += [ "/gfx/angle/checkout/include/", -@@ -322,7 +162,8 @@ if CONFIG["CPU_ARCH"] == "mips64": +@@ -321,7 +162,8 @@ if CONFIG["CPU_ARCH"] == "mips64": ] SOURCES += [ @@ -55460,7 +55459,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 ] UNIFIED_SOURCES += [ -@@ -332,128 +173,19 @@ if CONFIG["CPU_ARCH"] == "mips64": +@@ -331,126 +173,19 @@ if CONFIG["CPU_ARCH"] == "mips64": "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", @@ -55479,8 +55478,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 - "Xext", - "Xfixes", - "Xrandr", -- "Xrender", -- "Xtst" +- "Xrender" - ] - - UNIFIED_SOURCES += [ @@ -55508,8 +55506,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 - "Xext", - "Xfixes", - "Xrandr", -- "Xrender", -- "Xtst" +- "Xrender" - ] - - UNIFIED_SOURCES += [ @@ -55593,7 +55590,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 LOCAL_INCLUDES += [ "/gfx/angle/checkout/include/", -@@ -466,7 +198,8 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux": +@@ -463,7 +198,8 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux": ] SOURCES += [ @@ -55603,7 +55600,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 ] UNIFIED_SOURCES += [ -@@ -476,13 +209,15 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux": +@@ -473,13 +209,15 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux": "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", @@ -55622,7 +55619,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 LOCAL_INCLUDES += [ "/gfx/angle/checkout/include/", -@@ -495,7 +230,8 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux": +@@ -492,7 +230,8 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux": ] SOURCES += [ @@ -55632,7 +55629,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 ] UNIFIED_SOURCES += [ -@@ -505,97 +241,12 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux": +@@ -502,66 +241,12 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux": "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", @@ -55651,8 +55648,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 - "Xext", - "Xfixes", - "Xrandr", -- "Xrender", -- "Xtst" +- "Xrender" - ] - - UNIFIED_SOURCES += [ @@ -55680,8 +55676,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 - "Xext", - "Xfixes", - "Xrandr", -- "Xrender", -- "Xtst" +- "Xrender" - ] - - UNIFIED_SOURCES += [ @@ -55695,9 +55690,21 @@ index 99fd3c74c735..77ef9f7209ee 100644 - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc" -- ] -- ++ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc", ++ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc", ++ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc" + ] + -if CONFIG["CPU_ARCH"] == "mips32" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": ++if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": + + DEFINES["USE_X11"] = "1" + DEFINES["WEBRTC_USE_X11"] = True +@@ -589,88 +274,23 @@ if CONFIG["CPU_ARCH"] == "mips32" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TA + "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc" + ] + +-if CONFIG["CPU_ARCH"] == "mips64" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_USE_X11"] = True @@ -55709,11 +55716,11 @@ index 99fd3c74c735..77ef9f7209ee 100644 - "Xext", - "Xfixes", - "Xrandr", -- "Xrender", -- "Xtst" +- "Xrender" - ] -- -- UNIFIED_SOURCES += [ ++if CONFIG["CPU_ARCH"] == "ppc64" and not CONFIG["MOZ_X11"] and CONFIG["OS_TARGET"] == "FreeBSD": + + UNIFIED_SOURCES += [ - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/mouse_cursor_monitor_x11.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/screen_capturer_x11.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/shared_x_display.cc", @@ -55724,22 +55731,14 @@ index 99fd3c74c735..77ef9f7209ee 100644 - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc" -+ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc" - ] - --if CONFIG["CPU_ARCH"] == "mips64" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_USE_X11"] = True -@@ -624,62 +275,23 @@ if CONFIG["CPU_ARCH"] == "mips64" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TA - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc" ++ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_null.cc", ++ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_null.cc", ++ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_null.cc" ] -if CONFIG["CPU_ARCH"] == "x86" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- ++if CONFIG["CPU_ARCH"] == "ppc64" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": + - DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_USE_X11"] = True - @@ -55750,12 +55749,10 @@ index 99fd3c74c735..77ef9f7209ee 100644 - "Xext", - "Xfixes", - "Xrandr", -- "Xrender", -- "Xtst" +- "Xrender" - ] -+if CONFIG["CPU_ARCH"] == "ppc64" and not CONFIG["MOZ_X11"] and CONFIG["OS_TARGET"] == "FreeBSD": - - UNIFIED_SOURCES += [ +- +- UNIFIED_SOURCES += [ - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/mouse_cursor_monitor_x11.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/screen_capturer_x11.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/shared_x_display.cc", @@ -55766,17 +55763,13 @@ index 99fd3c74c735..77ef9f7209ee 100644 - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc" -+ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_null.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_null.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_null.cc" - ] - +- ] +- -if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_USE_X11"] = True -+if CONFIG["CPU_ARCH"] == "ppc64" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - +- - OS_LIBS += [ - "X11", - "Xcomposite", @@ -55784,8 +55777,7 @@ index 99fd3c74c735..77ef9f7209ee 100644 - "Xext", - "Xfixes", - "Xrandr", -- "Xrender", -- "Xtst" +- "Xrender" + SOURCES += [ + "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc" ] @@ -57800,7 +57792,7 @@ index 2e9df3733b6f..3a86740343d2 100644 Library("rtp_rtcp_format_gn") diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build -index 3fca8bb86bb7..8a547c92b18c 100644 +index 3e34426b3ba4..b47ce74d222a 100644 --- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build +++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -65702,7 +65694,7 @@ index 935a69e8c86e..0390ceb82364 100644 Library("webrtc_vp9_helpers_gn") diff --git third_party/libwebrtc/moz.build third_party/libwebrtc/moz.build -index 5c9a364dd518..96c9b9570028 100644 +index aa47ddba57a5..2b05bfc1e89b 100644 --- third_party/libwebrtc/moz.build +++ third_party/libwebrtc/moz.build @@ -263,6 +263,8 @@ DIRS += [ @@ -65714,7 +65706,7 @@ index 5c9a364dd518..96c9b9570028 100644 "/third_party/libwebrtc/modules/module_api_gn", "/third_party/libwebrtc/modules/module_api_public_gn", "/third_party/libwebrtc/modules/module_fec_api_gn", -@@ -457,102 +459,11 @@ DIRS += [ +@@ -458,102 +460,11 @@ DIRS += [ "/third_party/libwebrtc/webrtc_gn" ] @@ -65818,7 +65810,7 @@ index 5c9a364dd518..96c9b9570028 100644 "/third_party/libwebrtc/modules/portal/portal_gn", "/third_party/libwebrtc/third_party/drm/drm_gn", "/third_party/libwebrtc/third_party/gbm/gbm_gn", -@@ -560,26 +471,9 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux": +@@ -561,26 +472,9 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux": "/third_party/libwebrtc/third_party/pipewire/pipewire_gn" ] @@ -65846,7 +65838,7 @@ index 5c9a364dd518..96c9b9570028 100644 "/third_party/libwebrtc/modules/portal/portal_gn", "/third_party/libwebrtc/third_party/drm/drm_gn", "/third_party/libwebrtc/third_party/gbm/gbm_gn", -@@ -587,11 +481,9 @@ if CONFIG["CPU_ARCH"] == "mips32" and CONFIG["OS_TARGET"] == "Linux": +@@ -588,11 +482,9 @@ if CONFIG["CPU_ARCH"] == "mips32" and CONFIG["OS_TARGET"] == "Linux": "/third_party/libwebrtc/third_party/pipewire/pipewire_gn" ] @@ -65859,7 +65851,7 @@ index 5c9a364dd518..96c9b9570028 100644 "/third_party/libwebrtc/modules/portal/portal_gn", "/third_party/libwebrtc/third_party/drm/drm_gn", "/third_party/libwebrtc/third_party/gbm/gbm_gn", -@@ -599,7 +491,7 @@ if CONFIG["CPU_ARCH"] == "mips64" and CONFIG["OS_TARGET"] == "Linux": +@@ -600,7 +492,7 @@ if CONFIG["CPU_ARCH"] == "mips64" and CONFIG["OS_TARGET"] == "Linux": "/third_party/libwebrtc/third_party/pipewire/pipewire_gn" ] @@ -65868,7 +65860,7 @@ index 5c9a364dd518..96c9b9570028 100644 DIRS += [ "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", -@@ -607,8 +499,6 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux": +@@ -608,8 +500,6 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux": "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", @@ -65877,7 +65869,7 @@ index 5c9a364dd518..96c9b9570028 100644 "/third_party/libwebrtc/modules/portal/portal_gn", "/third_party/libwebrtc/third_party/drm/drm_gn", "/third_party/libwebrtc/third_party/gbm/gbm_gn", -@@ -616,7 +506,7 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux": +@@ -617,7 +507,7 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux": "/third_party/libwebrtc/third_party/pipewire/pipewire_gn" ] @@ -65886,7 +65878,7 @@ index 5c9a364dd518..96c9b9570028 100644 DIRS += [ "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", -@@ -624,69 +514,9 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux": +@@ -625,69 +515,9 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux": "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", @@ -86031,10 +86023,10 @@ index 759f3f6c7cf7..000000000000 -Library("windows_version_gn") diff --git third_party/libwebrtc/rtc_base/win32_gn/moz.build third_party/libwebrtc/rtc_base/win32_gn/moz.build deleted file mode 100644 -index f57361432c58..000000000000 +index b134f3004ef5..000000000000 --- third_party/libwebrtc/rtc_base/win32_gn/moz.build +++ /dev/null -@@ -1,94 +0,0 @@ +@@ -1,93 +0,0 @@ -# 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 -# file, You can obtain one at http://mozilla.org/MPL/2.0/. @@ -86100,8 +86092,7 @@ index f57361432c58..000000000000 -] - -UNIFIED_SOURCES += [ -- "/third_party/libwebrtc/rtc_base/win32.cc", -- "/third_party/libwebrtc/rtc_base/win32_window.cc" +- "/third_party/libwebrtc/rtc_base/win32.cc" -] - -if not CONFIG["MOZ_DEBUG"]: @@ -90645,8 +90636,166 @@ index a15b4f43bbe4..0e364e67c4fc 100644 + DEFINES["USE_X11"] = "1" Library("int128_gn") +diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/strings/string_view_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/strings/string_view_gn/moz.build +index d6622a78f593..f5827b08637a 100644 +--- third_party/libwebrtc/third_party/abseil-cpp/absl/strings/string_view_gn/moz.build ++++ third_party/libwebrtc/third_party/abseil-cpp/absl/strings/string_view_gn/moz.build +@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] + AllowCompilerWarnings() + + DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" ++DEFINES["USE_GLIB"] = "1" ++DEFINES["USE_OZONE"] = "1" ++DEFINES["_FILE_OFFSET_BITS"] = "64" ++DEFINES["_LARGEFILE64_SOURCE"] = True ++DEFINES["_LARGEFILE_SOURCE"] = True + + FINAL_LIBRARY = "webrtc" + +@@ -36,138 +41,16 @@ if not CONFIG["MOZ_DEBUG"]: + if CONFIG["MOZ_DEBUG"] == "1": + + DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" +- +-if CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["ANDROID"] = True +- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- DEFINES["HAVE_SYS_UIO_H"] = True +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True +- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" +- +-if CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["USE_AURA"] = "1" +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_NSS_CERTS"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["USE_UDEV"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["USE_X11"] = "1" +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True +- DEFINES["NOMINMAX"] = True +- DEFINES["NTDDI_VERSION"] = "0x0A000000" +- DEFINES["PSAPI_VERSION"] = "2" +- DEFINES["UNICODE"] = True +- DEFINES["USE_AURA"] = "1" +- DEFINES["WIN32"] = True +- DEFINES["WIN32_LEAN_AND_MEAN"] = True +- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" +- DEFINES["WINVER"] = "0x0A00" +- DEFINES["_ATL_NO_OPENGL"] = True +- DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True +- DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True +- DEFINES["_CRT_RAND_S"] = True +- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True +- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True +- DEFINES["_HAS_EXCEPTIONS"] = "0" +- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True +- DEFINES["_SECURE_ATL"] = True +- DEFINES["_UNICODE"] = True +- DEFINES["_WIN32_WINNT"] = "0x0A00" +- DEFINES["_WINDOWS"] = True +- DEFINES["__STD_C"] = True +- +-if CONFIG["CPU_ARCH"] == "arm": +- +- CXXFLAGS += [ +- "-mfpu=neon" +- ] +- +-if CONFIG["CPU_ARCH"] == "mips32": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["CPU_ARCH"] == "mips64": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +- + DEFINES["_DEBUG"] = True + +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" +- +-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["USE_X11"] = "1" +- +-if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android": +- +- OS_LIBS += [ +- "android_support", +- "unwind" +- ] +- +-if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android": +- +- CXXFLAGS += [ +- "-msse2" +- ] +- +- OS_LIBS += [ +- "android_support" +- ] +- +-if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux": ++if CONFIG["CPU_ARCH"] == "x86": + + CXXFLAGS += [ + "-msse2" + ] + +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux": ++if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": + +- DEFINES["_GNU_SOURCE"] = True ++ DEFINES["USE_X11"] = "1" + + Library("string_view_gn") diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build -index 2a53b9e647f7..71fd3a4a576d 100644 +index 34ac33e234e8..639ee3efe372 100644 --- third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build +++ third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build @@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] @@ -90661,7 +90810,7 @@ index 2a53b9e647f7..71fd3a4a576d 100644 FINAL_LIBRARY = "webrtc" -@@ -40,138 +45,16 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,138 +46,16 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -92022,7 +92171,7 @@ index 0333e014b67d..dcece6e53f93 100644 - Library("yuv_gn") diff --git third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build -index 27095596f717..5394d07cc759 100644 +index a5425c674549..5394d07cc759 100644 --- third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build +++ third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build @@ -9,6 +9,14 @@ @@ -92040,7 +92189,7 @@ index 27095596f717..5394d07cc759 100644 FINAL_LIBRARY = "webrtc" -@@ -33,151 +41,28 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -33,155 +41,28 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -92131,6 +92280,10 @@ index 27095596f717..5394d07cc759 100644 DEFINES["PFFFT_SIMD_DISABLE"] = True +-if CONFIG["CPU_ARCH"] == "riscv64": +- +- DEFINES["PFFFT_SIMD_DISABLE"] = True +- -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_DEBUG"] = True @@ -92172,10 +92325,10 @@ index 27095596f717..5394d07cc759 100644 - OS_LIBS += [ - "android_support" - ] -- --if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": +-if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux": +- - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux": @@ -96131,7 +96284,7 @@ index 9fd417f96be9..d51109a08c5f 100644 - Library("video_stream_encoder_interface_gn") diff --git third_party/libwebrtc/webrtc_gn/moz.build third_party/libwebrtc/webrtc_gn/moz.build -index 7e3ac4033b69..495fb5b35f3d 100644 +index 3fd9c5c15eca..305f7edc0d03 100644 --- third_party/libwebrtc/webrtc_gn/moz.build +++ third_party/libwebrtc/webrtc_gn/moz.build @@ -12,11 +12,20 @@ AllowCompilerWarnings() @@ -96155,7 +96308,7 @@ index 7e3ac4033b69..495fb5b35f3d 100644 FINAL_LIBRARY = "webrtc" -@@ -39,141 +48,23 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -39,140 +48,23 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -96231,8 +96384,7 @@ index 7e3ac4033b69..495fb5b35f3d 100644 - "Xext", - "Xfixes", - "Xrandr", -- "Xrender", -- "Xtst" +- "Xrender" - ] - -if CONFIG["OS_TARGET"] == "WINNT": @@ -96302,7 +96454,7 @@ index 7e3ac4033b69..495fb5b35f3d 100644 LOCAL_INCLUDES += [ "/third_party/pipewire/" -@@ -182,7 +73,6 @@ if CONFIG["CPU_ARCH"] == "mips32": +@@ -181,7 +73,6 @@ if CONFIG["CPU_ARCH"] == "mips32": if CONFIG["CPU_ARCH"] == "mips64": DEFINES["WEBRTC_USE_PIPEWIRE"] = True @@ -96310,7 +96462,7 @@ index 7e3ac4033b69..495fb5b35f3d 100644 LOCAL_INCLUDES += [ "/third_party/pipewire/" -@@ -191,32 +81,22 @@ if CONFIG["CPU_ARCH"] == "mips64": +@@ -190,32 +81,22 @@ if CONFIG["CPU_ARCH"] == "mips64": if CONFIG["CPU_ARCH"] == "x86": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -96353,8 +96505,8 @@ index 7e3ac4033b69..495fb5b35f3d 100644 DEFINES["USE_X11"] = "1" -@@ -231,53 +111,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": - "Xtst" +@@ -229,53 +110,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": + "Xrender" ] -if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":