Well I've spent too many of the past 48 trying to get SDL Perl up an running
on my PowerBook. I will totally admit SDL Perl was truly broken on the Mac
platform. What this effort has resulted in though, is something rather
different. I'm a few hours away from putting together an SDL Perl.app bundle
that would have everything you need to distribute a basic SDL Perl
application. SDL Perl now has enough internal support for things like
networking, image manipulation, sound, video, input devices, and the like,
that you don't really need much installed to get a useful system. Statically
linking libperl, libSDL, libSDL_*, and the like can actually produce a
pretty portable distribution.

Anyways, I learned some valuable lessons. 1.) Trying to get SDL Perl working
with Apple's distribution is braindead, as you quickly run into CPAN
depenency hell, 2.) Trying to get SDL Perl working with XCode is a
nightmare, 3.) Running SDL Perl using even a user compiled perl requires one
jumps through insane hoops like using CamelBones, and you still don't get a
fully functional app without a ton of code. 4.) It is far easier on the
MacOS X platform (and I would also suspect this is true of Win32) to build a
new interpreter and just set your file handles accordingly.

So if I get some more free time any time soon, the current plan is to
release 2.2.0 with 3 major changes:

1.) Linux / Win32 / MacOS - "Application Bundles" with embedded perl
interpreter
o MacOSX - native app bundle "SDL Perl.app"
o Linux - pseudo app bundle (aka perl script with emebbed tarball, I'd love
Rox AppDirs but who uses them :)
o Win32 - ??? (worst case same as linux)
2.) SDL_Sound and SDL_svg support integrated into the OO layer (SDL_vnc if I
can get it to work)
3.) SDL_RWops exposed at a number of level

I'm hoping to have a Frozen-Bubble.app that doesn't require you have any
additional software installed to run within a month. If anyone is interested
or has any leads on creating portable Linux application bundles let me know.

FWIW, I had to install 16+ libraries just to get the full
SDL_Perl-2.1.xfeature set working. Felt like I was building GNOME :)

Dave


--
"The universal aptitude for ineptitude makes any human accomplishment an
incredible miracle"

-Stapp's Ironical Paradox

Reply via email to