Port details |
- electron31 Build cross-platform desktop apps with JavaScript, HTML, and CSS
- 31.7.7_4 devel
=2 31.7.7Version of this port present on the latest quarterly branch. DEPRECATED: EOLed upstream, switch to newer version
EXPIRATION DATE: 2025-03-31
- Maintainer: tagattie@FreeBSD.org
 - Port Added: 2024-07-19 08:09:07
- Last Update: 2025-03-02 21:40:52
- Commit Hash: 153b006
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- 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 - Dependency lines:
-
- electron31>0:devel/electron31
- To install the port:
- cd /usr/ports/devel/electron31/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/electron31
- pkg install electron31
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: electron31
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 i386
- distinfo:
- TIMESTAMP = 1737363700
SHA256 (electron/chromium-126.0.6478.234.tar.xz.0) = 5940007a2cc926c0eac498ab5121727f903a60b87c7b5a5216921c4ee1028d07
SIZE (electron/chromium-126.0.6478.234.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
- yasm : devel/yasm
- dri.pc : graphics/mesa-dri
- rustc : lang/rust
- videodev2.h : multimedia/v4l_compat
- node20>0 : www/node20
- npm-node20>0 : www/npm-node20
- bison : devel/bison
- msgfmt : devel/gettext-tools
- gmake>=4.4.1 : devel/gmake
- ninja : devel/ninja
- node : www/node20
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.11 : lang/python311
- clang18 : devel/llvm18
- 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
- Test dependencies:
-
- git : devel/git
- py311-python-dbusmock>0 : devel/py-python-dbusmock@py311
- npm-node20>0 : www/npm-node20
- python3.11 : lang/python311
- Runtime dependencies:
-
- xdg-open : devel/xdg-utils
- 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
- libasound.so : audio/alsa-lib
- libFLAC.so : audio/flac
- libopus.so : audio/opus
- libsndio.so : audio/sndio
- 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
- libcups.so : print/cups
- libpipewire-0.3.so : multimedia/pipewire
- 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-node20>0 : www/yarn-node20
- Patch dependencies:
-
- yarn-node20>0 : www/yarn-node20
-
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for electron31-31.7.7_4:
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
====> 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_electron31
- USES:
- bison compiler:c++17-lang cpe gettext-tools gl gmake gnome iconv:wchar_t jpeg localbase:ldflags ninja nodejs:20,build pkgconfig python:build,test 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 |
31.7.7_4 02 Mar 2025 21:40:52
    |
Christian Weisgerber (naddy)  |
*/*: bump PORTREVISION after audio/flac update |
31.7.7_3 28 Feb 2025 20:26:22
    |
Hiroki Tagato (tagattie)  |
devel/electron31: deprecate and set to expire on 2025-03-31 |
31.7.7_2 24 Feb 2025 07:55:52
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.85.0
PR: 284884 |
31.7.7_1 19 Feb 2025 14:32:15
    |
Hiroki Tagato (tagattie)  |
devel/electron31: fix build with ICU 76 |
31.7.7_1 14 Feb 2025 23:12:32
    |
Daniel Engberg (diizzy)  |
*/*: Bump consumers of devel/icu
...to avoid library mismatches |
31.7.7 22 Jan 2025 05:45:59
    |
Hiroki Tagato (tagattie)  |
devel/electron31: update to 31.7.7
Changelog: https://github.com/electron/electron/releases/tag/v31.7.7
Reported by: GitHub (watch releases)
MFH: 2025Q1
Security: 3161429b-3897-4593-84a0-b41ffbbfa36b |
31.7.6_1 20 Jan 2025 11:06:50
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.84.0
PR: 283962 |
31.7.6 07 Dec 2024 09:27:18
    |
Hiroki Tagato (tagattie)  |
devel/electron31: update to 31.7.6
Changelog: https://github.com/electron/electron/releases/tag/v31.7.6
Reported by: GitHub (watch releases) |
31.7.5_2 04 Dec 2024 11:59:05
    |
Hiroki Tagato (tagattie)  |
devel/electron{29,30,31,32,33}: remove USE_LDCONFIG and add BUNDLE_LIBS
Shared libraries installed along with electron binary are for internal
use and not intended for public consumption.
Remove USE_LDCONFIG so as not to add the shared library directory to
search paths. Add BUNDLE_LIBS so that pkg(8) does not pick the shared
libraries up for packaging.
Bump port revisions for package change.
Related GitHub Issue: https://github.com/freebsd/pkg/issues/2368
Reported by: Vlad Biley <bileslav@gmail.com> |
31.7.5_1 01 Dec 2024 09:24:18
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.83.0
PR: 283000 |
31.7.5 16 Nov 2024 02:49:59
    |
Hiroki Tagato (tagattie)  |
devel/electron31: update to 31.7.5
Changelog: https://github.com/electron/electron/releases/tag/v31.7.5
Reported by: GitHub (watch releases)
MFH: 2024Q4
Security: 773e7eb2-af19-4fc7-be7f-0f6a2523b98b |
31.7.4 14 Nov 2024 14:47:11
    |
Hiroki Tagato (tagattie)  |
devel/electron31: update to 31.7.4
Changelog: https://github.com/electron/electron/releases/tag/v31.7.4
Reported by: GitHub (watch releases)
MFH: 2024Q4
Security: 6b591e05-971c-4077-8ae4-1310554971b7 |
31.7.3_1 08 Nov 2024 08:24:20
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.82.0
PR: 282516 |
31.7.3 05 Nov 2024 11:16:16
    |
Hiroki Tagato (tagattie)  |
devel/electron31: update to 31.7.3
Changelog: https://github.com/electron/electron/releases/tag/v31.7.3
Reported by: GitHub (watch releases) |
31.7.2 01 Nov 2024 20:51:19
    |
Hiroki Tagato (tagattie)  Author: Guido Falsi |
devel/electron31: fix build with clang 19
PR: 282370
Reported by: madpilot
MFH: 2024Q4 |
31.7.2 25 Oct 2024 08:12:21
    |
Hiroki Tagato (tagattie)  |
devel/electron31: update to 31.7.2
Changelog: https://github.com/electron/electron/releases/tag/v31.7.2
Reported by: GitHub (watch releases)
MFH: 2024Q4
Security: fcb0e00f-d7d3-49b6-a4a1-852528230912 |
31.7.1 18 Oct 2024 12:24:51
    |
Hiroki Tagato (tagattie)  |
devel/electron31: update to 31.7.1
Changelog: https://github.com/electron/electron/releases/tag/v31.7.1
Reported by: GitHub (watch releases)
MFH: 2024Q4
Security: 815bf172-ab9e-4c4b-9662-d18b0054330d |
31.7.0 14 Oct 2024 10:53:29
    |
Hiroki Tagato (tagattie)  |
devel/electron31: update to 31.7.0
Changelog: https://github.com/electron/electron/releases/tag/v31.7.0
Reported by: GitHub (watch releases) |
31.6.0 14 Sep 2024 00:05:22
    |
Hiroki Tagato (tagattie)  |
devel/electron31: update to 31.6.0
Changelog:
- https://github.com/electron/electron/releases/tag/v31.5.0
- https://github.com/electron/electron/releases/tag/v31.6.0
Reported by: GitHub (watch releases) |
31.4.0_2 10 Sep 2024 11:00:34
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.81.0
PR: 281300 |
31.4.0_1 26 Aug 2024 08:08:01
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.80.1
PR: 280490 |
31.4.0 20 Aug 2024 01:06:57
    |
Hiroki Tagato (tagattie)  |
devel/electron31: update to 31.4.0
Changelog: https://github.com/electron/electron/releases/tag/v31.4.0
Reported by: GitHub (watch releases)
Security: e61af8f4-455d-4f99-8d81-fbb004929dab |
31.3.1 31 Jul 2024 05:17:14
    |
Hiroki Tagato (tagattie)  |
devel/electron31: update to 31.3.1
Changelog: https://github.com/electron/electron/releases/tag/v31.3.1
Reported by: GitHub (watch releases) |
31.3.0 27 Jul 2024 12:27:29
    |
Hiroki Tagato (tagattie)  |
devel/electron31: update to 31.3.0
Changelog: https://github.com/electron/electron/releases/tag/v31.3.0
Reported by: GitHub (watch releases) |
31.2.1 22 Jul 2024 14:52:33
    |
Joseph Mingrone (jrm)  |
devel/electron*: Fix build on main
After src snapshot 0c47b9c211, the build began failing with:
../../third_party/nasm/include/compiler.h:249:21: error: static
declaration of 'mempcpy' follows non-static declaration
249 | static inline void *mempcpy(void *dst, const void *src, size_t n)
| ^
/usr/include/string.h:71:8: note: previous declaration is here
71 | void *(mempcpy)(void * __restrict, const void * __restrict, size_t);
| ^
- Restore a default definition of HAVE_MEMPCPY to indicate that
mempcpy(3) is available. It has been part of FreeBSD since 13.1.
- Remove a patch used to detect mempcpy(3) in /usr/include/string.h. It
is no longer necessary and does not detect the function after src
snapshot 0c47b9c211.
Approved by: tagattie (maintainer)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D46054 |
31.2.1 19 Jul 2024 08:07:07
    |
Hiroki Tagato (tagattie)  |
devel/electron31: 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/ |