revery-ui / revery

:zap: Native, high-performance, cross-platform desktop apps - built with Reason!
https://www.outrunlabs.com/revery/
MIT License
8.07k stars 197 forks source link

Support for FreeBSD #1095

Open darkoverlordofdata opened 1 year ago

darkoverlordofdata commented 1 year ago

OCaml works great on FreeBSD. NPM works everywhere. You thing this would work. But no, I can't build an application due to the dependence on esy. Is there any other way to build this? I see this compared to Electron. But Electron is available on FreeBSD. Not that I would use it...

barsoomian% npm install -g esy
npm ERR! code 1
npm ERR! path /usr/home/darko/.config/nvm/versions/node/v18.16.0/lib/node_modules/esy
npm ERR! command failed
npm ERR! command sh -c node -e "process.env['OCAML_VERSION'] = process.platform == 'linux' ? '4.12.0-musl.static.flambda': '4.12.0'; process.env['OCAML_PKG_NAME'] = 'ocaml'; require('./postinstall.js')"
npm ERR! error: no release built for the freebsd platform

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/darko/.npm/_logs/2023-06-05T17_09_32_933Z-debug-0.log
Et7f3 commented 1 year ago

Hello,

thanks for your interest I think this issue give advice how to go forward https://github.com/esy/esy/issues/1113

even if you aren't enable to build esy you can still take tarball unpack them all a launch dune build