diff --git a/devel/electron43/Makefile b/devel/electron43/Makefile index 2ed848aa6e50..accdb241351b 100644 --- a/devel/electron43/Makefile +++ b/devel/electron43/Makefile @@ -1,503 +1,511 @@ PORTNAME= electron DISTVERSIONPREFIX= v DISTVERSION= ${ELECTRON_VER} PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= devel -MASTER_SITES= https://github.com/tagattie/FreeBSD-Electron/releases/download/v43.4.0/:chromium \ +MASTER_SITES= https://github.com/tagattie/FreeBSD-Electron/releases/download/v43.5.0/:chromium \ https://freedesktop.org/software/pulseaudio/releases/:pulseaudio PKGNAMESUFFIX= ${ELECTRON_VER_MAJOR} 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_PREFETCH_ARCHS= aarch64 amd64 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.224 +CHROMIUM_VER= 150.0.7871.250 # See ${WRKSRC}/electron/DEPS for NODE_VER -NODE_VER= 24.18.1 +NODE_VER= 24.19.0 # 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 +.ifdef MAINTAINER_MODE + ${FIND} ${WRKSRC} -type f -name '*.orig' -print -delete + ${FIND} ${WRKSRC} -type f -name '*~' -print -delete +.endif + +.ifndef MAINTAINER_MODE +post-patch: + @${REINPLACE_CMD} -e 's|/usr/bin/dbus-daemon|${LOCALBASE}/bin/dbus-daemon|' \ + ${WRKSRC}/electron/spec/api-app-spec.ts +.endif 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 dcae2ad6f0b0..3f1625584a1f 100644 --- a/devel/electron43/Makefile.version +++ b/devel/electron43/Makefile.version @@ -1,2 +1,2 @@ -ELECTRON_VER= 43.4.1 +ELECTRON_VER= 43.5.0 ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//} diff --git a/devel/electron43/distinfo b/devel/electron43/distinfo index ba97ceff340f..5d8d1b59b147 100644 --- a/devel/electron43/distinfo +++ b/devel/electron43/distinfo @@ -1,441 +1,441 @@ -TIMESTAMP = 1787262291 -SHA256 (electron/chromium-150.0.7871.224.tar.xz.0) = d0341a640489da4f74e3999b4d5d305a20e0cfb9d17cac83164ccf8aa9e3f626 -SIZE (electron/chromium-150.0.7871.224.tar.xz.0) = 2000000000 -SHA256 (electron/chromium-150.0.7871.224.tar.xz.1) = b42aa0c118175230fb550322a26e273e482703823709b152910ee68ac9543b7c -SIZE (electron/chromium-150.0.7871.224.tar.xz.1) = 2000000000 -SHA256 (electron/chromium-150.0.7871.224.tar.xz.2) = 80d3e90610a60354f8b1c5c0cffa85159373546c4aa41199d5ca2ebec085edfb -SIZE (electron/chromium-150.0.7871.224.tar.xz.2) = 896181616 +TIMESTAMP = 1788183284 +SHA256 (electron/chromium-150.0.7871.250.tar.xz.0) = ff59b1687c8682c9f6138ae24f0e3b0239c035a585857debd902a5783ebed85c +SIZE (electron/chromium-150.0.7871.250.tar.xz.0) = 2000000000 +SHA256 (electron/chromium-150.0.7871.250.tar.xz.1) = 44420b00bd86f06de3aa57e555df31c80102042ab214a94d0f090f1d64e80786 +SIZE (electron/chromium-150.0.7871.250.tar.xz.1) = 2000000000 +SHA256 (electron/chromium-150.0.7871.250.tar.xz.2) = 1c1554757c0d4a21721db8d990d995d03080908724a7bde091255c40807eb9f7 +SIZE (electron/chromium-150.0.7871.250.tar.xz.2) = 895887844 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.4.1-node-modules-arm64.tar.xz) = 6a1a0c39a5b18dcdad561b23b15847660e7b51b3be476595e93256c0f91e017a -SIZE (electron/electron43-43.4.1-node-modules-arm64.tar.xz) = 62711992 -SHA256 (electron/electron43-43.4.1-node-modules-x64.tar.xz) = f57cf602ff06507d38ed76d09e2ee24c350472f99e451bbfb4bc2b5d2c69c8c0 -SIZE (electron/electron43-43.4.1-node-modules-x64.tar.xz) = 71098213 -SHA256 (electron/electron-electron-v43.4.1_GH0.tar.gz) = e4ca9c47f0be673e593677342614be00dc8dbda9b3f89e99af0ad1f59a185929 -SIZE (electron/electron-electron-v43.4.1_GH0.tar.gz) = 19503916 -SHA256 (electron/nodejs-node-v24.18.1_GH0.tar.gz) = bb8065bf6b8b4a2da85dba16c1f69c0a3ad90c0481b33f1ab4c82e3d2bcc8c77 -SIZE (electron/nodejs-node-v24.18.1_GH0.tar.gz) = 127539215 +SHA256 (electron/electron43-43.5.0-node-modules-arm64.tar.xz) = 6a1a0c39a5b18dcdad561b23b15847660e7b51b3be476595e93256c0f91e017a +SIZE (electron/electron43-43.5.0-node-modules-arm64.tar.xz) = 62711992 +SHA256 (electron/electron43-43.5.0-node-modules-x64.tar.xz) = f57cf602ff06507d38ed76d09e2ee24c350472f99e451bbfb4bc2b5d2c69c8c0 +SIZE (electron/electron43-43.5.0-node-modules-x64.tar.xz) = 71098213 +SHA256 (electron/electron-electron-v43.5.0_GH0.tar.gz) = c330d659335387e6f5f8c6164e01f09891bd273933fb495badc5cef9e4bd96e2 +SIZE (electron/electron-electron-v43.5.0_GH0.tar.gz) = 19737708 +SHA256 (electron/nodejs-node-v24.19.0_GH0.tar.gz) = f06a13587eab05e24972f39628559a942a495f7140b702ce87d79454e2925bb3 +SIZE (electron/nodejs-node-v24.19.0_GH0.tar.gz) = 127452601 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/packagejsons/spec/fixtures/api/session-bus-lost/package.json b/devel/electron43/files/packagejsons/spec/fixtures/api/session-bus-lost/package.json new file mode 100644 index 000000000000..b2ead513c071 --- /dev/null +++ b/devel/electron43/files/packagejsons/spec/fixtures/api/session-bus-lost/package.json @@ -0,0 +1,4 @@ +{ + "name": "session-bus-lost", + "main": "main.js" +} diff --git a/devel/electron43/files/packagejsons/spec/fixtures/apps/remote-debugging-emulation/package.json b/devel/electron43/files/packagejsons/spec/fixtures/apps/remote-debugging-emulation/package.json new file mode 100644 index 000000000000..734fa7ffacb5 --- /dev/null +++ b/devel/electron43/files/packagejsons/spec/fixtures/apps/remote-debugging-emulation/package.json @@ -0,0 +1,4 @@ +{ + "name": "remote-debugging-emulation", + "main": "main.js" +} diff --git a/devel/electron43/files/patch-chrome_browser_process__singleton__posix.cc b/devel/electron43/files/patch-chrome_browser_process__singleton__posix.cc index 98d9b7d3277d..74d006c4fd26 100644 --- a/devel/electron43/files/patch-chrome_browser_process__singleton__posix.cc +++ b/devel/electron43/files/patch-chrome_browser_process__singleton__posix.cc @@ -1,11 +1,11 @@ ---- chrome/browser/process_singleton_posix.cc.orig 2026-07-07 05:57:55 UTC +--- chrome/browser/process_singleton_posix.cc.orig 2026-08-31 13:40:08 UTC +++ chrome/browser/process_singleton_posix.cc -@@ -371,7 +371,7 @@ bool DisplayProfileInUseError(const base::FilePath& lo +@@ -391,7 +391,7 @@ bool DisplayProfileInUseError(const base::FilePath& lo if (g_disable_prompt) return g_user_opted_unlock_in_use_profile; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) std::u16string relaunch_button_text = l10n_util::GetStringUTF16(IDS_PROFILE_IN_USE_LINUX_RELAUNCH); return ShowProcessSingletonDialog(error, relaunch_button_text); 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 a5452195a837..81f46b0bc048 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-07-27 18:15:13 UTC +--- content/browser/renderer_host/render_widget_host_view_event_handler.cc.orig 2026-08-31 13:40:09 UTC +++ content/browser/renderer_host/render_widget_host_view_event_handler.cc -@@ -629,7 +629,7 @@ bool RenderWidgetHostViewEventHandler::CanRendererHand +@@ -630,7 +630,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_BUILD.gn b/devel/electron43/files/patch-electron_BUILD.gn index 53aa72fa874d..29eaa08ef399 100644 --- a/devel/electron43/files/patch-electron_BUILD.gn +++ b/devel/electron43/files/patch-electron_BUILD.gn @@ -1,62 +1,62 @@ ---- electron/BUILD.gn.orig 2026-08-10 18:14:50 UTC +--- electron/BUILD.gn.orig 2026-08-31 00:54:38 UTC +++ electron/BUILD.gn -@@ -628,7 +628,7 @@ source_set("electron_lib") { +@@ -629,7 +629,7 @@ source_set("electron_lib") { defines += [ "GDK_DISABLE_DEPRECATION_WARNINGS" ] } - if (!is_mas_build) { + if (!is_mas_build && !is_bsd) { deps += [ "//components/crash/core/app", "//components/crash/core/browser", -@@ -742,6 +742,12 @@ source_set("electron_lib") { +@@ -743,6 +743,12 @@ source_set("electron_lib") { cflags_objcc = [ "-fobjc-weak" ] } } + if (is_bsd) { + sources -= [ + "shell/common/crash_keys.cc", + "shell/common/crash_keys.h", + ] + } if (is_linux) { libs = [ "xshmfence" ] deps += [ -@@ -1524,7 +1530,7 @@ if (is_mac) { +@@ -1547,7 +1553,7 @@ if (is_mac) { ":electron_lib", ":electron_win32_resources", ":packed_resources", - "//components/crash/core/app", + # "//components/crash/core/app", "//content:sandbox_helper_win", "//electron/buildflags", "//third_party/electron_node:libnode", -@@ -1551,7 +1557,7 @@ if (is_mac) { +@@ -1574,7 +1580,7 @@ if (is_mac) { public_deps = [ "//tools/v8_context_snapshot" ] } - if (is_linux) { + if (is_linux && !is_bsd) { data_deps += [ "//components/crash/core/app:chrome_crashpad_handler" ] } -@@ -1618,7 +1624,7 @@ if (is_mac) { +@@ -1641,7 +1647,7 @@ if (is_mac) { configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] } - if (is_linux) { + if (is_linux && !is_bsd) { deps += [ "//sandbox/linux:chrome_sandbox" ] } } -@@ -1739,7 +1745,9 @@ dist_zip("electron_dist_zip") { +@@ -1762,7 +1768,9 @@ dist_zip("electron_dist_zip") { ] } - data_deps += [ "//sandbox/linux:chrome_sandbox" ] + if (!is_bsd) { + data_deps += [ "//sandbox/linux:chrome_sandbox" ] + } } deps = data_deps outputs = [ "$root_build_dir/dist.zip" ] diff --git a/devel/electron43/files/patch-electron_shell_app_electron__main__delegate.cc b/devel/electron43/files/patch-electron_shell_app_electron__main__delegate.cc index bafdc398acd2..5145dfcd3632 100644 --- a/devel/electron43/files/patch-electron_shell_app_electron__main__delegate.cc +++ b/devel/electron43/files/patch-electron_shell_app_electron__main__delegate.cc @@ -1,65 +1,74 @@ ---- electron/shell/app/electron_main_delegate.cc.orig 2026-06-29 20:35:15 UTC +--- electron/shell/app/electron_main_delegate.cc.orig 2026-08-31 00:54:38 UTC +++ electron/shell/app/electron_main_delegate.cc @@ -67,7 +67,7 @@ #include "chrome/child/v8_crashpad_support_win.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "base/nix/xdg_util.h" + #include "ui/gfx/linux/fontconfig_util.h" #include "ui/linux/display_server_utils.h" - #include "v8/include/v8-wasm-trap-handler-posix.h" -@@ -78,7 +78,7 @@ +@@ -79,7 +79,7 @@ #include "ui/ozone/public/ozone_platform.h" #endif // BUILDFLAG(IS_OZONE) -#if !IS_MAS_BUILD() +#if !IS_MAS_BUILD() && !BUILDFLAG(IS_BSD) #include "components/crash/core/app/crash_switches.h" // nogncheck #include "components/crash/core/app/crashpad.h" // nogncheck #include "components/crash/core/common/crash_key.h" -@@ -218,7 +218,7 @@ std::optional ElectronMainDelegate::BasicStartupC +@@ -219,7 +219,7 @@ std::optional ElectronMainDelegate::BasicStartupC base::win::PinUser32(); #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Check for --no-sandbox parameter when running as root. if (getuid() == 0 && IsSandboxEnabled(command_line)) LOG(FATAL) << "Running as root without --" -@@ -268,7 +268,7 @@ void ElectronMainDelegate::PreSandboxStartup() { +@@ -269,7 +269,7 @@ void ElectronMainDelegate::PreSandboxStartup() { /* is_preinit = */ IsBrowserProcess() || IsZygoteProcess()); #endif -#if !IS_MAS_BUILD() +#if !IS_MAS_BUILD() && !BUILDFLAG(IS_BSD) crash_reporter::InitializeCrashKeys(); #endif -@@ -303,7 +303,7 @@ void ElectronMainDelegate::PreSandboxStartup() { +@@ -304,7 +304,7 @@ void ElectronMainDelegate::PreSandboxStartup() { } #endif -#if !IS_MAS_BUILD() +#if !IS_MAS_BUILD() && !BUILDFLAG(IS_BSD) crash_keys::SetCrashKeysFromCommandLine(*command_line); crash_keys::SetPlatformCrashKey(); #endif -@@ -322,7 +322,7 @@ void ElectronMainDelegate::PreSandboxStartup() { +@@ -323,7 +323,7 @@ void ElectronMainDelegate::PreSandboxStartup() { #if BUILDFLAG(IS_OZONE) // Initialize Ozone platform and add required feature flags as per // platform's properties. -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) ui::SetOzonePlatformForLinuxIfNeeded(*command_line); #endif ui::OzonePlatform::PreSandboxStartup(); -@@ -352,7 +352,7 @@ std::optional ElectronMainDelegate::PreBrowserMai +@@ -353,7 +353,7 @@ std::optional ElectronMainDelegate::PreBrowserMai + InitializeFeatureList(); + // Initialize mojo core as soon as we have a valid feature list + content::InitializeMojoCore(); +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // Queued before the browser ThreadPool starts, so FontConfig loads in + // parallel with toolkit initialization instead of on first use. + gfx::InitializeGlobalFontConfigAsync(); +@@ -361,7 +361,7 @@ std::optional ElectronMainDelegate::PreBrowserMai #if BUILDFLAG(IS_MAC) RegisterAtomCrApp(); #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Set the global activation token sent as an environment variable. auto env = base::Environment::Create(); base::nix::ExtractXdgActivationTokenFromEnv(*env); diff --git a/devel/electron43/files/patch-electron_shell_app_node__main.cc b/devel/electron43/files/patch-electron_shell_app_node__main.cc index 563edfc85c2b..069b9cf7cf00 100644 --- a/devel/electron43/files/patch-electron_shell_app_node__main.cc +++ b/devel/electron43/files/patch-electron_shell_app_node__main.cc @@ -1,37 +1,37 @@ ---- electron/shell/app/node_main.cc.orig 2026-06-29 20:35:15 UTC +--- electron/shell/app/node_main.cc.orig 2026-08-31 00:54:38 UTC +++ electron/shell/app/node_main.cc -@@ -53,7 +53,7 @@ +@@ -54,7 +54,7 @@ #include "shell/common/mac/codesign_util.h" #endif -#if !IS_MAS_BUILD() +#if !IS_MAS_BUILD() && !BUILDFLAG(IS_BSD) #include "components/crash/core/app/crashpad.h" // nogncheck #include "shell/app/electron_crash_reporter_client.h" #include "shell/common/crash_keys.h" -@@ -105,14 +105,14 @@ bool UnsetHijackableEnvs(base::Environment* env) { +@@ -106,14 +106,14 @@ bool UnsetHijackableEnvs(base::Environment* env) { } #endif -#if IS_MAS_BUILD() +#if IS_MAS_BUILD() || BUILDFLAG(IS_BSD) void SetCrashKeyStub(const std::string& key, const std::string& value) {} void ClearCrashKeyStub(const std::string& key) {} #endif v8::Local GetParameters(v8::Isolate* isolate) { std::map keys; -#if !IS_MAS_BUILD() +#if !IS_MAS_BUILD() && !BUILDFLAG(IS_BSD) electron::crash_keys::GetCrashKeys(&keys); #endif return gin::ConvertToV8(isolate, keys); -@@ -294,7 +294,7 @@ int NodeMain() { +@@ -329,7 +329,7 @@ int NodeMain() { // Setup process.crashReporter in child node processes auto reporter = gin_helper::Dictionary::CreateEmpty(isolate); reporter.SetMethod("getParameters", &GetParameters); -#if IS_MAS_BUILD() +#if IS_MAS_BUILD() || BUILDFLAG(IS_BSD) reporter.SetMethod("addExtraParameter", &SetCrashKeyStub); reporter.SetMethod("removeExtraParameter", &ClearCrashKeyStub); #else diff --git a/devel/electron43/files/patch-electron_shell_browser_api_electron__api__app.cc b/devel/electron43/files/patch-electron_shell_browser_api_electron__api__app.cc index 1db605fdd14c..75a999058121 100644 --- a/devel/electron43/files/patch-electron_shell_browser_api_electron__api__app.cc +++ b/devel/electron43/files/patch-electron_shell_browser_api_electron__api__app.cc @@ -1,65 +1,65 @@ ---- electron/shell/browser/api/electron_api_app.cc.orig 2026-07-21 15:33:01 UTC +--- electron/shell/browser/api/electron_api_app.cc.orig 2026-08-31 00:54:38 UTC +++ electron/shell/browser/api/electron_api_app.cc -@@ -109,7 +109,7 @@ +@@ -110,7 +110,7 @@ #include "ui/base/resource/resource_bundle.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "base/nix/scoped_xdg_activation_token_injector.h" #include "base/nix/xdg_util.h" #endif -@@ -437,7 +437,7 @@ bool NotificationCallbackWrapper( +@@ -438,7 +438,7 @@ bool NotificationCallbackWrapper( base::CommandLine cmd, const base::FilePath& cwd, const std::vector additional_data) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Set the global activation token sent as a command line switch by another // electron app instance. This also removes the switch after use to prevent // any side effects of leaving it in the command line after this point. -@@ -622,7 +622,7 @@ void App::OnFinishLaunching(base::DictValue launch_inf +@@ -623,7 +623,7 @@ void App::OnFinishLaunching(base::DictValue launch_inf } void App::OnFinishLaunching(base::DictValue launch_info) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Set the application name for audio streams shown in external // applications. Only affects pulseaudio currently. media::AudioManager::SetGlobalAppName(Browser::Get()->GetName()); -@@ -971,7 +971,7 @@ void App::SetDesktopName(const std::string& desktop_na +@@ -972,7 +972,7 @@ void App::SetDesktopName(const std::string& desktop_na } void App::SetDesktopName(const std::string& desktop_name) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) auto env = base::Environment::Create(); env->SetVar("CHROME_DESKTOP", desktop_name); #endif -@@ -1073,7 +1073,7 @@ bool App::RequestSingleInstanceLock(gin::Arguments* ar +@@ -1074,7 +1074,7 @@ bool App::RequestSingleInstanceLock(gin::Arguments* ar base::BindRepeating(NotificationCallbackWrapper, cb)); #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Read the xdg-activation token and set it in the command line for the // duration of the notification in order to ensure this is propagated to an // already running electron app instance if it exists. -@@ -1468,7 +1468,7 @@ std::vector App::GetAppMetrics +@@ -1469,7 +1469,7 @@ std::vector App::GetAppMetrics pid_dict.Set("name", process_metric.second->name); } -#if !BUILDFLAG(IS_LINUX) +#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) auto memory_info = process_metric.second->GetMemoryInfo(); auto memory_dict = gin_helper::Dictionary::CreateEmpty(isolate); -@@ -1975,7 +1975,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild +@@ -1973,7 +1973,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild .SetMethod("getJumpListSettings", &App::GetJumpListSettings) .SetMethod("setJumpList", &App::SetJumpList) #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) .SetMethod("isUnityRunning", base::BindRepeating(&Browser::IsUnityRunning, browser)) #endif diff --git a/devel/electron43/files/patch-electron_shell_browser_api_electron__api__base__window.cc b/devel/electron43/files/patch-electron_shell_browser_api_electron__api__base__window.cc index 92f23ad6371f..c199e54bf752 100644 --- a/devel/electron43/files/patch-electron_shell_browser_api_electron__api__base__window.cc +++ b/devel/electron43/files/patch-electron_shell_browser_api_electron__api__base__window.cc @@ -1,38 +1,38 @@ ---- electron/shell/browser/api/electron_api_base_window.cc.orig 2026-06-29 20:35:15 UTC +--- electron/shell/browser/api/electron_api_base_window.cc.orig 2026-08-31 00:54:38 UTC +++ electron/shell/browser/api/electron_api_base_window.cc @@ -43,7 +43,7 @@ #include "shell/browser/ui/views/win_frame_view.h" #include "shell/browser/ui/win/taskbar_host.h" #include "ui/base/win/shell.h" -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "shell/browser/ui/views/electron_frame_view_linux.h" #include "ui/gfx/image/image_skia.h" #endif -@@ -1043,7 +1043,7 @@ void BaseWindow::SetIconImpl(v8::Isolate* isolate, +@@ -1063,7 +1063,7 @@ void BaseWindow::SetIconImpl(v8::Isolate* isolate, static_cast(window_.get()) ->SetIcon(native_image->GetHICON(GetSystemMetrics(SM_CXSMICON)), native_image->GetHICON(GetSystemMetrics(SM_CXICON))); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) static_cast(window_.get()) ->SetIcon(native_image->image().AsImageSkia()); #endif -@@ -1144,7 +1144,7 @@ v8::Local BaseWindow::GetAccentColor() cons +@@ -1164,7 +1164,7 @@ v8::Local BaseWindow::GetAccentColor() cons } #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void BaseWindow::SetTitleBarOverlay(const gin_helper::Dictionary& options, gin::Arguments* args) { static_cast(window_.get()) -@@ -1326,7 +1326,7 @@ void BaseWindow::BuildPrototype(v8::Isolate* isolate, +@@ -1346,7 +1346,7 @@ void BaseWindow::BuildPrototype(v8::Isolate* isolate, .SetMethod("setThumbnailToolTip", &BaseWindow::SetThumbnailToolTip) .SetMethod("setAppDetails", &BaseWindow::SetAppDetails) #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) .SetMethod("setTitleBarOverlay", &BaseWindow::SetTitleBarOverlay) #endif .SetProperty("id", &BaseWindow::GetID); diff --git a/devel/electron43/files/patch-electron_shell_browser_api_electron__api__base__window.h b/devel/electron43/files/patch-electron_shell_browser_api_electron__api__base__window.h index 0892dc19e2ba..b90c4b1bef97 100644 --- a/devel/electron43/files/patch-electron_shell_browser_api_electron__api__base__window.h +++ b/devel/electron43/files/patch-electron_shell_browser_api_electron__api__base__window.h @@ -1,11 +1,11 @@ ---- electron/shell/browser/api/electron_api_base_window.h.orig 2026-05-08 13:54:01 UTC +--- electron/shell/browser/api/electron_api_base_window.h.orig 2026-08-31 00:54:38 UTC +++ electron/shell/browser/api/electron_api_base_window.h -@@ -263,7 +263,7 @@ class BaseWindow : public gin_helper::TrackableObject< +@@ -265,7 +265,7 @@ class BaseWindow : public gin_helper::TrackableObject< v8::Local GetAccentColor() const; #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void SetTitleBarOverlay(const gin_helper::Dictionary& options, gin::Arguments* args); #endif 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 f44b0eee4437..8d96a73bab67 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-08-18 19:28:27 UTC +--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2026-08-31 00:54:38 UTC +++ electron/shell/browser/api/electron_api_web_contents.cc -@@ -183,11 +183,11 @@ +@@ -182,11 +182,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 -@@ -217,7 +217,7 @@ +@@ -216,7 +216,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 -@@ -638,7 +638,7 @@ std::optional GetCursorBlinkInterval( +@@ -639,7 +639,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) -@@ -1035,7 +1035,7 @@ void WebContents::InitWithSessionAndOptions( +@@ -1036,7 +1036,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)); -@@ -3112,13 +3112,13 @@ void WebContents::ForcefullyCrashRenderer() { +@@ -3103,13 +3103,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); -@@ -3751,7 +3751,7 @@ void WebContents::Focus() { +@@ -3746,7 +3746,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 -@@ -4650,7 +4650,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() { +@@ -4645,7 +4645,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_api_electron__api__web__contents.h b/devel/electron43/files/patch-electron_shell_browser_api_electron__api__web__contents.h index 2c9a4791069e..b49ef1771b3b 100644 --- a/devel/electron43/files/patch-electron_shell_browser_api_electron__api__web__contents.h +++ b/devel/electron43/files/patch-electron_shell_browser_api_electron__api__web__contents.h @@ -1,11 +1,11 @@ ---- electron/shell/browser/api/electron_api_web_contents.h.orig 2026-08-18 19:28:27 UTC +--- electron/shell/browser/api/electron_api_web_contents.h.orig 2026-08-31 00:54:38 UTC +++ electron/shell/browser/api/electron_api_web_contents.h -@@ -767,7 +767,7 @@ class WebContents final : public ExclusiveAccessContex +@@ -773,7 +773,7 @@ class WebContents final : public ExclusiveAccessContex #if defined(TOOLKIT_VIEWS) && !BUILDFLAG(IS_MAC) ui::ImageModel GetDevToolsWindowIcon() override; #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void GetDevToolsWindowWMClass(std::string* name, std::string* class_name) override; #endif diff --git a/devel/electron43/files/patch-electron_shell_browser_browser.cc b/devel/electron43/files/patch-electron_shell_browser_browser.cc index b733f02916c0..390702b99fbf 100644 --- a/devel/electron43/files/patch-electron_shell_browser_browser.cc +++ b/devel/electron43/files/patch-electron_shell_browser_browser.cc @@ -1,11 +1,11 @@ ---- electron/shell/browser/browser.cc.orig 2026-08-18 19:28:27 UTC +--- electron/shell/browser/browser.cc.orig 2026-08-31 00:54:38 UTC +++ electron/shell/browser/browser.cc -@@ -98,7 +98,7 @@ bool Browser::IsValidProtocolScheme(const std::string& +@@ -105,7 +105,7 @@ bool Browser::IsValidProtocolScheme(const std::string& return true; } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void Browser::Focus(gin::Arguments* args) { // Focus on the first visible window. for (auto* const window : WindowList::GetWindows()) { diff --git a/devel/electron43/files/patch-electron_shell_browser_browser.h b/devel/electron43/files/patch-electron_shell_browser_browser.h index cdb67742fcce..a5e60f29afa6 100644 --- a/devel/electron43/files/patch-electron_shell_browser_browser.h +++ b/devel/electron43/files/patch-electron_shell_browser_browser.h @@ -1,15 +1,15 @@ ---- electron/shell/browser/browser.h.orig 2026-08-10 18:14:50 UTC +--- electron/shell/browser/browser.h.orig 2026-08-31 00:54:38 UTC +++ electron/shell/browser/browser.h -@@ -296,10 +296,10 @@ class Browser : private WindowListObserver { +@@ -295,10 +295,10 @@ class Browser : private WindowListObserver { PCWSTR GetAppUserModelID(); #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Whether Unity launcher is running. bool IsUnityRunning(); -#endif // BUILDFLAG(IS_LINUX) +#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Tell the application to open a file. bool OpenFile(const std::string& file_path); diff --git a/devel/electron43/files/patch-electron_shell_browser_electron__browser__main__parts.cc b/devel/electron43/files/patch-electron_shell_browser_electron__browser__main__parts.cc index 68112374157f..2e86308ddb6f 100644 --- a/devel/electron43/files/patch-electron_shell_browser_electron__browser__main__parts.cc +++ b/devel/electron43/files/patch-electron_shell_browser_electron__browser__main__parts.cc @@ -1,83 +1,82 @@ ---- electron/shell/browser/electron_browser_main_parts.cc.orig 2026-08-10 18:14:50 UTC +--- electron/shell/browser/electron_browser_main_parts.cc.orig 2026-08-31 00:54:38 UTC +++ electron/shell/browser/electron_browser_main_parts.cc @@ -81,7 +81,7 @@ #include "ui/wm/core/wm_state.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "base/environment.h" #include "chrome/browser/ui/views/dark_mode_manager_linux.h" - #include "device/bluetooth/bluetooth_adapter_factory.h" -@@ -138,7 +138,7 @@ namespace { + #include "components/dbus/thread_linux/dbus_thread_linux.h" +@@ -139,7 +139,7 @@ namespace { namespace { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - class LinuxUiGetterImpl : public ui::LinuxUiGetter { - public: - LinuxUiGetterImpl() = default; -@@ -326,7 +326,7 @@ int ElectronBrowserMainParts::PreCreateThreads() { + // The display server connection or the session bus is gone: exit like + // Chrome's SessionEnding(), with an off-thread watchdog that crashes us if + // exiting hangs on the dead connection. +@@ -356,7 +356,7 @@ int ElectronBrowserMainParts::PreCreateThreads() { // happen before the ResourceBundle is loaded if (locale.empty()) l10n_util::OverrideLocaleWithCocoaLocale(); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // l10n_util::GetApplicationLocaleInternal uses g_get_language_names(), // which keys off of getenv("LC_ALL"). // We must set this env first to make ui::ResourceBundle accept the custom -@@ -355,7 +355,7 @@ int ElectronBrowserMainParts::PreCreateThreads() { +@@ -385,7 +385,7 @@ int ElectronBrowserMainParts::PreCreateThreads() { ElectronBrowserClient::SetApplicationLocale(app_locale); fake_browser_process_->SetApplicationLocale(app_locale); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Reset to the original LC_ALL since we should not be changing it. if (!locale.empty()) { if (lc_all) -@@ -411,7 +411,7 @@ void ElectronBrowserMainParts::ToolkitInitialized() { +@@ -441,7 +441,7 @@ void ElectronBrowserMainParts::ToolkitInitialized() { } void ElectronBrowserMainParts::ToolkitInitialized() { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - auto* linux_ui = ui::GetDefaultLinuxUi(); - CHECK(linux_ui); - linux_ui_getter_ = std::make_unique(); -@@ -522,10 +522,10 @@ void ElectronBrowserMainParts::PostCreateMainMessageLo + // GTK3's gtk_init() probes the display for OpenGL and loads the GL driver + // into this process; nothing here uses GdkGLContext. GDK_GL is read once at + // init and only by GTK3 (GTK4 renders with GL itself and ignores it). +@@ -562,19 +562,23 @@ void ElectronBrowserMainParts::PostCreateMainMessageLo } void ElectronBrowserMainParts::PostCreateMainMessageLoop() { -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) std::string app_name = electron::Browser::Get()->GetName(); #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // The display server connection is gone (X IO error / compositor lost): - // exit like Chrome's SessionEnding(), with an off-thread watchdog that - // crashes us if exiting hangs on the dead display connection. -@@ -545,9 +545,13 @@ void ElectronBrowserMainParts::PostCreateMainMessageLo - std::move(shutdown_cb), + ui::OzonePlatform::GetInstance()->PostCreateMainMessageLoop( + base::BindOnce(&ExitOnSessionLoss), content::GetUIThreadTaskRunner({content::BrowserTaskType::kUserInput})); + dbus_thread_linux::SetDisconnectedCallback( + base::BindRepeating(&ExitOnSessionLoss)); +#if BUILDFLAG(IS_LINUX) if (!bluez::BluezDBusManager::IsInitialized()) bluez::DBusBluezManagerWrapperLinux::Initialize(); +#endif +#endif +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Set up crypt config. This needs to be done before anything starts the // network service, as the raw encryption key needs to be shared with the // network service for encrypted cookie storage. -@@ -644,7 +648,7 @@ void ElectronBrowserMainParts::PostMainMessageLoopRun( +@@ -671,7 +675,7 @@ void ElectronBrowserMainParts::PostMainMessageLoopRun( fake_browser_process_->PostMainMessageLoopRun(); content::DevToolsAgentHost::StopRemoteDebuggingPipeHandler(); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) ui::OzonePlatform::GetInstance()->PostMainMessageLoopRun(); #endif } diff --git a/devel/electron43/files/patch-electron_shell_browser_native__window.cc b/devel/electron43/files/patch-electron_shell_browser_native__window.cc index fab2874ddaf6..3c1b38a15bf9 100644 --- a/devel/electron43/files/patch-electron_shell_browser_native__window.cc +++ b/devel/electron43/files/patch-electron_shell_browser_native__window.cc @@ -1,20 +1,20 @@ ---- electron/shell/browser/native_window.cc.orig 2026-08-18 19:28:27 UTC +--- electron/shell/browser/native_window.cc.orig 2026-08-31 00:54:38 UTC +++ electron/shell/browser/native_window.cc @@ -33,7 +33,7 @@ #if BUILDFLAG(IS_WIN) #include "shell/browser/ui/views/frameless_view.h" -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "shell/browser/ui/views/electron_frame_view_linux.h" #endif -@@ -184,7 +184,7 @@ void NativeWindow::InitFromOptions(const gin_helper::D +@@ -185,7 +185,7 @@ void NativeWindow::InitFromOptions(const gin_helper::D } else if (bool center; options.Get(options::kCenter, ¢er) && center) { Center(); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (bool val; options.Get(options::kClosable, &val)) SetClosable(val); #endif diff --git a/devel/electron43/files/patch-electron_shell_browser_native__window__views.h b/devel/electron43/files/patch-electron_shell_browser_native__window__views.h index a05778367b11..68b914c5635b 100644 --- a/devel/electron43/files/patch-electron_shell_browser_native__window__views.h +++ b/devel/electron43/files/patch-electron_shell_browser_native__window__views.h @@ -1,47 +1,47 @@ ---- electron/shell/browser/native_window_views.h.orig 2026-06-29 20:35:15 UTC +--- electron/shell/browser/native_window_views.h.orig 2026-08-31 00:54:38 UTC +++ electron/shell/browser/native_window_views.h @@ -30,7 +30,7 @@ class Arguments; class Arguments; } // namespace gin -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) namespace views { class FrameViewLinux; } // namespace views @@ -38,7 +38,7 @@ namespace electron { namespace electron { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - class NativeFrameViewLinux; class GlobalMenuBarX11; #endif -@@ -187,7 +187,7 @@ class NativeWindowViews : public NativeWindow, + +@@ -186,7 +186,7 @@ class NativeWindowViews : public NativeWindow, LPARAM l_param, LRESULT* result); void SetIcon(HICON small_icon, HICON app_icon); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void SetIcon(const gfx::ImageSkia& icon); #endif -@@ -209,7 +209,7 @@ class NativeWindowViews : public NativeWindow, +@@ -208,7 +208,7 @@ class NativeWindowViews : public NativeWindow, return overlay_symbol_color_; } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) views::FrameViewLinux* GetFrameViewLinux() const; #endif -@@ -290,7 +290,7 @@ class NativeWindowViews : public NativeWindow, +@@ -289,7 +289,7 @@ class NativeWindowViews : public NativeWindow, // events from resizing the window. extensions::SizeConstraints old_size_constraints_; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) std::unique_ptr global_menu_bar_; #endif diff --git a/devel/electron43/files/patch-electron_shell_browser_ui_inspectable__web__contents.cc b/devel/electron43/files/patch-electron_shell_browser_ui_inspectable__web__contents.cc index bd184eeefa6f..736c5cba38b5 100644 --- a/devel/electron43/files/patch-electron_shell_browser_ui_inspectable__web__contents.cc +++ b/devel/electron43/files/patch-electron_shell_browser_ui_inspectable__web__contents.cc @@ -1,11 +1,11 @@ ---- electron/shell/browser/ui/inspectable_web_contents.cc.orig 2026-06-29 04:13:24 UTC +--- electron/shell/browser/ui/inspectable_web_contents.cc.orig 2026-08-31 00:54:38 UTC +++ electron/shell/browser/ui/inspectable_web_contents.cc -@@ -593,7 +593,7 @@ void InspectableWebContents::LoadCompleted() { +@@ -597,7 +597,7 @@ void InspectableWebContents::LoadCompleted() { dock_state_ = "right"; } } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) auto* api_web_contents = api::WebContents::From(GetWebContents()); if (api_web_contents) { auto* win = diff --git a/devel/electron43/files/patch-electron_shell_common_api_electron__api__shared__texture.cc b/devel/electron43/files/patch-electron_shell_common_api_electron__api__shared__texture.cc index 97881136ad5e..9b7699e5998d 100644 --- a/devel/electron43/files/patch-electron_shell_common_api_electron__api__shared__texture.cc +++ b/devel/electron43/files/patch-electron_shell_common_api_electron__api__shared__texture.cc @@ -1,38 +1,38 @@ ---- electron/shell/common/api/electron_api_shared_texture.cc.orig 2026-08-18 19:28:27 UTC +--- electron/shell/common/api/electron_api_shared_texture.cc.orig 2026-08-31 00:54:38 UTC +++ electron/shell/common/api/electron_api_shared_texture.cc @@ -27,7 +27,7 @@ #include "third_party/blink/renderer/platform/graphics/gpu/shared_gpu_context.h" // nogncheck #include "ui/compositor/compositor.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "base/posix/eintr_wrapper.h" #include "base/strings/string_number_conversions.h" #endif -@@ -584,7 +584,7 @@ struct ImportSharedTextureInfo { +@@ -591,7 +591,7 @@ struct ImportSharedTextureInfo { // On macOS, it is an IOSurfaceRef, this must be a valid IOSurface at the // current process. uintptr_t io_surface = 0; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // On Linux, to be implemented. std::vector planes; uint64_t modifier = gfx::NativePixmapHandle::kNoModifier; -@@ -654,7 +654,7 @@ struct Converter { +@@ -661,7 +661,7 @@ struct Converter { GetNativeHandle("ntHandle", &out->nt_handle); #elif BUILDFLAG(IS_APPLE) GetNativeHandle("ioSurface", &out->io_surface); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) v8::Local native_pixmap; if (shared_texture.Get("nativePixmap", &native_pixmap)) { gin::Dictionary v8_native_pixmap(isolate, native_pixmap); -@@ -730,7 +730,7 @@ v8::Local ImportSharedTexture(v8::Isolate* +@@ -737,7 +737,7 @@ v8::Local ImportSharedTexture(v8::Isolate* auto io_surface_scoped = base::apple::ScopedCFTypeRef( io_surface, base::scoped_policy::RETAIN); gmb_handle = gfx::GpuMemoryBufferHandle(std::move(io_surface_scoped)); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) gfx::NativePixmapHandle pixmap; pixmap.modifier = shared_texture.modifier; pixmap.supports_zero_copy_webgpu_import = diff --git a/devel/electron43/files/patch-electron_shell_common_gin__converters_osr__converter.cc b/devel/electron43/files/patch-electron_shell_common_gin__converters_osr__converter.cc index f0a74e42cbd7..f916b35e2147 100644 --- a/devel/electron43/files/patch-electron_shell_common_gin__converters_osr__converter.cc +++ b/devel/electron43/files/patch-electron_shell_common_gin__converters_osr__converter.cc @@ -1,20 +1,20 @@ ---- electron/shell/common/gin_converters/osr_converter.cc.orig 2026-06-29 20:35:15 UTC +--- electron/shell/common/gin_converters/osr_converter.cc.orig 2026-08-31 00:54:38 UTC +++ electron/shell/common/gin_converters/osr_converter.cc @@ -12,7 +12,7 @@ #include "base/containers/to_vector.h" #include "base/task/single_thread_task_runner.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "base/strings/string_number_conversions.h" #endif #include "shell/common/gin_converters/gfx_converter.h" -@@ -134,7 +134,7 @@ v8::Local Converter Converter +#else +#include +#include +#include +#include +#include +#endif namespace electron { - NodeBindingsLinux::NodeBindingsLinux(BrowserEnvironment browser_env) + NodeBindingsLinux::NodeBindingsLinux(BrowserEnvironment browser_env, + uv_loop_t* loop) +#if !defined(OS_BSD) - : NodeBindings(browser_env), epoll_(epoll_create(1)) { + : NodeBindings(browser_env, loop), epoll_(epoll_create(1)) { +#else -+ : NodeBindings(browser_env) { ++ : NodeBindings(browser_env, loop) { +#endif +#if !defined(OS_BSD) auto* const event_loop = uv_loop(); int backend_fd = uv_backend_fd(event_loop); -@@ -17,11 +30,13 @@ NodeBindingsLinux::NodeBindingsLinux(BrowserEnvironmen +@@ -18,11 +31,13 @@ NodeBindingsLinux::NodeBindingsLinux(BrowserEnvironmen ev.events = EPOLLIN; ev.data.fd = backend_fd; epoll_ctl(epoll_, EPOLL_CTL_ADD, backend_fd, &ev); +#endif } void NodeBindingsLinux::PollEvents() { auto* const event_loop = uv_loop(); +#if !defined(OS_BSD) int timeout = uv_backend_timeout(event_loop); // Wait for new libuv events. -@@ -30,6 +45,26 @@ void NodeBindingsLinux::PollEvents() { +@@ -31,6 +46,26 @@ void NodeBindingsLinux::PollEvents() { struct epoll_event ev; r = epoll_wait(epoll_, &ev, 1, timeout); } while (r == -1 && errno == EINTR); +#else + struct timeval tv; + int timeout = uv_backend_timeout(event_loop); + if (timeout != -1) { + tv.tv_sec = timeout / 1000; + tv.tv_usec = (timeout % 1000) * 1000; + } + + fd_set readset; + int fd = uv_backend_fd(event_loop); + FD_ZERO(&readset); + FD_SET(fd, &readset); + + // Wait for new libuv events. + int r; + do { + r = select(fd + 1, &readset, nullptr, nullptr, + timeout == -1 ? nullptr : &tv); + } while (r == -1 && errno == EINTR); +#endif } // static 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 93cff2521196..65a98ac4bfbc 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,196 @@ ---- electron/spec/api-app-spec.ts.orig 2026-08-18 19:28:27 UTC +--- electron/spec/api-app-spec.ts.orig 2026-08-31 00:54:38 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'); -@@ -257,7 +257,7 @@ describe('app module', () => { +@@ -199,7 +199,7 @@ describe('app module', () => { + }); + }); + +- ifdescribe(process.platform === 'linux' && fs.existsSync('/usr/bin/dbus-daemon'))( ++ ifdescribe((process.platform === 'linux' || process.platform === 'freebsd') && fs.existsSync('/usr/bin/dbus-daemon'))( + 'when a D-Bus bus goes away', + () => { + it('exits cleanly instead of crashing', async () => { +@@ -290,7 +290,7 @@ describe('app module', () => { } }); - 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]); -@@ -441,7 +441,7 @@ describe('app module', () => { +@@ -488,7 +488,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'), -@@ -570,7 +570,7 @@ describe('app module', () => { +@@ -617,7 +617,7 @@ describe('app module', () => { // let w = null // before(function () { - // if (process.platform !== 'linux') { + // if (process.platform !== 'linux' && process.platform !== 'freebsd') { // this.skip() // } // }) -@@ -683,7 +683,7 @@ describe('app module', () => { +@@ -730,7 +730,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; -@@ -730,7 +730,7 @@ describe('app module', () => { +@@ -777,7 +777,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'; -@@ -1157,7 +1157,7 @@ describe('app module', () => { +@@ -1204,7 +1204,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> = [ -@@ -1427,7 +1427,7 @@ describe('app module', () => { +@@ -1474,7 +1474,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 () { -@@ -1570,7 +1570,7 @@ describe('app module', () => { +@@ -1617,7 +1617,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 -@@ -1587,7 +1587,7 @@ describe('app module', () => { +@@ -1634,7 +1634,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'; -@@ -1637,7 +1637,7 @@ describe('app module', () => { +@@ -1684,7 +1684,7 @@ describe('app module', () => { let xdgBinDir: string; before(() => { - if (process.platform !== 'linux') { + if (process.platform !== 'linux' && process.platform !== 'freebsd') { return; } -@@ -1654,7 +1654,7 @@ describe('app module', () => { +@@ -1701,7 +1701,7 @@ describe('app module', () => { }); after(() => { - if (process.platform === 'linux') { + if (process.platform === 'linux' || process.platform === 'freebsd') { fs.rmSync(xdgDir, { recursive: true, force: true }); } }); -@@ -1666,7 +1666,7 @@ describe('app module', () => { +@@ -1713,7 +1713,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'); -@@ -1680,7 +1680,7 @@ describe('app module', () => { +@@ -1727,7 +1727,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'; -@@ -1714,7 +1714,7 @@ describe('app module', () => { +@@ -1761,7 +1761,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}`; -@@ -1831,7 +1831,7 @@ describe('app module', () => { +@@ -1878,7 +1878,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, -@@ -1913,7 +1913,7 @@ describe('app module', () => { +@@ -1960,7 +1960,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'); } -@@ -1982,7 +1982,7 @@ describe('app module', () => { +@@ -2029,7 +2029,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'); -@@ -2006,7 +2006,7 @@ describe('app module', () => { +@@ -2053,7 +2053,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 2947e5d41261..7d10a308d8bf 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-08-04 15:35:15 UTC +--- electron/spec/api-browser-window-spec.ts.orig 2026-08-31 00:54:38 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 }); @@ -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'); @@ -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'); @@ -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); @@ -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); @@ -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(); @@ -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(); -@@ -4680,7 +4680,7 @@ describe('BrowserWindow module', () => { +@@ -4750,7 +4750,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 { -@@ -5196,7 +5196,7 @@ describe('BrowserWindow module', () => { +@@ -5266,7 +5266,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 }); -@@ -5472,7 +5472,7 @@ describe('BrowserWindow module', () => { +@@ -5542,7 +5542,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({}); -@@ -5490,7 +5490,7 @@ describe('BrowserWindow module', () => { +@@ -5560,7 +5560,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(); -@@ -5513,7 +5513,7 @@ describe('BrowserWindow module', () => { +@@ -5583,7 +5583,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 }); -@@ -5550,7 +5550,7 @@ describe('BrowserWindow module', () => { +@@ -5620,7 +5620,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(); -@@ -6048,7 +6048,7 @@ describe('BrowserWindow module', () => { +@@ -6133,7 +6133,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'); -@@ -6289,7 +6289,7 @@ describe('BrowserWindow module', () => { +@@ -6374,7 +6374,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); -@@ -7607,7 +7607,7 @@ describe('BrowserWindow module', () => { +@@ -7692,7 +7692,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-protocol-spec.ts b/devel/electron43/files/patch-electron_spec_api-protocol-spec.ts index 8fa0eb2390be..ec319b6cb3c6 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-08-18 19:28:27 UTC +--- electron/spec/api-protocol-spec.ts.orig 2026-08-31 00:54:38 UTC +++ electron/spec/api-protocol-spec.ts -@@ -2217,7 +2217,7 @@ describe('protocol module', () => { +@@ -2259,7 +2259,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-electron_spec_api-utility-process-spec.ts b/devel/electron43/files/patch-electron_spec_api-utility-process-spec.ts index 78d4a1bbc83e..440da341fe8e 100644 --- a/devel/electron43/files/patch-electron_spec_api-utility-process-spec.ts +++ b/devel/electron43/files/patch-electron_spec_api-utility-process-spec.ts @@ -1,20 +1,20 @@ ---- electron/spec/api-utility-process-spec.ts.orig 2026-06-23 03:01:59 UTC +--- electron/spec/api-utility-process-spec.ts.orig 2026-08-31 00:54:38 UTC +++ electron/spec/api-utility-process-spec.ts -@@ -605,7 +605,7 @@ describe('utilityProcess module', () => { +@@ -624,7 +624,7 @@ describe('utilityProcess module', () => { expect(output).to.include(result); }); - ifit(process.platform !== 'linux')('can access exposed main process modules from the utility process', async () => { + ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('can access exposed main process modules from the utility process', async () => { const message = 'Message from utility process'; const child = utilityProcess.fork(path.join(fixturesPath, 'expose-main-process-module.js')); await once(child, 'spawn'); -@@ -642,7 +642,7 @@ describe('utilityProcess module', () => { +@@ -661,7 +661,7 @@ describe('utilityProcess module', () => { await closeWindow(w); }); - ifit(process.platform === 'linux')('allows executing a setuid binary with child_process', async () => { + ifit(process.platform === 'linux' || process.platform === 'freebsd')('allows executing a setuid binary with child_process', async () => { const child = utilityProcess.fork(path.join(fixturesPath, 'suid.js')); await once(child, 'spawn'); const [data] = await once(child, 'message'); diff --git a/devel/electron43/files/patch-electron_spec_api-web-contents-spec.ts b/devel/electron43/files/patch-electron_spec_api-web-contents-spec.ts index 9ae9487e408f..ba6ef46d163c 100644 --- a/devel/electron43/files/patch-electron_spec_api-web-contents-spec.ts +++ b/devel/electron43/files/patch-electron_spec_api-web-contents-spec.ts @@ -1,20 +1,20 @@ ---- electron/spec/api-web-contents-spec.ts.orig 2026-08-18 19:28:27 UTC +--- electron/spec/api-web-contents-spec.ts.orig 2026-08-31 00:54:38 UTC +++ electron/spec/api-web-contents-spec.ts -@@ -1482,7 +1482,7 @@ describe('webContents module', () => { +@@ -1579,7 +1579,7 @@ describe('webContents module', () => { // back to OpenFolder() which does a blocking DirectoryExists() on the UI // thread (pre-existing behavior). Workspace-gating is covered by the test // above. - ifit(process.platform !== 'linux')( + ifit(process.platform !== 'linux' && process.platform !== 'freebsd')( 'reveals paths under a registered workspace folder without executing them', async () => { const w = new BrowserWindow({ show: false }); -@@ -3601,7 +3601,7 @@ describe('webContents module', () => { +@@ -3698,7 +3698,7 @@ describe('webContents module', () => { }); // TODO(codebytere): OOPIF printing is disabled on Linux at the moment due to crashes. - ifit(process.platform !== 'linux')('can print cross-origin iframes', async () => { + ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('can print cross-origin iframes', async () => { server = http.createServer((_, res) => { res.writeHead(200); res.end(` diff --git a/devel/electron43/files/patch-electron_spec_chromium-spec.ts b/devel/electron43/files/patch-electron_spec_chromium-spec.ts index 862b46d6745f..b5ed46d21863 100644 --- a/devel/electron43/files/patch-electron_spec_chromium-spec.ts +++ b/devel/electron43/files/patch-electron_spec_chromium-spec.ts @@ -1,46 +1,46 @@ ---- electron/spec/chromium-spec.ts.orig 2026-08-18 19:28:27 UTC +--- electron/spec/chromium-spec.ts.orig 2026-08-31 00:54:38 UTC +++ electron/spec/chromium-spec.ts -@@ -601,15 +601,15 @@ describe('command line switches', () => { +@@ -603,15 +603,15 @@ describe('command line switches', () => { testLocale('asdfkl', `${currentLocale}|${currentSystemLocale}|${currentPreferredLanguages}`)); const lcAll = String(process.env.LC_ALL); - ifit(process.platform === 'linux')('current process has a valid LC_ALL env', async () => { + ifit(process.platform === 'linux' || process.platform === 'freebsd')('current process has a valid LC_ALL env', async () => { // The LC_ALL env should not be set to DOM locale string. expect(lcAll).to.not.equal(app.getLocale()); }); - ifit(process.platform === 'linux')('should not change LC_ALL', async () => testLocale('fr', lcAll, true)); - ifit(process.platform === 'linux')('should not change LC_ALL when setting invalid locale', async () => + ifit(process.platform === 'linux' || process.platform === 'freebsd')('should not change LC_ALL', async () => testLocale('fr', lcAll, true)); + ifit(process.platform === 'linux' || process.platform === 'freebsd')('should not change LC_ALL when setting invalid locale', async () => testLocale('asdfkl', lcAll, true) ); - ifit(process.platform === 'linux')('should not change LC_ALL when --lang is not set', async () => + ifit(process.platform === 'linux' || process.platform === 'freebsd')('should not change LC_ALL when --lang is not set', async () => testLocale('', lcAll, true) ); }); -@@ -3900,12 +3900,12 @@ describe('font fallback', () => { +@@ -4011,12 +4011,12 @@ describe('font fallback', () => { expect(fonts[0].familyName).to.equal('Arial'); } else if (process.platform === 'darwin') { expect(fonts[0].familyName).to.equal('Helvetica'); - } else if (process.platform === 'linux') { + } else if (process.platform === 'linux' || process.platform === 'freebsd') { expect(fonts[0].familyName).to.equal('DejaVu Sans'); } // I think this depends on the distro? We don't specify a default. }); - ifit(process.platform !== 'linux')( + ifit(process.platform !== 'linux' && process.platform !== 'freebsd')( 'should fall back to Japanese font for sans-serif Japanese script', async function () { const html = ` -@@ -4472,7 +4472,7 @@ describe('paste execCommand', () => { +@@ -4583,7 +4583,7 @@ describe('paste execCommand', () => { }); }); -ifdescribe(process.platform !== 'linux' || app.isUnityRunning())('navigator.setAppBadge/clearAppBadge', () => { +ifdescribe((process.platform !== 'linux' && process.platform !== 'freebsd') || app.isUnityRunning())('navigator.setAppBadge/clearAppBadge', () => { let w: BrowserWindow; const expectedBadgeCount = 42; diff --git a/devel/electron43/files/patch-electron_spec_node-spec.ts b/devel/electron43/files/patch-electron_spec_node-spec.ts index 53552a2f264b..ad0f83fe0042 100644 --- a/devel/electron43/files/patch-electron_spec_node-spec.ts +++ b/devel/electron43/files/patch-electron_spec_node-spec.ts @@ -1,11 +1,11 @@ ---- electron/spec/node-spec.ts.orig 2026-06-29 20:35:15 UTC +--- electron/spec/node-spec.ts.orig 2026-08-31 00:54:38 UTC +++ electron/spec/node-spec.ts -@@ -215,7 +215,7 @@ describe('node feature', () => { +@@ -216,7 +216,7 @@ describe('node feature', () => { }); describe('child_process.exec', () => { - ifit(process.platform === 'linux')('allows executing a setuid binary from non-sandboxed renderer', async () => { + ifit(process.platform === 'linux' || process.platform === 'freebsd')('allows executing a setuid binary from non-sandboxed renderer', async () => { // Chrome uses prctl(2) to set the NO_NEW_PRIVILEGES flag on Linux (see // https://github.com/torvalds/linux/blob/40fde647cc/Documentation/userspace-api/no_new_privs.rst). // We disable this for unsandboxed processes, which the renderer tests diff --git a/devel/electron43/files/patch-extensions_browser_api_messaging_message__service.cc b/devel/electron43/files/patch-extensions_browser_api_messaging_message__service.cc index a94635982e34..48d876b7746f 100644 --- a/devel/electron43/files/patch-extensions_browser_api_messaging_message__service.cc +++ b/devel/electron43/files/patch-extensions_browser_api_messaging_message__service.cc @@ -1,20 +1,20 @@ ---- extensions/browser/api/messaging/message_service.cc.orig 2026-06-23 23:37:18 UTC +--- extensions/browser/api/messaging/message_service.cc.orig 2026-08-31 13:40:09 UTC +++ extensions/browser/api/messaging/message_service.cc @@ -89,7 +89,7 @@ const char kReceivingEndIncompatibleMessageSerializati "Could not establish connection. Receiving end uses different message " "serialization format."; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) const char kMissingPermissionError[] = "Access to native messaging requires nativeMessaging permission."; const char kProhibitedByPoliciesError[] = -@@ -710,7 +710,7 @@ void MessageService::OpenChannelToNativeAppImpl( +@@ -712,7 +712,7 @@ void MessageService::OpenChannelToNativeAppImpl( return; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) bool has_permission = extension->permissions_data()->HasAPIPermission( mojom::APIPermissionID::kNativeMessaging); if (!has_permission) { 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 0ec7db68a24f..1c6f1cf78521 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-08-16 12:10:03 UTC +--- gpu/command_buffer/service/gles2_cmd_decoder.cc.orig 2026-08-31 13:40:09 UTC +++ gpu/command_buffer/service/gles2_cmd_decoder.cc -@@ -3011,7 +3011,7 @@ std::unique_ptr GLES2Decoder::Create( +@@ -3012,7 +3012,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-gpu_command__buffer_service_shared__context__state.cc b/devel/electron43/files/patch-gpu_command__buffer_service_shared__context__state.cc index 9e6746c1f2d8..462a04367f43 100644 --- a/devel/electron43/files/patch-gpu_command__buffer_service_shared__context__state.cc +++ b/devel/electron43/files/patch-gpu_command__buffer_service_shared__context__state.cc @@ -1,29 +1,29 @@ ---- gpu/command_buffer/service/shared_context_state.cc.orig 2026-04-28 21:06:17 UTC +--- gpu/command_buffer/service/shared_context_state.cc.orig 2026-08-31 13:40:09 UTC +++ gpu/command_buffer/service/shared_context_state.cc -@@ -61,7 +61,7 @@ +@@ -62,7 +62,7 @@ #include "gpu/vulkan/vulkan_implementation.h" #include "gpu/vulkan/vulkan_util.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #include "gpu/command_buffer/service/external_semaphore_pool.h" #endif -@@ -298,7 +298,7 @@ SharedContextState::SharedContextState( +@@ -299,7 +299,7 @@ SharedContextState::SharedContextState( ) { if (vk_context_provider_) { #if BUILDFLAG(ENABLE_VULKAN) && \ - (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_WIN)) + (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)) external_semaphore_pool_ = std::make_unique(this); #endif } -@@ -339,7 +339,7 @@ SharedContextState::~SharedContextState() { +@@ -340,7 +340,7 @@ SharedContextState::~SharedContextState() { } #if BUILDFLAG(ENABLE_VULKAN) && \ - (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_WIN)) + (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)) external_semaphore_pool_.reset(); #endif diff --git a/devel/electron43/files/patch-gpu_ipc_service_gpu__init.cc b/devel/electron43/files/patch-gpu_ipc_service_gpu__init.cc index fe96ff8161f1..9450f9944831 100644 --- a/devel/electron43/files/patch-gpu_ipc_service_gpu__init.cc +++ b/devel/electron43/files/patch-gpu_ipc_service_gpu__init.cc @@ -1,83 +1,83 @@ ---- gpu/ipc/service/gpu_init.cc.orig 2026-06-23 23:37:18 UTC +--- gpu/ipc/service/gpu_init.cc.orig 2026-08-31 13:40:09 UTC +++ gpu/ipc/service/gpu_init.cc @@ -165,7 +165,7 @@ bool CanAccessDeviceFile(const GPUInfo& gpu_info) { #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CASTOS) bool CanAccessDeviceFile(const GPUInfo& gpu_info) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (gpu_info.gpu.vendor_id != 0x10de || // NVIDIA gpu_info.gpu.driver_vendor != "NVIDIA") return true; @@ -429,7 +429,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL enable_watchdog = false; #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) bool gpu_sandbox_start_early = gpu_preferences_.gpu_sandbox_start_early; #else // !(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) // For some reasons MacOSX's VideoToolbox might crash when called after @@ -468,7 +468,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL } bool attempted_startsandbox = false; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // On Chrome OS ARM Mali, GPU driver userspace creates threads when // initializing a GL context, so start the sandbox early. // TODO(zmo): Need to collect OS version before this. @@ -562,7 +562,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL gpu_preferences_.gr_context_type = GrContextType::kGL; } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // The ContentSandboxHelper is currently the only one implementation of // GpuSandboxHelper and it has no dependency. Except on Linux where // VaapiWrapper checks the GL implementation to determine which display @@ -621,7 +621,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL command_line, gpu_feature_info_, gpu_preferences_.disable_software_rasterizer, false); if (gl_use_swiftshader_) { -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) VLOG(1) << "Quit GPU process launch to fallback to SwiftShader cleanly " << "on Linux"; return false; -@@ -829,7 +829,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL +@@ -819,7 +819,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL } } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Driver may create a compatibility profile context when collect graphics // information on Linux platform. Try to collect graphics information // based on core profile context after disabling platform extensions. -@@ -904,7 +904,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL +@@ -894,7 +894,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL } } } -#if BUILDFLAG(IS_LINUX) || \ +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || \ (BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_CHROMEOS_DEVICE)) if (!gl_disabled && !gl_use_swiftshader_ && std::getenv("RUNNING_UNDER_RR")) { // https://rr-project.org/ is a Linux-only record-and-replay debugger that -@@ -1103,7 +1103,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c +@@ -1093,7 +1093,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c } bool gl_disabled = gl::GetGLImplementation() == gl::kGLImplementationDisabled; -#if BUILDFLAG(IS_LINUX) || \ +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || \ (BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_CHROMEOS_DEVICE)) if (!gl_disabled && !gl_use_swiftshader_ && std::getenv("RUNNING_UNDER_RR")) { // https://rr-project.org/ is a Linux-only record-and-replay debugger that -@@ -1159,7 +1159,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c +@@ -1149,7 +1149,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c } } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Driver may create a compatibility profile context when collect graphics // information on Linux platform. Try to collect graphics information // based on core profile context after disabling platform extensions.