diff --git a/devel/electron43/Makefile b/devel/electron43/Makefile index 813b1f4ef3ce..41235ba68ca2 100644 --- a/devel/electron43/Makefile +++ b/devel/electron43/Makefile @@ -1,490 +1,502 @@ PORTNAME= electron DISTVERSIONPREFIX= v DISTVERSION= ${ELECTRON_VER} PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= devel -MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/:chromium \ +MASTER_SITES= https://github.com/tagattie/FreeBSD-Electron/releases/download/v43.3.0/:chromium \ https://freedesktop.org/software/pulseaudio/releases/:pulseaudio PKGNAMESUFFIX= ${ELECTRON_VER_MAJOR} -DISTFILES= chromium-${CHROMIUM_VER}-lite${EXTRACT_SUFX}:chromium \ +DISTFILES= chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.0:chromium \ + chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.1:chromium \ + chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.2:chromium \ pulseaudio-${PULSEV}.tar.gz:pulseaudio DIST_SUBDIR= ${PORTNAME} +EXTRACT_ONLY= ${DISTFILES:C/:[^:]+$//:C/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}\.[0-9]//} MAINTAINER= tagattie@FreeBSD.org COMMENT= Build cross-platform desktop apps with JavaScript, HTML, and CSS WWW= https://electronjs.org/ LICENSE= BSD3CLAUSE LGPL21 MPL11 MIT LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/electron/LICENSE BROKEN_i386= fetch fails: node process stalls during fetch phase and eats up all CPUs ONLY_FOR_ARCHS= aarch64 amd64 i386 FETCH_DEPENDS= git:devel/git \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} PATCH_DEPENDS= git:devel/git \ jq:textproc/jq BUILD_DEPENDS= esbuild:devel/esbuild \ gperf:devel/gperf \ bindgen:devel/rust-bindgen-cli \ yasm:devel/yasm \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-libs \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ node${NODEJS_VERSION}>0:www/node${NODEJS_VERSION} \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libdbus-1.so:devel/dbus \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ libnotify.so:devel/libnotify \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libva.so:multimedia/libva \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xdg-open:devel/xdg-utils TEST_DEPENDS= git:devel/git \ ${PYTHON_PKGNAMEPREFIX}python-dbusmock>0:devel/py-python-dbusmock@${PY_FLAVOR} \ sentry-cli:devel/sentry-cli USES= bison cargo compiler:c++17-lang cpe display:test gettext-tools \ gl gmake gnome iconv:wchar_t jpeg localbase:ldflags ninja \ nodejs:24,build npm:yarn4 pkgconfig python:build,test qt:5 \ shebangfix tar:xz xorg CPE_VENDOR= electronjs USE_GITHUB= nodefault GH_TUPLE= electron:electron:${DISTVERSIONFULL}:electron \ nodejs:node:v${NODE_VER}:node \ nodejs:nan:${NAN_VER}:nan \ Squirrel:Squirrel.Mac:${SQUIRREL_MAC_VER}:squirrel_mac \ ReactiveCocoa:ReactiveObjC:${REACTIVEOBJC_VER}:reactiveobjc \ Mantle:Mantle:${MANTLE_VER}:mantle \ EngFlow:reclient-configs:${ENGFLOW_RECLIENT_CONFIGS_VER}:reclient_configs \ rollup:rollup:v${ROLLUP_VER}:rollup \ evanw:esbuild:v${ESBUILD_VER}:esbuild USE_GL= gbm gl glesv2 USE_GNOME= atk cairo gdkpixbuf gtk30 libxml2 libxslt pango USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xrandr \ xrender xscrnsaver xtst USE_QT= buildtools:build core:build widgets:build NPM_EXTRACT_WRKSRC= ${WRKDIR}/${PORTNAME}-${ELECTRON_VER} SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper buildtools/linux64/clang-format # rollup CARGO_CARGOTOML= ${WRKSRC}/rollup/rust/Cargo.toml CARGO_CARGOLOCK= ${WRKSRC}/rollup/rust/Cargo.lock CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no CARGO_TARGET_DIR= ${WRKSRC}/rollup/rust/target MAKE_ARGS= -C out/${BUILDTYPE} MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include ALL_TARGET= electron electron:node_headers POST_BUILD_TARGETS= licenses version POST_BUILD_DIST_TARGETS=electron_dist_zip electron_chromedriver_zip \ electron_mksnapshot_zip DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} BINARY_ALIAS= python3=${PYTHON_CMD} BUNDLE_LIBS= yes TARGET_ORDER_OVERRIDE= 750:cargo-extract WRKSRC= ${WRKDIR}/src GN_ARGS+= clang_use_chrome_plugins=false \ enable_backup_ref_ptr_support=false \ enable_hangout_services_extension=true \ enable_remoting=false \ fatal_linker_warnings=false \ icu_use_data_file=false \ is_clang=true \ moc_qt5_path="${QT_TOOLDIR}/moc" \ optimize_webui=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=true \ use_custom_libunwind=true \ use_lld=true \ use_partition_alloc=true \ use_partition_alloc_as_malloc=false \ use_qt5=true \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libffi=true \ use_system_libjpeg=true \ use_udev=false \ chrome_pgo_phase=0 \ extra_cflags="${CFLAGS}" \ extra_cxxflags="${CXXFLAGS} -I${LOCALBASE}/include/libepoll-shim ${PINCLUDES}" \ extra_ldflags="${LDFLAGS}" \ ffmpeg_branding="${FFMPEG_BRAND}" \ override_electron_version="${ELECTRON_VER}" \ v8_builtins_profiling_log_file="" # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles PLIST_SUB= ELECTRON_VER=${ELECTRON_VER} \ ELECTRON_VER_MAJOR=${ELECTRON_VER_MAJOR} OPTIONS_DEFINE= CODECS CUPS DEBUG DIST DRIVER KERBEROS LTO PIPEWIRE OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS PIPEWIRE ALSA PULSEAUDIO SNDIO OPTIONS_EXCLUDE_aarch64=LTO OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes CODECS_DESC= Compile and enable patented codecs like H.264 DIST_DESC= Build distribution zip files DRIVER_DESC= Install chromedriver HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) PIPEWIRE_DESC= Screen capture via PipeWire ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=proprietary_codecs=true \ FFMPEG_BRAND="Chrome" CODECS_VARS_OFF= GN_ARGS+=proprietary_codecs=false \ FFMPEG_BRAND="Chromium" CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_VARS= GN_ARGS+=use_cups=true CUPS_VARS_OFF= GN_ARGS+=use_cups=false DEBUG_MAKE_ENV= ELECTRON_OUT_DIR=Debug DEBUG_MAKE_ENV_OFF= ELECTRON_OUT_DIR=Release DEBUG_VARS= BUILDTYPE=Debug \ GN_FILE=testing.gn \ GN_ARGS+=is_debug=true \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="21 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_FILE=release.gn \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ WANTSPACE="14 GB" DIST_IMPLIES= DRIVER DRIVER_MAKE_ARGS= chromedriver HEIMDAL_USES= gssapi:heimdal HEIMDAL_BASE_USES= gssapi:base KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="14 GB" LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false MIT_USES= gssapi:mit PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_VARS= GN_ARGS+=rtc_use_pipewire=true \ GN_ARGS+=rtc_link_pipewire=true PIPEWIRE_VARS_OFF= GN_ARGS+=rtc_use_pipewire=false \ GN_ARGS+=rtc_link_pipewire=false PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true \ PINCLUDES="-I${WRKDIR}/pulseaudio-${PULSEV}/src -DPA_MAJOR=${PULSEMV}" PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false # See ${WRKSRC}/electron/DEPS for CHROMIUM_VER -CHROMIUM_VER= 150.0.7871.129 +CHROMIUM_VER= 150.0.7871.212 # See ${WRKSRC}/electron/DEPS for NODE_VER -NODE_VER= 24.18.0 +NODE_VER= 24.18.1 # See ${WRKSRC}/electron/DEPS for NAN_VER NAN_VER= 675cefebca42410733da8a454c8d9391fcebfbc2 # See ${WRKSRC}/electron/DEPS for SQUIRREL_MAC_VER SQUIRREL_MAC_VER= 0e5d146ba13101a1302d59ea6e6e0b3cace4ae38 # See ${WRKSRC}/electron/DEPS for REACTIVEOBJC_VER REACTIVEOBJC_VER= 74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76 # See ${WRKSRC}/electron/DEPS for MANTLE_VER MANTLE_VER= 2a8e2123a3931038179ee06105c9e6ec336b12ea # See ${WRKSRC}/electron/DEPS for ENGFLOW_RECLIENT_CONFIGS_VER ENGFLOW_RECLIENT_CONFIGS_VER= 955335c30a752e9ef7bff375baab5e0819b6c00d # See ${WRKSRC}/third_party/devtools-frontend/src/node_modules/rollup/package.json ROLLUP_VER= 4.60.4 # Keep in sync with devel/esbuild ESBUILD_VER= 0.28.1 .include "Makefile.version" .include .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif LLVM_DEFAULT= 22 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} CFLAGS+= -Wno-error=implicit-function-declaration .if ${ARCH} == "aarch64" PLIST_SUB+= AARCH64="" \ AMD64="@comment " \ I386="@comment " \ NOT_AARCH64="@comment " FFMPEG_TARGET= arm64 .elif ${ARCH} == "amd64" BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= AARCH64="@comment " \ AMD64="" \ I386="@comment " \ NOT_AARCH64="" FFMPEG_TARGET= x64 .elif ${ARCH} == "i386" BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= AARCH64="@comment " \ AMD64="@comment " \ I386="" \ NOT_AARCH64="" FFMPEG_TARGET= ia32 .endif FFMPEG_BDIR= ${WRKSRC}/third_party/ffmpeg/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND} FFMPEG_CDIR= ${WRKSRC}/third_party/ffmpeg/chromium/config/${FFMPEG_BRAND}/freebsd/${FFMPEG_TARGET} # Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-znotext # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include # rust MAKE_ENV+= RUSTC_BOOTSTRAP=1 GN_ARGS+= enable_rust=true \ rust_sysroot_absolute="${LOCALBASE}" TEST_ENV+= ${MAKE_ENV} \ ELECTRON_OUT_DIR=${BUILDTYPE} \ LOCAL_GIT_DIRECTORY=${LOCALBASE} \ DISABLE_CRASH_REPORTER_TESTS=1 \ SENTRYCLI_SKIP_DOWNLOAD=1 pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build electron, you should have around 2GB of memory" @${ECHO_MSG} "and around ${WANTSPACE} of free disk space." @${ECHO_MSG} +pre-extract: +# Chromium source tarball is splitted into multiple fragments. Concatenate them +# into a single one and manually extract it into WRKDIR. + @${CAT} ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.? > \ + ${WRKDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX} + @cd ${WRKDIR} && \ + ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \ + chromium-${CHROMIUM_VER}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS} + post-extract: # Move extracted sources to appropriate locations ${MV} ${WRKDIR}/chromium-${CHROMIUM_VER} \ ${WRKSRC} ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER} \ ${WRKSRC}/electron ${MV} ${WRKDIR}/${GH_PROJECT_nan}-${NAN_VER} \ ${WRKSRC}/third_party/nan ${MV} ${WRKDIR}/${GH_PROJECT_node}-${NODE_VER} \ ${WRKSRC}/third_party/electron_node ${MV} ${WRKDIR}/${GH_PROJECT_squirrel_mac}-${SQUIRREL_MAC_VER} \ ${WRKSRC}/third_party/squirrel.mac @${MKDIR} ${WRKSRC}/third_party/squirrel.mac/vendor ${MV} ${WRKDIR}/${GH_PROJECT_reactiveobjc}-${REACTIVEOBJC_VER} \ ${WRKSRC}/third_party/squirrel.mac/vendor/ReactiveObjC ${MV} ${WRKDIR}/${GH_PROJECT_mantle}-${MANTLE_VER} \ ${WRKSRC}/third_party/squirrel.mac/vendor/Mantle ${MV} ${WRKDIR}/${GH_PROJECT_reclient_configs}-${ENGFLOW_RECLIENT_CONFIGS_VER} \ ${WRKSRC}/third_party/engflow-reclient-configs ${MV} ${WRKDIR}/${GH_PROJECT_rollup}-${ROLLUP_VER} \ ${WRKSRC}/rollup ${MV} ${WRKDIR}/${GH_PROJECT_esbuild}-${ESBUILD_VER} \ ${WRKSRC}/esbuild pre-patch: ${SH} ${FILESDIR}/apply-electron-patches.sh ${WRKSRC} # ${FIND} ${WRKSRC} -type f -name '*.orig' -print -delete # ${FIND} ${WRKSRC} -type f -name '*~' -print -delete pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ dav1d flac fontconfig harfbuzz libdrm libpng \ libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it cd ${WRKSRC}/media/ffmpeg && \ ${PYTHON_CMD} scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ --config-only --branding=${FFMPEG_BRAND} cd ${FFMPEG_BDIR} && ${GMAKE} ffversion.h @${MKDIR} ${FFMPEG_CDIR} .for _e in config.h config.asm config_components.asm config_components.h libavcodec libavformat libavutil -${CP} -pR ${FFMPEG_BDIR}/${_e} ${FFMPEG_CDIR} .endfor touch ${WRKDIR}/pulseaudio-${PULSEV}/src/pulse/version.h @${REINPLACE_CMD} -e 's|$${LOCALBASE}|${LOCALBASE}|; s|$${MODCLANG_VERSION}|${LLVM_DEFAULT}|' \ ${WRKSRC}/build/config/rust.gni \ ${WRKSRC}/build/linux/strip_binary.gni \ ${WRKSRC}/build/rust/rust_bindgen.gni \ ${WRKSRC}/build/rust/rust_bindgen_generator.gni do-configure: cd ${WRKSRC}/esbuild && \ ${LOCALBASE}/bin/node scripts/esbuild.js \ ${LOCALBASE}/bin/esbuild --neutral && \ ${RM} -r ${WRKSRC}/third_party/devtools-frontend/src/node_modules/esbuild && \ ${LN} -sf ${WRKSRC}/esbuild/npm/esbuild \ ${WRKSRC}/third_party/devtools-frontend/src/node_modules/esbuild \ # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn gen out/${BUILDTYPE} \ --args='import("//electron/build/args/${GN_FILE}") ${GN_ARGS}' # Make GN available to python scripts called during build ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKDIR}/.bin # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin ${LN} -sf ${LOCALBASE}/bin/node \ ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin/node # Setup rustc dependency @${MKDIR} ${WRKSRC}/third_party/rust-toolchain/bin ${LN} -sf ${LOCALBASE}/bin/rustc \ ${WRKSRC}/third_party/rust-toolchain/bin/rustc # Setup esbuild dependency ${LN} -sf ${LOCALBASE}/bin/esbuild \ ${WRKSRC}/third_party/devtools-frontend/src/third_party/esbuild/esbuild # Setup gperf dependency ${LN} -sf ${LOCALBASE}/bin/gperf \ ${WRKSRC}/third_party/gperf/cipd/bin/gperf # Setup buildtools/freebsd @${MKDIR} ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format \ ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd ${LN} -sf /usr/bin/strip ${WRKSRC}/buildtools/freebsd/strip pre-build: @${CARGO_CARGO_RUN} build \ --manifest-path ${CARGO_CARGOTOML} \ --verbose \ --verbose \ ${CARGO_BUILD_ARGS} (cd ${WRKSRC}/third_party/devtools-frontend/src/node_modules/@rollup && \ ${MKDIR} rollup-freebsd && \ ${CP} ${CARGO_TARGET_DIR}/*/libbindings_napi.so \ rollup-freebsd/rollup.freebsd.node && \ ${ECHO_CMD} '{ "main": "./rollup.freebsd.node" }' \ > rollup-freebsd/package.json) post-build: cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${POST_BUILD_TARGETS} post-build-DIST-on: cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${POST_BUILD_DIST_TARGETS} cd ${WRKSRC}/out/${BUILDTYPE} && \ ${CP} chromedriver.zip chromedriver-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${CP} dist.zip electron-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${CP} mksnapshot.zip mksnapshot-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${SHA256} -r *-v${ELECTRON_VER}-freebsd-*.zip | ${SED} -e 's/ / */' > SHASUMS256.txt do-install: @${MKDIR} ${STAGEDIR}${DATADIR} .for f in electron mksnapshot v8_context_snapshot_generator ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor .for f in libEGL.so libGLESv2.so libffmpeg.so libvk_swiftshader.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 \ ${STAGEDIR}${DATADIR}/libvulkan.so .for f in LICENSE LICENSES.chromium.html snapshot_blob.bin v8_context_snapshot.bin version vk_swiftshader_icd.json ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor .for f in chrome_100_percent.pak chrome_200_percent.pak resources.pak ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/locales ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/locales/*.pak \ ${STAGEDIR}${DATADIR}/locales @${MKDIR} ${STAGEDIR}${DATADIR}/resources .for f in default_app.asar ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/resources/${f} \ ${STAGEDIR}${DATADIR}/resources .endfor cd ${WRKSRC}/out/${BUILDTYPE}/gen && \ ${COPYTREE_SHARE} node_headers ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && \ ${COPYTREE_SHARE} gen/electron/buildflags ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && \ ${COPYTREE_SHARE} gen/v8/embedded.S ${STAGEDIR}${DATADIR} ${RLN} ${STAGEDIR}${DATADIR}/electron \ ${STAGEDIR}${PREFIX}/bin/electron${PKGNAMESUFFIX} # clean up garbages installed into STAGEDIR during build phase @${RM} -r ${STAGEDIR}${WRKDIR} @${FIND} ${STAGEDIR} -type d -empty -delete post-install-DIST-on: @${MKDIR} ${STAGEDIR}${DATADIR}/releases ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/SHASUMS256.txt \ ${STAGEDIR}${DATADIR}/releases ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*-v${ELECTRON_VER}-freebsd-*.zip \ ${STAGEDIR}${DATADIR}/releases post-install-DRIVER-on: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver.unstripped \ ${STAGEDIR}${DATADIR}/chromedriver pre-test: ${CP} ${LOCALBASE}/bin/sentry-cli \ ${WRKSRC}/electron/node_modules/@sentry/cli do-test: cd ${WRKSRC}/electron && \ ${SETENV} ${TEST_ENV} yarn run test -- --ci .include diff --git a/devel/electron43/Makefile.version b/devel/electron43/Makefile.version index 98d69f36ed2b..0dfe118dc955 100644 --- a/devel/electron43/Makefile.version +++ b/devel/electron43/Makefile.version @@ -1,2 +1,2 @@ -ELECTRON_VER= 43.2.0 +ELECTRON_VER= 43.3.0 ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//} diff --git a/devel/electron43/distinfo b/devel/electron43/distinfo index da8fe800fd86..a804e6b44a68 100644 --- a/devel/electron43/distinfo +++ b/devel/electron43/distinfo @@ -1,435 +1,439 @@ -TIMESTAMP = 1784805086 -SHA256 (electron/chromium-150.0.7871.129-lite.tar.xz) = 851ced572bf2dc41c1afaad4a64975f6b6aa2d9d6a7fafc4cb2484ca09067aaa -SIZE (electron/chromium-150.0.7871.129-lite.tar.xz) = 1670301388 +TIMESTAMP = 1786091655 +SHA256 (electron/chromium-150.0.7871.212.tar.xz.0) = ecc660ee6648fb04512cbc39d7b9e6c5cb28dfce8d89f474b9798dde8590fb05 +SIZE (electron/chromium-150.0.7871.212.tar.xz.0) = 2000000000 +SHA256 (electron/chromium-150.0.7871.212.tar.xz.1) = 25cd905644654d375a4681c119654847879b1200a7a41233d98bec65e348ca0c +SIZE (electron/chromium-150.0.7871.212.tar.xz.1) = 2000000000 +SHA256 (electron/chromium-150.0.7871.212.tar.xz.2) = a197048fb1f8ea89f9dc16052c5675f8d8ad8c1a78179e510121a4b38e8d5b1f +SIZE (electron/chromium-150.0.7871.212.tar.xz.2) = 895410072 SHA256 (electron/pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92 SIZE (electron/pulseaudio-16.1.tar.gz) = 2763111 SHA256 (electron/rust/crates/ahash-0.8.12.crate) = 5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75 SIZE (electron/rust/crates/ahash-0.8.12.crate) = 43413 SHA256 (electron/rust/crates/aho-corasick-1.1.4.crate) = ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301 SIZE (electron/rust/crates/aho-corasick-1.1.4.crate) = 184015 SHA256 (electron/rust/crates/allocator-api2-0.2.21.crate) = 683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923 SIZE (electron/rust/crates/allocator-api2-0.2.21.crate) = 63622 SHA256 (electron/rust/crates/anyhow-1.0.102.crate) = 7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c SIZE (electron/rust/crates/anyhow-1.0.102.crate) = 48658 SHA256 (electron/rust/crates/ar_archive_writer-0.5.1.crate) = 7eb93bbb63b9c227414f6eb3a0adfddca591a8ce1e9b60661bb08969b87e340b SIZE (electron/rust/crates/ar_archive_writer-0.5.1.crate) = 85345 SHA256 (electron/rust/crates/arrayvec-0.7.6.crate) = 7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50 SIZE (electron/rust/crates/arrayvec-0.7.6.crate) = 31237 SHA256 (electron/rust/crates/ascii-1.1.0.crate) = d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16 SIZE (electron/rust/crates/ascii-1.1.0.crate) = 36075 SHA256 (electron/rust/crates/ast_node-5.0.0.crate) = 2eb025ef00a6da925cf40870b9c8d008526b6004ece399cb0974209720f0b194 SIZE (electron/rust/crates/ast_node-5.0.0.crate) = 12169 SHA256 (electron/rust/crates/autocfg-1.5.0.crate) = c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8 SIZE (electron/rust/crates/autocfg-1.5.0.crate) = 18729 SHA256 (electron/rust/crates/base-encode-0.3.1.crate) = a17bd29f7c70f32e9387f4d4acfa5ea7b7749ef784fb78cf382df97069337b8c SIZE (electron/rust/crates/base-encode-0.3.1.crate) = 3630 SHA256 (electron/rust/crates/base64-0.22.1.crate) = 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6 SIZE (electron/rust/crates/base64-0.22.1.crate) = 81597 SHA256 (electron/rust/crates/base64-simd-0.8.0.crate) = 339abbe78e73178762e23bea9dfd08e697eb3f3301cd4be981c0f78ba5859195 SIZE (electron/rust/crates/base64-simd-0.8.0.crate) = 12531 SHA256 (electron/rust/crates/better_scoped_tls-1.0.1.crate) = 7cd228125315b132eed175bf47619ac79b945b26e56b848ba203ae4ea8603609 SIZE (electron/rust/crates/better_scoped_tls-1.0.1.crate) = 2140 SHA256 (electron/rust/crates/bitflags-2.11.1.crate) = c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3 SIZE (electron/rust/crates/bitflags-2.11.1.crate) = 49082 SHA256 (electron/rust/crates/bitvec-1.0.1.crate) = 1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c SIZE (electron/rust/crates/bitvec-1.0.1.crate) = 224375 SHA256 (electron/rust/crates/bstr-1.12.1.crate) = 63044e1ae8e69f3b5a92c736ca6269b8d12fa7efe39bf34ddb06d102cf0e2cab SIZE (electron/rust/crates/bstr-1.12.1.crate) = 354916 SHA256 (electron/rust/crates/bumpalo-3.20.2.crate) = 5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb SIZE (electron/rust/crates/bumpalo-3.20.2.crate) = 97696 SHA256 (electron/rust/crates/bytes-1.11.1.crate) = 1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33 SIZE (electron/rust/crates/bytes-1.11.1.crate) = 78584 SHA256 (electron/rust/crates/bytes-str-0.2.7.crate) = 7c60b5ce37e0b883c37eb89f79a1e26fbe9c1081945d024eee93e8d91a7e18b3 SIZE (electron/rust/crates/bytes-str-0.2.7.crate) = 10230 SHA256 (electron/rust/crates/castaway-0.2.4.crate) = dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a SIZE (electron/rust/crates/castaway-0.2.4.crate) = 12546 SHA256 (electron/rust/crates/cc-1.2.61.crate) = d16d90359e986641506914ba71350897565610e87ce0ad9e6f28569db3dd5c6d SIZE (electron/rust/crates/cc-1.2.61.crate) = 97163 SHA256 (electron/rust/crates/cfg-if-1.0.4.crate) = 9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801 SIZE (electron/rust/crates/cfg-if-1.0.4.crate) = 9360 SHA256 (electron/rust/crates/cmake-0.1.58.crate) = c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678 SIZE (electron/rust/crates/cmake-0.1.58.crate) = 20474 SHA256 (electron/rust/crates/compact_str-0.7.1.crate) = f86b9c4c00838774a6d902ef931eff7470720c51d90c2e32cfe15dc304737b3f SIZE (electron/rust/crates/compact_str-0.7.1.crate) = 57246 SHA256 (electron/rust/crates/console_error_panic_hook-0.1.7.crate) = a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc SIZE (electron/rust/crates/console_error_panic_hook-0.1.7.crate) = 507196 SHA256 (electron/rust/crates/convert_case-0.11.0.crate) = affbf0190ed2caf063e3def54ff444b449371d55c58e513a95ab98eca50adb49 SIZE (electron/rust/crates/convert_case-0.11.0.crate) = 31545 SHA256 (electron/rust/crates/ctor-0.11.1.crate) = 400a21f1014a968ec518c7ccdf9b4a4ed0cac8c56ccb6d604f8b91f00110501e SIZE (electron/rust/crates/ctor-0.11.1.crate) = 32910 SHA256 (electron/rust/crates/dashmap-5.5.3.crate) = 978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856 SIZE (electron/rust/crates/dashmap-5.5.3.crate) = 24061 SHA256 (electron/rust/crates/data-encoding-2.11.0.crate) = a4ae5f15dda3c708c0ade84bfee31ccab44a3da4f88015ed22f63732abe300c8 SIZE (electron/rust/crates/data-encoding-2.11.0.crate) = 22677 SHA256 (electron/rust/crates/debugid-0.8.0.crate) = bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d SIZE (electron/rust/crates/debugid-0.8.0.crate) = 12757 SHA256 (electron/rust/crates/displaydoc-0.2.5.crate) = 97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0 SIZE (electron/rust/crates/displaydoc-0.2.5.crate) = 24219 SHA256 (electron/rust/crates/dragonbox_ecma-0.1.12.crate) = fd8e701084c37e7ef62d3f9e453b618130cbc0ef3573847785952a3ac3f746bf SIZE (electron/rust/crates/dragonbox_ecma-0.1.12.crate) = 46796 SHA256 (electron/rust/crates/either-1.15.0.crate) = 48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719 SIZE (electron/rust/crates/either-1.15.0.crate) = 20114 SHA256 (electron/rust/crates/equivalent-1.0.2.crate) = 877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f SIZE (electron/rust/crates/equivalent-1.0.2.crate) = 7419 SHA256 (electron/rust/crates/find-msvc-tools-0.1.9.crate) = 5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582 SIZE (electron/rust/crates/find-msvc-tools-0.1.9.crate) = 31493 SHA256 (electron/rust/crates/fixedbitset-0.5.7.crate) = 1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99 SIZE (electron/rust/crates/fixedbitset-0.5.7.crate) = 26537 SHA256 (electron/rust/crates/foldhash-0.2.0.crate) = 77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb SIZE (electron/rust/crates/foldhash-0.2.0.crate) = 23329 SHA256 (electron/rust/crates/form_urlencoded-1.2.2.crate) = cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf SIZE (electron/rust/crates/form_urlencoded-1.2.2.crate) = 9347 SHA256 (electron/rust/crates/from_variant-3.0.0.crate) = e5ff35a391aef949120a0340d690269b3d9f63460a6106e99bd07b961f345ea9 SIZE (electron/rust/crates/from_variant-3.0.0.crate) = 2391 SHA256 (electron/rust/crates/funty-2.0.0.crate) = e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c SIZE (electron/rust/crates/funty-2.0.0.crate) = 13160 SHA256 (electron/rust/crates/futures-0.3.32.crate) = 8b147ee9d1f6d097cef9ce628cd2ee62288d963e16fb287bd9286455b241382d SIZE (electron/rust/crates/futures-0.3.32.crate) = 61234 SHA256 (electron/rust/crates/futures-channel-0.3.32.crate) = 07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d SIZE (electron/rust/crates/futures-channel-0.3.32.crate) = 33213 SHA256 (electron/rust/crates/futures-core-0.3.32.crate) = 7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d SIZE (electron/rust/crates/futures-core-0.3.32.crate) = 14684 SHA256 (electron/rust/crates/futures-executor-0.3.32.crate) = baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d SIZE (electron/rust/crates/futures-executor-0.3.32.crate) = 18581 SHA256 (electron/rust/crates/futures-io-0.3.32.crate) = cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718 SIZE (electron/rust/crates/futures-io-0.3.32.crate) = 9191 SHA256 (electron/rust/crates/futures-macro-0.3.32.crate) = e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b SIZE (electron/rust/crates/futures-macro-0.3.32.crate) = 11929 SHA256 (electron/rust/crates/futures-sink-0.3.32.crate) = c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893 SIZE (electron/rust/crates/futures-sink-0.3.32.crate) = 8106 SHA256 (electron/rust/crates/futures-task-0.3.32.crate) = 037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393 SIZE (electron/rust/crates/futures-task-0.3.32.crate) = 11377 SHA256 (electron/rust/crates/futures-util-0.3.32.crate) = 389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6 SIZE (electron/rust/crates/futures-util-0.3.32.crate) = 168797 SHA256 (electron/rust/crates/globset-0.4.18.crate) = 52dfc19153a48bde0cbd630453615c8151bce3a5adfac7a0aebfbf0a1e1f57e3 SIZE (electron/rust/crates/globset-0.4.18.crate) = 28970 SHA256 (electron/rust/crates/hashbrown-0.14.5.crate) = e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1 SIZE (electron/rust/crates/hashbrown-0.14.5.crate) = 141498 SHA256 (electron/rust/crates/hashbrown-0.16.1.crate) = 841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100 SIZE (electron/rust/crates/hashbrown-0.16.1.crate) = 147785 SHA256 (electron/rust/crates/hashbrown-0.17.0.crate) = 4f467dd6dccf739c208452f8014c75c18bb8301b050ad1cfb27153803edb0f51 SIZE (electron/rust/crates/hashbrown-0.17.0.crate) = 154597 SHA256 (electron/rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea SIZE (electron/rust/crates/heck-0.5.0.crate) = 11517 SHA256 (electron/rust/crates/hermit-abi-0.5.2.crate) = fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c SIZE (electron/rust/crates/hermit-abi-0.5.2.crate) = 17435 SHA256 (electron/rust/crates/hstr-3.0.4.crate) = faa57007c3c9dab34df2fa4c1fb52fe9c34ec5a27ed9d8edea53254b50cd7887 SIZE (electron/rust/crates/hstr-3.0.4.crate) = 41168 SHA256 (electron/rust/crates/icu_collections-2.2.0.crate) = 2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c SIZE (electron/rust/crates/icu_collections-2.2.0.crate) = 88011 SHA256 (electron/rust/crates/icu_locale_core-2.2.0.crate) = 92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29 SIZE (electron/rust/crates/icu_locale_core-2.2.0.crate) = 78639 SHA256 (electron/rust/crates/icu_normalizer-2.2.0.crate) = c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4 SIZE (electron/rust/crates/icu_normalizer-2.2.0.crate) = 78154 SHA256 (electron/rust/crates/icu_normalizer_data-2.2.0.crate) = da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38 SIZE (electron/rust/crates/icu_normalizer_data-2.2.0.crate) = 67134 SHA256 (electron/rust/crates/icu_properties-2.2.0.crate) = bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de SIZE (electron/rust/crates/icu_properties-2.2.0.crate) = 63950 SHA256 (electron/rust/crates/icu_properties_data-2.2.0.crate) = 8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14 SIZE (electron/rust/crates/icu_properties_data-2.2.0.crate) = 168901 SHA256 (electron/rust/crates/icu_provider-2.2.0.crate) = 139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421 SIZE (electron/rust/crates/icu_provider-2.2.0.crate) = 51620 SHA256 (electron/rust/crates/idna-1.1.0.crate) = 3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de SIZE (electron/rust/crates/idna-1.1.0.crate) = 148747 SHA256 (electron/rust/crates/idna_adapter-1.2.2.crate) = cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714 SIZE (electron/rust/crates/idna_adapter-1.2.2.crate) = 10444 SHA256 (electron/rust/crates/if_chain-1.0.3.crate) = cd62e6b5e86ea8eeeb8db1de02880a6abc01a397b2ebb64b5d74ac255318f5cb SIZE (electron/rust/crates/if_chain-1.0.3.crate) = 8384 SHA256 (electron/rust/crates/indexmap-2.14.0.crate) = d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9 SIZE (electron/rust/crates/indexmap-2.14.0.crate) = 104085 SHA256 (electron/rust/crates/is-macro-0.3.7.crate) = 1d57a3e447e24c22647738e4607f1df1e0ec6f72e16182c4cd199f647cdfb0e4 SIZE (electron/rust/crates/is-macro-0.3.7.crate) = 9060 SHA256 (electron/rust/crates/itoa-1.0.18.crate) = 8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682 SIZE (electron/rust/crates/itoa-1.0.18.crate) = 15935 SHA256 (electron/rust/crates/js-sys-0.3.98.crate) = 67df7112613f8bfd9150013a0314e196f4800d3201ae742489d999db2f979f08 SIZE (electron/rust/crates/js-sys-0.3.98.crate) = 108519 SHA256 (electron/rust/crates/libc-0.2.186.crate) = 68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66 SIZE (electron/rust/crates/libc-0.2.186.crate) = 821883 SHA256 (electron/rust/crates/libloading-0.9.0.crate) = 754ca22de805bb5744484a5b151a9e1a8e837d5dc232c2d7d8c2e3492edc8b60 SIZE (electron/rust/crates/libloading-0.9.0.crate) = 33816 SHA256 (electron/rust/crates/libmimalloc-sys2-0.1.54.crate) = e8cac9b2d60928163027249a1ebd0ec8e6c58b66dca93cccf58ee618e66fc062 SIZE (electron/rust/crates/libmimalloc-sys2-0.1.54.crate) = 1642853 SHA256 (electron/rust/crates/litemap-0.8.2.crate) = 92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0 SIZE (electron/rust/crates/litemap-0.8.2.crate) = 34572 SHA256 (electron/rust/crates/lock_api-0.4.14.crate) = 224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965 SIZE (electron/rust/crates/lock_api-0.4.14.crate) = 29249 SHA256 (electron/rust/crates/memchr-2.8.0.crate) = f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79 SIZE (electron/rust/crates/memchr-2.8.0.crate) = 97780 SHA256 (electron/rust/crates/mimalloc-safe-0.1.58.crate) = a8bf95a709c09e85ae74e77b2413cbb11a1b8f2f3d11e23b3751382467c9c15c SIZE (electron/rust/crates/mimalloc-safe-0.1.58.crate) = 7282 SHA256 (electron/rust/crates/napi-3.8.6.crate) = 8e55037284865448ecf329baa86a4d05401f647ebde99f5747b640d32c2c5226 SIZE (electron/rust/crates/napi-3.8.6.crate) = 129092 SHA256 (electron/rust/crates/napi-build-2.3.1.crate) = d376940fd5b723c6893cd1ee3f33abbfd86acb1cd1ec079f3ab04a2a3bc4d3b1 SIZE (electron/rust/crates/napi-build-2.3.1.crate) = 3233 SHA256 (electron/rust/crates/napi-derive-3.5.5.crate) = a4ba740fe4c9524d86fd90798fd8ccdb23402b3eef7e7c30897a8a369b529fcf SIZE (electron/rust/crates/napi-derive-3.5.5.crate) = 22629 SHA256 (electron/rust/crates/napi-derive-backend-5.0.4.crate) = 0d5af30503edf933ce7377cf6d4c877a62b0f1107ea05585f1b5e430e88d5baf SIZE (electron/rust/crates/napi-derive-backend-5.0.4.crate) = 35478 SHA256 (electron/rust/crates/napi-sys-3.2.1.crate) = 8eb602b84d7c1edae45e50bbf1374696548f36ae179dfa667f577e384bb90c2b SIZE (electron/rust/crates/napi-sys-3.2.1.crate) = 7465 SHA256 (electron/rust/crates/new_debug_unreachable-1.0.6.crate) = 650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086 SIZE (electron/rust/crates/new_debug_unreachable-1.0.6.crate) = 2582 SHA256 (electron/rust/crates/nohash-hasher-0.2.0.crate) = 2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451 SIZE (electron/rust/crates/nohash-hasher-0.2.0.crate) = 8051 SHA256 (electron/rust/crates/num-bigint-0.4.6.crate) = a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9 SIZE (electron/rust/crates/num-bigint-0.4.6.crate) = 102801 SHA256 (electron/rust/crates/num-integer-0.1.46.crate) = 7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f SIZE (electron/rust/crates/num-integer-0.1.46.crate) = 22331 SHA256 (electron/rust/crates/num-traits-0.2.19.crate) = 071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841 SIZE (electron/rust/crates/num-traits-0.2.19.crate) = 51631 SHA256 (electron/rust/crates/num_cpus-1.17.0.crate) = 91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b SIZE (electron/rust/crates/num_cpus-1.17.0.crate) = 15874 SHA256 (electron/rust/crates/object-0.37.3.crate) = ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe SIZE (electron/rust/crates/object-0.37.3.crate) = 344032 SHA256 (electron/rust/crates/once_cell-1.21.4.crate) = 9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50 SIZE (electron/rust/crates/once_cell-1.21.4.crate) = 35010 SHA256 (electron/rust/crates/outref-0.5.2.crate) = 1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e SIZE (electron/rust/crates/outref-0.5.2.crate) = 5621 SHA256 (electron/rust/crates/par-core-2.0.0.crate) = e96cbd21255b7fb29a5d51ef38a779b517a91abd59e2756c039583f43ef4c90f SIZE (electron/rust/crates/par-core-2.0.0.crate) = 2443 SHA256 (electron/rust/crates/par-iter-2.0.0.crate) = 3eae0176a010bb94b9a67f0eb9da0fd31410817d58850649c54f485124c9a71a SIZE (electron/rust/crates/par-iter-2.0.0.crate) = 152109 SHA256 (electron/rust/crates/parking_lot-0.12.5.crate) = 93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a SIZE (electron/rust/crates/parking_lot-0.12.5.crate) = 46735 SHA256 (electron/rust/crates/parking_lot_core-0.9.12.crate) = 2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1 SIZE (electron/rust/crates/parking_lot_core-0.9.12.crate) = 34110 SHA256 (electron/rust/crates/pathdiff-0.2.3.crate) = df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3 SIZE (electron/rust/crates/pathdiff-0.2.3.crate) = 7495 SHA256 (electron/rust/crates/percent-encoding-2.3.2.crate) = 9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220 SIZE (electron/rust/crates/percent-encoding-2.3.2.crate) = 11583 SHA256 (electron/rust/crates/petgraph-0.7.1.crate) = 3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772 SIZE (electron/rust/crates/petgraph-0.7.1.crate) = 736025 SHA256 (electron/rust/crates/phf-0.11.3.crate) = 1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078 SIZE (electron/rust/crates/phf-0.11.3.crate) = 23231 SHA256 (electron/rust/crates/phf_generator-0.11.3.crate) = 3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d SIZE (electron/rust/crates/phf_generator-0.11.3.crate) = 15431 SHA256 (electron/rust/crates/phf_macros-0.11.3.crate) = f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216 SIZE (electron/rust/crates/phf_macros-0.11.3.crate) = 18436 SHA256 (electron/rust/crates/phf_shared-0.11.3.crate) = 67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5 SIZE (electron/rust/crates/phf_shared-0.11.3.crate) = 15199 SHA256 (electron/rust/crates/pin-project-lite-0.2.17.crate) = a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd SIZE (electron/rust/crates/pin-project-lite-0.2.17.crate) = 31034 SHA256 (electron/rust/crates/potential_utf-0.1.5.crate) = 0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564 SIZE (electron/rust/crates/potential_utf-0.1.5.crate) = 10189 SHA256 (electron/rust/crates/proc-macro2-1.0.106.crate) = 8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934 SIZE (electron/rust/crates/proc-macro2-1.0.106.crate) = 59765 SHA256 (electron/rust/crates/psm-0.1.31.crate) = 645dbe486e346d9b5de3ef16ede18c26e6c70ad97418f4874b8b1889d6e761ea SIZE (electron/rust/crates/psm-0.1.31.crate) = 25059 SHA256 (electron/rust/crates/quote-1.0.45.crate) = 41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924 SIZE (electron/rust/crates/quote-1.0.45.crate) = 31564 SHA256 (electron/rust/crates/radium-0.7.0.crate) = dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09 SIZE (electron/rust/crates/radium-0.7.0.crate) = 10906 SHA256 (electron/rust/crates/radix_fmt-1.0.0.crate) = ce082a9940a7ace2ad4a8b7d0b1eac6aa378895f18be598230c5f2284ac05426 SIZE (electron/rust/crates/radix_fmt-1.0.0.crate) = 8743 SHA256 (electron/rust/crates/rand-0.8.6.crate) = 5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a SIZE (electron/rust/crates/rand-0.8.6.crate) = 83339 SHA256 (electron/rust/crates/rand_core-0.6.4.crate) = ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c SIZE (electron/rust/crates/rand_core-0.6.4.crate) = 22666 SHA256 (electron/rust/crates/redox_syscall-0.5.18.crate) = ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d SIZE (electron/rust/crates/redox_syscall-0.5.18.crate) = 30747 SHA256 (electron/rust/crates/regex-1.12.3.crate) = e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276 SIZE (electron/rust/crates/regex-1.12.3.crate) = 153392 SHA256 (electron/rust/crates/regex-automata-0.4.14.crate) = 6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f SIZE (electron/rust/crates/regex-automata-0.4.14.crate) = 618012 SHA256 (electron/rust/crates/regex-syntax-0.8.10.crate) = dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a SIZE (electron/rust/crates/regex-syntax-0.8.10.crate) = 358781 SHA256 (electron/rust/crates/regress-0.10.5.crate) = 2057b2325e68a893284d1538021ab90279adac1139957ca2a74426c6f118fb48 SIZE (electron/rust/crates/regress-0.10.5.crate) = 346868 SHA256 (electron/rust/crates/rustc-hash-2.1.2.crate) = 94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe SIZE (electron/rust/crates/rustc-hash-2.1.2.crate) = 14754 SHA256 (electron/rust/crates/rustversion-1.0.22.crate) = b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d SIZE (electron/rust/crates/rustversion-1.0.22.crate) = 21096 SHA256 (electron/rust/crates/ryu-1.0.23.crate) = 9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f SIZE (electron/rust/crates/ryu-1.0.23.crate) = 52823 SHA256 (electron/rust/crates/ryu-js-1.0.2.crate) = dd29631678d6fb0903b69223673e122c32e9ae559d0960a38d574695ebc0ea15 SIZE (electron/rust/crates/ryu-js-1.0.2.crate) = 75035 SHA256 (electron/rust/crates/scoped-tls-1.0.1.crate) = e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294 SIZE (electron/rust/crates/scoped-tls-1.0.1.crate) = 8202 SHA256 (electron/rust/crates/scopeguard-1.2.0.crate) = 94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49 SIZE (electron/rust/crates/scopeguard-1.2.0.crate) = 11619 SHA256 (electron/rust/crates/semver-1.0.28.crate) = 8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd SIZE (electron/rust/crates/semver-1.0.28.crate) = 33064 SHA256 (electron/rust/crates/seq-macro-0.3.6.crate) = 1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc SIZE (electron/rust/crates/seq-macro-0.3.6.crate) = 16031 SHA256 (electron/rust/crates/serde-1.0.228.crate) = 9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e SIZE (electron/rust/crates/serde-1.0.228.crate) = 83652 SHA256 (electron/rust/crates/serde_core-1.0.228.crate) = 41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad SIZE (electron/rust/crates/serde_core-1.0.228.crate) = 63111 SHA256 (electron/rust/crates/serde_derive-1.0.228.crate) = d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79 SIZE (electron/rust/crates/serde_derive-1.0.228.crate) = 59605 SHA256 (electron/rust/crates/serde_json-1.0.149.crate) = 83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86 SIZE (electron/rust/crates/serde_json-1.0.149.crate) = 155994 SHA256 (electron/rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 SIZE (electron/rust/crates/shlex-1.3.0.crate) = 18713 SHA256 (electron/rust/crates/siphasher-0.3.11.crate) = 38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d SIZE (electron/rust/crates/siphasher-0.3.11.crate) = 10442 SHA256 (electron/rust/crates/siphasher-1.0.3.crate) = 8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649 SIZE (electron/rust/crates/siphasher-1.0.3.crate) = 11643 SHA256 (electron/rust/crates/slab-0.4.12.crate) = 0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5 SIZE (electron/rust/crates/slab-0.4.12.crate) = 19080 SHA256 (electron/rust/crates/smallvec-1.15.1.crate) = 67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03 SIZE (electron/rust/crates/smallvec-1.15.1.crate) = 38116 SHA256 (electron/rust/crates/smartstring-1.0.1.crate) = 3fb72c633efbaa2dd666986505016c32c3044395ceaf881518399d2f4127ee29 SIZE (electron/rust/crates/smartstring-1.0.1.crate) = 29555 SHA256 (electron/rust/crates/stable_deref_trait-1.2.1.crate) = 6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596 SIZE (electron/rust/crates/stable_deref_trait-1.2.1.crate) = 8186 SHA256 (electron/rust/crates/stacker-0.1.23.crate) = 08d74a23609d509411d10e2176dc2a4346e3b4aea2e7b1869f19fdedbc71c013 SIZE (electron/rust/crates/stacker-0.1.23.crate) = 17813 SHA256 (electron/rust/crates/static_assertions-1.1.0.crate) = a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f SIZE (electron/rust/crates/static_assertions-1.1.0.crate) = 18480 SHA256 (electron/rust/crates/string_enum-1.0.2.crate) = ae36a4951ca7bd1cfd991c241584a9824a70f6aff1e7d4f693fb3f2465e4030e SIZE (electron/rust/crates/string_enum-1.0.2.crate) = 4523 SHA256 (electron/rust/crates/swc_allocator-4.0.1.crate) = 9d7eefd2c8b228a8c73056482b2ae4b3a1071fbe07638e3b55ceca8570cc48bb SIZE (electron/rust/crates/swc_allocator-4.0.1.crate) = 10424 SHA256 (electron/rust/crates/swc_atoms-9.0.0.crate) = d4ccbe2ecad10ad7432100f878a107b1d972a8aee83ca53184d00c23a078bb8a SIZE (electron/rust/crates/swc_atoms-9.0.0.crate) = 8934 SHA256 (electron/rust/crates/swc_common-21.0.1.crate) = 078f2144aa2c33ff8485773f1b81b9985fa2d00f4ad60879158ad6897db2de88 SIZE (electron/rust/crates/swc_common-21.0.1.crate) = 100154 SHA256 (electron/rust/crates/swc_compiler_base-55.0.0.crate) = d25b6d506f20c3a750336756602b92467b3d93347104920c20e9d0c64184b286 SIZE (electron/rust/crates/swc_compiler_base-55.0.0.crate) = 23316 SHA256 (electron/rust/crates/swc_config-4.0.1.crate) = a737811bc412f055818d80ae999db259678e1e2dacd91639d28a61750a251373 SIZE (electron/rust/crates/swc_config-4.0.1.crate) = 12778 SHA256 (electron/rust/crates/swc_config_macro-1.0.1.crate) = 7b416e8ce6de17dc5ea496e10c7012b35bbc0e3fef38d2e065eed936490db0b3 SIZE (electron/rust/crates/swc_config_macro-1.0.1.crate) = 2221 SHA256 (electron/rust/crates/swc_ecma_ast-23.0.0.crate) = 39f4173ab7e676eed4938d5ad8bbdf14418f87c9a8d36e6cdda82ac9645912b0 SIZE (electron/rust/crates/swc_ecma_ast-23.0.0.crate) = 50591 SHA256 (electron/rust/crates/swc_ecma_codegen-26.0.1.crate) = fafbcdd29cc03b0c04860bb0143e781e13a4e2dac03eb8747df520f602e0aa94 SIZE (electron/rust/crates/swc_ecma_codegen-26.0.1.crate) = 63550 SHA256 (electron/rust/crates/swc_ecma_codegen_macros-2.0.2.crate) = e276dc62c0a2625a560397827989c82a93fd545fcf6f7faec0935a82cc4ddbb8 SIZE (electron/rust/crates/swc_ecma_codegen_macros-2.0.2.crate) = 2549 SHA256 (electron/rust/crates/swc_ecma_hooks-0.7.0.crate) = ee7662517362f6726b0e107a3caec2b4cc7d629f9bf702958948e9350722e52f SIZE (electron/rust/crates/swc_ecma_hooks-0.7.0.crate) = 88056 SHA256 (electron/rust/crates/swc_ecma_minifier-52.0.4.crate) = 4011c4a9b320a73ac8ff27beb209a39700873b7f7492cfd8184eaf7bd71f8271 SIZE (electron/rust/crates/swc_ecma_minifier-52.0.4.crate) = 279744 SHA256 (electron/rust/crates/swc_ecma_parser-39.0.2.crate) = 8b13829b24cbdb2d7a08282bd968af8a258fd762c918df9a7b82291d44068bbc SIZE (electron/rust/crates/swc_ecma_parser-39.0.2.crate) = 181929 SHA256 (electron/rust/crates/swc_ecma_transforms_base-42.0.0.crate) = 45e58612045e827e7d3ae9f1dc6ae3590ba9abc6a3d93ff2adf27350ab409822 SIZE (electron/rust/crates/swc_ecma_transforms_base-42.0.0.crate) = 93990 SHA256 (electron/rust/crates/swc_ecma_transforms_optimization-44.0.0.crate) = 2098c7da8c4f235342ec1f7a0eb61264214d4d1b3185a0d43b2833543745b3ca SIZE (electron/rust/crates/swc_ecma_transforms_optimization-44.0.0.crate) = 80660 SHA256 (electron/rust/crates/swc_ecma_utils-29.1.0.crate) = 8e64243f2c9e9c9e631a18b42ad51f62137cf4f57b21fb93b1d58836322c2c81 SIZE (electron/rust/crates/swc_ecma_utils-29.1.0.crate) = 44910 SHA256 (electron/rust/crates/swc_ecma_visit-23.0.0.crate) = ad65d392ed427dc9e94f16a3d802b02e27722c21227639c8d5f45f19757b447b SIZE (electron/rust/crates/swc_ecma_visit-23.0.0.crate) = 330047 SHA256 (electron/rust/crates/swc_eq_ignore_macros-1.0.1.crate) = c16ce73424a6316e95e09065ba6a207eba7765496fed113702278b7711d4b632 SIZE (electron/rust/crates/swc_eq_ignore_macros-1.0.1.crate) = 3313 SHA256 (electron/rust/crates/swc_macros_common-1.0.1.crate) = aae1efbaa74943dc5ad2a2fb16cbd78b77d7e4d63188f3c5b4df2b4dcd2faaae SIZE (electron/rust/crates/swc_macros_common-1.0.1.crate) = 7108 SHA256 (electron/rust/crates/swc_sourcemap-10.0.2.crate) = 0c421e5e39e43a4b1b70c07922d7bffd5c22e8eff1340c0b15d0bfd0328822ee SIZE (electron/rust/crates/swc_sourcemap-10.0.2.crate) = 113214 SHA256 (electron/rust/crates/swc_timer-1.0.0.crate) = 4db06b46cc832f7cf83c2ce21905fc465d01443a2bdccf63644383e1f5847532 SIZE (electron/rust/crates/swc_timer-1.0.0.crate) = 1685 SHA256 (electron/rust/crates/swc_visit-2.0.1.crate) = 62fb71484b486c185e34d2172f0eabe7f4722742aad700f426a494bb2de232a2 SIZE (electron/rust/crates/swc_visit-2.0.1.crate) = 5576 SHA256 (electron/rust/crates/syn-2.0.117.crate) = e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99 SIZE (electron/rust/crates/syn-2.0.117.crate) = 306011 SHA256 (electron/rust/crates/synstructure-0.13.2.crate) = 728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2 SIZE (electron/rust/crates/synstructure-0.13.2.crate) = 18950 SHA256 (electron/rust/crates/tap-1.0.1.crate) = 55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369 SIZE (electron/rust/crates/tap-1.0.1.crate) = 11316 SHA256 (electron/rust/crates/tinystr-0.8.3.crate) = c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d SIZE (electron/rust/crates/tinystr-0.8.3.crate) = 24710 SHA256 (electron/rust/crates/tracing-0.1.44.crate) = 63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100 SIZE (electron/rust/crates/tracing-0.1.44.crate) = 463135 SHA256 (electron/rust/crates/tracing-attributes-0.1.31.crate) = 7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da SIZE (electron/rust/crates/tracing-attributes-0.1.31.crate) = 39733 SHA256 (electron/rust/crates/tracing-core-0.1.36.crate) = db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a SIZE (electron/rust/crates/tracing-core-0.1.36.crate) = 63967 SHA256 (electron/rust/crates/triomphe-0.1.15.crate) = dd69c5aa8f924c7519d6372789a74eac5b94fb0f8fcf0d4a97eb0bfc3e785f39 SIZE (electron/rust/crates/triomphe-0.1.15.crate) = 34711 SHA256 (electron/rust/crates/unicode-id-start-1.4.0.crate) = 81b79ad29b5e19de4260020f8919b443b2ef0277d242ce532ec7b7a2cc8b6007 SIZE (electron/rust/crates/unicode-id-start-1.4.0.crate) = 48270 SHA256 (electron/rust/crates/unicode-ident-1.0.24.crate) = e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75 SIZE (electron/rust/crates/unicode-ident-1.0.24.crate) = 49298 SHA256 (electron/rust/crates/unicode-segmentation-1.13.2.crate) = 9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c SIZE (electron/rust/crates/unicode-segmentation-1.13.2.crate) = 111829 SHA256 (electron/rust/crates/unicode-width-0.2.2.crate) = b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254 SIZE (electron/rust/crates/unicode-width-0.2.2.crate) = 282768 SHA256 (electron/rust/crates/url-2.5.8.crate) = ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed SIZE (electron/rust/crates/url-2.5.8.crate) = 86512 SHA256 (electron/rust/crates/utf8_iter-1.0.4.crate) = b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be SIZE (electron/rust/crates/utf8_iter-1.0.4.crate) = 10437 SHA256 (electron/rust/crates/uuid-1.23.1.crate) = ddd74a9687298c6858e9b88ec8935ec45d22e8fd5e6394fa1bd4e99a87789c76 SIZE (electron/rust/crates/uuid-1.23.1.crate) = 62932 SHA256 (electron/rust/crates/version_check-0.9.5.crate) = 0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a SIZE (electron/rust/crates/version_check-0.9.5.crate) = 15554 SHA256 (electron/rust/crates/vsimd-0.8.0.crate) = 5c3082ca00d5a5ef149bb8b555a72ae84c9c59f7250f013ac822ac2e49b19c64 SIZE (electron/rust/crates/vsimd-0.8.0.crate) = 21377 SHA256 (electron/rust/crates/wasm-bindgen-0.2.121.crate) = 49ace1d07c165b0864824eee619580c4689389afa9dc9ed3a4c75040d82e6790 SIZE (electron/rust/crates/wasm-bindgen-0.2.121.crate) = 65838 SHA256 (electron/rust/crates/wasm-bindgen-macro-0.2.121.crate) = 8e68e6f4afd367a562002c05637acb8578ff2dea1943df76afb9e83d177c8578 SIZE (electron/rust/crates/wasm-bindgen-macro-0.2.121.crate) = 9294 SHA256 (electron/rust/crates/wasm-bindgen-macro-support-0.2.121.crate) = d95a9ec35c64b2a7cb35d3fead40c4238d0940c86d107136999567a4703259f2 SIZE (electron/rust/crates/wasm-bindgen-macro-support-0.2.121.crate) = 79901 SHA256 (electron/rust/crates/wasm-bindgen-shared-0.2.121.crate) = c4e0100b01e9f0d03189a92b96772a1fb998639d981193d7dbab487302513441 SIZE (electron/rust/crates/wasm-bindgen-shared-0.2.121.crate) = 11270 SHA256 (electron/rust/crates/windows-link-0.2.1.crate) = f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5 SIZE (electron/rust/crates/windows-link-0.2.1.crate) = 6133 SHA256 (electron/rust/crates/windows-sys-0.59.0.crate) = 1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b SIZE (electron/rust/crates/windows-sys-0.59.0.crate) = 2387323 SHA256 (electron/rust/crates/windows-targets-0.52.6.crate) = 9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973 SIZE (electron/rust/crates/windows-targets-0.52.6.crate) = 6403 SHA256 (electron/rust/crates/windows_aarch64_gnullvm-0.52.6.crate) = 32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3 SIZE (electron/rust/crates/windows_aarch64_gnullvm-0.52.6.crate) = 435718 SHA256 (electron/rust/crates/windows_aarch64_msvc-0.52.6.crate) = 09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469 SIZE (electron/rust/crates/windows_aarch64_msvc-0.52.6.crate) = 832615 SHA256 (electron/rust/crates/windows_i686_gnu-0.52.6.crate) = 8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b SIZE (electron/rust/crates/windows_i686_gnu-0.52.6.crate) = 880402 SHA256 (electron/rust/crates/windows_i686_gnullvm-0.52.6.crate) = 0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66 SIZE (electron/rust/crates/windows_i686_gnullvm-0.52.6.crate) = 475940 SHA256 (electron/rust/crates/windows_i686_msvc-0.52.6.crate) = 240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66 SIZE (electron/rust/crates/windows_i686_msvc-0.52.6.crate) = 901163 SHA256 (electron/rust/crates/windows_x86_64_gnu-0.52.6.crate) = 147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78 SIZE (electron/rust/crates/windows_x86_64_gnu-0.52.6.crate) = 836363 SHA256 (electron/rust/crates/windows_x86_64_gnullvm-0.52.6.crate) = 24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d SIZE (electron/rust/crates/windows_x86_64_gnullvm-0.52.6.crate) = 435707 SHA256 (electron/rust/crates/windows_x86_64_msvc-0.52.6.crate) = 589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec SIZE (electron/rust/crates/windows_x86_64_msvc-0.52.6.crate) = 832564 SHA256 (electron/rust/crates/writeable-0.6.3.crate) = 1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4 SIZE (electron/rust/crates/writeable-0.6.3.crate) = 26685 SHA256 (electron/rust/crates/wyz-0.5.1.crate) = 05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed SIZE (electron/rust/crates/wyz-0.5.1.crate) = 18790 SHA256 (electron/rust/crates/xxhash-rust-0.8.15.crate) = fdd20c5420375476fbd4394763288da7eb0cc0b8c11deed431a91562af7335d3 SIZE (electron/rust/crates/xxhash-rust-0.8.15.crate) = 21515 SHA256 (electron/rust/crates/yoke-0.8.2.crate) = abe8c5fda708d9ca3df187cae8bfb9ceda00dd96231bed36e445a1a48e66f9ca SIZE (electron/rust/crates/yoke-0.8.2.crate) = 32790 SHA256 (electron/rust/crates/yoke-derive-0.8.2.crate) = de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e SIZE (electron/rust/crates/yoke-derive-0.8.2.crate) = 15077 SHA256 (electron/rust/crates/zerocopy-0.8.48.crate) = eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9 SIZE (electron/rust/crates/zerocopy-0.8.48.crate) = 287554 SHA256 (electron/rust/crates/zerocopy-derive-0.8.48.crate) = 70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4 SIZE (electron/rust/crates/zerocopy-derive-0.8.48.crate) = 97646 SHA256 (electron/rust/crates/zerofrom-0.1.7.crate) = 69faa1f2a1ea75661980b013019ed6687ed0e83d069bc1114e2cc74c6c04c4df SIZE (electron/rust/crates/zerofrom-0.1.7.crate) = 6140 SHA256 (electron/rust/crates/zerofrom-derive-0.1.7.crate) = 11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1 SIZE (electron/rust/crates/zerofrom-derive-0.1.7.crate) = 8853 SHA256 (electron/rust/crates/zerotrie-0.2.4.crate) = 0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf SIZE (electron/rust/crates/zerotrie-0.2.4.crate) = 83690 SHA256 (electron/rust/crates/zerovec-0.11.6.crate) = 90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239 SIZE (electron/rust/crates/zerovec-0.11.6.crate) = 128583 SHA256 (electron/rust/crates/zerovec-derive-0.11.3.crate) = 625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555 SIZE (electron/rust/crates/zerovec-derive-0.11.3.crate) = 22115 SHA256 (electron/rust/crates/zmij-1.0.21.crate) = b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa SIZE (electron/rust/crates/zmij-1.0.21.crate) = 26665 SHA256 (electron/yarn-4.12.0.tgz) = bd58d06826ce9542c4cd904fe10bab7bc718ea2cc39a45d9fbd15f2edb45761c SIZE (electron/yarn-4.12.0.tgz) = 1056794 -SHA256 (electron/electron43-43.2.0-node-modules.tar.xz) = f57cf602ff06507d38ed76d09e2ee24c350472f99e451bbfb4bc2b5d2c69c8c0 -SIZE (electron/electron43-43.2.0-node-modules.tar.xz) = 71098213 -SHA256 (electron/electron-electron-v43.2.0_GH0.tar.gz) = eba2128a73febacedf89fabc9dc7ceb9f12bfd4d5a4470acb8ddc247b0da90f5 -SIZE (electron/electron-electron-v43.2.0_GH0.tar.gz) = 18973278 -SHA256 (electron/nodejs-node-v24.18.0_GH0.tar.gz) = e07dd419efe30a89b90d872a956d074f4197fd103781bc06e0fce99d0130ad01 -SIZE (electron/nodejs-node-v24.18.0_GH0.tar.gz) = 127522062 +SHA256 (electron/electron43-43.3.0-node-modules.tar.xz) = f57cf602ff06507d38ed76d09e2ee24c350472f99e451bbfb4bc2b5d2c69c8c0 +SIZE (electron/electron43-43.3.0-node-modules.tar.xz) = 71098213 +SHA256 (electron/electron-electron-v43.3.0_GH0.tar.gz) = 90e532030394caf10e2ad2578d50909ba4b5d7fa8540bda377b5f71809f1c4f2 +SIZE (electron/electron-electron-v43.3.0_GH0.tar.gz) = 19317619 +SHA256 (electron/nodejs-node-v24.18.1_GH0.tar.gz) = bb8065bf6b8b4a2da85dba16c1f69c0a3ad90c0481b33f1ab4c82e3d2bcc8c77 +SIZE (electron/nodejs-node-v24.18.1_GH0.tar.gz) = 127539215 SHA256 (electron/nodejs-nan-675cefebca42410733da8a454c8d9391fcebfbc2_GH0.tar.gz) = 3983c68f19ed75dd37dc228eab385093ae2533132730f253f0c3d19ff10788e3 SIZE (electron/nodejs-nan-675cefebca42410733da8a454c8d9391fcebfbc2_GH0.tar.gz) = 111323 SHA256 (electron/Squirrel-Squirrel.Mac-0e5d146ba13101a1302d59ea6e6e0b3cace4ae38_GH0.tar.gz) = f4ebb40a8d85dbb7ef02aa0571b2f8e22182c6d73b6992484a53c90047779d01 SIZE (electron/Squirrel-Squirrel.Mac-0e5d146ba13101a1302d59ea6e6e0b3cace4ae38_GH0.tar.gz) = 2112918 SHA256 (electron/ReactiveCocoa-ReactiveObjC-74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76_GH0.tar.gz) = 88e65f116c7a06fccedb43970fba63080a57a4e5dc29147d2cdfe1ee58dd0546 SIZE (electron/ReactiveCocoa-ReactiveObjC-74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76_GH0.tar.gz) = 1136238 SHA256 (electron/Mantle-Mantle-2a8e2123a3931038179ee06105c9e6ec336b12ea_GH0.tar.gz) = 9a6d683612d72c3d15e26a46451866ac01989665c0e2b74c61d28a78b6820f19 SIZE (electron/Mantle-Mantle-2a8e2123a3931038179ee06105c9e6ec336b12ea_GH0.tar.gz) = 81605 SHA256 (electron/EngFlow-reclient-configs-955335c30a752e9ef7bff375baab5e0819b6c00d_GH0.tar.gz) = c148f76220fc41a89ffeaf370c2cc175577be184688b12aa6fec5f8ac6c714c4 SIZE (electron/EngFlow-reclient-configs-955335c30a752e9ef7bff375baab5e0819b6c00d_GH0.tar.gz) = 13014 SHA256 (electron/rollup-rollup-v4.60.4_GH0.tar.gz) = c129324ecef83a1c4d829c8b876751c72a6fa2dfe707f32f0b55c311cf29ee91 SIZE (electron/rollup-rollup-v4.60.4_GH0.tar.gz) = 2249970 SHA256 (electron/evanw-esbuild-v0.28.1_GH0.tar.gz) = 65c756fa87d43178ac4a5242454c2bd0fde325f8ecf77997f8fa4b88f94d5cd2 SIZE (electron/evanw-esbuild-v0.28.1_GH0.tar.gz) = 1997481 diff --git a/devel/electron43/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc b/devel/electron43/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc index 05b077bd3c32..b8b72c9912f9 100644 --- a/devel/electron43/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc +++ b/devel/electron43/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc @@ -1,47 +1,47 @@ ---- content/browser/renderer_host/render_widget_host_view_aura.cc.orig 2026-07-16 08:41:22 UTC +--- content/browser/renderer_host/render_widget_host_view_aura.cc.orig 2026-08-07 08:39:53 UTC +++ content/browser/renderer_host/render_widget_host_view_aura.cc @@ -132,7 +132,7 @@ #include "ui/gfx/win/gdi_util.h" #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/accessibility/platform/browser_accessibility_auralinux.h" #include "ui/base/ime/linux/text_edit_command_auralinux.h" #include "ui/base/ime/text_input_flags.h" @@ -578,7 +578,7 @@ gfx::NativeViewAccessible RenderWidgetHostViewAura::Ge return ToBrowserAccessibilityWin(manager->GetBrowserAccessibilityRoot()) ->GetCOM(); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) ui::BrowserAccessibilityManager* manager = host()->GetOrCreateRootBrowserAccessibilityManager(); if (manager && manager->GetBrowserAccessibilityRoot()) @@ -2048,7 +2048,7 @@ bool RenderWidgetHostViewAura::ShouldDoLearning() { return host() && host()->delegate() && host()->delegate()->ShouldDoLearning(); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) bool RenderWidgetHostViewAura::SetCompositionFromExistingText( const gfx::Range& range, const std::vector& ui_ime_text_spans) { -@@ -3122,7 +3122,7 @@ bool RenderWidgetHostViewAura::NeedsMouseCapture() { +@@ -3124,7 +3124,7 @@ bool RenderWidgetHostViewAura::NeedsMouseCapture() { } bool RenderWidgetHostViewAura::NeedsMouseCapture() { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return NeedsInputGrab(); #else return false; -@@ -3348,7 +3348,7 @@ void RenderWidgetHostViewAura::ForwardKeyboardEventWit +@@ -3350,7 +3350,7 @@ void RenderWidgetHostViewAura::ForwardKeyboardEventWit if (!target_host) return; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) auto* linux_ui = ui::LinuxUi::instance(); if (!event.skip_if_unhandled && linux_ui && event.os_event) { const auto command = linux_ui->GetTextEditCommandForEvent( diff --git a/devel/electron43/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc b/devel/electron43/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc index 9262616d9e96..a5452195a837 100644 --- a/devel/electron43/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc +++ b/devel/electron43/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc @@ -1,11 +1,11 @@ ---- content/browser/renderer_host/render_widget_host_view_event_handler.cc.orig 2026-06-23 23:37:18 UTC +--- content/browser/renderer_host/render_widget_host_view_event_handler.cc.orig 2026-07-27 18:15:13 UTC +++ content/browser/renderer_host/render_widget_host_view_event_handler.cc -@@ -617,7 +617,7 @@ bool RenderWidgetHostViewEventHandler::CanRendererHand +@@ -629,7 +629,7 @@ bool RenderWidgetHostViewEventHandler::CanRendererHand if (event->type() == ui::EventType::kMouseExited) { if (mouse_locked || selection_popup) return false; -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Don't forward the mouse leave message which is received when the context // menu is displayed by the page. This confuses the page and causes state // changes. diff --git a/devel/electron43/files/patch-electron_shell_browser_api_electron__api__web__contents.cc b/devel/electron43/files/patch-electron_shell_browser_api_electron__api__web__contents.cc index 76eb586392a1..bffb1df7181a 100644 --- a/devel/electron43/files/patch-electron_shell_browser_api_electron__api__web__contents.cc +++ b/devel/electron43/files/patch-electron_shell_browser_api_electron__api__web__contents.cc @@ -1,77 +1,77 @@ ---- electron/shell/browser/api/electron_api_web_contents.cc.orig 2026-06-29 20:35:15 UTC +--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2026-08-04 15:35:15 UTC +++ electron/shell/browser/api/electron_api_web_contents.cc @@ -179,11 +179,11 @@ #include "ui/base/cocoa/defaults_utils.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/linux/linux_ui.h" #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #include "ui/aura/window.h" #include "ui/gfx/font_render_params.h" #endif @@ -215,7 +215,7 @@ #include "content/public/browser/plugin_service.h" #endif -#if !IS_MAS_BUILD() +#if !IS_MAS_BUILD() && !BUILDFLAG(IS_BSD) #include "chrome/browser/hang_monitor/hang_crash_dump.h" // nogncheck #endif @@ -652,7 +652,7 @@ std::optional GetCursorBlinkInterval( ui::TextInsertionCaretBlinkPeriodFromDefaults()); if (system_value) return *system_value; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (auto* native_theme = ui::NativeTheme::GetInstanceForNativeUi()) return native_theme->caret_blink_interval(); #elif BUILDFLAG(IS_WIN) @@ -1037,7 +1037,7 @@ void WebContents::InitWithSessionAndOptions( accept_languages.pop_back(); prefs->accept_languages = accept_languages; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // Update font settings. static const gfx::FontRenderParams params( gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(), nullptr)); -@@ -3036,13 +3036,13 @@ void WebContents::ForcefullyCrashRenderer() { +@@ -3043,13 +3043,13 @@ void WebContents::ForcefullyCrashRenderer() { content::RenderProcessHost* rph = rwh->GetProcess(); if (rph) { -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // A generic |CrashDumpHungChildProcess()| is not implemented for Linux. // Instead we send an explicit IPC to crash on the renderer's IO thread. rph->ForceCrash(); #else // Try to generate a crash report for the hung process. -#if !IS_MAS_BUILD() +#if !IS_MAS_BUILD() && !BUILDFLAG(IS_BSD) CrashDumpHungChildProcess(rph->GetProcess().Handle()); #endif rph->Shutdown(content::RESULT_CODE_HUNG); -@@ -3752,7 +3752,7 @@ void WebContents::Focus() { +@@ -3759,7 +3759,7 @@ void WebContents::Focus() { void WebContents::Focus() { // Focusing on WebContents does not automatically focus the window on macOS // and Linux, do it manually to match the behavior on Windows. -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (owner_window()) owner_window()->Focus(true); #endif -@@ -4651,7 +4651,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() { +@@ -4658,7 +4658,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() { } #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void WebContents::GetDevToolsWindowWMClass(std::string* name, std::string* class_name) { *class_name = Browser::Get()->GetName(); diff --git a/devel/electron43/files/patch-electron_shell_browser_native__window__views.cc b/devel/electron43/files/patch-electron_shell_browser_native__window__views.cc index 9bd67a9ce5ee..f5ebdbd767fd 100644 --- a/devel/electron43/files/patch-electron_shell_browser_native__window__views.cc +++ b/devel/electron43/files/patch-electron_shell_browser_native__window__views.cc @@ -1,245 +1,236 @@ ---- electron/shell/browser/native_window_views.cc.orig 2026-06-29 20:35:15 UTC +--- electron/shell/browser/native_window_views.cc.orig 2026-08-04 15:35:15 UTC +++ electron/shell/browser/native_window_views.cc -@@ -58,7 +58,7 @@ - #include "ui/wm/core/shadow_types.h" +@@ -57,7 +57,7 @@ + #include "ui/views/window/non_client_view.h" #include "ui/wm/core/window_util.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "base/notimplemented.h" #include "shell/browser/browser.h" #include "shell/browser/linux/unity_service.h" -@@ -288,7 +288,7 @@ NativeWindowViews::NativeWindowViews(const int32_t bas +@@ -296,7 +296,7 @@ NativeWindowViews::NativeWindowViews(const int32_t bas // If a client frame, we need to draw our own shadows. if (transparent() || has_client_frame()) params.opacity = InitParams::WindowOpacity::kTranslucent; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Resize handles and shadows on frameless windows need translucent insets. if (!has_frame()) params.opacity = InitParams::WindowOpacity::kTranslucent; -@@ -307,7 +307,7 @@ NativeWindowViews::NativeWindowViews(const int32_t bas +@@ -315,7 +315,7 @@ NativeWindowViews::NativeWindowViews(const int32_t bas params.parent = parent->GetNativeWindow(); params.native_widget = new ElectronDesktopNativeWidgetAura{this, widget()}; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Set the WM_CLASS and XDG App ID to the same value // for best compatibility with both X11 and Wayland. const auto app_id = platform_util::GetXdgAppId(); -@@ -337,7 +337,7 @@ NativeWindowViews::NativeWindowViews(const int32_t bas +@@ -345,7 +345,7 @@ NativeWindowViews::NativeWindowViews(const int32_t bas std::string window_type; options.Get(options::kType, &window_type); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Set _GTK_THEME_VARIANT to dark if we have "dark-theme" option set. if (options.ValueOrDefault(options::kDarkTheme, false)) SetGTKDarkThemeEnabled(true); -@@ -409,7 +409,7 @@ NativeWindowViews::NativeWindowViews(const int32_t bas +@@ -417,7 +417,7 @@ NativeWindowViews::NativeWindowViews(const int32_t bas ::SetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE, ex_style); #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) options.Get(options::kRoundedCorners, &rounded_corner_); #endif -@@ -529,7 +529,7 @@ void NativeWindowViews::SetTitleBarOverlay( +@@ -537,7 +537,7 @@ void NativeWindowViews::SetTitleBarOverlay( auto* fv = widget()->non_client_view()->frame_view(); if (auto* frameless = views::AsViewClass(fv)) { frameless->InvalidateCaptionButtons(); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) } else if (auto* fvl = views::AsViewClass(fv)) { fvl->InvalidateLayout(); fvl->SchedulePaint(); -@@ -539,7 +539,7 @@ void NativeWindowViews::SetGTKDarkThemeEnabled(bool us +@@ -547,7 +547,7 @@ void NativeWindowViews::SetGTKDarkThemeEnabled(bool us } void NativeWindowViews::SetGTKDarkThemeEnabled(bool use_dark_theme) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (x11_util::IsX11()) { const std::string color = use_dark_theme ? "dark" : "light"; auto* connection = x11::Connection::Get(); -@@ -600,7 +600,7 @@ void NativeWindowViews::Show() { +@@ -608,7 +608,7 @@ void NativeWindowViews::Show() { NotifyWindowShow(); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (global_menu_bar_) global_menu_bar_->OnWindowMapped(); -@@ -616,7 +616,7 @@ void NativeWindowViews::ShowInactive() { +@@ -624,7 +624,7 @@ void NativeWindowViews::ShowInactive() { NotifyWindowShow(); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (global_menu_bar_) global_menu_bar_->OnWindowMapped(); -@@ -635,7 +635,7 @@ void NativeWindowViews::Hide() { +@@ -643,7 +643,7 @@ void NativeWindowViews::Hide() { NotifyWindowHide(); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (global_menu_bar_) global_menu_bar_->OnWindowUnmapped(); #endif -@@ -666,7 +666,7 @@ bool NativeWindowViews::IsEnabled() const { +@@ -674,7 +674,7 @@ bool NativeWindowViews::IsEnabled() const { bool NativeWindowViews::IsEnabled() const { #if BUILDFLAG(IS_WIN) return ::IsWindowEnabled(GetAcceleratedWidget()); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (x11_util::IsX11()) return !event_disabler_.get(); NOTIMPLEMENTED(); -@@ -891,7 +891,7 @@ void NativeWindowViews::SetBounds(const gfx::Rect& bou +@@ -899,7 +899,7 @@ void NativeWindowViews::SetBounds(const gfx::Rect& bou } #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // On Linux and Windows the minimum and maximum size should be updated with // window size when window is not resizable. if (!CanResize()) { -@@ -946,7 +946,7 @@ void NativeWindowViews::SetContentSizeConstraints( +@@ -954,7 +954,7 @@ void NativeWindowViews::SetContentSizeConstraints( // of this to determine whether native widget has initialized. if (widget() && widget()->widget_delegate()) widget()->OnSizeConstraintsChanged(); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (resizable_) old_size_constraints_ = GetSizeConstraints(); #endif -@@ -1166,7 +1166,7 @@ bool NativeWindowViews::IsClosable() const { +@@ -1174,7 +1174,7 @@ bool NativeWindowViews::IsClosable() const { return false; } return !(info.fState & MFS_DISABLED); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return true; #endif } -@@ -1306,7 +1306,7 @@ void NativeWindowViews::SetBackgroundColor(SkColor bac +@@ -1314,7 +1314,7 @@ void NativeWindowViews::SetBackgroundColor(SkColor bac InvalidateRect(GetAcceleratedWidget(), nullptr, 1); #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Widget and root view need to be transparent for CSD to draw shadow regions // and custom edges and corners. The web contents view will still be // painted with the true background color, which is cached in state. -@@ -1325,7 +1325,7 @@ void NativeWindowViews::SetHasShadow(bool has_shadow) - } +@@ -1337,7 +1337,7 @@ void NativeWindowViews::SetHasShadow(bool has_shadow) + // so we no longer call wm::SetShadowElevation and similar to avoid + // artifacts. https://github.com/electron/electron/issues/51456. - void NativeWindowViews::SetHasShadow(bool has_shadow) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) auto* efvl = views::AsViewClass( widget()->non_client_view()->frame_view()); - gfx::Rect visible_bounds; -@@ -1341,7 +1341,7 @@ void NativeWindowViews::SetHasShadow(bool has_shadow) - has_shadow ? wm::kShadowElevationInactiveWindow - : wm::kShadowElevationNone); - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (efvl) { - efvl->SetWantsFrame(!IsTranslucent() && - (has_shadow || IsWindowControlsOverlayEnabled())); -@@ -1457,7 +1457,7 @@ void NativeWindowViews::SetMenu(ElectronMenuModel* men +@@ -1464,7 +1464,7 @@ void NativeWindowViews::SetMenu(ElectronMenuModel* men } void NativeWindowViews::SetMenu(ElectronMenuModel* menu_model) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Remove global menu bar. if (global_menu_bar_ && menu_model == nullptr) { global_menu_bar_.reset(); -@@ -1513,7 +1513,7 @@ void NativeWindowViews::SetParentWindow(NativeWindow* +@@ -1520,7 +1520,7 @@ void NativeWindowViews::SetParentWindow(NativeWindow* void NativeWindowViews::SetParentWindow(NativeWindow* parent) { NativeWindow::SetParentWindow(parent); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (x11_util::IsX11()) { auto* connection = x11::Connection::Get(); connection->SetProperty( -@@ -1567,7 +1567,7 @@ gfx::Insets NativeWindowViews::GetRestoredFrameBorderI +@@ -1574,7 +1574,7 @@ gfx::Insets NativeWindowViews::GetRestoredFrameBorderI if (auto* frameless = views::AsViewClass(frame_view)) return frameless->RestoredFrameBorderInsets(); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (auto* fvl = views::AsViewClass(frame_view)) return fvl->GetRestoredFrameBorderInsets(); #endif -@@ -1579,7 +1579,7 @@ void NativeWindowViews::SetProgressBar(double progress +@@ -1586,7 +1586,7 @@ void NativeWindowViews::SetProgressBar(double progress NativeWindow::ProgressState state) { #if BUILDFLAG(IS_WIN) taskbar_host_.SetProgressBar(GetAcceleratedWidget(), progress, state); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (unity::IsRunning()) { unity::SetProgressFraction(progress); } -@@ -1705,7 +1705,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM +@@ -1712,7 +1712,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM #if BUILDFLAG(IS_WIN) window_handle = reinterpret_cast(accelerated_widget); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) window_handle = static_cast(accelerated_widget); #endif aura::WindowTreeHost* const host = -@@ -1835,7 +1835,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC +@@ -1842,7 +1842,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC SendMessage(hwnd, WM_SETICON, ICON_BIG, reinterpret_cast(app_icon_.get())); } -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void NativeWindowViews::SetIcon(const gfx::ImageSkia& icon) { auto* tree_host = views::DesktopWindowTreeHostLinux::GetHostForWidget( GetAcceleratedWidget()); -@@ -1956,7 +1956,7 @@ bool NativeWindowViews::CanMinimize() const { +@@ -1963,7 +1963,7 @@ bool NativeWindowViews::CanMinimize() const { bool NativeWindowViews::CanMinimize() const { #if BUILDFLAG(IS_WIN) return minimizable_; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return true; #endif } -@@ -2003,7 +2003,7 @@ std::unique_ptr NativeWindowViews::C +@@ -2010,7 +2010,7 @@ std::unique_ptr NativeWindowViews::C #endif } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) views::FrameViewLinux* NativeWindowViews::GetFrameViewLinux() const { auto* ncv = widget()->non_client_view(); if (!ncv) -@@ -2022,7 +2022,7 @@ void NativeWindowViews::HandleKeyboardEvent( +@@ -2029,7 +2029,7 @@ void NativeWindowViews::HandleKeyboardEvent( if (widget_destroyed_) return; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (event.windows_key_code == ui::VKEY_BROWSER_BACK) NotifyWindowExecuteAppCommand(kBrowserBackward); else if (event.windows_key_code == ui::VKEY_BROWSER_FORWARD) -@@ -2041,7 +2041,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e +@@ -2048,7 +2048,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e // Alt+Click should not toggle menu bar. root_view_.ResetAltState(); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (event->changed_button_flags() == ui::EF_BACK_MOUSE_BUTTON) NotifyWindowExecuteAppCommand(kBrowserBackward); else if (event->changed_button_flags() == ui::EF_FORWARD_MOUSE_BUTTON) diff --git a/devel/electron43/files/patch-electron_shell_common_api_electron__api__native__image.cc b/devel/electron43/files/patch-electron_shell_common_api_electron__api__native__image.cc index 692ecd5c8f02..abec287e39d1 100644 --- a/devel/electron43/files/patch-electron_shell_common_api_electron__api__native__image.cc +++ b/devel/electron43/files/patch-electron_shell_common_api_electron__api__native__image.cc @@ -1,11 +1,11 @@ ---- electron/shell/common/api/electron_api_native_image.cc.orig 2026-06-29 20:35:15 UTC +--- electron/shell/common/api/electron_api_native_image.cc.orig 2026-08-04 15:35:15 UTC +++ electron/shell/common/api/electron_api_native_image.cc -@@ -650,7 +650,7 @@ void Initialize(v8::Local exports, +@@ -670,7 +670,7 @@ void Initialize(v8::Local exports, native_image.SetMethod("createFromNamedImage", &NativeImage::CreateFromNamedImage); native_image.SetMethod("createMenuSymbol", &NativeImage::CreateMenuSymbol); -#if !BUILDFLAG(IS_LINUX) +#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) native_image.SetMethod("createThumbnailFromPath", &NativeImage::CreateThumbnailFromPath); #endif diff --git a/devel/electron43/files/patch-electron_shell_common_api_electron__bindings.cc b/devel/electron43/files/patch-electron_shell_common_api_electron__bindings.cc index a1f2a5355082..b351ff8d5e74 100644 --- a/devel/electron43/files/patch-electron_shell_common_api_electron__bindings.cc +++ b/devel/electron43/files/patch-electron_shell_common_api_electron__bindings.cc @@ -1,11 +1,20 @@ ---- electron/shell/common/api/electron_bindings.cc.orig 2026-03-17 08:46:52 UTC +--- electron/shell/common/api/electron_bindings.cc.orig 2026-08-04 15:35:15 UTC +++ electron/shell/common/api/electron_bindings.cc -@@ -257,7 +257,7 @@ void ElectronBindings::DidReceiveMemoryDump( +@@ -185,7 +185,7 @@ v8::Local ElectronBindings::GetSystemMemory + #endif + dict.Set("free", free.InKiB()); + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + dict.Set("available", mem_info.available.InKiB()); + #endif + +@@ -261,7 +261,7 @@ void ElectronBindings::DidReceiveMemoryDump( if (target_pid == dump.pid()) { auto dict = gin_helper::Dictionary::CreateEmpty(isolate); const auto& osdump = dump.os_dump(); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) dict.Set("residentSet", osdump.resident_set_kb); #endif dict.Set("private", osdump.private_footprint_kb); diff --git a/devel/electron43/files/patch-electron_spec_api-app-spec.ts b/devel/electron43/files/patch-electron_spec_api-app-spec.ts index 29a7dca1fe6b..3b132dbdb707 100644 --- a/devel/electron43/files/patch-electron_spec_api-app-spec.ts +++ b/devel/electron43/files/patch-electron_spec_api-app-spec.ts @@ -1,187 +1,187 @@ ---- electron/spec/api-app-spec.ts.orig 2026-06-16 15:20:20 UTC +--- electron/spec/api-app-spec.ts.orig 2026-08-04 15:35:15 UTC +++ electron/spec/api-app-spec.ts @@ -124,7 +124,7 @@ describe('app module', () => { }); }); - ifdescribe(process.platform === 'linux')('app.setDesktopName(name)', () => { + ifdescribe(process.platform === 'linux' || process.platform === 'freebsd')('app.setDesktopName(name)', () => { it('sets the desktop name to the CHROME_DESKTOP environment variable', () => { const original = process.env.CHROME_DESKTOP; defer(() => { @@ -153,11 +153,11 @@ describe('app module', () => { }); describe('app.getPreferredSystemLanguages()', () => { - ifit(process.platform !== 'linux')('should not be empty', () => { + ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('should not be empty', () => { expect(app.getPreferredSystemLanguages().length).to.not.equal(0); }); - ifit(process.platform === 'linux')('should be empty or contain C entry', () => { + ifit(process.platform === 'linux' || process.platform === 'freebsd')('should be empty or contain C entry', () => { const languages = app.getPreferredSystemLanguages(); if (languages.length) { expect(languages).to.not.include('C'); @@ -236,7 +236,7 @@ describe('app module', () => { expect(code).to.equal(123, 'exit code should be 123, if you see this please tag @MarshallOfSound'); }); - ifit(['darwin', 'linux'].includes(process.platform))('exits gracefully', async function () { + ifit(['darwin', 'linux', 'freebsd'].includes(process.platform))('exits gracefully', async function () { const electronPath = process.execPath; const appPath = path.join(fixturesPath, 'api', 'singleton'); appProcess = cp.spawn(electronPath, [appPath]); -@@ -407,7 +407,7 @@ describe('app module', () => { +@@ -420,7 +420,7 @@ describe('app module', () => { }); // GitHub Actions macOS-13 runners used for x64 seem to have a problem with this test. - ifdescribe(process.platform !== 'linux' && !isMacOSx64)('app.{add|get|clear}RecentDocument(s)', () => { + ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd' && !isMacOSx64)('app.{add|get|clear}RecentDocument(s)', () => { const tempFiles = [ path.join(fixturesPath, 'foo.txt'), path.join(fixturesPath, 'bar.txt'), -@@ -536,7 +536,7 @@ describe('app module', () => { +@@ -549,7 +549,7 @@ describe('app module', () => { // let w = null // before(function () { - // if (process.platform !== 'linux') { + // if (process.platform !== 'linux' && process.platform !== 'freebsd') { // this.skip() // } // }) -@@ -649,7 +649,7 @@ describe('app module', () => { +@@ -662,7 +662,7 @@ describe('app module', () => { describe('app.badgeCount', () => { const platformIsNotSupported = - process.platform === 'win32' || (process.platform === 'linux' && !app.isUnityRunning()); + process.platform === 'win32' || (process.platform === 'linux' && !app.isUnityRunning()) || process.platform === 'freebsd'; const expectedBadgeCount = 42; -@@ -696,7 +696,7 @@ describe('app module', () => { +@@ -709,7 +709,7 @@ describe('app module', () => { }); ifdescribe( - process.platform !== 'linux' && !process.mas && (process.platform !== 'darwin' || process.arch === 'arm64') + process.platform !== 'linux' && process.platform !== 'freebsd' && !process.mas && (process.platform !== 'darwin' || process.arch === 'arm64') )('app.get/setLoginItemSettings API', function () { const isMac = process.platform === 'darwin'; const isWin = process.platform === 'win32'; -@@ -1113,7 +1113,7 @@ describe('app module', () => { +@@ -1126,7 +1126,7 @@ describe('app module', () => { }); }); - ifdescribe(process.platform !== 'linux')('accessibility support functionality', () => { + ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('accessibility support functionality', () => { it('is mutable', () => { const values = [false, true, false]; const setters: Array<(arg: boolean) => void> = [ -@@ -1383,7 +1383,7 @@ describe('app module', () => { +@@ -1396,7 +1396,7 @@ describe('app module', () => { }); }); - ifdescribe(process.platform !== 'linux')('select-client-certificate event', () => { + ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('select-client-certificate event', () => { let w: BrowserWindow; before(function () { -@@ -1526,7 +1526,7 @@ describe('app module', () => { +@@ -1539,7 +1539,7 @@ describe('app module', () => { describe('getApplicationNameForProtocol()', () => { // TODO: Linux CI doesn't have registered http & https handlers - ifit(!(process.env.CI && process.platform === 'linux') && !isWayland)( + ifit(!(process.env.CI && (process.platform === 'linux' || process.platform === 'freebsd')) && !isWayland)( 'returns application names for common protocols', function () { // We can't expect particular app names here, but these protocols should -@@ -1543,7 +1543,7 @@ describe('app module', () => { +@@ -1556,7 +1556,7 @@ describe('app module', () => { expect(app.getApplicationNameForProtocol('bogus-protocol://')).to.equal(''); }); - ifdescribe(process.platform === 'linux')('on Linux with mocked XDG dirs', () => { + ifdescribe(process.platform === 'linux' || process.platform === 'freebsd')('on Linux with mocked XDG dirs', () => { const desktopFileId = 'mock-browser.desktop'; const mockDisplayName = 'Mock Browser'; const mockScheme = 'mockproto'; -@@ -1593,7 +1593,7 @@ describe('app module', () => { +@@ -1606,7 +1606,7 @@ describe('app module', () => { let xdgBinDir: string; before(() => { - if (process.platform !== 'linux') { + if (process.platform !== 'linux' && process.platform !== 'freebsd') { return; } -@@ -1610,7 +1610,7 @@ describe('app module', () => { +@@ -1623,7 +1623,7 @@ describe('app module', () => { }); after(() => { - if (process.platform === 'linux') { + if (process.platform === 'linux' || process.platform === 'freebsd') { fs.rmSync(xdgDir, { recursive: true, force: true }); } }); -@@ -1622,7 +1622,7 @@ describe('app module', () => { +@@ -1635,7 +1635,7 @@ describe('app module', () => { }); it('returns resolved promise with appPath, displayName and icon', async function () { - if (process.platform === 'linux') { + if (process.platform === 'linux' || process.platform === 'freebsd') { const appInfo = await spawnProtocolInfoWithXdgMock(`${mockScheme}://`, xdgDataHome, xdgConfigHome); expect(appInfo.name).to.equal(mockDisplayName); expect(appInfo.path).to.equal('/usr/bin/true'); -@@ -1636,7 +1636,7 @@ describe('app module', () => { +@@ -1649,7 +1649,7 @@ describe('app module', () => { expect(appInfo.icon).not.to.be.undefined(); }); - ifit(process.platform === 'linux')('resolves an executable name via PATH', async () => { + ifit(process.platform === 'linux' || process.platform === 'freebsd')('resolves an executable name via PATH', async () => { const pathLookupExecutable = 'mock-browser'; const pathLookupExecutablePath = path.join(xdgBinDir, pathLookupExecutable); const pathLookupDisplayName = 'Mock Browser PATH'; -@@ -1670,7 +1670,7 @@ describe('app module', () => { +@@ -1683,7 +1683,7 @@ describe('app module', () => { }); }); - ifdescribe(process.platform === 'linux')('default protocol client APIs', () => { + ifdescribe(process.platform === 'linux' || process.platform === 'freebsd')('default protocol client APIs', () => { const protocol = 'electron-test-linux'; const desktopFileId = 'electron-test.desktop'; const protocolMimeType = `x-scheme-handler/${protocol}`; -@@ -1787,7 +1787,7 @@ describe('app module', () => { +@@ -1800,7 +1800,7 @@ describe('app module', () => { }); // FIXME Get these specs running on Linux CI - ifdescribe(process.platform !== 'linux')('getFileIcon() API', () => { + ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('getFileIcon() API', () => { const iconPath = path.join(__dirname, 'fixtures/assets/icon.ico'); const sizes = { small: 16, -@@ -1869,7 +1869,7 @@ describe('app module', () => { +@@ -1882,7 +1882,7 @@ describe('app module', () => { expect(entry.memory).to.have.property('privateBytes').that.is.greaterThan(0); } - if (process.platform !== 'linux') { + if (process.platform !== 'linux' && process.platform !== 'freebsd') { expect(entry.sandboxed).to.be.a('boolean'); } -@@ -1938,7 +1938,7 @@ describe('app module', () => { +@@ -1951,7 +1951,7 @@ describe('app module', () => { it('succeeds with complete GPUInfo', async () => { const completeInfo = await getGPUInfo('complete'); - if (process.platform === 'linux') { + if (process.platform === 'linux' || process.platform === 'freebsd') { // For linux and macOS complete info is same as basic info await verifyBasicGPUInfo(completeInfo); const basicInfo = await getGPUInfo('basic'); -@@ -1962,7 +1962,7 @@ describe('app module', () => { +@@ -1975,7 +1975,7 @@ describe('app module', () => { }); }); - ifdescribe(!(process.platform === 'linux' && (process.arch === 'arm64' || process.arch === 'arm')))( + ifdescribe(!((process.platform === 'linux' || process.platform === 'freebsd') && (process.arch === 'arm64' || process.arch === 'arm')))( 'sandbox options', () => { let appProcess: cp.ChildProcess = null as any; diff --git a/devel/electron43/files/patch-electron_spec_api-browser-window-spec.ts b/devel/electron43/files/patch-electron_spec_api-browser-window-spec.ts index 80bf728859d1..2947e5d41261 100644 --- a/devel/electron43/files/patch-electron_spec_api-browser-window-spec.ts +++ b/devel/electron43/files/patch-electron_spec_api-browser-window-spec.ts @@ -1,191 +1,191 @@ ---- electron/spec/api-browser-window-spec.ts.orig 2026-06-29 20:35:15 UTC +--- electron/spec/api-browser-window-spec.ts.orig 2026-08-04 15:35:15 UTC +++ electron/spec/api-browser-window-spec.ts @@ -100,7 +100,7 @@ describe('BrowserWindow module', () => { }).not.to.throw(); }); - ifit(process.platform === 'linux')('does not crash when setting large window icons', async () => { + ifit(process.platform === 'linux' || process.platform === 'freebsd')('does not crash when setting large window icons', async () => { const appPath = path.join(fixtures, 'apps', 'xwindow-icon'); const appProcess = childProcess.spawn(process.execPath, [appPath]); await once(appProcess, 'exit'); @@ -365,7 +365,7 @@ describe('BrowserWindow module', () => { }); }); - ifdescribe(process.platform !== 'linux')('BrowserWindow.getContentProtection', () => { + ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('BrowserWindow.getContentProtection', () => { afterEach(closeAllWindows); it('can set content protection', async () => { const w = new BrowserWindow({ show: false }); @@ -1354,7 +1354,7 @@ describe('BrowserWindow module', () => { describe('BrowserWindow.minimize()', () => { // TODO(codebytere): Enable for Linux once maximize/minimize events work in CI. - ifit(process.platform !== 'linux')('should not be visible when the window is minimized', async () => { + ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('should not be visible when the window is minimized', async () => { const minimize = once(w, 'minimize'); w.minimize(); await minimize; @@ -1371,7 +1371,7 @@ describe('BrowserWindow module', () => { }); // TODO(dsanders11): Enable for Linux once CI plays nice with these kinds of tests - ifit(process.platform !== 'linux')('should not restore maximized windows', async () => { + ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('should not restore maximized windows', async () => { const maximize = once(w, 'maximize'); const shown = once(w, 'show'); w.maximize(); @@ -1436,7 +1436,7 @@ describe('BrowserWindow module', () => { expect(w.isFocused()).to.equal(true); }); - ifit(process.platform !== 'linux')('acquires focus status from the other windows', async () => { + ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('acquires focus status from the other windows', async () => { const w1 = new BrowserWindow({ show: false }); const w2 = new BrowserWindow({ show: false }); const w3 = new BrowserWindow({ show: false }); @@ -1539,7 +1539,7 @@ describe('BrowserWindow module', () => { expect(w.isFocused()).to.equal(false); }); - ifit(process.platform !== 'linux')('transfers focus status to the next window', async () => { + ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('transfers focus status to the next window', async () => { const w1 = new BrowserWindow({ show: false }); const w2 = new BrowserWindow({ show: false }); const w3 = new BrowserWindow({ show: false }); -@@ -2072,7 +2072,7 @@ describe('BrowserWindow module', () => { +@@ -2089,7 +2089,7 @@ describe('BrowserWindow module', () => { }); }); - ifdescribe(process.platform !== 'linux')('Maximized state', () => { + ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('Maximized state', () => { it('checks normal bounds when maximized', async () => { const bounds = w.getBounds(); const maximize = once(w, 'maximize'); -@@ -2290,7 +2290,7 @@ describe('BrowserWindow module', () => { +@@ -2307,7 +2307,7 @@ describe('BrowserWindow module', () => { }); }); - ifdescribe(process.platform !== 'linux')('Minimized state', () => { + ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('Minimized state', () => { it('checks normal bounds when minimized', async () => { const bounds = w.getBounds(); const minimize = once(w, 'minimize'); -@@ -3398,7 +3398,7 @@ describe('BrowserWindow module', () => { +@@ -3415,7 +3415,7 @@ describe('BrowserWindow module', () => { describe('BrowserWindow.setOpacity(opacity)', () => { afterEach(closeAllWindows); - ifdescribe(process.platform !== 'linux')('Windows and Mac', () => { + ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('Windows and Mac', () => { it('make window with initial opacity', () => { const w = new BrowserWindow({ show: false, opacity: 0.5 }); expect(w.getOpacity()).to.equal(0.5); -@@ -3424,7 +3424,7 @@ describe('BrowserWindow module', () => { +@@ -3441,7 +3441,7 @@ describe('BrowserWindow module', () => { }); }); - ifdescribe(process.platform === 'linux')('Linux', () => { + ifdescribe(process.platform === 'linux' || process.platform === 'freebsd')('Linux', () => { it('sets 1 regardless of parameter', () => { const w = new BrowserWindow({ show: false }); w.setOpacity(0); -@@ -3664,7 +3664,7 @@ describe('BrowserWindow module', () => { +@@ -3681,7 +3681,7 @@ describe('BrowserWindow module', () => { expect(overlayRectPreMax.height).to.equal(size); // 'maximize' event is not emitted on Linux in CI. - if (process.platform !== 'linux' && !w.isMaximized()) { + if ((process.platform !== 'linux' && process.platform !== 'freebsd') && !w.isMaximized()) { const maximize = once(w, 'maximize'); w.show(); w.maximize(); -@@ -3731,7 +3731,7 @@ describe('BrowserWindow module', () => { +@@ -3748,7 +3748,7 @@ describe('BrowserWindow module', () => { expect(preMaxHeight).to.equal(size); // 'maximize' event is not emitted on Linux in CI. - if (process.platform !== 'linux' && !w.isMaximized()) { + if ((process.platform !== 'linux' && process.platform !== 'freebsd') && !w.isMaximized()) { const maximize = once(w, 'maximize'); w.show(); w.maximize(); -@@ -4663,7 +4663,7 @@ describe('BrowserWindow module', () => { +@@ -4680,7 +4680,7 @@ describe('BrowserWindow module', () => { expect(test.nodeTimers).to.equal(true); expect(test.nodeUrl).to.equal(true); - if (process.platform === 'linux' && test.osSandbox) { + if ((process.platform === 'linux' || process.platform === 'freebsd') && test.osSandbox) { expect(test.creationTime).to.be.null('creation time'); expect(test.systemMemoryInfo).to.be.null('system memory info'); } else { -@@ -5179,7 +5179,7 @@ describe('BrowserWindow module', () => { +@@ -5196,7 +5196,7 @@ describe('BrowserWindow module', () => { }); }); - ifdescribe(process.platform !== 'linux')('max/minimize events', () => { + ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('max/minimize events', () => { afterEach(closeAllWindows); it('emits an event when window is maximized', async () => { const w = new BrowserWindow({ show: false }); -@@ -5455,7 +5455,7 @@ describe('BrowserWindow module', () => { +@@ -5472,7 +5472,7 @@ describe('BrowserWindow module', () => { // TODO(zcbenz): // This test does not run on Linux CI. See: // https://github.com/electron/electron/issues/28699 - ifit(process.platform === 'linux' && !process.env.CI)( + ifit((process.platform === 'linux' || process.platform === 'freebsd') && !process.env.CI)( 'should bring a minimized maximized window back to maximized state', async () => { const w = new BrowserWindow({}); -@@ -5473,7 +5473,7 @@ describe('BrowserWindow module', () => { +@@ -5490,7 +5490,7 @@ describe('BrowserWindow module', () => { } ); - ifit(process.platform !== 'linux')('should not break fullscreen state', async () => { + ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('should not break fullscreen state', async () => { const w = new BrowserWindow({ show: false }); w.show(); -@@ -5496,7 +5496,7 @@ describe('BrowserWindow module', () => { +@@ -5513,7 +5513,7 @@ describe('BrowserWindow module', () => { }); // TODO(dsanders11): Enable once maximize event works on Linux again on CI - ifdescribe(process.platform !== 'linux')('BrowserWindow.maximize()', () => { + ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('BrowserWindow.maximize()', () => { afterEach(closeAllWindows); it('should show the window if it is not currently shown', async () => { const w = new BrowserWindow({ show: false }); -@@ -5533,7 +5533,7 @@ describe('BrowserWindow module', () => { +@@ -5550,7 +5550,7 @@ describe('BrowserWindow module', () => { // TODO(dsanders11): Enable once minimize event works on Linux again. // See https://github.com/electron/electron/issues/28699 - ifit(process.platform !== 'linux')('should not restore a minimized window', async () => { + ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('should not restore a minimized window', async () => { const w = new BrowserWindow(); const minimize = once(w, 'minimize'); w.minimize(); -@@ -6031,7 +6031,7 @@ describe('BrowserWindow module', () => { +@@ -6048,7 +6048,7 @@ describe('BrowserWindow module', () => { }); // On Linux there is no "resizable" property of a window. - ifit(process.platform !== 'linux')('does affect maximizability when disabled and enabled', () => { + ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('does affect maximizability when disabled and enabled', () => { const w = new BrowserWindow({ show: false }); expect(w.resizable).to.be.true('resizable'); -@@ -6272,7 +6272,7 @@ describe('BrowserWindow module', () => { +@@ -6289,7 +6289,7 @@ describe('BrowserWindow module', () => { }); }); - ifdescribe(process.platform !== 'linux')('window states (excluding Linux)', () => { + ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('window states (excluding Linux)', () => { // Not implemented on Linux. afterEach(closeAllWindows); -@@ -7590,7 +7590,7 @@ describe('BrowserWindow module', () => { +@@ -7607,7 +7607,7 @@ describe('BrowserWindow module', () => { describe('"transparent" option', () => { afterEach(closeAllWindows); - ifit(process.platform !== 'linux')( + ifit(process.platform !== 'linux' && process.platform !== 'freebsd')( 'correctly returns isMaximized() when the window is maximized then minimized', async () => { const w = new BrowserWindow({ diff --git a/devel/electron43/files/patch-electron_spec_api-dialog-spec.ts b/devel/electron43/files/patch-electron_spec_api-dialog-spec.ts new file mode 100644 index 000000000000..478a4d220ec3 --- /dev/null +++ b/devel/electron43/files/patch-electron_spec_api-dialog-spec.ts @@ -0,0 +1,11 @@ +--- electron/spec/api-dialog-spec.ts.orig 2026-08-07 08:46:59 UTC ++++ electron/spec/api-dialog-spec.ts +@@ -1043,7 +1043,7 @@ describe('dialog module', () => { + // FileChooser that script/dbus_mock.py hosts on the fake session bus. The + // mock records each request and auto-cancels the dialog. + ifdescribe( +- process.platform === 'linux' && ++ (process.platform === 'linux' || process.platform === 'freebsd') && + process.arch !== 'ia32' && + !process.arch.startsWith('arm') && + !!process.env.DBUS_SESSION_BUS_ADDRESS diff --git a/devel/electron43/files/patch-electron_spec_api-native-image-spec.ts b/devel/electron43/files/patch-electron_spec_api-native-image-spec.ts index 16d990dc4d75..9a86542b0f97 100644 --- a/devel/electron43/files/patch-electron_spec_api-native-image-spec.ts +++ b/devel/electron43/files/patch-electron_spec_api-native-image-spec.ts @@ -1,11 +1,11 @@ ---- electron/spec/api-native-image-spec.ts.orig 2026-06-29 20:35:15 UTC +--- electron/spec/api-native-image-spec.ts.orig 2026-08-04 15:35:15 UTC +++ electron/spec/api-native-image-spec.ts -@@ -489,7 +489,7 @@ describe('nativeImage module', () => { +@@ -568,7 +568,7 @@ describe('nativeImage module', () => { }); }); - ifdescribe(process.platform !== 'linux')('createThumbnailFromPath(path, size)', () => { + ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('createThumbnailFromPath(path, size)', () => { useRemoteContext({ webPreferences: { contextIsolation: false, nodeIntegration: true } }); it('throws when invalid size is passed', async () => { diff --git a/devel/electron43/files/patch-electron_spec_api-process-spec.ts b/devel/electron43/files/patch-electron_spec_api-process-spec.ts index 12419df6ed8f..c58f1d105f58 100644 --- a/devel/electron43/files/patch-electron_spec_api-process-spec.ts +++ b/devel/electron43/files/patch-electron_spec_api-process-spec.ts @@ -1,11 +1,20 @@ ---- electron/spec/api-process-spec.ts.orig 2026-05-07 20:19:20 UTC +--- electron/spec/api-process-spec.ts.orig 2026-08-04 15:35:15 UTC +++ electron/spec/api-process-spec.ts @@ -41,7 +41,7 @@ describe('process module', () => { it('resolves promise successfully with valid data', async () => { const memoryInfo = await invoke(() => process.getProcessMemoryInfo()); expect(memoryInfo).to.be.an('object'); - if (process.platform === 'linux' || process.platform === 'win32') { + if (process.platform === 'linux' || process.platform === 'win32' || process.platform === 'freebsd') { expect(memoryInfo.residentSet).to.be.a('number').greaterThan(0); } expect(memoryInfo.private).to.be.a('number').greaterThan(0); +@@ -55,7 +55,7 @@ describe('process module', () => { + const systemMemoryInfo = await invoke(() => process.getSystemMemoryInfo()); + expect(systemMemoryInfo.free).to.be.a('number'); + expect(systemMemoryInfo.total).to.be.a('number'); +- if (process.platform === 'linux') { ++ if (process.platform === 'linux' || process.platform === 'freebsd') { + expect(systemMemoryInfo.available).to.be.a('number').greaterThan(0); + } + }); diff --git a/devel/electron43/files/patch-electron_spec_api-protocol-spec.ts b/devel/electron43/files/patch-electron_spec_api-protocol-spec.ts index aaebe2123da5..05dc6e1b6561 100644 --- a/devel/electron43/files/patch-electron_spec_api-protocol-spec.ts +++ b/devel/electron43/files/patch-electron_spec_api-protocol-spec.ts @@ -1,11 +1,11 @@ ---- electron/spec/api-protocol-spec.ts.orig 2026-06-29 04:13:24 UTC +--- electron/spec/api-protocol-spec.ts.orig 2026-08-04 15:35:15 UTC +++ electron/spec/api-protocol-spec.ts -@@ -2095,7 +2095,7 @@ describe('protocol module', () => { +@@ -2178,7 +2178,7 @@ describe('protocol module', () => { // TODO(nornagon): this test doesn't pass on Linux currently, investigate. // test is also flaky on CI on macOS so it is currently disabled there as well. - ifit(process.platform !== 'linux' && (!process.env.CI || process.platform !== 'darwin'))('is fast', async () => { + ifit((process.platform !== 'linux' && process.platform !== 'freebsd') && (!process.env.CI || process.platform !== 'darwin'))('is fast', async () => { // 128 MB of spaces. const chunk = new Uint8Array(128 * 1024 * 1024); chunk.fill(' '.charCodeAt(0)); diff --git a/devel/electron43/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc b/devel/electron43/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc index 049fda28fe12..63ec8bf3a4ad 100644 --- a/devel/electron43/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc +++ b/devel/electron43/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc @@ -1,11 +1,11 @@ ---- gpu/command_buffer/service/gles2_cmd_decoder.cc.orig 2026-06-23 23:37:18 UTC +--- gpu/command_buffer/service/gles2_cmd_decoder.cc.orig 2026-07-27 18:15:13 UTC +++ gpu/command_buffer/service/gles2_cmd_decoder.cc -@@ -2996,7 +2996,7 @@ std::unique_ptr GLES2Decoder::Create( +@@ -2999,7 +2999,7 @@ std::unique_ptr GLES2Decoder::Create( } // Allow linux to run fuzzers. -#if BUILDFLAG(ENABLE_VALIDATING_COMMAND_DECODER) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(ENABLE_VALIDATING_COMMAND_DECODER) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return std::make_unique(client, command_buffer_service, outputter, group); #else diff --git a/devel/electron43/files/patch-third__party_blink_common_features.cc b/devel/electron43/files/patch-third__party_blink_common_features.cc index bc9752b4b288..05aec72941b3 100644 --- a/devel/electron43/files/patch-third__party_blink_common_features.cc +++ b/devel/electron43/files/patch-third__party_blink_common_features.cc @@ -1,20 +1,20 @@ ---- third_party/blink/common/features.cc.orig 2026-06-23 23:37:18 UTC +--- third_party/blink/common/features.cc.orig 2026-07-27 18:15:13 UTC +++ third_party/blink/common/features.cc -@@ -692,7 +692,7 @@ BASE_FEATURE(kDirectCompositorThreadIpc, +@@ -698,7 +698,7 @@ BASE_FEATURE(kDirectCompositorThreadIpc, BASE_FEATURE(kDirectCompositorThreadIpc, #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -2071,7 +2071,7 @@ BASE_FEATURE(kPreloadingEagerHoverHeuristics, +@@ -2077,7 +2077,7 @@ BASE_FEATURE(kPreloadingEagerHoverHeuristics, // currently out of scope. BASE_FEATURE(kPreloadingEagerHoverHeuristics, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT diff --git a/devel/electron43/files/patch-ui_base_x_x11__shm__image__pool.cc b/devel/electron43/files/patch-ui_base_x_x11__shm__image__pool.cc index c3f090548a87..59bdc823fee3 100644 --- a/devel/electron43/files/patch-ui_base_x_x11__shm__image__pool.cc +++ b/devel/electron43/files/patch-ui_base_x_x11__shm__image__pool.cc @@ -1,71 +1,71 @@ ---- ui/base/x/x11_shm_image_pool.cc.orig 2025-01-27 17:37:37 UTC +--- ui/base/x/x11_shm_image_pool.cc.orig 2026-07-27 18:15:13 UTC +++ ui/base/x/x11_shm_image_pool.cc @@ -16,6 +16,7 @@ #include "base/functional/callback.h" #include "base/location.h" #include "base/strings/string_util.h" +#include "base/system/sys_info.h" #include "build/build_config.h" #include "net/base/url_util.h" #include "ui/events/platform/platform_event_dispatcher.h" @@ -44,10 +45,14 @@ std::size_t MaxShmSegmentSizeImpl() { 1.0f / (kShmResizeThreshold * kShmResizeThreshold); std::size_t MaxShmSegmentSizeImpl() { +#if BUILDFLAG(IS_BSD) + return base::SysInfo::MaxSharedMemorySize(); +#else struct shminfo info; if (shmctl(0, IPC_INFO, reinterpret_cast(&info)) == -1) return 0; return info.shmmax; +#endif } std::size_t MaxShmSegmentSize() { @@ -56,14 +61,19 @@ std::size_t MaxShmSegmentSize() { } #if !BUILDFLAG(IS_CHROMEOS) +#if !BUILDFLAG(IS_BSD) bool IsRemoteHost(const std::string& name) { if (name.empty()) return false; return !net::HostStringIsLocalhost(name); } +#endif bool ShouldUseMitShm(x11::Connection* connection) { +#if BUILDFLAG(IS_BSD) + return false; +#else // MIT-SHM may be available on remote connetions, but it will be unusable. Do // a best-effort check to see if the host is remote to disable the SHM // codepath. It may be possible in contrived cases for there to be a @@ -92,6 +102,7 @@ bool ShouldUseMitShm(x11::Connection* connection) { return false; return true; +#endif } #endif // !BUILDFLAG(IS_CHROMEOS) -@@ -182,7 +193,7 @@ bool XShmImagePool::Resize(const gfx::Size& pixel_size +@@ -191,7 +202,7 @@ bool XShmImagePool::Resize(const gfx::Size& pixel_size shmctl(state.shmid, IPC_RMID, nullptr); return false; } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // On Linux, a shmid can still be attached after IPC_RMID if otherwise // kept alive. Detach before XShmAttach to prevent a memory leak in case // the process dies. -@@ -201,7 +212,7 @@ bool XShmImagePool::Resize(const gfx::Size& pixel_size +@@ -210,7 +221,7 @@ bool XShmImagePool::Resize(const gfx::Size& pixel_size return false; state.shmseg = shmseg; state.shmem_attached_to_server = true; -#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) +#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_BSD) // The Linux-specific shmctl behavior above may not be portable, so we're // forced to do IPC_RMID after the server has attached to the segment. shmctl(state.shmid, IPC_RMID, nullptr);