[OPEN-ILS-DEV] OS X build target for staff client
James Fournie
jfournie at sitka.bclibraries.ca
Wed May 4 16:44:48 EDT 2011
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
-------------- next part --------------
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
Signed-off-by: [submitter's name and email address here]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-make-targets-for-an-OS-X-staff-client.-The-Makef.patch
Type: application/octet-stream
Size: 161662 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20110504/fb5f27ce/attachment-0001.obj
More information about the Open-ils-dev
mailing list