Make Linux static build
Make Linux static build
Subj says it all. .deb-packages is good, but there is other linux distros. Devs certainly don't have enough time to make packages for every-every distro, so static build in .tar.gz will be perfect solution.
Re: Make Linux static build
Shipping an archive with the libs would work equally well.
Running these commands is hardly any work, though.
Neither is getting the correct libs, either [ via package manager ] or [ by wget + setting LD_PRELOAD=<lib-dir> ]
Install:
$ ar x factorio.deb
$ tar -xzvf data.tar.gz
$ rm -r control.tar.gz debian-binary data.tar.gz
# ln -s usr/share/factorio /usr/share
Run:
$ usr/games/factorio
Or autoconvert the package with available tools / Alien.
There are no postinstall/prerm scripts, only info about deps and the would-be contents of .tar.gz.
PS: I would prefer 64bit builds over (even though nice) .tgz release
Running these commands is hardly any work, though.
Neither is getting the correct libs, either [ via package manager ] or [ by wget + setting LD_PRELOAD=<lib-dir> ]
Install:
$ ar x factorio.deb
$ tar -xzvf data.tar.gz
$ rm -r control.tar.gz debian-binary data.tar.gz
# ln -s usr/share/factorio /usr/share
Run:
$ usr/games/factorio
Or autoconvert the package with available tools / Alien.
There are no postinstall/prerm scripts, only info about deps and the would-be contents of .tar.gz.
PS: I would prefer 64bit builds over (even though nice) .tgz release
Re: Make Linux static build
I'm doing basically the same thing. I would prefer if there was some way to tell the game where to look for its data files.
My ideal package would be one that allowed you to run (not install) the game with
My ideal package would be one that allowed you to run (not install) the game with
Code: Select all
tar -xzf factorio.tgz
cd factorio
./factorio
Re: Make Linux static build
One of my friends is already preparing this kind of package.wrtlprnft wrote:I'm doing basically the same thing. I would prefer if there was some way to tell the game where to look for its data files.
My ideal package would be one that allowed you to run (not install) the game with
Code: Select all
tar -xzf factorio.tgz cd factorio ./factorio
Re: Make Linux static build
Very nice, thanks.
I actually played the windows version of the demo using wine because I couldn't be bothered to mess around with .deb. For some reason that did not work for the alpha, but by that time I was already hooked.
I actually played the windows version of the demo using wine because I couldn't be bothered to mess around with .deb. For some reason that did not work for the alpha, but by that time I was already hooked.
Re: Make Linux static build
kovarex, thanks.
Re: Make Linux static build
cool!
I run Debian and I'd still prefer a static .tar.gz
I run Debian and I'd still prefer a static .tar.gz
Re: Make Linux static build
Can someone explain to me the differences between static .tgz and .tgz that ships the then-dynamically-linked libs? (if there is any)
I am aware of the difference between dynamic and static linking.
I would be glad if the static .tgz looked for the systemwide libs if the shipped get missing/deleted
I am aware of the difference between dynamic and static linking.
I would be glad if the static .tgz looked for the systemwide libs if the shipped get missing/deleted
Re: Make Linux static build
Static tar is now part of the release, so I moved this issue to resolved.