Re: Recommended way of building on OSX



There are automated binary patches that can be used on vmware to create OSX images. We've used XCode + ActiveState Perl + Perl Dev Kit (provides perlapp). We've found that perlapp works fine on Windows with e.g. Strawberry Perl, but on OSX seemed to achieve stability with the actual ActiveState version. You'll need to distribute the shared libraries, just as you would with Windows. I've found just bundling everything that gets built/included under /usr/local/ is easy and effective.

You'll use something like this to actually create the installer image:

hdiutil create install_temp.dmg -ov -volname "Install" -fs HFS+ -srcfolder /Users/foo/Binaries/
hdiutil convert install_temp.dmg -format UDZO -o Install.dmg

I've found it's easier to get the user to run a single perl script after the image is mounted that then places, unzips, etc everything to the places it needs to go. There is a more "Mac"-ish way of doing this that can be researched. I found that it was much more trouble than it's worth..

Terence J. Ferraro

On Sat, Mar 14, 2015 at 7:24 PM, Daniel Kasak <d j kasak dk gmail com> wrote:
Hi all.

I've successfully ( largely ) built on OSX using jhbuild, and
compiling a local perl. This works pretty well, as far as I can tell,
though I'm testing using vnc tunnelled through ssh and going half-way
around the world, as I don't have an OSX box myself ... so it's kinda
hard to tell how things *really* work.

Anyway, I had to do a fair bit of hacking to get icons and themes to
display properly. I'm wondering if other methods ( MacPorts, homegrown
scripts, whatever ) are any better at getting a 'vanilla' setup that
actually works, and would also work nicely with a locally built perl.
Lastly, I'd like to be able to distribute all this 'somehow', though I
have no idea of packaging on OSX.

Does anyone have any pointers?

Thanks :)

Dan
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]