Port details |
- electron25 Build cross-platform desktop apps with JavaScript, HTML, and CSS
- 25.9.8_3 devel =0 25.9.8_3Version of this port present on the latest quarterly branch.
- DEPRECATED: EOLed upstream, switch to newer version
This port expired on: 2024-02-29
- Maintainer: tagattie@FreeBSD.org
- Port Added: 2023-06-27 07:15:13
- Last Update: 2024-02-22 18:41:31
- Commit Hash: 76cb9bc
- 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:
-
- electron25>0:devel/electron25
- To install the port:
- cd /usr/ports/devel/electron25/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/electron25
- pkg install electron25
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: electron25
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 i386
- distinfo:
- TIMESTAMP = 1701944991
SHA256 (electron/chromium-114.0.5735.289.tar.xz) = 12dee4e585dab6e7dc2117f4ee40484a947ac7a6b5a33c87dfae7cbf8b8799b0
SIZE (electron/chromium-114.0.5735.289.tar.xz) = 1413670648
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
- yasm : devel/yasm
- dri.pc : graphics/mesa-dri
- videodev2.h : multimedia/v4l_compat
- node18>0 : www/node18
- npm-node18>0 : www/npm-node18
- bison : devel/bison
- msgfmt : devel/gettext-tools
- gmake>=4.3 : devel/gmake
- ninja : devel/ninja
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.9 : lang/python39
- clang15 : devel/llvm15
- 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
- py39-python-dbusmock>0 : devel/py-python-dbusmock@py39
- npm-node18>0 : www/npm-node18
- python3.9 : lang/python39
- 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
- libsnappy.so : archivers/snappy
- 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
- libcups.so : print/cups
- 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
- libpango-1.0.so : x11-toolkits/pango
- libiconv.so : converters/libiconv
- libjpeg.so : graphics/jpeg-turbo
- Fetch dependencies:
-
- yarn-node18>0 : www/yarn-node18
- Patch dependencies:
-
- yarn-node18>0 : www/yarn-node18
-
- This port is required by:
- for Build
-
- textproc/obsidian
- www/vieb
- for Run
-
- textproc/obsidian
- www/vieb
Configuration Options:
- ===> The following configuration options are available for electron25-25.9.8_3:
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
====> Options available for the group AUDIO
ALSA=off: ALSA audio architecture support
PULSEAUDIO=off: 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_electron25
- USES:
- bison compiler:c++17-lang cpe gettext-tools gl gmake gnome iconv:wchar_t jpeg localbase:ldflags ninja 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 |
25.9.8_3 22 Feb 2024 18:41:31 |
Dimitry Andric (dim) |
devel/electron25: fix build with clang 18
Clang 18 has become more stringent about narrowing in initializer lists,
resulting in errors when building devel/electron25:
../../third_party/webrtc/pc/legacy_stats_collector.cc:191:54: error:
non-constant-expression cannot be narrowed from type 'double' to 'float' in
initializer list [-Wc++11-narrowing-const-reference]
191 | {StatsReport::kStatsValueNameTotalAudioEnergy,
info.total_output_energy},
|
^~~~~~~~~~~~~~~~~~~~~~~~
../../third_party/webrtc/pc/legacy_stats_collector.cc:193:8: error:
non-constant-expression cannot be narrowed from type 'double' to 'float' in
initializer list [-Wc++11-narrowing-const-reference]
193 | info.total_output_duration}};
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
and later:
In file included from ../../cc/layers/mirror_layer_impl.cc:5: (Only the first 15 lines of the commit message are shown above ) |
25.9.8_2 25 Jan 2024 11:02:40 |
Hiroki Tagato (tagattie) |
devel/electron{25,26,27}: fix build when HEIMDAL or MIT option is ON
PR: 276591
Reported by: Yasuhito FUTATSUKI <freebsd-bug-report-yf@yf.bsdclub.org>
MFH: 2024Q1 |
25.9.8_2 23 Dec 2023 18:14:14 |
Nuno Teixeira (eduardo) |
*/*: Bump consumers of x11-toolkits/gtk30
New version of gtk3 in tree |
25.9.8_1 16 Dec 2023 12:16:39 |
Dimitry Andric (dim) |
devel/electron25: fix build with libc++ 17
Building www/qt6-webengine with libc++ 17 results in the following
compile errors:
In file included from ../../base/allocator/dispatcher/reentry_guard.cc:9:
In file included from ../../base/debug/crash_logging.h:16:
In file included from ../../base/strings/string_number_conversions.h:15:
In file included from ../../base/containers/span.h:19:
../../base/containers/checked_iterators.h:248:8: error: no template named
'__is_cpp17_contiguous_iterator'; did you mean
'__libcpp_is_contiguous_iterator'?
248 | struct
__is_cpp17_contiguous_iterator<::base::CheckedContiguousIterator<T>>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| __libcpp_is_contiguous_iterator
/usr/include/c++/v1/__iterator/iterator_traits.h:476:8: note:
'__libcpp_is_contiguous_iterator' declared here
476 | struct __libcpp_is_contiguous_iterator : _Or< (Only the first 15 lines of the commit message are shown above ) |
25.9.8_1 16 Dec 2023 12:16:37 |
Dimitry Andric (dim) |
lang/gcc10: Revert "fix build with clang 17"
This reverts commit eb5e0517d2a6e25d43fd03786f526e9043543b47:
lang/gcc10: fix build with clang 17
When building lang/gcc10 with recent clang versions, which default to
C++17, the following errors are produced:
cfns.gperf:35:18: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
35 | libc_name::hash (register const char *str, register unsigned int
len)
| ^~~~~~~~
cfns.gperf:35:44: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
35 | libc_name::hash (register const char *str, register unsigned int
len)
| ^~~~~~~~
...many more of these...
Upstream fixed this in
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=642dc602f89b2c11d5d833a52f37b04427a27cab,
so apply it.
I accidentally included a patch for devel/electron25 in this commit.
That one will be split off and committed separately.
Reported by: Gunther Nikl <gnikl@justmail.de> |
25.9.8_1 15 Dec 2023 20:37:00 |
Dimitry Andric (dim) |
lang/gcc10: fix build with clang 17
When building lang/gcc10 with recent clang versions, which default to
C++17, the following errors are produced:
cfns.gperf:35:18: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
35 | libc_name::hash (register const char *str, register unsigned int len)
| ^~~~~~~~
cfns.gperf:35:44: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
35 | libc_name::hash (register const char *str, register unsigned int len)
| ^~~~~~~~
...many more of these...
Upstream fixed this in
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=642dc602f89b2c11d5d833a52f37b04427a27cab,
so apply it. |
25.9.8_1 11 Dec 2023 07:04:22 |
Hiroki Tagato (tagattie) |
devel/electron25: deprecate and set to expire on 2024-02-29 |
25.9.8 07 Dec 2023 20:56:11 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.9.8
Changelog: https://github.com/electron/electron/releases/tag/v25.9.8
Reported by: GitHub (watch releases)
MFH: 2023Q4
Security: e07a7754-12a4-4661-b852-fd221d68955f |
25.9.7 03 Dec 2023 23:49:56 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.9.7
Changelog: https://github.com/electron/electron/releases/tag/v25.9.7
Reported by: GitHub (watch releases)
MFH: 2023Q4
Security: 302fc846-860f-482e-a8f6-ee9f254dfacf |
25.9.6 27 Nov 2023 08:33:00 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.9.6
Changelog: https://github.com/electron/electron/releases/tag/v25.9.6
Reported by: GitHub (watch releases)
MFH: 2023Q4
Security: 147353a3-c33b-46d1-b751-e72c0d7f29df |
25.9.5_1 17 Nov 2023 11:46:00 |
Jan Beich (jbeich) |
devel/icu: update to 74.1
Changes: https://github.com/unicode-org/icu/releases/tag/release-74-1
Reported by: GitHub (watch releases)
PR: 274317
Exp-run by: antoine (incomplete)
Approved by: fluffy |
25.9.5 16 Nov 2023 12:47:05 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.9.5
Changelog: https://github.com/electron/electron/releases/tag/v25.9.5
Reported by: GitHub (watch releases)
MFH: 2023Q4
Security: a30f1a12-117f-4dac-a1d0-d65eaf084953 |
25.9.4 09 Nov 2023 10:44:19 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.9.4
Changelog: https://github.com/electron/electron/releases/tag/v25.9.4
Reported by: GitHub (watch releases)
MFH: 2023Q4
Security: 5558dded-a870-4fbe-8b0a-ba198db47007 |
25.9.3 27 Oct 2023 23:22:07 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.9.3
Changelog: https://github.com/electron/electron/releases/tag/v25.9.3
Reported by: GitHub (watch releases) |
25.9.2 21 Oct 2023 08:37:21 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.9.2
Changelog: https://github.com/electron/electron/releases/tag/v25.9.2
Reported by: GitHub (watch releases)
MFH: 2023Q4
Security: 9000591b-483b-45ac-9c87-b3df3a4198ec |
25.9.1 12 Oct 2023 11:27:22 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.9.1
Changelog: https://github.com/electron/electron/releases/tag/v25.9.1
Reported by: GitHub (watch releases)
MFH: 2023Q4
Security: 4281b712-ad6b-4c21-8f66-619a9150691f |
25.9.0 08 Oct 2023 09:12:54 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.9.0
Changelog: https://github.com/electron/electron/releases/tag/v25.9.0
Reported by: GitHub (watch releases) |
25.8.4_1 05 Oct 2023 16:36:06 |
Jan Beich (jbeich) |
multimedia/dav1d: update to 1.3.0
Changes: https://code.videolan.org/videolan/dav1d/-/tags/1.3.0
Reported by: Repology |
25.8.4 02 Oct 2023 23:37:47 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.8.4
Changelog:
- https://github.com/electron/electron/releases/tag/v25.8.3
- https://github.com/electron/electron/releases/tag/v25.8.4
Reported by: GitHub (watch releases)
MFH: 2023Q4
Security: 2bcd6ba4-d8e2-42e5-9033-b50b722821fb |
25.8.2 21 Sep 2023 14:33:34 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.8.2
Changelog: https://github.com/electron/electron/releases/tag/v25.8.2
Reported by: GitHub (watch releases) |
25.8.1 16 Sep 2023 04:26:28 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.8.1
Changelog: https://github.com/electron/electron/releases/tag/v25.8.1
Reported by: GitHub (watch releases)
MFH: 2023Q3
Security: 773ce35b-eabb-47e0-98ca-669b2b98107a |
25.8.0_1 11 Sep 2023 03:22:48 |
Po-Chuan Hsieh (sunpoet) |
devel/re2: Update to 20230801
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/google/re2/releases |
25.8.0 03 Sep 2023 01:09:58 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.8.0
Changelog: https://github.com/electron/electron/releases/tag/v25.8.0
Reported by: GitHub (watch releases)
MFH: 2023Q3
Security: 970dcbe0-a947-41a4-abe9-7aaba87f41fe |
25.7.0 30 Aug 2023 09:18:50 |
Hiroki Tagato (tagattie) |
devel/electron25: unbreak arm64 relocation in bundled ffmpeg
Enable support for the .data.rel.ro section because the arm64 assembly
code in ffmpeg depends on it.
Reported by: pkg-fallout
Obtained
from: https://cgit.freebsd.org/ports/patch/www/chromium/files/patch-third__party_ffmpeg_configure?id=919638f2014d06b489db252c378714fbac038f83
MFH: 2023Q3 |
25.7.0 27 Aug 2023 08:46:30 |
Hiroki Tagato (tagattie) |
devel/electron{22,23,24,25}: fix build with CODECS option OFF
Reported by: crypt _at_ crypts _dot_ me (via private email)
MFH: 2023Q3 |
25.7.0 24 Aug 2023 23:02:40 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.7.0
Changelog: https://github.com/electron/electron/releases/tag/v25.7.0
Reported by: GitHub (watch releases)
MFH: 2023Q3
Security: 5999fc39-72d0-4b99-851c-ade7ff7125c3 |
25.6.0 19 Aug 2023 01:43:00 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.6.0
Changelog: https://github.com/electron/electron/releases/tag/v25.6.0
Reported by: GitHub (watch releases) |
25.5.0 13 Aug 2023 11:23:13 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.5.0
Changelog: https://github.com/electron/electron/releases/tag/v25.5.0
Reported by: GitHub (watch releases) |
25.4.0 10 Aug 2023 14:30:16 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.4.0
Changelog: https://github.com/electron/electron/releases/tag/v25.4.0
Reported by: GitHub (watch releases)
MFH: 2023Q3
Security: f3a35fb8-2d70-47c9-a516-6aad7eb222b1 |
25.3.2_2 07 Aug 2023 16:34:07 |
Gleb Popov (arrowd) |
audio/pulseaudio: Update to 16.1
Bump PORTREVISION on consumers.
Sponsored by: Serenity Cybersecurity, LLC
PR: 262713 |
25.3.2_1 28 Jul 2023 17:13:17 |
Daniel Engberg (diizzy) |
*/*: Bump jpeg-turbo users treewide
New major version 3.0.0 |
25.3.2 28 Jul 2023 09:17:52 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.3.2
Changelog: https://github.com/electron/electron/releases/tag/v25.3.2
Reported by: GitHub (watch releases) |
25.3.1 23 Jul 2023 07:53:58 |
Hiroki Tagato (tagattie) |
devel/electron25: update to 25.3.1
Changelog:
- https://github.com/electron/electron/releases/tag/v25.3.0
- https://github.com/electron/electron/releases/tag/v25.3.1
Reported by: GitHub (watch releases) |
25.2.0 18 Jul 2023 07:57:20 |
Hiroki Tagato (tagattie) |
devel/electron2[2-5]: force directory/file permissions in yarn cache archive
There has been a size/checksum mismatch when creating a yarn cache
archive for users with umask other than 022. To ensure reproducibility
of the cache file, force use of 755 and 644 permissions regardless of
umask value.
Reported by: Joe Hu <vegertar_at_gmail_dot_com> (private mail)
MFH: 2023Q3 |
25.2.0 27 Jun 2023 07:12:40 |
Hiroki Tagato (tagattie) |
devel/electron25: 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/ |