This is not STRICTLY related to SDL, but I thought people on this list
might be able to give me a clue:
Ok, so I’ve got a little game I’ve been coding in my spare time. It
uses SDL and Boost so that it’s pretty cross-platform compatible. In
fact, I’ve built, ran and tested the game in OpenSuse Linux. However,
I’m not clear on an easy way of packaging the game up in a download
for Linux users. The game has run-time dependencies on expat as well
as many SDL libraries (specifically SDL_ttf, SDL_image, SDL_mixer,
SDL_gfx, and of course, SDL itself). I’d like something simple, akin
to what I do with Windows (which is a batch file that bundles up every
file needed, including DLLs, into one ZIP file for download). Can
anyone out there help me?
This is not STRICTLY related to SDL, but I thought people on this list
might be able to give me a clue:
Ok, so I’ve got a little game I’ve been coding in my spare time. It
uses SDL and Boost so that it’s pretty cross-platform compatible. In
fact, I’ve built, ran and tested the game in OpenSuse Linux. However,
I’m not clear on an easy way of packaging the game up in a download
for Linux users. The game has run-time dependencies on expat as well
as many SDL libraries (specifically SDL_ttf, SDL_image, SDL_mixer,
SDL_gfx, and of course, SDL itself). I’d like something simple, akin
to what I do with Windows (which is a batch file that bundles up every
file needed, including DLLs, into one ZIP file for download). Can
anyone out there help me?
usually linux apps are source tar balls with a make file and configure
script. the configure script will check the dependencies of the
target, and the makefile will build it.
as for a binary package, that has to be made for each distro;
debian and ubuntu use deb packages
redhat and a few others use rpm
gentoo uses source
This is not STRICTLY related to SDL, but I thought people on this list
might be able to give me a clue:
Ok, so I’ve got a little game I’ve been coding in my spare time. It
uses SDL and Boost so that it’s pretty cross-platform compatible. In
fact, I’ve built, ran and tested the game in OpenSuse Linux. However,
I’m not clear on an easy way of packaging the game up in a download
for Linux users. The game has run-time dependencies on expat as well
as many SDL libraries (specifically SDL_ttf, SDL_image, SDL_mixer,
SDL_gfx, and of course, SDL itself). I’d like something simple, akin
to what I do with Windows (which is a batch file that bundles up every
file needed, including DLLs, into one ZIP file for download). Can
anyone out there help me?
sorry if i didnt exactly provide the answer you were looking for. i
think there might be some other package system out their that might
install like windows or mac, but not very common. and if a package
uses those, i think the linux distro’s own package system will extract
it and install differently anyway.
Any idea how Mozilla does their firefox nightly builds? It’s just a
.tar.gz file with binaries in it - I thought it worked on every
distro… Maybe they don’t have any external dependencies?
This is not STRICTLY related to SDL, but I thought people on this list
might be able to give me a clue:
Ok, so I’ve got a little game I’ve been coding in my spare time. It
uses SDL and Boost so that it’s pretty cross-platform compatible. In
fact, I’ve built, ran and tested the game in OpenSuse Linux. However,
I’m not clear on an easy way of packaging the game up in a download
for Linux users. The game has run-time dependencies on expat as well
as many SDL libraries (specifically SDL_ttf, SDL_image, SDL_mixer,
SDL_gfx, and of course, SDL itself). I’d like something simple, akin
to what I do with Windows (which is a batch file that bundles up every
file needed, including DLLs, into one ZIP file for download). Can
anyone out there help me?
usually linux apps are source tar balls with a make file and configure
script. the configure script will check the dependencies of the
target, and the makefile will build it.
as for a binary package, that has to be made for each distro;
debian and ubuntu use deb packages
redhat and a few others use rpm
gentoo uses source
Any idea how Mozilla does their firefox nightly builds? It’s just a
.tar.gz file with binaries in it - I thought it worked on every
distro… Maybe they don’t have any external dependencies?
Jeff
This is not STRICTLY related to SDL, but I thought people on this list
might be able to give me a clue:
Ok, so I’ve got a little game I’ve been coding in my spare time. It
uses SDL and Boost so that it’s pretty cross-platform compatible. In
fact, I’ve built, ran and tested the game in OpenSuse Linux. However,
I’m not clear on an easy way of packaging the game up in a download
for Linux users. The game has run-time dependencies on expat as well
as many SDL libraries (specifically SDL_ttf, SDL_image, SDL_mixer,
SDL_gfx, and of course, SDL itself). I’d like something simple, akin
to what I do with Windows (which is a batch file that bundles up every
file needed, including DLLs, into one ZIP file for download). Can
anyone out there help me?
Well, Firefox /does/ have external dependencies, they’re just
dependencies you’ll find on pretty much any distro put out in the last 5
years like libc6.
I suppose the closest approximation would be to do a bash script,
Realsoft3D uses a script with a UseNet style attachment for the files.
After that you’re going to be using $PATH and $LD_LIBRARY_PATH
environment variables to check for files using regular expressions.
It might be better in the long term to use autotools (you can always
just provide the binaries and use make-install) or learn how to do Deb
or RPM packages as they make it a lot easier to resolve dependencies and
sort out conflicts between versions.On Thu, 2007-07-19 at 14:23 -0500, Jeff Schiller wrote:
On 7/19/07, matt wrote:
On Thu, 19 Jul 2007 14:05:45 -0500 “Jeff Schiller” wrote:
Any idea how Mozilla does their firefox nightly builds? It’s just a
.tar.gz file with binaries in it - I thought it worked on every
distro… Maybe they don’t have any external dependencies?
It might be better in the long term to use autotools (you can always
just provide the binaries and use make-install) or learn how to do Deb
or RPM packages as they make it a lot easier to resolve dependencies
and sort out conflicts between versions.
i would suggest starting with a make file and configure script, then
work on a binary package. (first you have to build it right ?)
what is the license ? gpl? then perhaps someone could help with it.
for Linux users. The game has run-time dependencies on expat as well
as many SDL libraries (specifically SDL_ttf, SDL_image, SDL_mixer,
SDL_gfx, and of course, SDL itself). I’d like something simple, akin
to what I do with Windows (which is a batch file that bundles up every
file needed, including DLLs, into one ZIP file for download). Can
anyone out there help me?
The game has run-time dependencies on expat as well
as many SDL libraries (specifically SDL_ttf, SDL_image, SDL_mixer,
SDL_gfx, and of course, SDL itself). I’d like something simple, akin
to what I do with Windows (which is a batch file that bundles up every
file needed, including DLLs, into one ZIP file for download). Can
anyone out there help me?
I can confirm that this works. Troy Hepfner has written a whole series on Linux
game development and distribution. He helped me out with my game while writing
those articles. I think the next article in the series talks about binary
distribution and installers. Troy uses Bitrock Installer, which is pretty
expensive but works well. I use InstallJammer, which is free and open source.
It’s a bit buggy but very powerful, and works well enough. I use it for my game
Lunar Domination. You can download the demo of the game to see it in action: http://www.valengames.com