Port details |
- electron37 Build cross-platform desktop apps with JavaScript, HTML, and CSS
- 37.4.0_1 devel
=0 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one. - Maintainer: tagattie@FreeBSD.org
 - Port Added: 2025-07-15 14:03:05
- Last Update: 2025-09-02 08:43:55
- Commit Hash: 830b3137
- License: BSD3CLAUSE LGPL21 MPL11 MIT
- WWW:
- https://electronjs.org/
- Description:
- Build cross platform desktop apps with JavaScript, HTML, and CSS.
It's easier than you think.
If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- electron37>0:devel/electron37
- To install the port:
- cd /usr/ports/devel/electron37/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/electron37
- pkg install electron37
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: electron37
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 i386
- distinfo:
- TIMESTAMP = 1756372577
SHA256 (electron/chromium-138.0.7204.243.tar.xz.0) = 6de4153de04a391369af78bf7e6e88872f8404486ad8a587fe25ed21e6a408dd
SIZE (electron/chromium-138.0.7204.243.tar.xz.0) = 2000000000
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gperf : devel/gperf
- bindgen : devel/rust-bindgen-cli
- yasm : devel/yasm
- dri.pc : graphics/mesa-dri
- rustc : lang/rust
- videodev2.h : multimedia/v4l_compat
- node22>0 : www/node22
- npm-node22>0 : www/npm-node22
- bison : devel/bison
- msgfmt : devel/gettext-tools
- gmake>=4.4.1 : devel/gmake
- ninja : devel/ninja
- node : www/node22
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.11 : lang/python311
- clang20 : devel/llvm20
- nasm : devel/nasm
- xorgproto>=0 : x11/xorgproto
- x11.pc : x11/libX11
- xcb.pc : x11/libxcb
- xcomposite.pc : x11/libXcomposite
- xcursor.pc : x11/libXcursor
- xdamage.pc : x11/libXdamage
- xext.pc : x11/libXext
- xfixes.pc : x11/libXfixes
- xi.pc : x11/libXi
- xrandr.pc : x11/libXrandr
- xrender.pc : x11/libXrender
- xscrnsaver.pc : x11/libXScrnSaver
- xtst.pc : x11/libXtst
- qt5-buildtools>=5.15 : devel/qt5-buildtools
- libQt5Core.so : devel/qt5-core
- libQt5Widgets.so : x11-toolkits/qt5-widgets
- Test dependencies:
-
- git : devel/git
- py311-python-dbusmock>0 : devel/py-python-dbusmock@py311
- npm-node22>0 : www/npm-node22
- python3.11 : lang/python311
- Runtime dependencies:
-
- xdg-open : devel/xdg-utils
- libasound_module_pcm_oss.so : audio/alsa-plugins
- alsa-lib>=1.1.1_1 : audio/alsa-lib
- x11.pc : x11/libX11
- xcb.pc : x11/libxcb
- xcomposite.pc : x11/libXcomposite
- xcursor.pc : x11/libXcursor
- xdamage.pc : x11/libXdamage
- xext.pc : x11/libXext
- xfixes.pc : x11/libXfixes
- xi.pc : x11/libXi
- xrandr.pc : x11/libXrandr
- xrender.pc : x11/libXrender
- xscrnsaver.pc : x11/libXScrnSaver
- xtst.pc : x11/libXtst
- Library dependencies:
-
- 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
- libicuuc.so : devel/icu
- 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
- libasound.so : audio/alsa-lib
- libcups.so : print/cups
- libpipewire-0.3.so : multimedia/pipewire
- libsndio.so : audio/sndio
- libgbm.so : graphics/mesa-libs
- libGL.so : graphics/libglvnd
- libGLESv2.so : graphics/libglvnd
- libatk-1.0.so : accessibility/at-spi2-core
- libcairo.so : graphics/cairo
- libgdk_pixbuf-2.0.so : graphics/gdk-pixbuf2
- libglib-2.0.so : devel/glib20
- libintl.so : devel/gettext-runtime
- libgtk-3.so : x11-toolkits/gtk30
- libxml2.so : textproc/libxml2
- libxslt.so : textproc/libxslt
- libharfbuzz.so : print/harfbuzz
- libpango-1.0.so : x11-toolkits/pango
- libiconv.so : converters/libiconv
- libjpeg.so : graphics/jpeg-turbo
- Fetch dependencies:
-
- yarn-node22>0 : www/yarn-node22
- Patch dependencies:
-
- yarn-node22>0 : www/yarn-node22
-
- This port is required by:
- for Build
-
- editors/vscode
- graphics/drawio
- net-im/signal-desktop
- textproc/obsidian
- for Run
-
- graphics/drawio
- textproc/obsidian
Configuration Options:
- ===> The following configuration options are available for electron37-37.4.0_1:
CODECS=on: Compile and enable patented codecs like H.264
CUPS=on: CUPS printing system support
DEBUG=off: Build with debugging support
DIST=off: Build distribution zip files
DRIVER=on: Install chromedriver
KERBEROS=on: Kerberos support
LTO=off: Use Link-Time Optimization
PIPEWIRE=on: Screen capture via PipeWire
====> Options available for the group AUDIO
ALSA=on: ALSA audio architecture support
PULSEAUDIO=on: PulseAudio sound server support
SNDIO=on: Sndio audio support
====> Kerberos support: you can only select none or one of them
HEIMDAL=off: Heimdal Kerberos (security/heimdal)
HEIMDAL_BASE=off: Heimdal Kerberos (base)
MIT=off: MIT Kerberos (security/krb5)
===> Use 'make config' to modify these settings
- Options name:
- devel_electron37
- USES:
- bison compiler:c++17-lang cpe gettext-tools gl gmake gnome iconv:wchar_t jpeg localbase:ldflags ninja nodejs:22,build pkgconfig python:build,test qt:5 shebangfix tar:xz xorg
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
37.4.0_1 02 Sep 2025 08:43:55
    |
Hiroki Tagato (tagattie)  |
devel/electron37: unbreak non-root build with poudriere
The chromium source archive hosted at GitHub is splitted into multiple
fragments due to size constraints. We have to concatenate them into a
single tarball before extracting it.
Previously, the combined tarball was written to DISTDIR/DIST_SUBDIR,
which may not be writable by the poudriere user. So change the
directory to WRKSRC:H and manually extracting the tarball to avoid
such breakage.
While here, replace WRKDIR/PORTNAME-ELECTRON_VER with WRKSRC:H for
better consiceness and readability.
PR: 289226
Reported by: Dan Kotowski <dan.kotowski@a9development.com>
Tested by: Dan Kotowski <dan.kotowski@a9development.com> |
37.4.0_1 01 Sep 2025 08:25:04
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.89.0
PR: 288923 |
37.4.0 29 Aug 2025 08:11:04
    |
Jason E. Hale (jhale)  |
devel/electron37: Fix build with ninja 1.13.1
Fix race conditions where generated headers are not created before they
are needed in the build.
PR: 279187
Exp-run-by: antoine |
37.4.0 29 Aug 2025 07:23:06
    |
Hiroki Tagato (tagattie)  |
devel/electron37: update to 37.4.0
Changelog: https://github.com/electron/electron/releases/tag/v37.4.0
Reported by: GitHub (watch releases) |
37.3.1 26 Aug 2025 21:56:05
    |
Hiroki Tagato (tagattie)  |
devel/electron37: adjust patch to unbreak build with rust 1.88
Removing __rust_no_alloc_shim_is_unstable was too early. It is still
required for build to succeed with rust 1.88. So add it back.
Fixes: bf9da96ad4c8 (devel/electron37: fix build with rust 1.89.0) |
37.3.1 26 Aug 2025 07:24:32
    |
Hiroki Tagato (tagattie)  Author: Mikael Urankar |
devel/electron37: fix build with rust 1.89.0
Obtained
from: https://chromium.googlesource.com/chromium/src/+/8393b61ba876c8e1614275c97767f9b06b889f48%5E%21/#F0,
https://chromium.googlesource.com/chromium/src/+/6aae0e2353c857d98980ff677bf304288d7c58de%5E%21/#F0
Pull Request: https://github.com/tagattie/FreeBSD-Electron/pull/165 |
37.3.1 23 Aug 2025 11:40:02
    |
Hiroki Tagato (tagattie)  |
devel/electron37: update to 37.3.1
Changelog: https://github.com/electron/electron/releases/tag/v37.3.1
Reported by: GitHub (watch releases) |
37.3.0 22 Aug 2025 11:10:26
    |
Hiroki Tagato (tagattie)  |
devel/electron{32,34,35,36,37}: temporarily mark as BROKEN on i386
In pre-fetch target, a node process tries to fetch necessary node
modules for building the port. Currently on i386 platform, the process
stalls and eats up all available CPUs until it is killed, which is a
problem.
So temporarily mark electron ports as BROKEN on i386 platform until
the problem is solved.
PR: 270565
Reported by: antoine, pkg-fallout |
37.3.0 18 Aug 2025 04:54:45
    |
Hiroki Tagato (tagattie)  |
devel/electron37: update to 37.3.0
Changelog: https://github.com/electron/electron/releases/tag/v37.3.0
Reported by: GitHub (watch releases) |
37.2.6 08 Aug 2025 04:50:15
    |
Hiroki Tagato (tagattie)  |
devel/electron37: update to 37.2.6
Changelog: https://github.com/electron/electron/releases/tag/v37.2.6
Reported by: GitHub (watch releases) |
37.2.5_1 06 Aug 2025 03:01:11
    |
Koichiro Iwao (meta)  |
*/*: Bump multimedia/openh264 consumers after dc94e01
net/freerdp{,3} have been already bumped in e447cd0, so not being bumped
again.
Bumped by the following one-liner:
$ git grep -l libopenh264 | \
grep '^.*/.*/Makefile$'| \
xargs -t -n1 portedit bump-revision -i
Approved by: portmgr (blanket) |
37.2.5 02 Aug 2025 10:56:05
    |
Hiroki Tagato (tagattie)  |
devel/electron37: update to 37.2.5
Changelog: https://github.com/electron/electron/releases/tag/v37.2.5
Reported by: GitHub (watch releases) |
37.2.4 24 Jul 2025 12:55:26
    |
Hiroki Tagato (tagattie)  |
devel/electron37: update to 37.2.4
Changelog: https://github.com/electron/electron/releases/tag/v37.2.4
Reported by: GitHub (watch releases) |
37.2.3 18 Jul 2025 20:32:19
    |
Hiroki Tagato (tagattie)  |
devel/electron37: update to 37.2.3
Changelog:
- https://github.com/electron/electron/releases/tag/v37.2.2
- https://github.com/electron/electron/releases/tag/v37.2.3
Reported by: GitHub (watch releases) |
37.2.1 15 Jul 2025 14:02:24
    |
Hiroki Tagato (tagattie)  |
devel/electron37: add port: Build cross-platform desktop apps with JavaScript,
HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.
It's easier than you think.
If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.
WWW: https://electronjs.org/ |