Love Distribution Tool v0.3 [Mac contributor needed!]

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
easy82
Party member
Posts: 184
Joined: Thu Apr 18, 2013 10:46 pm
Location: Hungary

Re: Love Distribution Tool [Mac contributor needed!]

Post by easy82 »

slime wrote:io.popen isn't supported in the version of Lua distributed with the OS X version of LÖVE 0.8.0. 0.9.0 will have a fixed version of Lua which has a functional io.popen.
Great, thanks!
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Love Distribution Tool [Mac contributor needed!]

Post by T-Bone »

About Linux distribution, you really need to build a .deb and/or a .rpm and let them handle the dependencies, number of bits etc.
User avatar
easy82
Party member
Posts: 184
Joined: Thu Apr 18, 2013 10:46 pm
Location: Hungary

Re: Love Distribution Tool [Mac contributor needed!]

Post by easy82 »

As I understand the sitauation:
  • Mac users expect a single .app file,
  • Linux users expect .deb, .rpm, or .tar.gz with instructions on installation (install) or an istall script (install.sh),
  • And I think Windows users expect a .zip maybe, or they might be OK with an .exe and a bunch of .dlls.
User avatar
qaisjp
Party member
Posts: 490
Joined: Tue Sep 04, 2012 10:49 am
Location: United Kingdom
Contact:

Re: Love Distribution Tool [Mac contributor needed!]

Post by qaisjp »

Windows users expect a zip full of the .exe and dll's.
Mac users expect a zip containing a .app (because apps are actually just folders with the .app at the end of them)
Lua is not an acronym.
User avatar
easy82
Party member
Posts: 184
Joined: Thu Apr 18, 2013 10:46 pm
Location: Hungary

Re: Love Distribution Tool [Mac contributor needed!]

Post by easy82 »

qaisjp wrote:Windows users expect a zip full of the .exe and dll's.
Mac users expect a zip containing a .app (because apps are actually just folders with the .app at the end of them)
Okay!

I'm thinking about the following:
  • LÖVE officially ships with 32 and 64 bit versions for Windows,
  • 32 and 64 bit versions for Ubuntu (10.10 ... 12.04),
  • Universal build for MacOSX,
  • and everyone can buid it from source.
To keep it simple, I've figured out to use this directory structure:
  • Create a generic folder if architecture is unknown, for example: Linux, MacOSX, Windows,
  • Add '-' and the architecture if it was detected successfully, e.g. Linux-i686, Windows-AMD64.
On Linux, the best way I've found to determine if the host OS uses .deb or .rpm is to actually test which type of package manager is present: dpkg or rpm.

I also think having two versions (.love and .zip) of LDT is confusing, so I'll only post the .love versions here in the future.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Love Distribution Tool [Mac contributor needed!]

Post by Robin »

See the LÖVE distribution website thread. It's two years old and development has stalled, but we talked about all the finicky details and how and what already.
Help us help you: attach a .love.
User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: Love Distribution Tool [Mac contributor needed!]

Post by josefnpat »

easy82 wrote: I'm thinking about the following:
  • LÖVE officially ships with 32 and 64 bit versions for Windows,
  • [b]
  • 32 and 64 bit versions for Ubuntu (10.10 ... 12.04),
  • [/b]
  • Universal build for MacOSX,
  • [b]
  • and everyone can buid it from source.
  • [/b]
May I suggest instead of providing binaries, provide .deb and .rpm, and anyone who can't run those, should build from source (e.g. install love and run the .love file).

As Robin mentioned, there was a lot of talk. The community would love a workflow to distribute .deb and .rpm files easily for linux.
Missing Sentinel Software | Twitter

FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
User avatar
easy82
Party member
Posts: 184
Joined: Thu Apr 18, 2013 10:46 pm
Location: Hungary

Re: Love Distribution Tool [Mac contributor needed!]

Post by easy82 »

Robin wrote:See the LÖVE distribution website thread. It's two years old and development has stalled, but we talked about all the finicky details and how and what already.
Wow, I thought I've gone through all the related threads and tools, but I haven't seen this one! Definately a must read for me, thanks! :)

josefnpat wrote:
easy82 wrote: I'm thinking about the following:
  • LÖVE officially ships with 32 and 64 bit versions for Windows,
  • [b]
  • 32 and 64 bit versions for Ubuntu (10.10 ... 12.04),
  • [/b]
  • Universal build for MacOSX,
  • [b]
  • and everyone can buid it from source.
  • [/b]
May I suggest instead of providing binaries, provide .deb and .rpm, and anyone who can't run those, should build from source (e.g. install love and run the .love file).

As Robin mentioned, there was a lot of talk. The community would love a workflow to distribute .deb and .rpm files easily for linux.
To my understanding .deb and .rpm files are archives that contains binaries, installation instructions, etc. for the package manager.


Also, updated first page, a bugfix version is out with minor changes:
  • * Added WinRAR to archivers on Windows
    * Workaround for Mac: io:popen doesn't work in Love 0.8.0 (will be fixed in 0.9.0)
    * Checking '/Applications' before '/home' because OSX also have '/home'
    * Simplified detecting processor architecture
    * Updated instructions to use only distribute.love version
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Love Distribution Tool [Mac contributor needed!]

Post by bartbes »

easy82 wrote: On Linux, the best way I've found to determine if the host OS uses .deb or .rpm is to actually test which type of package manager is present: dpkg or rpm.
I've got dpkg on my non-deb system, and I've had rpm on a deb system in the past (in addition to dpkg).
User avatar
easy82
Party member
Posts: 184
Joined: Thu Apr 18, 2013 10:46 pm
Location: Hungary

Re: Love Distribution Tool [Mac contributor needed!]

Post by easy82 »

bartbes wrote:
easy82 wrote: On Linux, the best way I've found to determine if the host OS uses .deb or .rpm is to actually test which type of package manager is present: dpkg or rpm.
I've got dpkg on my non-deb system, and I've had rpm on a deb system in the past (in addition to dpkg).
I see your point, though I don't think this would be very mainstream. I think it should default to .deb. There are other ways to find out weather an .rpm or a .deb should be build, but not as simple as this previous one. When I add command line parameters and/or GUI to LDT there could be some build options, so you could choose.

Robin wrote:See the LÖVE distribution website thread. It's two years old and development has stalled, but we talked about all the finicky details and how and what already.
I've run through it, but I haven't really seen anything I could use. :( Maybe I've missed something important?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests