| Port details |
- electron38 Build cross-platform desktop apps with JavaScript, HTML, and CSS
- 38.7.2 devel
=0 38.1.2Version of this port present on the latest quarterly branch. - Maintainer: tagattie@FreeBSD.org
 - Port Added: 2025-09-18 09:39:05
- Last Update: 2025-12-22 07:53:51
- Commit Hash: 8e0af09
- 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:
-
- electron38>0:devel/electron38
- To install the port:
- cd /usr/ports/devel/electron38/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/electron38
- pkg install electron38
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: electron38
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 i386
- distinfo:
- TIMESTAMP = 1764753880
SHA256 (electron/chromium-140.0.7339.249.tar.xz.0) = 138fc3e5eb2b5db406a7764a8e287a0d16640f83cbfb452d6e0f54de8eaf65c2
SIZE (electron/chromium-140.0.7339.249.tar.xz.0) = 2000000000
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- 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
- node : www/node22
- node22>0 : www/node22
- zip : archivers/zip
- yq : textproc/yq
- gettext-tools>=0.26 : devel/gettext-tools
- gmake>=4.4.1 : devel/gmake
- ninja : devel/ninja
- 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
- Xvfb : x11-servers/xorg-server@xvfb
- 8x13O.pcf.gz : x11-fonts/xorg-fonts-miscbitmaps
- fonts.alias : x11-fonts/font-alias
- base : x11/xkeyboard-config
- xkbcomp : x11/xkbcomp
- 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:
-
- node22>0 : www/node22
- Patch dependencies:
-
- node22>0 : www/node22
-
- This port is required by:
- for Build
-
- textproc/logseq
- for Run
-
- textproc/logseq
Configuration Options:
- ===> The following configuration options are available for electron38-38.7.2:
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_electron38
- USES:
- bison compiler:c++17-lang cpe display:test electron:env 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 |
38.7.2 22 Dec 2025 07:53:51
    |
Hiroki Tagato (tagattie)  |
devel/electron38: Update to 38.7.2
While here:
- switch to use USE_ELECTRON features of electron.mk for specifying
node package manager, pre-fetching necessary node modules, and
extracting the node modules into appropriate directories
- use USES=display for starting/stopping display server on testing
- specify TEST_ENV instead of listing env vars in test target
Changelog: https://github.com/electron/electron/releases/tag/v38.7.2 |
38.7.1_1 16 Dec 2025 12:12:31
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.92.0
PR: 291582 |
38.7.1 21 Nov 2025 19:35:27
    |
Hiroki Tagato (tagattie)  |
devel/electron38: Update to 38.7.1
Changelog: https://github.com/electron/electron/releases/tag/v38.7.1
Reported by: GitHub (watch releases) |
38.7.0 15 Nov 2025 01:27:46
    |
Hiroki Tagato (tagattie)  |
devel/electron38: Update to 38.7.0
Changelog: https://github.com/electron/electron/releases/tag/v38.7.0
Reported by: GitHub (watch releases) |
38.6.0_1 11 Nov 2025 11:08:12
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.91.1
PR: 290816 |
38.6.0 08 Nov 2025 18:56:59
    |
Hiroki Tagato (tagattie)  |
devel/electron38: Update to 38.6.0
Changelog: https://github.com/electron/electron/releases/tag/v38.6.0
Reported by: GitHub (watch releases) |
38.5.0 08 Nov 2025 04:10:00
    |
Hiroki Tagato (tagattie)  |
devel/electron{34,36,37,38}: Fix build when rust is not installed in time
VAR!= gets expanded on the first make invocation and because rust is a
build dependency, it might not be installed at that time, so getting
the version of rustc was erratic.
Use gn to get the version instead.
Reported by: mikael (via private email)
Obtained
from: https://cgit.freebsd.org/ports/commit/?id=ee86324cade722c6cb8013545e6b8a8c6b05cf82 |
38.5.0 07 Nov 2025 14:10:43
    |
Hiroki Tagato (tagattie)  |
devel/electron{34,36,37,38}: Fix build with rust 1.91
Reported by: mikael (via private email)
Obtained
from: https://chromium.googlesource.com/chromium/src/+/0420449584e2afb7473393f536379efe194ba23c,
https://chromium.googlesource.com/chromium/src/+/e46275404d8f8a65ed84b3e583e9b78e4298acc7 |
38.5.0 30 Oct 2025 11:15:18
    |
Hiroki Tagato (tagattie)  |
devel/electron38: Update to 38.5.0
Changelog: https://github.com/electron/electron/releases/tag/v38.5.0
Reported by: GitHub (watch releases) |
38.4.0 25 Oct 2025 14:05:49
    |
Hiroki Tagato (tagattie)  |
devel/electron38: Update to 38.4.0
Changelog: https://github.com/electron/electron/releases/tag/v38.4.0
Reported by: GitHub (watch releases) |
38.3.0 18 Oct 2025 13:58:32
    |
Hiroki Tagato (tagattie)  |
devel/electron38: update to 38.3.0
Changelog: https://github.com/electron/electron/releases/tag/v38.3.0
Reported by: GitHub (watch releases) |
38.2.2 10 Oct 2025 18:56:38
    |
Hiroki Tagato (tagattie)  |
devel/electron38: update to 38.2.2
Changelog: https://github.com/electron/electron/releases/tag/v38.2.2
Reported by: GitHub (watch releases) |
38.2.1 04 Oct 2025 20:39:02
    |
Hiroki Tagato (tagattie)  |
devel/electron38: update to 38.2.1
While here, fix build with rust 1.90.[1]
Changelog: https://github.com/electron/electron/releases/tag/v38.2.1
Reported by: GitHub (watch releases)
Obtained
from: https://cgit.freebsd.org/ports/commit/?id=a448aeb00153c3465a30ff41ecf43f8896a50d52
[1] |
38.2.0_1 03 Oct 2025 08:16:50
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.90.0
PR: 289709 |
38.2.0 01 Oct 2025 00:59:07
    |
Hiroki Tagato (tagattie)  |
devel/electron38: update to 38.2.0
Changelog: https://github.com/electron/electron/releases/tag/v38.2.0
Reported by: GitHub (watch releases) |
38.1.2 18 Sep 2025 09:35:32
    |
Hiroki Tagato (tagattie)  |
devel/electron38: 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/ |