love-release icon indicating copy to clipboard operation
love-release copied to clipboard

Linux distribution

Open nunodonato opened this issue 9 years ago • 22 comments

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

nunodonato avatar Aug 15 '14 12:08 nunodonato

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.

josefnpat avatar Aug 15 '14 13:08 josefnpat

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.

slime73 avatar Aug 15 '14 16:08 slime73

.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 :)

josefnpat avatar Aug 15 '14 17:08 josefnpat

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

MisterDA avatar Aug 22 '14 16:08 MisterDA

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

e.g. --ubuntu or --steamos

josefnpat avatar Aug 22 '14 19:08 josefnpat

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

nunodonato avatar Jan 08 '16 17:01 nunodonato

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

MisterDA avatar Jan 10 '16 17:01 MisterDA

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.

ahrnbom avatar Apr 21 '16 20:04 ahrnbom

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

MisterDA avatar Apr 22 '16 19:04 MisterDA

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).

karai17 avatar May 28 '16 23:05 karai17

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

pablomayobre avatar Jan 19 '17 04:01 pablomayobre

@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

popey avatar Feb 07 '17 08:02 popey

@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

pablomayobre avatar Jun 02 '17 16:06 pablomayobre

@popey how about appimage? :)

karai17 avatar Jun 02 '17 16:06 karai17

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

nunodonato avatar Jun 02 '17 16:06 nunodonato

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 avatar May 01 '18 01:05 technomancy

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

technomancy avatar May 05 '18 01:05 technomancy

That would be great! you should totally go for it

pablomayobre avatar May 05 '18 05:05 pablomayobre

@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?

technomancy avatar May 13 '18 22:05 technomancy

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 !

MisterDA avatar May 13 '18 23:05 MisterDA

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

jffaust avatar Feb 06 '22 16:02 jffaust

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.

MisterDA avatar Feb 06 '22 19:02 MisterDA