Compiling AbiWord on Mac
From AbiWiki
(→Making the bundle) |
|||
Line 26: | Line 26: | ||
You now have AbiWord.app in the same directory. The binary is not portable as it require the same libraries installed from the ports. | You now have AbiWord.app in the same directory. The binary is not portable as it require the same libraries installed from the ports. | ||
+ | |||
+ | If all you want is test the latest binary change, do: | ||
+ | |||
+ | DESTDIR=`pwd` make install-data-am | ||
+ | |||
+ | This is way faster. | ||
= Universal binary = | = Universal binary = |
Revision as of 23:51, 10 July 2009
You can compile AbiWord on Mac with the Cocoa front-end. If you want the X11/Gtk version, check the regular UNIX build, but you are on your own. It is not supported.
Contents |
Requirements
You need Macports, the autotools, glib2, libpng, libjpeg and a few other things (to be listed here), and MacOS X. 10.3 may be enough albeit this is only tested on 10.4/PowerPC.
Build system
It use the same autotools based build system as used for the Gtk build on Linux. This is the only supported way. XCode is not suited for that for reasons that would be to offensive and long to explain.
Configure
Once you have checkout the code, you can configure it.
Here is what I use
./configure --enable-debug --with-darwinports --enable-maintainer-mode --disable-static --enable-plugins --enable-shave
Use --enable-debug only for developement. Deployment builds must not.
Making the bundle
cd src DESTDIR=`pwd` make install
You now have AbiWord.app in the same directory. The binary is not portable as it require the same libraries installed from the ports.
If all you want is test the latest binary change, do:
DESTDIR=`pwd` make install-data-am
This is way faster.
Universal binary
Making a universal binary isn't supported yet.
Distributable image
For now we can automatically make a self contained application bundle.