[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: packaging for Mac (was Re: [Gnumed-devel] Re: password help)
From: |
Marcus Lines |
Subject: |
Re: packaging for Mac (was Re: [Gnumed-devel] Re: password help) |
Date: |
Tue, 23 Jun 2009 17:58:17 -0400 |
In the category of not reinventing the wheel; here is what the mozilla
developer page says ( https://developer.mozilla.org/en/
Build_and_Install ). I have xcode on my macbook pro & there is a
developer application called package builder. Mac OS X has Apple
Script that could be used to script the build process & automator
which is a gui that can be used to develop the apple script code.
-Marcus
Mac OS X
On Macintosh, the build system produces an application bundle at
objdir/dist/AppName.app, for example objdir/dist/Minefield.app.
Please note that when you are building with --enable-debug, the
application is placed in objdir/dist/AppNameDebug.app, e.g. objdir/
dist/MinefieldDebug.app.
You can run the application by either opening the application bundle
via the Finder, or from the command line using
$ objdir/dist/AppName[Debug].app/Contents/MacOS/appname
for instance
$ objdir/dist/MinefieldDebug.app/Contents/MacOS/firefox
Building a .dmg for a XULRunner build
These instructions are for building a .dmg file from a Mac OS X
Universal binary build.
• Perform a Universal Binary Build
• Create a chown_root.c and chown_revert.c source files from
mxr:chown_root.c and mxr:chown_revert.c
• Use gcc to compile these files somewhere: gcc -o chown_root
chown_root.c and gcc -o chown_revert chown_revert.c
• Set the correct permissions on the files: sudo chown root
chown_root chown_revert and sudo chmod a+s chown_root chown_revert
• cd to «objdir»/«arch»/xulrunner/installer and issue make
CHOWN_ROOT=«absolute_path_to_your_chown_root_binary»
CHOWN_REVERT=«absolute_path_to_your_chown_revert_binary»
This should build a binary at «arch»/dist.
On Jun 23, 2009, at 5:35 PM, Sebastian Hilbert wrote:
Am Dienstag 23 Juni 2009 23:28:32 schrieb Marcus Lines:
A dmg package is much more Mac OS X like. A Doctor who uses a Mac
has
made a decision to use a Mac because he or she likes the way that OS
works.
Is there any way to script the build process ? If so please provide
pointers.
Sebastian
_______________________________________________
Gnumed-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnumed-devel