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.
===> The following configuration options are available for electron32-32.3.3_8:
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
devel/electron32: 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
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
*/*: 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)
devel/electron{32,34,35,36}: bump LLVM version to 20
This ensures successful LTO builds with rust 1.87 and later, which is
based on LLVM 20.
Reported by: Andrea Venturoli <ml@netfence.it> (via ports)
gnome.mk: rename gdkpixbuf2 to gdkpixbuf to prepare for port move
The GTK 1-based gdk-pixbuf has not existed for some time.
No functional or package changes.
devel/electron{32,33}: support crc and crypto flags on aarch64, unmark BROKEN
If CPU flags crc or crytpo are set, e.g. -march=armv8-a+crc+crypto,
build would fail with missing headers because this was only
implemented for glibc and Apple.
Reported by: Mark Millard <marklmi@yahoo.com>
Obtained
from: https://cgit.freebsd.org/ports/commit/?id=96e53c0c65faa691e18c0a5558d8f445e6010a70
devel/electron{32,33}: mark as BROKEN on aarch64 platform
In file included from ../../third_party/unrar/src/crypt.cpp:1:
In file included from ../../third_party/unrar/src/rar.hpp:6:
../../third_party/unrar/src/os.hpp:167:10: fatal error: 'asm/hwcap.h' file not
found
167 | #include <asm/hwcap.h>
| ^~~~~~~~~~~~~
1 error generated.
Reported by: Mark Millard <marklmi@yahoo.com> (via ports@)
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>
devel/electron32: 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/