Page MenuHomeFreeBSD

Uses/electronfix.mk: Framework for quick porting of Electron apps.
AbandonedPublic

Authored by arrowd on Oct 30 2023, 7:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 9:32 PM
Unknown Object (File)
Fri, Nov 15, 11:05 AM
Unknown Object (File)
Nov 3 2024, 6:54 AM
Unknown Object (File)
Oct 3 2024, 10:05 AM
Unknown Object (File)
Oct 1 2024, 2:21 PM
Unknown Object (File)
Oct 1 2024, 1:35 PM
Unknown Object (File)
Sep 27 2024, 4:36 PM
Unknown Object (File)
Sep 24 2024, 4:20 AM

Details

Summary

The idea behind this USES is to take a binary distribution of some Electron app
and replace Linux binaries with the native ones. Not only this allows for
quick porting, but it is also a way to get closed-source Electron apps (Obsidian,
XMind) working on FreeBSD.

The deskutils/obsidian update and the graphics/drawio addition gives an example
on how to use electronfix.

The stage-qa spits a lot of warnings about missing dependencies, but all of these
are false positives coming from copying the Electron main binary. Since the
framework makes the port RUN_DEPENDS on the Electron package, these dependencies
are guaranteed to be fulfilled anyways.

Disregard the logseq addition for now, as it is not 100% ready.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 54294
Build 51184: arc lint + arc unit

Event Timeline

arrowd created this revision.

Very exciting! Probably want to split the ports out from the Mk to keep the initial diff simpler though?

These are already split into different commits.

  • textproc/logseq: Platform for knowledge management and collaboration.
  • textproc/logseq: Platform for knowledge management and collaboration.