Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Linux packaging #4

Open
2 tasks
deepnight opened this issue May 2, 2020 · 2 comments
Open
2 tasks

Add Linux packaging #4

deepnight opened this issue May 2, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@deepnight
Copy link
Owner

Follow up of: deepnight/deepnightLibs#8

Help needed:

  • determine a list all required files for a Hashlink redistributable on Linux
  • when implemented: testing
@deepnight deepnight added enhancement New feature or request help wanted Extra attention is needed labels May 2, 2020
@deepnight deepnight self-assigned this May 2, 2020
@snsvrno
Copy link
Contributor

snsvrno commented Apr 17, 2021

I want to help out on this one. Currently there are three portable linux packages that I know of that would work for this.

  • AppImage
  • Flatpak
  • Snap

I'm thinking this route as these are meant to be platform independent (ubuntu, debian, arch, etc..) and contains all their dependencies so they are portable.

I did some small test and I can package the game using AppImages (manually), and it works, but the standard tool used is an AppImage (to make the AppImage) so it is only available on unix platforms (maybe Mac?, probably would work on windows with WSL). But that is too complex, I'd want the packaging solution to work on all platforms.

I'll test the build process for the other two and see which of them would be easiest to do on windows / mac platforms.

Ultimately I'd like the packing to be solely with redistHelper and not require any additional tools.

@snsvrno
Copy link
Contributor

snsvrno commented Apr 17, 2021

A question on preferred direction.


Running redistHelper current on linux doesn't work because it is looking in the path for hl haxe and neko libs and binaries from the path (and looking for *.exe).

Should this be the methodolgy forward? I can also have it look for hl haxe and neko on the system to make linux packages for linux, but then I'd still need to supply win64 files to package on a linux platform (and the linux files to make packages on windows).

I'd recommend moving forward to have all required files inside redistHelper and not look at anything from the packaging system.

redistFiles/hl32win
redistFiles/hl32win
redistFiles/hl64linux
redistFiles/hl64mac
redistFiles/neko...

This ties a little into #13 because now we are getting larger sizes for the combined library (44 mbs for all the supporting files), and not everyone might want all these files.

folder size (mb)
redistFiles/hl64win 6.2
redistFiles/hl32win 5.4
redistFiles/hl64linux 7.7
redistFiles/hl64mac 5.4
redistFiles/flash 16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants