[SDL] How To Create Binary Downloads For Linux Users
Paul Duffy
odubtaig at yahoo.co.uk
Thu Jul 19 13:02:27 PDT 2007
On Thu, 2007-07-19 at 14:23 -0500, Jeff Schiller wrote:
> Thanks Matt,
>
> 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
>
> On 7/19/07, matt <mattmatteh at earthlink.net> wrote:
> > On Thu, 19 Jul 2007 14:05:45 -0500
> > "Jeff Schiller" <codedread at gmail.com> wrote:
> >
> > > 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.
___________________________________________________________
All New Yahoo! Mail Tired of Vi at gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html
More information about the SDL
mailing list