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/
===> The following configuration options are available for electron6-6.1.12_1:
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
====> Options available for the group AUDIO
ALSA=on: ALSA audio architecture support
PULSEAUDIO=off: PulseAudio sound server support
===> Use 'make config' to modify these settings
Remove a few expired ports depending on Python 2.7:
2020-12-31 www/iridium: Uses Python 2.7 which is EOLed upstream
2020-12-31 editors/atom: Uses Python 2.7 which is EOLed upstream
2020-12-31 devel/electron4: Uses Python 2.7 which is EOLed upstream
2020-12-31 devel/electron5: Uses Python 2.7 which is EOLed upstream
2020-12-31 devel/electron6: Uses Python 2.7 which is EOLed upstream
Remove most expired ports that depend on Python 2.7:
Exceptions are:
- mail/mailman, our listservers still use it
- www/chromium, solely because of popular demand,
upstream is (slowly) working on porting it to Python 3
- ports that have actual patches for Python 3 against
them (Cinnamon and a few unrelated other ports)
- llvm70 and qt5-webengine because they seem to have a lot
of dependencies which need further analysis
- sysutils/uefi-edk2-bhyve because bhyve seems to use them
- python2 and python27 themselves
I'm sure there will be complaints, but the nice thing about
a version control system is that we can revert and adjust things.
(Only the first 15 lines of the commit message are shown above )
devel/electron6: copy fix for current from electron7
Note, this does not yet completely fix electron6:
Next error:
In file included from ../../third_party/blink/public/platform/web_string.h:36:
../../base/optional.h:346:61: error: no member named 'value' in
'std::__1::is_constructible<blink::LayoutUnit, const
base::Optional<blink::LayoutUnit> &>'
std::is_constructible<T, const Optional<U>&>::value ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
devel/electron6: Update to 6.1.7
Minor fix.
Version put in a different Makefile for better integration with vscode
Submitted by: maintainer (via github)
devel/electron6: copy snappy fix from chromium
electron6 comes with two copies of the chromium source code, of which
seemingly only one is fully used - at least, the embedded leveldb
fails in only one place after the update of archivers/snappy (the
system-provided headers didn't match the embedded snappy anymore).
PR: 243544
Reported by: Robert Cina
devel/electron6: Add electron 6.x port
This port is an additional step to support electronjs on FreeBSD.
Moreover, it's a needed requirement for VSCode.
Submitted by: maintainer (Hiroki Tagato)