[Midnightbsd-cvs] [MidnightBSD/mports] 967418: www/firefox-esr: rework port for Firefox 128.12.0 ESR

Lucas Holt noreply at github.com
Sun Apr 26 14:12:50 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 967418a2a0524216ab7b23f601a564db059012ac
      https://github.com/MidnightBSD/mports/commit/967418a2a0524216ab7b23f601a564db059012ac
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-04-26 (Sun, 26 Apr 2026)

  Changed paths:
    M www/firefox-esr/Makefile
    R www/firefox-esr/Makefile.options
    A www/firefox-esr/files/firefox.desktop.in
    M www/firefox-esr/files/patch-build-autoconf-config.guess
    R www/firefox-esr/files/patch-dom_media_webrtc_third__party__build_webrtc.mozbuild
    A www/firefox-esr/files/patch-image_imgFrame.h
    A www/firefox-esr/files/patch-ipc_chromium_src_base_platform__thread__posix.cc
    A www/firefox-esr/files/patch-ipc_glue_SharedMemory__posix.cpp
    R www/firefox-esr/files/patch-libwebrtc-generated
    R www/firefox-esr/files/patch-libwebrtc-powerpc64
    A www/firefox-esr/files/patch-media_libcubeb_src_cubeb__jack.cpp
    A www/firefox-esr/files/patch-mozglue_static_rust_lib.rs
    A www/firefox-esr/files/patch-security_sandbox_chromium_build_build__config.h
    A www/firefox-esr/files/patch-third__party_chromium_build_build__config.h
    R www/firefox-esr/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn
    R www/firefox-esr/files/patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland__egl__dmabuf.cc
    R www/firefox-esr/files/patch-third__party_libwebrtc_third__party_pffft_src_pffft.c
    A www/firefox-esr/files/patch-toolkit_components_protobuf_src_google_protobuf_stubs_port.h
    A www/firefox-esr/files/patch-toolkit_library_gen__buildid.py
    A www/firefox-esr/files/patch-toolkit_system_unixproxy_moz.build
    A www/firefox-esr/files/patch-tools_profiler_core_platform.cpp
    A www/firefox-esr/pkg-plist

  Log Message:
  -----------
  www/firefox-esr: rework port for Firefox 128.12.0 ESR

Drop the USE_GECKO/USE_MOZILLA framework (requires LLVM 17+ / Rust 1.87+
which is incompatible with Firefox 128 ESR). Rewrite Makefile to be
self-contained, modelled after the working www/firefox (135.0.1) port.

Changes:
- Add PKGNAMESUFFIX=-esr and CONFLICTS_INSTALL=firefox
- DISTVERSION=128.12.0 with esr suffix in DISTFILES
- Add explicit BUILD_DEPENDS for cargo and cbindgen
- USES: compiler:c++17-lang, nodejs:24,build,env, gmake, etc.
- Use LLVM 15, MBSD64_TARGET=x86_64-mports-freebsd13.4
- QMAKE_ARGS: disable crashreporter, official branding, webrtc;
  enable system-jpeg
- MAKE_ENV: set __FreeBSD__=13 __FreeBSD__version=1303501
- post-patch: replace %%MBSD64_TGT%% placeholder in config.guess,
  disable SCTP, disable rust checksums, write .mozconfig
- Fix config.guess patch to use %%MBSD64_TGT%% placeholder
- Remove Makefile.options (no longer needed)
- Remove 6 libwebrtc patches (webrtc disabled in build)
- Add firefox.desktop.in template (from firefox 135)
- Add pkg-plist (based on firefox 135)
- Add 11 MidnightBSD/FreeBSD compatibility patches from firefox 135:
  imgFrame.h, platform_thread_posix.cc, SharedMemory_posix.cpp,
  cubeb_jack.cpp, rust_lib.rs, gen_buildid.py, unixproxy moz.build,
  protobuf port.h, build_config.h (x2), platform.cpp

AI-Assisted-by: Claude Sonnet 4.6 <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list