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
F82833726: D42408.diff
Thu, May 2, 11:57 PM
Unknown Object (File)
Dec 23 2023, 3:24 AM
Unknown Object (File)
Dec 14 2023, 11:05 PM
Unknown Object (File)
Nov 9 2023, 5:49 AM
Unknown Object (File)
Nov 4 2023, 2:36 AM
Unknown Object (File)
Nov 3 2023, 2:26 PM
Unknown Object (File)
Nov 2 2023, 8:37 AM
Unknown Object (File)
Nov 2 2023, 8:33 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.