pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
librewolf: update to 143.0.4-1
Module Name: pkgsrc-wip
Committed By: Kevin Bloom <kevin.bloom%posteo.net@localhost>
Pushed By: nuclearkev
Date: Tue Oct 7 15:39:01 2025 +0000
Changeset: 38b7db2187bac777c1b072445592d548c643f07a
Modified Files:
librewolf/Makefile
librewolf/distinfo
librewolf/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build
librewolf/patches/patch-third__party_libwebrtc_rtc__base_memory__usage.cc
Added Files:
librewolf/patches/patch-dom_media_webrtc_libwebrtc__overrides_moz.build
Log Message:
librewolf: update to 143.0.4-1
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=38b7db2187bac777c1b072445592d548c643f07a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
librewolf/Makefile | 2 +-
librewolf/distinfo | 11 ++++++-----
...dom_media_webrtc_libwebrtc__overrides_moz.build | 13 ++++++++++++
...desktop__capture_desktop__capture__gn_moz.build | 23 ++++++++++++++--------
...ird__party_libwebrtc_rtc__base_memory__usage.cc | 13 ++++++------
5 files changed, 42 insertions(+), 20 deletions(-)
diffs:
diff --git a/librewolf/Makefile b/librewolf/Makefile
index 4604056c93..62fef66340 100644
--- a/librewolf/Makefile
+++ b/librewolf/Makefile
@@ -1,7 +1,7 @@
# $NetBSD:$
FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
-MOZ_BRANCH= 142.0
+MOZ_BRANCH= 143.0.4
MOZ_BRANCH_MINOR=
DISTNAME= librewolf-${FIREFOX_VER}-1.source
diff --git a/librewolf/distinfo b/librewolf/distinfo
index c2ea381141..fc94adc2f8 100644
--- a/librewolf/distinfo
+++ b/librewolf/distinfo
@@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.557 2025/05/20 15:08:58 ryoon Exp $
-BLAKE2s (librewolf-142.0-1.source.tar.gz) = 00d18bda44b24653ada3b2f4662c1f1dae283a9aea1101bdd7f63896df6b988f
-SHA512 (librewolf-142.0-1.source.tar.gz) = e594650da5500d1ec218092dc5b959c2dcd711a642800c487c3c9cb3bc5b13c6dd2162c77d1b8a623738777132685ca32d4d06b195f7953e58988e0a08eeee87
-Size (librewolf-142.0-1.source.tar.gz) = 1010392198 bytes
+BLAKE2s (librewolf-143.0.4-1.source.tar.gz) = 52e077e78ae77606269293cdf1a87b9a3cfe10e88746e3af895676ebbaf86058
+SHA512 (librewolf-143.0.4-1.source.tar.gz) = 744f81f4b4c4d147eeb8693750f4fe5054b9f645fddca869b51d87c547f928c93f6d7d74c96fef918eb473b3af95566304a95adaea805759f76663600804c938
+Size (librewolf-143.0.4-1.source.tar.gz) = 1023308761 bytes
BLAKE2s (nodejs-output-141.0.tgz) = ae2c7781fc62f30dc58d3de91fcaade286dc54c58fab5e4e7ff88355dc3e1d3b
SHA512 (nodejs-output-141.0.tgz) = 55e13285f9ad33e4ce454918beb38cf6ff3bb3f2a413636f55ac768ac1f8a199eb2eb8601ed38bfd1f668eb72da1673b7b61107e5d9ff310f671d12e48d68e0e
Size (nodejs-output-141.0.tgz) = 245533 bytes
@@ -12,6 +12,7 @@ SHA1 (patch-build_moz.configure_rust.configure) = 25ddfacd29cebbc6db005dbe61a2a7
SHA1 (patch-config_gcc-stl-wrapper.template.h) = 9d1f15ff487efa9202114d19ed5668b4e7aa032a
SHA1 (patch-config_makefiles_rust.mk) = 3366ab089a23e66230e7e23749c10db38018fdd4
SHA1 (patch-dom_base_nsAttrName.h) = ac7ba441a3b27df2855cf2673eea36b1cb44ad49
+SHA1 (patch-dom_media_webrtc_libwebrtc__overrides_moz.build) = 9191e4e6b628d33c5234b8926d176f98b8e51767
SHA1 (patch-dom_webtransport_api_WebTransportDatagramDuplexStream.cpp) = b93b4c6367bd2fb3d1868ab7d97ca56c100be414
SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = e458c9c8dc66edc69c1874734af28a77fc5e3993
SHA1 (patch-gfx_angle_checkout_src_compiler_translator_InfoSink.h) = b2adce9e65662283a11b6dcff40e95523e940045
@@ -36,12 +37,12 @@ SHA1 (patch-third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.cc)
SHA1 (patch-third__party_abseil-cpp_absl_debugging_internal_vdso__support.cc) = f9c44d0d6fd952296f23c24f56053958b30d8e5c
SHA1 (patch-third__party_js_cfworker_build.sh) = 46cdf97b99cf01080f290ae8d9a33b5f869fc3e4
SHA1 (patch-third__party_libwebrtc_modules_audio__device_audio__device__impl.cc) = 47ba1a2b88b3fdfd16cd29da3eb1e4a218ecada8
-SHA1 (patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build) = a4d9bc3a10e3150eb46cbab4477c434dcae7ee39
+SHA1 (patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build) = f53af8e5383f31b5de7df21f80eb53d60c11eae1
SHA1 (patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc) = fc203b7a8c1557303e61cc598dc94c5cccf6f0a4
SHA1 (patch-third__party_libwebrtc_modules_video__capture_linux_device__info__v4l2.cc) = 8831d477f14fd4f8f735ff0c1a322cba8c70e277
SHA1 (patch-third__party_libwebrtc_modules_video__capture_linux_video__capture__v4l2.cc) = 8111952a107eb2cd665525ddd0e27c79eee3c1cd
SHA1 (patch-third__party_libwebrtc_modules_video__capture_video__capture__options.cc) = e15f7e365ef6d57cd262f920f49c4d73f3a13305
-SHA1 (patch-third__party_libwebrtc_rtc__base_memory__usage.cc) = f8d926d400bf3df107127823eac27816f4b85644
+SHA1 (patch-third__party_libwebrtc_rtc__base_memory__usage.cc) = a831145ba15b30d30c6e6e216b574d416253ed4a
SHA1 (patch-third__party_libwebrtc_rtc__base_physical__socket__server.cc) = 6909c4da9e7b3785252e5bce9be0ff47ebb87e01
SHA1 (patch-third__party_libwebrtc_rtc__base_platform__thread__types.cc) = 8ae75100775037347008d168eedc151e0e993b0f
SHA1 (patch-third__party_libwebrtc_system__wrappers_source_cpu__features__linux.cc) = b90e22b50879f7adcc1da3a993f52c0701b720f8
diff --git a/librewolf/patches/patch-dom_media_webrtc_libwebrtc__overrides_moz.build b/librewolf/patches/patch-dom_media_webrtc_libwebrtc__overrides_moz.build
new file mode 100644
index 0000000000..c8d10adb43
--- /dev/null
+++ b/librewolf/patches/patch-dom_media_webrtc_libwebrtc__overrides_moz.build
@@ -0,0 +1,13 @@
+$NetBSD: patch-dom_media_webrtc_libwebrtc__overrides_moz.build,v 1.1 2025/09/26 23:15:49 ryoon Exp $
+
+--- dom/media/webrtc/libwebrtc_overrides/moz.build.orig 2025-09-10 13:58:16.516218833 +0000
++++ dom/media/webrtc/libwebrtc_overrides/moz.build
+@@ -52,7 +52,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CO
+
+ if (
+ CONFIG["MOZ_X11"] == "1"
+- and CONFIG["OS_TARGET"] == "Linux"
++ and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD")
+ and CONFIG["TARGET_CPU"] in ("aarch64", "arm", "mips32", "mips64", "x86", "x86_64")
+ ):
+ UNIFIED_SOURCES += [
\ No newline at end of file
diff --git a/librewolf/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build b/librewolf/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build
index 38cdb27905..c9b1bf480d 100644
--- a/librewolf/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build
+++ b/librewolf/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build
@@ -1,32 +1,39 @@
-$NetBSD: patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build,v 1.4 2024/04/06 08:53:35 ryoon Exp $
+$NetBSD: patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build,v 1.6 2025/09/26 23:15:49 ryoon Exp $
* Disable Wayland desktop capture for non-Linux platforms.
Fix segfault under X11.
---- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build.orig 2024-03-11 10:11:56.287869888 +0000
+--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build.orig 2025-09-10 12:09:29.925962441 +0000
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
-@@ -418,8 +418,8 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG
+@@ -414,7 +414,7 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
-if CONFIG["TARGET_CPU"] == "aarch64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
+if CONFIG["TARGET_CPU"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
DEFINES["_GNU_SOURCE"] = True
-@@ -499,8 +499,8 @@ if CONFIG["TARGET_CPU"] == "x86" and (CO
+@@ -464,7 +464,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CO
+ "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
+ ]
+
+-if CONFIG["TARGET_CPU"] == "x86" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
++if CONFIG["TARGET_CPU"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
+
+ CXXFLAGS += [
+ "-msse2"
+@@ -492,7 +492,7 @@ if CONFIG["TARGET_CPU"] == "x86" and (CO
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc"
]
-if CONFIG["TARGET_CPU"] == "x86_64" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
+if CONFIG["TARGET_CPU"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
DEFINES["_GNU_SOURCE"] = True
-@@ -636,6 +636,10 @@ if CONFIG["TARGET_CPU"] == "x86" and CON
-
+@@ -650,6 +650,10 @@ if CONFIG["TARGET_CPU"] == "x86_64" and
+
DEFINES["WEBRTC_USE_X11"] = True
+ CXXFLAGS += [
diff --git a/librewolf/patches/patch-third__party_libwebrtc_rtc__base_memory__usage.cc b/librewolf/patches/patch-third__party_libwebrtc_rtc__base_memory__usage.cc
index 33ea10cd71..2ea867ac93 100644
--- a/librewolf/patches/patch-third__party_libwebrtc_rtc__base_memory__usage.cc
+++ b/librewolf/patches/patch-third__party_libwebrtc_rtc__base_memory__usage.cc
@@ -1,22 +1,23 @@
-$NetBSD: patch-third__party_libwebrtc_rtc__base_memory__usage.cc,v 1.3 2025/07/26 14:12:54 ryoon Exp $
+$NetBSD: patch-third__party_libwebrtc_rtc__base_memory__usage.cc,v 1.4 2025/09/26 23:15:49 ryoon Exp $
---- third_party/libwebrtc/rtc_base/memory_usage.cc.orig 2025-05-21 12:27:20.023110519 +0000
+--- third_party/libwebrtc/rtc_base/memory_usage.cc.orig 2025-09-10 12:13:46.353394466 +0000
+++ third_party/libwebrtc/rtc_base/memory_usage.cc
-@@ -10,7 +10,7 @@
+@@ -12,7 +12,7 @@
- #include "rtc_base/memory_usage.h"
+ #include <cstdint>
-#if defined(WEBRTC_LINUX)
+#if defined(WEBRTC_LINUX) || defined(WEBRTC_BSD)
#include <unistd.h>
#include <cstdio>
-@@ -32,7 +32,7 @@
- namespace rtc {
+@@ -34,7 +34,8 @@
+ namespace webrtc {
int64_t GetProcessResidentSizeBytes() {
-#if defined(WEBRTC_LINUX)
+#if defined(WEBRTC_LINUX) || defined(WEBRTC_BSD)
++ #include <unistd.h>
FILE* file = fopen("/proc/self/statm", "r");
if (file == nullptr) {
RTC_LOG(LS_ERROR) << "Failed to open /proc/self/statm";
Home |
Main Index |
Thread Index |
Old Index