boon icon indicating copy to clipboard operation
boon copied to clipboard

Linux build support

Open giraffekey opened this issue 5 years ago • 3 comments

Wondering what needs to get done, I'd be willing to contribute.

giraffekey avatar Jul 30 '20 16:07 giraffekey

I will admit that I have not planned out any implementations for Linux support yet. One of the problems is that there is no canonical (no pun intended) distribution format for Linux necessarily. I will just say flat out that the format I am in favor of is AppImage, which also happens to be the format that there are official LÖVE builds for now.

I think the idea would be:

  1. Download the AppImage when the user runs boon love download $VERSION and store it with the other artifacts already downloaded.
  2. Use the AppImage for the version when the user runs boon build . --version $VERSION to package the game.

I don't know exactly how to use the distributed AppImages, so if you would like to research that I'd be willing to offer feedback.

camchenry avatar Aug 01 '20 16:08 camchenry

Hello @camchenry !

It looks like lovebuilder by @2dengine has solved the problem of Linux game build via AppImage here: https://github.com/2dengine/lovebuilder/blob/main/main.php

An external binary called appimagetool is required. Unfortunately, this method will only work on Linux, so the user will not be able to build the game for Linux from Windows or Mac.

Forum thread: https://love2d.org/forums/viewtopic.php?f=5&t=93310

Would you be willing to incorporate that work into boon?

Do you need any further help with Linux build support? Thanks!

hardpenguin avatar Nov 08 '22 10:11 hardpenguin