[OPEN-ILS-DEV] OS X build target for staff client

James Fournie jfournie at sitka.bclibraries.ca
Thu May 19 20:56:09 EDT 2011


Hi there, any feedback positive or negative?

~J

On Wed, May 4, 2011 at 1:44 PM, James Fournie
<jfournie at sitka.bclibraries.ca> wrote:
> Hi there,
>
> During the EG Conference hackfest, I spent some time adding an OS X
> build target to the new NSIS build script for staff clients.    My
> work to date is included here as a git patch which includes some
> binary data -- it can be applied using git-am
>
> The target will bundle xulrunner inside the application bundle so a
> single app file is all that is needed and it can be dragged right into
> the Applications folder.
>
> The target uses hdiutil to build a compressed DMG file containing the
> app file and a symlink to the default Applications folder, as is
> common practice in some Mac application DMG bundles such as Firefox's.
>  hdiutil is a closed-source OS X tool not available on Linux, so if
> the makefile does not find hdiutil, it will use zip instead to zip the
> app bundle.  If you are building on a Mac you can use the following
> steps in your checked out code directory (you will also need wget
> installed):
>
> LIBTOOLIZE=glibtoolize ./autogen.sh
> ./configure --disable-core --disable-web --disable-reporter
> --disable-apache-modules --disable-updates
> cd Open-ILS/xul/staff_client/
> make STAFF_CLIENT_STAMP_ID='rel_2_0_5' build
> make osx-client
>
> Still todo:
>  - convert the beta icon and add support for the beta rigging system
>  - enable automatic updates
>  - allow DMG to be built on linux using mkfs.hfsplus instead of zipping
>  - make DMG more "fancy" like Firefox's
>
> ~James Fournie
> BC Sitka
>


More information about the Open-ils-dev mailing list