LaserWeb / lw.comm-server

Unified communications server for LaserWeb4 (and other frontends)
GNU General Public License v3.0
38 stars 47 forks source link

FEATURE: Clean up the horrible build system #82

Open janschiefer opened 4 years ago

janschiefer commented 4 years ago

TODO: Merge lw.comm-server, lw.comm-server#electron_bundler and LaserWeb4 into one repsitory and remove duplicates.

TODO: Move from npm to yarn.

TODO: Migrate to newer package versions of dependencies (especially electron and electron-builder).

TODO: Implement .deb building for Linux.

cprezzi commented 4 years ago

There are reasons why it was setup like this.

Sure, it would be nice to migrate to actual dependencies, but this needs a bigger effort.

Isn't .deb only for Debian but AppImage for all sorts of Linux?

iamajoe commented 1 year ago

My opinion as a newcomer to the project (just my 2 cents, take it only as an opinion):

What about moving the API to something more resilient as golang? Is that of any interest to you? It would provide a better build system, a better security (code wise), a single file build without dependencies to run cross platform, less dependency hell... I wouldn't mind to work on that new version and research on how we could do it slowly.

.deb is used also by ubuntu systems I think

malcolmmp commented 3 months ago

I know I'm replying to a very old issue here, but I'd like to share the work on the build system that I've recently done, for anyone who may be interested:

https://github.com/malcolmmp/LaserWeb4-Binaries/tree/electron-builder

I also made a post about it on the makerforums website here:

https://forum.makerforums.info/t/building-lw4-binaries-in-2024/90044

The work is by no means complete or ready for mainline, but it does build cleanly on Lin/Win/Mac with Node 22.

I essentially pulled in the latest versions of everything, added some of the work done for edmweb, and then ported and updated the electron_builder specific stuff over to LaserWeb4-Binaries.

If it's of interest, I'd love to clean up the messy bits and submit some pull requests!

Pinging @cprezzi and @iamajoe just in case.