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

Linux distribution #9

Open
nunodonato opened this issue Aug 15, 2014 · 22 comments
Open

Linux distribution #9

nunodonato opened this issue Aug 15, 2014 · 22 comments

Comments

@nunodonato
Copy link

Just got to know about love-linux-distribution, which generates an easy to use linux distribution of a Love game, much like love-release does for win and mac.
https://bitbucket.org/funkeh/love-linux-distribution/overview
would be great to have something like this has an option for linux, besides debian packages

@josefnpat
Copy link

I am against this, for many reasons previously mentioned in the love forums.

https://love2d.org/forums/viewtopic.php?f=5&t=78361&p=170932&hilit=linux+binary#p170932
https://love2d.org/forums/viewtopic.php?f=3&t=78328&p=170693&hilit=linux+binary#p170693
https://love2d.org/forums/viewtopic.php?f=3&t=77161&p=162157&hilit=linux+binary#p162157
https://love2d.org/forums/viewtopic.php?f=5&t=76728&p=159477&hilit=linux+binary#p159477
https://love2d.org/forums/viewtopic.php?f=5&t=75387&hilit=linux+binary&start=10#p155629
https://love2d.org/forums/viewtopic.php?f=3&t=50387&p=127225&hilit=linux+binary#p127225

Distributing binaries and the statically linked libraries is incredibly hard to do correctly cross distro, and I would rather it be done right, than just be a partial solution. You'll notice on funkeh's project that it only supports a small list of distros.

Honestly though, it's more along the *nix way to have dependencies than to supply them. It avoids DLL Hell, reduces points of failure and other things.

While I would love to have a end-all solution to distributing to Linux, funkeh's project does not come close.

@slime73
Copy link

slime73 commented Aug 15, 2014

statically linked libraries

.so files are Shared Objects (dynamically linked shared libraries.)

Honestly though, it's more along the *nix way to have dependencies than to supply them.

Something like love-linux-distribution is necessary when distributing on Steam or Desura (and likely more platforms like those in the future) for Linux. It would have made my life much less frustrating if this had been available when I was putting my game on Desura.

I do not want to make it harder than it should be to distribute a game on Steam. Sticking to the "repository ideology" over practicality just hurts LÖVE.

@josefnpat
Copy link

.so files are Shared Objects (dynamically linked shared libraries.)

My head is an animal today.

Something like love-linux-distribution is necessary when distributing on Steam or Desura (and likely more platforms like those in the future) for Linux.

You make an excellent point; in this case though you have a target distro. e.g. If this is a SteamOS targeted system, then the repo is perfect. Otherwise, it's not fair to call it "linux-distribution".

It would have made my life much less frustrating if this had been available when I was putting my game on Desura.

What platforms does Desura officially support? Perhaps creating forks like love-steamos-build and love-desura-build.

Then again, I wouldn't be against hosting the .so's on my server and adding --static-desura and --static-steamos tags, or something of the likes. I'm not against static binaries, I'm against them being named "Linux" when they obviously don't run on all versions of linux :)

@MisterDA
Copy link
Owner

So... yes ? No ? Can you repeat the question ?

@josefnpat
Copy link

From what I understand; Yes, so long as it's labeled with the target OS. 🐈

e.g. --ubuntu or --steamos

@nunodonato
Copy link
Author

any updates on this? I just came back to this problem again when trying to play an old game that doesn't work with version 0.10

@MisterDA
Copy link
Owner

Take a look at Alloyed/flirt (forum), it might help you for now.

@ahrnbom
Copy link

ahrnbom commented Apr 21, 2016

From Ubuntu 16.04 onwards, Ubuntu supports .snap packages (https://developer.ubuntu.com/en/snappy/build-apps/). Maybe that could be an alternative? They have all their dependencies built-in.

@MisterDA
Copy link
Owner

There's also the xdg-app project (freedesktop / gnome)

@karai17
Copy link

karai17 commented May 28, 2016

It would be nice to have a tool that spits out both .deb and .rpm files. I believe that coves a very large portion of the Linux userbase (the entire Debian family,including Ubuntu, and the entire redhat family).

@pablomayobre
Copy link
Contributor

There has been some effort in the issue tracker to try and find some ways around Linux distribution, it would be good to track progress of the issue #1168 at the LÖVE repo

@popey
Copy link

popey commented Feb 7, 2017

@ahrnbom I recently made a template to make it easier for developers to package their LÖVE games as snaps. This does indeed bundle in the necessary libraries to allow the snap to be installed and remove independently of the base system. It could be used by love-release in its entirety or portions of.

https://github.com/popey/love-snap-template

@pablomayobre
Copy link
Contributor

@nunodonato There is no reason to close this issue, if you don't want to be notified it would be better if you unsuscribe instead of closing it. The issue is still relevant

@karai17
Copy link

karai17 commented Jun 2, 2017

@popey how about appimage? :)

@nunodonato
Copy link
Author

@positive07 you are right, sorry, re-opening.

@nunodonato nunodonato reopened this Jun 2, 2017
@technomancy
Copy link

I just used love-linux-builder by love core team member bartbes which worked really well to create an AppImage: https://bitbucket.org/bartbes/love-linux-builder/src/66e3f6735fa2fb4ca77c9e257d4cfc738a383ae3/Getting%20Started.md?fileviewer=file-view-default

It would be great to see this integrated into love-release, I think.

@technomancy
Copy link

I'd be up for submitting a patch to start supporting AppImages if you're interested.

@pablomayobre
Copy link
Contributor

That would be great! you should totally go for it

@technomancy
Copy link

@positive07 thanks; are you speaking as a potential user or someone who actually has the authority to accept a contribution if I were to make it?

@MisterDA
Copy link
Owner

He was speaking as a potential user (aren't we all?), but I have the authority to accept a contribution, and I will. It would be terrific to add support for AppImages !

@jffaust
Copy link

jffaust commented Feb 6, 2022

It's been a while.. but has there been any progress on this? Or maybe alternatives?

@MisterDA
Copy link
Owner

MisterDA commented Feb 6, 2022

It's been a while.. but has there been any progress on this? Or maybe alternatives?

I’m not developing love-release actively anymore, but if someone writes patches I'll happily review them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants